Andy Yan 7f701830e5 Clean up css styles for each components.
Clean up css styles for each components in a clear order.
Now all the styles are in customized.css which is not clear for
each components. So, we should delete customized.css, and for each
component we create a corresponding css style.

Change-Id: Ic23c45c8f380820da0689e728bcf99daa260f2e0
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2017-03-01 01:33:58 +00:00

143 lines
2.0 KiB
CSS

/*
* Base structure
*/
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
}
th, td {
padding: 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;
}
/*
* Dashboard
*/
.dashboard {
/* padding-top: 30px;
padding-bottom: 30px;
margin-bottom: 30px;
*/
border-radius: 4px;
background-color: #f8f8f8;
}
.dashboard .row{
margin-left: auto;
margin-right: auto;
}
hr.separator {
background-color: #c0c0c0;
height: 2px;
}
.resource {
margin-bottom: 10px;
padding: 20px;
height: 75px;
background-color: #b3b3b3;
border-radius: 4px;
}
/*
* Sidebar
*/
.sidebar {
position: relative;
background-color: #eeeeee;
border-radius: 4px;
/* top: 0px;*/
/* bottom: 20;*/
/* left: 0;*/
/* z-index: 1000;*/
/* display: block;*/
/* padding: 20px;*/
/* overflow-x: hidden;*/
/* overflow-y: auto;*/
/* background-color: #f5f5f5;*/
/* border-right: 1px solid #eee;*/
color: inherit;
}
/* Sidebar navigation */
.nav-sidebar {
/* margin-right: -21px;
margin-bottom: 20px;*/
margin-left: -15px;
margin-right: -15px;
}
.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;
border-radius: 4px;
}
/*
* Main content
*/
.main {
padding: 20px;
}
@media (min-width: 768px) {
.main {
padding-right: 40px;
padding-left: 40px;
}
}
.main .page-header {
margin-top: 0;
}
/*
* Placeholder dashboard ideas
*/
.placeholders {
margin-bottom: 30px;
text-align: center;
}
.placeholders h4 {
margin-bottom: 0;
}
.placeholder {
margin-bottom: 20px;
}
.placeholder img {
display: inline-block;
border-radius: 50%;
}
.compose-node-button {
margin-right: 20px;
}