diff options
Diffstat (limited to 'p/themes/Flat/flat.css')
| -rw-r--r-- | p/themes/Flat/flat.css | 106 |
1 files changed, 35 insertions, 71 deletions
diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 2f0362b9d..8fd09bb35 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -70,17 +70,12 @@ input:disabled, select:disabled { background: #eee; } -input.extend { - transition: width 200ms linear; -} - /*=== Tables */ table { border-collapse: collapse; } -tr, th, td { - padding: 0.5em; +th, td { border: 1px solid #ddd; } @@ -104,7 +99,6 @@ form th { } .form-group::after { - content: ""; display: block; clear: both; } @@ -129,7 +123,6 @@ form th { .form-group .group-name { padding: 10px 0; - text-align: right; } .form-group .group-controls { @@ -154,7 +147,7 @@ form th { .stick .btn:last-child, .stick input:last-child, -.stick .btn + .dropdown > .btn { +.stick .dropdown:last-child > .btn { border-radius: 0 5px 5px 0; } @@ -253,13 +246,16 @@ a.btn { } /*=== Navigation */ -.nav-list .nav-header, -.nav-list .item { - height: 2.5em; - line-height: 2.5em; +.nav-list { font-size: 0.9rem; } +.nav-list .item, +.nav-list .item.nav-header { + min-height: 2.5em; + line-height: 2.5; +} + .nav-list .item a:hover, .nav-list .item.active { background: #2980b9; @@ -271,35 +267,15 @@ a.btn { } .nav-list .item > a { - padding: 0 10px; + padding: 0 1rem; } .nav-list a:hover { text-decoration: none; } -.nav-list .item.empty a { - color: #f39c12; -} - -.nav-list .item:hover.empty a, -.nav-list .item.active.empty a { - background: #f39c12; - color: #fff; -} - -.nav-list .item.error a { - color: #bd362f; -} - -.nav-list .item:hover.error a, -.nav-list .item.active.error a { - background: #bd362f; - color: #fff; -} - .nav-list .nav-header { - padding: 0 10px; + padding: 0 1rem; font-weight: bold; background: #34495e; color: #fff; @@ -313,7 +289,7 @@ a.btn { /*=== Dropdown */ .dropdown-menu { margin: 0.5rem 0 0; - padding: 0.5rem 0; + padding: 0.5rem 0 0.25rem 0; background: #fafafa; font-size: 0.8rem; border: 1px solid #95a5a6; @@ -326,7 +302,8 @@ a.btn { right: 12px; } -.dropdown-header { +.dropdown-header, +.dropdown-section .dropdown-section-title { padding: 0 0.5rem 0.5rem; font-weight: bold; text-align: left; @@ -338,16 +315,27 @@ a.btn { right: 0.5rem; } -.dropdown-menu > .item > a, -.dropdown-menu > .item > span, -.dropdown-menu > .item > .as-link { +.dropdown-menu .item > a, +.dropdown-menu .item > span, +.dropdown-menu .item > .as-link { padding: 0 22px; line-height: 2.5em; - font-size: 0.8rem; + font-size: inherit; +} + +.dropdown-menu .dropdown-section .item > a, +.dropdown-menu .dropdown-section .item > span, +.dropdown-menu .dropdown-section .item > .as-link { + padding-left: 2rem; +} + +.dropdown-menu .dropdown-section .item:last-child { + margin-bottom: 0.5rem; } -.dropdown-menu > .item > a:hover, -.dropdown-menu > .item > button:hover { +.dropdown-menu .item > a:hover, +.dropdown-menu .item > button:hover:not([disabled]), +.dropdown-menu .item > label:hover:not(.noHover) { background: #2980b9; color: #fff; } @@ -370,14 +358,13 @@ a.btn { } .item ~ .dropdown-header, +.dropdown-section ~ .dropdown-section, .item.separator { border-top-color: #ddd; } /*=== Alerts */ .alert { - margin: 15px auto; - padding: 10px 15px; background: #f4f4f4; color: #aaa; font-size: 0.9em; @@ -456,7 +443,6 @@ a.btn { .box .box-content .item { font-size: 0.9rem; - line-height: 2.5em; } .box .box-title .configure .icon, @@ -498,8 +484,6 @@ a.btn { } .tree-folder-items > .item { - padding: 0 10px; - line-height: 2.5rem; font-size: 0.8rem; } @@ -542,13 +526,12 @@ a.btn { } .header > .item { - padding: 10px; vertical-align: middle; text-align: center; } -.header > .item.title { - width: 230px; +.header > .item.title a:hover .logo { + filter: brightness(1.5); } .header > .item.title h1 { @@ -560,10 +543,6 @@ a.btn { } .header > .item.search input { - width: 230px; -} - -.header .item.search input:focus { width: 350px; } @@ -728,7 +707,7 @@ a.btn { border-left: 2px solid #ecf0f1; } -.flux:hover { +.flux .flux_header:hover { background: #fff; } @@ -745,10 +724,6 @@ a.btn { background: #fff3ed; } -.flux.not_read:not(.current):hover .item.title { - background: inherit; -} - .flux.favorite { border-left-color: #ffc300; } @@ -757,10 +732,6 @@ a.btn { background: #fff6da; } -.flux.favorite:not(.current):hover .item.title { - background: #fff6da; -} - .flux_header { font-size: 0.8rem; cursor: pointer; @@ -863,8 +834,6 @@ a.btn { } .notification a.close { - padding: 0 15px; - line-height: 3em; border-radius: 0 3px 3px 0; } @@ -876,10 +845,6 @@ a.btn { background: #c0392b; } -.notification#actualizeProgress { - line-height: 2em; -} - /*=== "Load more" part */ #bigMarkAsRead { text-align: center; @@ -989,7 +954,6 @@ a.btn { @media (max-width: 840px) { .form-group .group-name { padding-bottom: 0; - text-align: left; } .aside { |
