mitre-cyber-academy/ctf-scoreboard

View on GitHub
app/assets/stylesheets/custom-bootstrap.css.scss

Summary

Maintainability
Test Coverage


$btnPrimaryBackground: #5d8cb6;
$btnPrimaryBackgroundHighlight: #39546c;
$blue: #4f7698;
@import "bootstrap";
@import "font-awesome";
.breadcrumb {
    text-align: left;
    background: #2A5192;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0A2C641E, endColorstr=#0A2C641E);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#0A2C641E, endColorstr=#0A2C641E)";
    background-color: rgba(10, 44, 100, 0.3);
}

td.break-word {
    max-width: 100px;
    @extend .break-word;
}

td.text-center {
    text-align: center;
}

th.text-center {
    text-align: center;
}

.break-word {
    line-height: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.control-label-required {
    font-weight: bold;
}

.control-label-required:before {
    content: "* ";
    color: red;
}

.disclaimer {
    color: gray;
}

td form {
    margin: 0 0 0 0;
}

.alert {
    ul,
    ol {
        margin: 5px 0 5px 12px;
    }
    li {
        list-style-type: none;
    }
    li:before {
        content: " - ";
    }
}

.field_with_errors {
    color: red;
    display: inline;
}

.jumbotron {
    position: relative;
    color: #fff;
    text-align: center;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
    border-bottom-left-radius: 0rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 0, 0, .075);
    background: #476988;
    /* Old browsers */
    background: rgb(71, 105, 136);
    background: -moz-linear-gradient(0deg, rgb(68, 101, 130) 30%, rgb(93, 140, 182) 70%);
    background: -webkit-linear-gradient(0deg, rgb(68, 101, 130) 30%, rgb(93, 140, 182) 70%);
    background: -o-linear-gradient(0deg, rgb(68, 101, 130) 30%, rgb(93, 140, 182) 70%);
    background: -ms-linear-gradient(0deg, rgb(68, 101, 130) 30%, rgb(93, 140, 182) 70%);
    background: linear-gradient(0deg, rgb(68, 101, 130) 30%, rgb(93, 140, 182) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#446582', endColorstr='#5D8CB6', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
    -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
    box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2), inset 0 -3px 7px rgba(0, 0, 0, .2);
}

.corporate {
    background: #3F7D13;
    /* Old browsers */
    background: rgb(63, 125, 19);
    background: -moz-linear-gradient(0deg, rgb(42, 109, 0) 30%, rgb(93, 147, 47) 70%);
    background: -webkit-linear-gradient(0deg, rgb(42, 109, 0) 30%, rgb(93, 147, 47) 70%);
    background: -o-linear-gradient(0deg, rgb(42, 109, 0) 30%, rgb(93, 147, 47) 70%);
    background: -ms-linear-gradient(0deg, rgb(42, 109, 0) 30%, rgb(93, 147, 47) 70%);
    background: linear-gradient(0deg, rgb(42, 109, 0) 30%, rgb(93, 147, 47) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2A6D00', endColorstr='#5D932F', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.jumbotron h1 {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1;
}

.jumbotron p {
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
    margin-bottom: 30px;
}


/* Link styles (used on .masthead-links as well) */

.jumbotron a {
    color: #fff;
    color: rgba(255, 255, 255, .5);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.jumbotron a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, .25);
}

.btn-corporate {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #37A037;
    *background-color: #51a351;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#37A837), to(#388138));
    background-image: -webkit-linear-gradient(top, #37A837, #388138);
    background-image: -o-linear-gradient(top, #37A837, #388138);
    background-image: linear-gradient(to bottom, #37A837, #388138);
    background-image: -moz-linear-gradient(top, #37A837, #388138);
    background-repeat: repeat-x;
    border-color: #388138 #388138 #37A837;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

.btn-corporate:hover,
.btn-corporate:active,
.btn-corporate.active,
.btn-corporate.disabled,
.btn-corporate[disabled] {
    color: #ffffff;
    background-color: #388138;
    *background-color: #007C33;
}

.btn-corporate:active,
.btn-corporate.active {
    background-color: #408140 \9;
}

.btn-width {
    width: 100px;
}

.catchphrase h1 {
    color: #5A5A5A;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-align: left;
    font-size: 32px;
    border-bottom: 1px solid #EEE;
}

#get-started h1 {
    text-align: center;
    font-size: 40px;
    border-bottom: 0;
    padding-bottom: 45px;
}

.catchphrase h2 {
    color: #5A5A5A;
    padding-bottom: 10px;
    text-align: left;
    font-size: 26px;
    border-bottom: 1px solid #EEE;
}

.catchphrase h3 {
    color: #5A5A5A;
    font-weight: normal;
    font-size: 28px;
    border-bottom: 1px solid #EEE;
}

.centerbutton {
    display: inline-block;
}

.colored-divider {
    margin-top: -35px;
    background-color: #b8d12f;
    min-height: 20px;
    margin-bottom: 20px;
}

.directions h3 {
    font-weight: normal;
    color: #5A5A5A;
}

.directions {
    padding-left: 10px;
}

.maincontent h2 {
    color: #5A5A5A;
    font-weight: normal;
    font-size: 28px;
}

.maincontent p {
    text-align: left;
}

.maincontent img {
    height: 125px;
}

.maincontent {
    margin-bottom: 40px;
    border-bottom: 1px solid #EEE;
}

.maincontent .span4 {
    padding-bottom: 30px;
}

.no-bottom-border {
    border-bottom: 0;
}

.top-border {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #EEE;
}

.subheading {
    font-size: 16px;
}

.space-text-from-input {
    padding-left: 20px;
}

.footer.well {
    margin-bottom: 0px;
    color: #5A5A5A;
    bottom: 0;
}

#subpage {
    padding: 40px 0;
}

#subpage h1 {
    text-align: left;
    font-size: 50px;
}

#subpage p {
    text-align: left;
    font-size: 20px;
    padding-right: 190px;
}

.hasheadimg h1 {
    padding-top: 19px;
}

.label-custom {
    font-weight: bold;
    margin-bottom: 20px;
}

#legend {
    border-left: .25em solid #eee;
}

#legendContent {
    margin-left: 1em;
}

.media .pull-left {
    margin-right: 15px;
}

.media {
    margin-bottom: 20px;
    min-height: 150px/*Make sure to change this if the thumbnail size changes for media */
}

.media h4 {
    color: #5A5A5A;
    font-size: 20px;
}

.noborderbottom {
    border: none;
}

.well-small {
    min-height: 10px;
}

.white {
    color: #fff;
}

@media (max-device-width: 767px) {
    .bigheader {
        display: none;
    }
    #subpage h1 {
        font-size: 30px;
        padding-left: 22px;
    }
    #subpage p {
        font-size: 16px;
        padding-left: 22px;
        padding-right: 22px;
    }
    .btn-large {
        padding: 4px 12px;
        font-size: 14px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
    }
    .colored-divider {
        margin-right: -20px;
        margin-left: -20px;
    }
    .jumbotron {
        margin-right: -20px;
        margin-left: -20px;
    }
    #page-footer {
        margin-left: -20px;
    }
}

@media (max-width: 480px) {
    .label-custom {
        margin-left: 0px;
        margin-bottom: 20px;
    }
    .btn-large {
        padding: 3px 9px !important;
        font-size: 12px !important;
        line-height: 18px !important;
    }
}