mirror of
https://github.com/ShaYmez/xlxd.git
synced 2024-11-04 15:11:17 -05:00
166 lines
2.3 KiB
CSS
166 lines
2.3 KiB
CSS
/*
|
|
* Base structure
|
|
*/
|
|
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
|
|
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
body {
|
|
padding-top: 50px;
|
|
margin-bottom: 60px;
|
|
}
|
|
|
|
a.tip {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.tip:hover {
|
|
position : relative;
|
|
}
|
|
|
|
a.tip span {
|
|
display : none
|
|
}
|
|
|
|
a.tip:hover span {
|
|
background: #000000;
|
|
opacity: 0.8;
|
|
border: none;
|
|
border-radius: 5px 5px 5px 5px;
|
|
font-family: calibri, verdana, arial, comic sans;
|
|
font-size: 12pt;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
color: #FFFFFF;
|
|
padding: 6px 6px 6px 6px;
|
|
margin: 10px;
|
|
display: block;
|
|
z-index: 50;
|
|
position: absolute;
|
|
top: 10px;
|
|
}
|
|
|
|
|
|
/*
|
|
* Global add-ons
|
|
*/
|
|
|
|
.sub-header {
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
/*
|
|
* Top navigation
|
|
* Hide default border to remove 1px line.
|
|
*/
|
|
.navbar-fixed-top {
|
|
border: 0;
|
|
}
|
|
|
|
.navbar-info {
|
|
padding: 15px;
|
|
color: #9d9d9d;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
/* Hide for mobile, show later */
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 51px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: block;
|
|
padding: 20px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
background-color: #f5f5f5;
|
|
border-right: 1px solid #eee;
|
|
}
|
|
}
|
|
|
|
/* Sidebar navigation */
|
|
.nav-sidebar {
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
margin-bottom: 20px;
|
|
margin-left: -20px;
|
|
}
|
|
.nav-sidebar > li > a {
|
|
padding-right: 20px;
|
|
padding-left: 20px;
|
|
}
|
|
.nav-sidebar > .active > a,
|
|
.nav-sidebar > .active > a:hover,
|
|
.nav-sidebar > .active > a:focus {
|
|
color: #fff;
|
|
background-color: #428bca;
|
|
}
|
|
|
|
|
|
/*
|
|
* Main content
|
|
*/
|
|
|
|
.main {
|
|
padding: 20px;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.main {
|
|
padding-right: 40px;
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
.main .page-header {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
/*
|
|
* Tables
|
|
*/
|
|
|
|
.table-flag {
|
|
height: 15px;
|
|
}
|
|
|
|
.table-status {
|
|
height: 25px;
|
|
}
|
|
|
|
.table-head {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.table-center * {
|
|
text-align: center !important;
|
|
}
|
|
|
|
/*
|
|
* Footer
|
|
*/
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 61px;
|
|
background-color: #f5f5f5;
|
|
padding-left: 20%;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.footer p {
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
}
|