Newer
Older
dmpopidor / lib / assets / stylesheets / dmpopidor.scss
/* 
 DMPOPIDoR Stylesheet
*/

$dark-blue: #4891bd;
$blue: #51a2d2;
$light-blue: #92c5de;
$very-light-blue: #dcecf6;
$white: #fff;
$black: #000;
$rust: #d6604d;
$light-rust: #faefed;
$yellow: #FFCC00;
$light-yellow: #fff9e5;

/*
    MENU & FOOTER
*/

/*
    MENU
*/
#app-navbar {
    
    &.navbar-dmpopidor {
        background-color: $white;
        color: $blue;
    }
    border-bottom: 3px solid $rust;
    .navbar-nav {
        li {
            a, a:active,a:focus,a:visited {
                color: $blue;
            }
            a:hover {
                color: $white;
                background-color: $blue;
            }
        }

        li.active {
            a, a:active,a:focus,a:visited {
                color: $white;
                background-color: $blue;
            }
        }
    }
 }
 /*
    FOOTER
 */
.navbar-fixed-bottom {
    z-index: 50;
}
#footer-navbar {
    &.navbar-dmpopidor {
        background-color: $blue;
        color: $white;
    }
    border-top: 3px solid $yellow;
    .navbar-nav {
        li {
            a, a:active,a:focus,a:visited {
                color: $white;
            }
            a:hover {
                color: $white;
                background-color: $blue;
            }
        }
    }
    .navbar-right {
        margin-right: 0;
        .roadmap-logo {
            height: 55px;
        }

    }
 }


/*
    DROPDOWNS
*/
#change-language, #signin-signout, #app-navbar-menu {

    .dmpopidor-dropdown {
        background-color: $white;
        li {
            a, a:active,a:focus,a:visited {
                color: $blue;
                font-weight: bold;
    
            }
            a:hover {
                color: $white;
                background-color: $light-blue;
            }
        }
        li.active {
            a, a:active,a:focus,a:visited {
                background-color: $blue;
                color: $white;
            }
        }
    }
    .open {
        a {
            background-color: $white;
        }
    }
}
#admin-dropdown {
    .dmpopidor-dropdown {
        li.active {
            a, a:active,a:focus,a:visited {
                background-color: $rust;
                color: $white;
            }
        }
    }
}


/*
    MAIN CONTENT
*/

.dmpopidor-branding {
    /*
        PUBLIC AREA
    */
    h1,
    h2 {
        color: $dark-blue;
    }
    
    a {
        color: $blue;
    }
    /*
        TABLES
    */
    .table {
        border: 1px solid $blue;
        // Cells borders
        thead > tr > th, 
        tbody > tr > th, 
        tfoot > tr > th, 
        thead > tr > td, 
        tbody > tr > td, 
        tfoot > tr > td {
            border: 1px solid $blue;
        }
        // Cells hovering
        &.table-hover tbody tr:hover td, 
        &.table-hover tbody tr:hover th {
            background-color: $very-light-blue;
        }
        // Header cells background
        thead > tr > th {
            background-color: $blue;
        }
        thead > tr > th:not(:last-child) {
            border-right: 1px solid $white;
        }

        .navbar-nav { 
            a{
                color: $white;
            }
        }
    }
    /* 
        BUTTONS
    */
    .btn-primary, 
    .btn-primary:hover, 
    .btn-primary:focus, 
    .btn-primary:active, 
    .btn-primary:visited, 
    .btn-primary:active:hover, 
    .btn-primary.active:hover {
        border-color: $rust;
        background-color: $rust;
        color: $white;
    }
    .btn-default, 
    .btn-default:hover, 
    .btn-default:focus, 
    .btn-default:active, 
    .btn-default:visited, 
    .btn-default:active:hover, 
    .btn-default.active:hover {
        border-color: $rust;
        background-color: $rust;
        color: $white;
    }
    .combobox-clear-button, 
    .combobox-clear-button:hover, 
    .combobox-clear-button:focus {
        color: $blue;
    }
    .btn-link {
        color: $dark-blue;
    }
    /* 
        PLAN EDIT
    */
    // Progress bar 
    .progress-bar {
        background-color: $dark-blue;
    }
    // Tabs
    .nav-tabs {
        background-color: $blue;

        li > a {
            color: $white
        }

        li > a:hover, 
        li > a:focus, 
        li.active > a, 
        li.active > a:focus, 
        li.active > a:hover {
            color: $blue;
            border: 1px solid $blue;
            border-bottom-color: transparent;
        }
    }
    .nav-pills {
        background-color: $blue;

        li > a {
            color: $white
        }

        li > a:hover, 
        li > a:focus, 
        li.active > a, 
        li.active > a:focus, 
        li.active > a:hover {
            color: $blue;
            border: 1px solid $blue;
        }
    }
    // main border
    .panel-default {
        border-color: $blue;
    }
    // Sections
    .heading-button > .panel-heading, 
    .panel-default > .panel-heading {
        background-color: $blue;
    }

    // Guidances 
    .panel-title {
        color: $white;
    }





    /*
        ADMIN AREA
    */
    .org-admin {
        h1,
        h2 {
            color: $rust;
        }
    
        a {
            color: $rust;
        }

        /*
        TABLES
        */
        .table {
            border: 1px solid $rust;
            // Cells borders
            thead > tr > th, 
            tbody > tr > th, 
            tfoot > tr > th, 
            thead > tr > td, 
            tbody > tr > td, 
            tfoot > tr > td {
                border: 1px solid $rust;
            }
            // Cells hovering
            &.table-hover tbody tr:hover td, 
            &.table-hover tbody tr:hover th {
                background-color: $light-rust;
            }
            // Header cells background
            thead > tr > th {
                background-color: $rust;
            }

            .navbar-nav { 
                a:hover, 
                a:focus {
                    color: $rust;
                    background-color: $white;
                }
            }
        }

        /* 
            BUTTONS
        */
        .btn-primary, 
        .btn-primary:hover, 
        .btn-primary:focus, 
        .btn-primary:active, 
        .btn-primary:visited, 
        .btn-primary:active:hover, 
        .btn-primary.active:hover {
            border-color: $blue;
            background-color: $blue;
            color: $white;
        }
        .btn-default, 
        .btn-default:hover, 
        .btn-default:focus, 
        .btn-default:active, 
        .btn-default:visited, 
        .btn-default:active:hover, 
        .btn-default.active:hover {
            border-color: $blue;
            background-color: $blue;
            color: $white;
        }
        .combobox-clear-button, 
        .combobox-clear-button:hover, 
        .combobox-clear-button:focus {
            color: $rust;
        }

        // Tabs
        .nav-tabs {
            background-color: $rust;
    
            li > a:hover, 
            li > a:focus, 
            li.active > a, 
            li.active > a:focus, 
            li.active > a:hover {
                color: $rust;
                border: 1px solid $rust;
                border-bottom-color: transparent;
            }
        }
        .nav-pills {
            background-color: $rust;
    
            li > a:hover, 
            li > a:focus, 
            li.active > a, 
            li.active > a:focus, 
            li.active > a:hover {
                color: $rust;
                border: 1px solid $rust;
            }
        }

        // main border
        .panel-default {
            border-color: $rust;
        }
        // Sections & Phases
        .heading-button > .panel-heading, 
        .panel-default > .panel-heading {
            background-color: $rust;
        }
    
    
    
    }
       





    /*
        SUPER ADMIN
    */
    .super-admin {
        h1,
        h2 {
            color: $black;
        }

        a {
            color: $black;
            text-decoration: underline;
        }

        /*
        TABLES
        */
        .table {
            border: 1px solid $yellow;
            // Cells borders
            thead > tr > th, 
            tbody > tr > th, 
            tfoot > tr > th, 
            thead > tr > td, 
            tbody > tr > td, 
            tfoot > tr > td {
                border: 1px solid $yellow;
            }
            // Cells hovering
            &.table-hover tbody tr:hover td, 
            &.table-hover tbody tr:hover th {
                background-color: $light-yellow;
            }
            // Header cells background
            thead > tr > th {
                background-color: $yellow;
                color: $black;
            }

        }

        /* 
            BUTTONS
        */
        .btn-primary, 
        .btn-primary:hover, 
        .btn-primary:focus, 
        .btn-primary:active, 
        .btn-primary:visited, 
        .btn-primary:active:hover, 
        .btn-primary.active:hover {
            border-color: $yellow;
            background-color: $yellow;
            color: $black;
            text-decoration: none;
        }
        .btn-default, 
        .btn-default:hover, 
        .btn-default:focus, 
        .btn-default:active, 
        .btn-default:visited, 
        .btn-default:active:hover, 
        .btn-default.active:hover {
            border-color: $yellow;
            background-color: $yellow;
            color: $black;
            text-decoration: none;
        }
        .combobox-clear-button, 
        .combobox-clear-button:hover, 
        .combobox-clear-button:focus {
            color: $yellow;
        }


        .btn-link {
            color: $black;
            text-decoration: underline;
        }
    
    }

}

/*
    CIL MESSAGE
*/ 

.cil_message > p {
    font-size: x-small;
    font-style: italic;
    line-height: 1.5em;
    padding-bottom: 4px;
}

.institution-login i {
    display: inline-block;
    padding-left: 5px;
    transform: scaleX(-1);
    -webkit-transform:scaleX(-1);
    -moz-transform:scaleX(-1);
    -o-transform:scaleX(-1);
}

/* 
    CONTACT US
*/
.dmpopidor-contact-us {
    .column-right {
        border-left: 2px solid $rust;
    }

}