From 4da65183e0c887551884658d35707df6a3ace5e4 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 30 Mar 2017 11:45:16 +0200 Subject: css fixes --- view/css/bootstrap-red.css | 4 --- view/theme/redbasic/css/style.css | 60 +++++++++++---------------------------- 2 files changed, 17 insertions(+), 47 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 4c4de22f9..1c7bdd864 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -67,10 +67,6 @@ code { white-space: normal; } -.panel-group { - margin-bottom: 0px; -} - /* Bootstrap assumes that checkboxes are on the left of labels, while it's usually the opposite in Red */ .field.checkbox input[type="checkbox"] { margin-left: 0px; } .field.checkbox label { padding-left: 0px; font-weight: 700} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 601124227..2044d8a34 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -693,39 +693,6 @@ div.jGrowl div.jGrowl-notification { min-height: 60px; } -#recip-ac .autocomplete, -#poke-recip-ac .autocomplete, -#id-name-ac .autocomplete, -#contact-search-ac .autocomplete { - margin-top: 2px; - margin-left: $radius; - margin-right: $radius; - border: 1px solid #666; - border-top: none; - -} - -.autocomplete { - color: $font_colour; - cursor: pointer; - text-align: left; - max-height: 350px; - overflow: auto; - border-bottom-left-radius: $radius; - border-bottom-right-radius: $radius; -} - -.autocomplete .selected { - background: #eee; -} - -.autocomplete div { - padding: 2px 5px; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - .jslider .jslider-scale ins { color: #333; font-size: 0.9rem; @@ -1095,19 +1062,10 @@ img.mail-conv-sender-photo { .wall-item-ago, -a:hover .wall-item-ago, -.dropdown-sub-text, -a:hover .dropdown-sub-text { +.dropdown-sub-text { color: #777; } -.active .wall-item-ago, -a.active:hover .wall-item-ago, -.active .dropdown-sub-text, -a:active .dropdown-sub-text, -a.active:hover .dropdown-sub-text { - color: #fff; -} .wall-item-content, .mail-conv-body, @@ -1393,6 +1351,7 @@ blockquote { } .dropdown-menu { + color: $font_colour; font-size: 0.9rem; border-radius: $radius; } @@ -1401,6 +1360,21 @@ blockquote { border-radius: $radius; } +.dropdown-item { + color: $font_colour; +} + +.dropdown-item:active, +.dropdown-item:focus, +.dropdown-item:hover, +.textcomplete-item:focus .dropdown-item, +.textcomplete-item:hover .dropdown-item, +.textcomplete-item.active .dropdown-item, +.textcomplete-item:active .dropdown-item { + color: $font_colour; + background-color: $item_colour; +} + .bg-inverse { background-color: $nav_bg !important; } -- cgit v1.2.3