CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
ProdigyPNP

CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.

GitHub Repository: ProdigyPNP/ProdigyMathGameHacking
Path: blob/master/cheatGUI/src/style.scss
Views: 720
@import url("https://fonts.googleapis.com/css?family=Arvo:400,700|Sen:400,700,800&display=swap&subset=latin-ext");

#game-wrapper {
    font-family: "Sen", sans-serif;

    #cheat-menu {
        height: 465px;
        background-color: #eeeb;
        padding: 2px;
        position: absolute;
        top: 0px;
        left: 0px;
        transition: top 0.35s;
        padding: 10px;
        border: 10px solid rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        overflow-y: scroll;
        resize: none;
        overflow: auto;
    }

    .menu-left {
        width: 100%;
        height: 100%;
        float: center;
    }

    #menu-toggler {
        z-index: 1;
        position: absolute;
        border-radius: 3px;
        background-color: #fffb;
        transition: background-color 0.15s;
        font-size: 23px;
        height: 26px;
        width: 50px;
        border: 1px solid rgba(0, 0, 0, 0.1);

        &:hover {
            background-color: #dddb;
        }

        &:active {
            background-color: #bbbb;
        }
    }
    
    #fps-counter {
        z-index: 2;
        position: absolute;
        border-radius: 3px;
        background-color: #fffb;
        transition: background-color 0.15s;

        width: 130px;
        height: 26px;
        font-size: 23px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        margin-left: 83%;

        &:hover {
            background-color: #dddb;
        }

        &:active {
            background-color: #bbbb;
        }
    }
    

    .menu-area {
        h1 {
            font-family: "Sen", sans-serif;
            font-size: 30px;
            font-weight: 700;
            color: #111;
            margin: 10px;
        }

        button {
            background-color: rgba(0, 0, 0, 0.55);
            color: white;
            border-radius: 5px;
            border: 1px solid #eee;
            padding: 1%;
            transition: all 0.15s;
            margin: 5px 5px;
            transition-property: border-color, background-color;

            &:hover {
                border-color: #777d;
                background-color: #ddd;
            }

            &:active {
                border-color: #555;
                background-color: #bbb;
            }

            &[status="true"] {
                border-color: #5a5d;
                background-color: #9bee9b;

                &:hover {
                    border-color: #b3bbb0dd;
                    background-color: #bffebf;
                }

                &:active {
                    border-color: #4e5c50;
                    background-color: #24be6a;
                }
            }

            &[status="false"] {
                border-color: #766d;
                background-color: #9b9b9b;

                &:hover {
                    border-color: #858585dd;
                    background-color: #bfbfbf;
                }

                &:active {
                    border-color: #4c3e40;
                    background-color: #be246a;
                }
            }
        }
    }

    .menu-title {
        font-family: "Verdana", sans-serif;
        font-size: 40px;
        font-weight: 900;
        color: white;
    }
}

#chat-frame {
    width: 12%;
    height: 80%;
    top: -10%;
    bottom: -10%;
    left: 80%;
    right: 0%;
    position: fixed;
    z-index: 4;
}

.radioDiv {
    width: 125px;
    height: 125px;
    display: inline-block;
    margin: 7px;
    background-color: #5a7e3f;
    color: black;
    background-size: cover;
    outline: black 5px solid;
    vertical-align: top;
    font-weight: 700;
    user-select: none;
    -webkit-user-drag: none;
    cursor: pointer;

    &:hover {
        background-blend-mode: overlay;
        color: lightgray;
    }

    &:active {
        background-blend-mode: multiply;
        color: white;
    }

    &[checked] {
        background-blend-mode: color-dodge;
        color: blanchedalmond;
    }

    &[checked]:active {
        background-blend-mode: color-burn;
        color: cyan;
    }
}

.radioSwal {
    width: fit-content !important;
    min-width: 32em !important;
    max-width: 46em !important;
}

.centeredMenu {
    position: fixed;
    top: -10%;
    left: 10%;
    right: 10%;
    width: 80%;
    height: 80%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}