mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 00:08:18 +08:00
b6d8fa5b3f
Cleanup normalize and bootstrap css Removed almost all css float Removed CKEditor from app.css
80 lines
1.4 KiB
Text
80 lines
1.4 KiB
Text
//
|
|
// Navs
|
|
// --------------------------------------------------
|
|
|
|
|
|
// BASE CLASS
|
|
// ----------
|
|
|
|
.nav {
|
|
margin-left: 0;
|
|
margin-bottom: @baseLineHeight;
|
|
list-style: none;
|
|
}
|
|
|
|
// Make links block level
|
|
.nav > li > a {
|
|
display: block;
|
|
}
|
|
.nav > li > a:hover {
|
|
text-decoration: none;
|
|
background-color: @grayLighter;
|
|
}
|
|
|
|
|
|
|
|
// TABS
|
|
// -------------
|
|
|
|
// Give the tabs something to sit on
|
|
.nav-tabs {
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
// Make the list-items overlay the bottom border
|
|
.nav-tabs > li {
|
|
margin-bottom: -1px;
|
|
display: inline-block;
|
|
}
|
|
// Actual tabs (as links)
|
|
.nav-tabs > li > a {
|
|
color: #555;
|
|
padding-top: 8px 12px;
|
|
margin-right: 2px;
|
|
line-height: 14px; // keeps the overall height an even number
|
|
line-height: @baseLineHeight;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px 4px 0 0;
|
|
padding: 5px;
|
|
&:hover {
|
|
border-color: @grayLighter @grayLighter #ddd;
|
|
}
|
|
}
|
|
// Active state, and it's :hover to override normal :hover
|
|
.nav-tabs > .active > a,
|
|
.nav-tabs > .active > a:hover {
|
|
color: @gray;
|
|
background-color: @white;
|
|
border: 1px solid #ddd;
|
|
border-bottom-color: transparent;
|
|
cursor: default;
|
|
}
|
|
|
|
|
|
// TABBABLE
|
|
// --------
|
|
|
|
|
|
// COMMON STYLES
|
|
// -------------
|
|
|
|
.tab-content {
|
|
overflow: auto; // prevent content from running below tabs
|
|
}
|
|
|
|
// Show/hide tabbable areas
|
|
.tab-content > .tab-pane {
|
|
display: none;
|
|
}
|
|
.tab-content > .active {
|
|
display: block;
|
|
}
|