admin-console.less

343 lines | 6.468 kB Blame History Raw Download
/* Commom elements */

@open-sans: "Open Sans",sans-serif;
@bg-grey: #f9f9f9;
@text-black: #4d5258;
@text-grey: #777;
@text-light-grey: #a1a1a1;
@border-dark-grey: #cecece;
@blue: #0e9cd3;

body {
    background-color: @bg-grey;
    font-size: 1em;
    color: @text-black;
    font-family: @open-sans;
}

.bs-sidebar {
    background-color: @bg-grey;
    padding-top: 4.3em;
    padding-right: 0;
    padding-left: 0;
    z-index: 20;
    
    ul li {
        margin-bottom: 0.5em;
        
        a {
            font-size: 1.3em;
            font-family: @open-sans;
            padding-left: 3em;
            color: @text-black;
            line-height: 2.07692307692308em;
            display: block;
            border-width: 1px 0 1px 1px;
            border-style: solid;
            border-color: @bg-grey;
            
            &:hover {
                text-decoration: none;
                color: @text-grey;
            }
        }
    
        &.active a {
            background-color: #c7e5f0;
            border-color: #56bae0;
            font-weight: bold;
        }
    }
}

#content-area {
    padding: 0;
    z-index: 10;
        border-width: 0 1px;
        border-color: #cecece;
        border-style: solid;
    
    .top-nav {
        background-color: #f6f6f6;
        
        ul.rcue-tabs {
            border-color: @border-dark-grey;
            font-size: 1em;
            margin-bottom: 0;
            
            li {
                margin: 0 0.5em -1px 0;
                
                a {
                    font-size: 1.3em;
                    line-height: 3.23076923076923em;
                    display: block;
                    padding: 0 0.76923076923077em;
                    color: @text-black;
                    
                    &:hover {
                        color: @text-grey;
                    }
                }
                
                &.active a {
                    color: @blue;
                }
                
                &:first-child {
                    margin-left: 1.5em;
                }
            }
        }
    }
    
    #content {
        padding: 1em 3em 3em 3em;
        background: #fff;
        
        h2 {
            font-family: @open-sans;
            font-weight: 100;
            font-size: 2.4em;
            margin-bottom: 1.04166666666667em;
            
            span {
                color: @text-light-grey;
            }
        }
        
        p.subtitle {
            color: #B7B7B7;
            float: right;
            font-size: 1.1em;
            margin-top: 2.72727272727273em;
            
            .required {
                color: #CB2915;
            }
            
            &+ form {
                clear: both;
            }
        }
        
        fieldset {
            margin-top: 1.5em;
        }
        
        .tooltip-box fieldset {
            margin: 0;
        }
        
        .input-group {
            display: inline-table;
            width: 20em;
            
            input[type="text"] {
                border-radius: 2px 0 0 2px;
            }
            
            button {
                border-radius: 0 2px 2px 0;
                border-left: none;
            }
        }
        
        .input-select {
            height: 3.6em;
        }
        
        form a.bottom {
            font-size: 1.1em;
            display: inline-block;
            margin-top: 1.36363636363636em;
        }
    }
}

.tooltip {
    font-family: @open-sans;
    font-size: 1.1em;
    text-align: left;
    line-height: 1.63636363636364em;
    
    .tooltip.in {
        opacity: 0.85;
        filter: alpha(opacity=85);
    }
    
    .tooltip-inner {
        background-color: #434343;
        border-radius: 1px;
        padding: 5px 12px;
        text-align: left;
        max-width: 220px;
    }
}

.tooltip.right {
    padding: 0 8px;
    
    .tooltip-arrow {
        border-right-color: #434343;
        border-width: 8px 8px 8px 0;
        margin-top: -8px;
    }
}

#container-right-bg {
    background-color: #fff;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: @border-dark-grey;
    bottom: 0;
    margin-left: 292.5px;
    position: fixed;
    top: 70px;
    width: 877.5px;
}


/* Page: Realm Users */

.realm-users caption {
    display: none;
}

table {

    thead tr {
    
        th {
            font-size: 1.1em;
            
            span {
                font-size: 0.90909090909091em;
    
                button {
                    margin: 0;
                }
            }
        }
        
        &:first-child th {
            padding: 5px 7px;
        }
    }
    
    a:hover {
        color: #0099D3;
    }

}

.advanced-search-comp {
    position: relative;
    display: inline-block;
    
    .advanced-search-link {
        font-weight: normal;
        margin-left: 1em;
    }
}

.tooltip-box {
    position: absolute;
    font-size: 1em;
    background-image: url("img/tooltip-box-arrow-right-up.svg");
    background-position: right top;
    background-repeat: no-repeat;
    padding-top: 1em;
    right: 0;
    top: 1.5em;
    font-size: 0.90909090909091em;
    
    fieldset {
        width: 30.8em;
        padding-left: 1.5em;
        padding-right: 1.5em;
        background-color: #fff;
        border: 1px solid #b6b6b6;
        border-top: none;
        border-radius: 0 2px 2px 2px;
        box-shadow: 0px 2px 2px rgba(0,0,0,0.15);
    
        legend {
            display: none;
        }
        
        label {
            width: 6em;
        }
        
        .form-actions {
            margin: 0;
            padding: 1em 1.5em 1em 0;
            background-color: #f8f8f8;
            display: block;
            float: none;
            margin-right: -1.5em;
            margin-left: -1.5em;
        }
    }
}

td.token-cell button {
    margin-top: -1px;
}


/* Break Points */

@media (max-width: 1200px) {

    #container-right-bg {
        margin-left: 242.5px;
        width: 727.5px;
    }
}

@media (max-width: 992px) {

    .bs-sidebar {
        padding-top: 2em;
        width: 100%;
        
        ul li a {
            border-width: 1px;
        }
    }
    
    #content-area .top-nav {
        border-top: 1px solid #cecece;
    }

    #container-right-bg {
        margin-left: 0;
        width: 750px;
    }

}

@media (max-width: 768px) {

    .container {
        min-width: 580px;
    }
    
    #content-area {
        border: none;
    }
    
    #container-right-bg {
        border: none;
        width: 100%;
    }
}