Skip to content

Instantly share code, notes, and snippets.

@saltavenger
Created July 10, 2014 17:48
Show Gist options
  • Save saltavenger/513752aafcf3d753b3fd to your computer and use it in GitHub Desktop.
Save saltavenger/513752aafcf3d753b3fd to your computer and use it in GitHub Desktop.
bootstrap mod css
html,
body {
margin:0;
padding:0;
height:100%;
}
body{
background: #CFD6E7;
}
.row{
margin-right: 0px;
}
.fleft{ float: left; }
.fright{ float: right;}
.clearB{ clear: both;}
button, .btn{
background-color: #EEEEEE;
color: #333333;
border: 1px solid #cccccc;
}
button:hover, .btn:hover, button:focus, .btn:focus{
background-color: #ebebeb;
border-color: #adadad;
color: #333333;
}
button:active, .btn:active{
background-color: #1C3F93;
color: #fff;
}
#container {
min-height:100%;
position: relative;
}
header{
background: #1C3F93;
border-bottom: 3px solid #ddd;
}
header, footer{
padding-top: 15px;
}
.userWelcome{
color: #fff;
font-weight: bold;
margin-right: 40px;
}
.logo{
max-width: 85px;
border-radius: 4px;
-webkit-border-radius: 4px;
box-shadow: 3px 3px 10px #0E2863;
margin: 20px 0px 20px 10px;
}
footer{
border-top: 2px solid #aaa;
width: 100%;
height: 200px;
position: absolute;
bottom: 0;
left: 0;
background: #7D848E;
}
#content-wrapper{
padding-bottom: 200px; /*height of footer*/
margin: 0 auto;
}
#content{
background: #fff;
padding: 15px;
margin-bottom: 20px;
border-radius: 4px;
-webkit-border-radius: 4px;
}
#crumbs, #content-wrapper{
width: 95%;
}
#crumbs{
margin: 0 auto;
padding-top: 20px;
}
.breadcrumb a{
color: #D2232A;
}
.breadcrumb li.current a{
color: #333;
}
.panel.callout{
background: #D9ACAD;
border-color: #fff;
}
.trainingVideo{
display: block;
width: 480px;
height: 320px;
}
#completedTable, #upcomingTable{
margin-bottom: 20px;
}
#certWrapper{
border: 5px double #1C3F93;
}
#certTitle{
margin: 40px 0px 0px 15px;
}
#certPrint{
margin: 10px 10px 0px 0px;
}
#certWrapper p{
margin-left: 150px;
clear: both;
}
#badge-ribbon {
margin: 20px 0px 0px 10px;
float: left;
position: relative;
background: #D2232A;
height: 100px;
width: 100px;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
border-radius: 50px;
}
#badge-ribbon:before,
#badge-ribbon:after {
content: '';
position: absolute;
border-bottom: 70px solid #D2232A;
border-left: 40px solid transparent;
border-right: 40px solid transparent;
top: 70px;
left: -10px;
-webkit-transform: rotate(-140deg);
-moz-transform: rotate(-140deg);
-ms-transform: rotate(-140deg);
-o-transform: rotate(-140deg);
}
#badge-ribbon:after {
left: auto;
right: -10px;
-webkit-transform: rotate(140deg);
-moz-transform: rotate(140deg);
-ms-transform: rotate(140deg);
-o-transform: rotate(140deg);
}
.navbar{
background: none;
border: none;
margin: 25px 0px 0px 0px;
}
.navbar-default .navbar-nav>li>a{
color: #eee;
font-size: 11pt;
}
.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus{
color: #eee;
background: #7D848E;
border-radius: 4px;
}
.nav li p{
color: #fff;
margin-top: 15px;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus{
background: #7D848E;
color: #eee;
}
.dropdown-menu{
background: #ccc;
}
.loginInputs{
margin: 10px;
}
/* Responsive */
@media (min-width: 989px){
/* Adds hovers to main menu */
.sidebar-nav {
padding: 9px 0;
}
.dropdown-menu .sub-menu {
left: 100%;
position: absolute;
top: 0;
visibility: hidden;
margin-top: -1px;
}
.dropdown-menu li:hover .sub-menu {
visibility: visible;
}
.dropdown:hover .dropdown-menu {
display: block;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
margin-top: 0;
}
.navbar .sub-menu:before {
border-bottom: 7px solid transparent;
border-left: none;
border-right: 7px solid rgba(0, 0, 0, 0.2);
border-top: 7px solid transparent;
left: -7px;
top: 10px;
}
.navbar .sub-menu:after {
border-top: 6px solid transparent;
border-left: none;
border-right: 6px solid #fff;
border-bottom: 6px solid transparent;
left: 10px;
top: 11px;
left: -6px;
}
}
@media (max-width: 988px){
/* Styles responsive menu */
.navbar-default .navbar-toggle .icon-bar{
background-color: #eee;
}
.navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar{
background-color: #888;
}
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{
color: #eee;
background: #7D848E;
border-radius: 4px;
}
}
@media (max-width: 899px){
.navbar-default .navbar-nav .open .dropdown-menu>li>a{
color: #eee;
}
}
@media screen and (max-width: 634px){
footer{
height: 250px
}
#content-wrapper{
padding-bottom: 250px; /*height of footer*/
}
}
@media screen and (max-width: 515px){
footer{
height: 300px
}
#content-wrapper{
padding-bottom: 300px; /*height of footer*/
}
}
@media screen and (max-width: 515px){
footer{
height: 350px
}
#content-wrapper{
padding-bottom: 350px; /*height of footer*/
}
}
@media screen and (max-width: 380px){
footer{
height: 400px
}
#content-wrapper{
padding-bottom: 400px; /*height of footer*/
}
}
@media screen and (max-width: 337px){
footer{
height: 450px
}
#content-wrapper{
padding-bottom: 450px; /*height of footer*/
}
}
/* Print Settings */
@media print{
header, footer, #crumbs, .print{
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment