diff options
author | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-03-15 19:14:10 +0100 |
---|---|---|
committer | Paolo T <tuscanhobbit@users.noreply.github.com> | 2014-03-15 19:14:10 +0100 |
commit | 9b64c6163cba7530ee09e47b44e62c3e8ecf69ef (patch) | |
tree | e84880e412390f44e67aff1497562e633deed136 /view/theme/redbasic/css | |
parent | 4fd0d1489825bd456e0cac77b47de156ff94c0cc (diff) | |
parent | 3cb179aff19d803b91261e410c50b36e4bae1246 (diff) | |
download | volse-hubzilla-9b64c6163cba7530ee09e47b44e62c3e8ecf69ef.tar.gz volse-hubzilla-9b64c6163cba7530ee09e47b44e62c3e8ecf69ef.tar.bz2 volse-hubzilla-9b64c6163cba7530ee09e47b44e62c3e8ecf69ef.zip |
Merge pull request #2 from friendica/master
merge from friendica/red
Diffstat (limited to 'view/theme/redbasic/css')
-rw-r--r-- | view/theme/redbasic/css/style.css | 227 |
1 files changed, 144 insertions, 83 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 2402e514e..3b61ceab1 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -7,6 +7,10 @@ /* generals */ +html { + height: 100%; +} + body { font-family: arial,freesans,sans-serif; font-size: $body_font_size; @@ -16,6 +20,7 @@ body { background-size: cover; color: $font_colour; margin: 0px; + height: 100%; } .jslider { font-family: arial,freesans,sans-serif; @@ -74,6 +79,15 @@ input[type="submit"] { text-decoration: none; } +button, input, optgroup, select, textarea { + color: #000; +} + + +pre code { + border: none; +} + code { font-family: Courier, monospace; display: block; @@ -235,7 +249,7 @@ header #banner #logo-text { height: 28px; border-bottom: 1px solid #aaaaaa; padding:0px; - width: 90%; + width: 100%; } .tabs li { margin: 0px; list-style: none; } @@ -253,8 +267,7 @@ ul.tabs { margin-top: 0px; margin-bottom: 0px; list-style-type: none; - padding: 0px; - padding-right: 8px; + } /* footer */ @@ -429,6 +442,11 @@ footer { text-decoration: none; } +.vcard .dropdown-menu { + position: absolute; + left: 200px; + top: 18px; +} #profile-extra-links { clear: both; @@ -445,9 +463,7 @@ footer { margin-top: 5px; } -.profile-edit-side-div { - float: right; -} + .profile-edit-side-link { opacity: 0.3; filter:alpha(opacity=30); @@ -488,72 +504,6 @@ footer { padding: 12px; } -#profiles-menu.menu-popup { - left: 200px; - right: auto; - top: 22px; -} - -ul.menu-popup { - position: absolute; - display: none; - width: 10em; - background: #0080FF; - color: #eec; - padding: 0px; - list-style: none; -/* border-radius: 0px 0px 20px 20px; */ - z-index: 100000; - -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); -} -ul.menu-popup a { - display: block; - color: #FFFFFF; - padding: 5px 10px; - text-decoration: none; -} - - -ul.menu-popup a:hover { - background-color: #888888; - color: #FFFFFF; -} -ul.menu-popup .menu-sep { - border-top: 1px solid #9eabb0; -} -ul.menu-popup li { - float: none; - overflow: auto; - height: auto; - display: block; -} -ul.menu-popup li img { - float: left; - width: 16px; - height: 16px; - padding-right: 5px; -} -ul.menu-popup .empty { - padding: 5px; - text-align: center; - color: #9eabb0; -} -ul.menu-popup .toolbar { - background-color: #9eabb0; - height: auto; - overflow: auto; -} -ul.menu-popup .toolbar a { - float: right; -} -ul.menu-popup .toolbar a:hover { - background-color: #ffffff; -} - - - #profile-in-dir-yes-label, #profile-in-dir-no-label, #profile-in-netdir-yes-label, @@ -793,6 +743,24 @@ ul.menu-popup .toolbar a:hover { } +.pmenu.horizontal { + padding: 0 0 0 0; + border-bottom: none; +} + +.pmenu.horizontal .pmenu-title { + display: none; +} +.pmenu.horizontal ul { + -moz-padding-start: 0; +} + +.pmenu.horizontal li { + margin-left: 0; + display: inline; + padding-right: 15px; +} + #settings-default-perms-menu { margin-top: 15px; margin-bottom: 15px; @@ -807,7 +775,7 @@ ul.menu-popup .toolbar a:hover { display: block; color: #FFFFFF; margin-top: 15px; - background-color: $nav_bg_2; + background-color: $nav_bg; -webkit-border-radius: $radiuspx ; -moz-border-radius: $radiuspx; border-radius: $radiuspx; @@ -896,7 +864,7 @@ ul.menu-popup .toolbar a:hover { #nav-search-spinner { float: left; margin: 25px 0px 0px 25px; - color: #fff; + color: $nav_active_icon_colour; } #nav-search-text:hover, @@ -910,7 +878,7 @@ ul.menu-popup .toolbar a:hover { margin: 15px; padding: 0px 5px 0px 5px; border-radius: 10px; - border: none; + border-color: $nav_bd; background-color: $search_background; transition: background-color 300ms ease 0s; } @@ -1148,12 +1116,6 @@ ul.menu-popup .toolbar a:hover { margin-bottom: 15px; } -#language-selector { - position: absolute; - top: 0px; - left: 16px; -} - #group-members { margin-top: 20px; padding: 10px; @@ -1549,7 +1511,7 @@ div.jGrowl div.info { #nav-search-text-ac .autocomplete { position: fixed; top: 51px; - border: 1px solid #222; + border: 1px solid $nav_bd; border-top: none; } @@ -2242,6 +2204,7 @@ img.mail-list-sender-photo { } /* nav bootstrap */ + nav i { font-size: 14px; } @@ -2269,7 +2232,105 @@ nav .dropdown-menu { border-bottom-left-radius: $radiuspx; } +#usermenu-caret { + color: $nav_icon_colour; +} + +#avatar:hover + #usermenu-caret { + color: $nav_active_icon_colour; +} + /* bootstrap overrides */ blockquote { - font-size: $body_font_size; + font-size: $body_font_size; +} + +.dropdown-menu { + font-size: $body_font_size; + border-radius: $radiuspx; +} + +.dropdown-menu img { + border-radius: $radiuspx; +} + +.navbar-inverse { + background-image: -webkit-linear-gradient(top, $nav_gradient_top 0%, $nav_gradient_bottom 100%); + background-image: linear-gradient(to bottom, $nav_gradient_top 0%, $nav_gradient_bottom 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=$nav_gradient_top, endColorstr=$nav_gradient_bottom, GradientType=0); + background-color: $nav_bg; + border-color: $nav_bd; +} + +.navbar-inverse .navbar-collapse { + border-color: $nav_bd; +} + +.navbar-inverse .navbar-nav > .active > a { + background-image: -webkit-linear-gradient(top, $nav_active_gradient_top 0%, $nav_active_gradient_bottom 100%); + background-image: linear-gradient(to bottom, $nav_active_gradient_top 0%, $nav_active_gradient_bottom 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=$nav_active_gradient_top, endColorstr=$nav_active_gradient_bottom, GradientType=0); +} + + +.navbar-inverse .navbar-nav > li > a { + color: $nav_icon_colour; + text-shadow: 0px 0px 0px; +} + +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: $nav_active_icon_colour; +} + +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: $nav_active_icon_colour; +} + +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + background-color: $nav_bd; + color: $nav_active_icon_colour; +} + +.navbar-inverse .navbar-toggle { + border-color: $nav_bd; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: $nav_bg; +} + +.navbar-inverse .navbar-toggle .icon-bar { + background-color: $nav_active_icon_colour; +} + +#expand-aside { + color: $nav_active_icon_colour; + padding: 7px 10px; +} + +@media screen and (max-width: 767px) { + aside#region_1 { + background: rgba(0, 0, 0, .1); + border-right: 1px solid $nav_bd; + } + + main { + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; + } + + main { + left: -227px; + width: calc( 100% + 227px ); + } + + main.region_1-on { + left: 0px; + } } |