From c968a18db3ae9ddb0cc9e9be18d1ddb1335e423f Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 21 Mar 2014 17:37:23 +0100 Subject: re-enable nav opacity and minor style.css cleanup --- view/theme/redbasic/css/style.css | 49 ++---------------------------- view/theme/redbasic/tpl/theme_settings.tpl | 2 +- 2 files changed, 3 insertions(+), 48 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 4415bdc30..eee31342f 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -138,51 +138,10 @@ blockquote { filter:alpha(opacity=100); } - -#langselector { - position: fixed; - top: 3px; - left: 5px; - z-index:9999; - opacity: 0.3; - filter:alpha(opacity=30); - - -} -#langselector:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} - -/* this is not yet supported - -nav { - background-image: linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%); - background-image: -o-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%); - background-image: -moz-linear-gradient(bottom,$nav_bg_1 26%, $nav_bg_2 82%); - background-image: -webkit-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%); - background-image: -ms-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%); +nav, +header { opacity: $nav_float_min_opacity; filter:alpha(opacity=$nav_percent_min_opacity); - -} - -nav:hover { - background-image: linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%); - background-image: -o-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%); - background-image: -moz-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%); - background-image: -webkit-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%); - background-image: -ms-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%); - opacity: 1.0; - filter:alpha(opacity=100); - -} -*/ - -nav #site-location { - color: #888a85; - font-size: 0.8em; - position: absolute; } .error-message { @@ -213,10 +172,6 @@ nav #banner #logo-text a { } nav #banner #logo-text a:hover { text-decoration: none; } -header #site-location { - display: none; -} - header #banner { overflow: hidden; text-align: center; diff --git a/view/theme/redbasic/tpl/theme_settings.tpl b/view/theme/redbasic/tpl/theme_settings.tpl index 34c04e91c..fc9388f2e 100644 --- a/view/theme/redbasic/tpl/theme_settings.tpl +++ b/view/theme/redbasic/tpl/theme_settings.tpl @@ -27,7 +27,7 @@ {{include file="field_input.tpl" field=$radius}} {{include file="field_input.tpl" field=$shadow}} {{include file="field_input.tpl" field=$converse_width}} -{{* include file="field_input.tpl" field=$nav_min_opacity *}} +{{include file="field_input.tpl" field=$nav_min_opacity}} {{include file="field_input.tpl" field=$top_photo}} {{include file="field_input.tpl" field=$reply_photo}} {{include file="field_checkbox.tpl" field=$sloppy_photos}} -- cgit v1.2.3 From 13916566f016a6b754401ca6cd6423f2a7ecaccf Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 22 Mar 2014 21:10:26 +0100 Subject: use border-box for everything --- view/theme/redbasic/css/style.css | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index eee31342f..ecb9352ec 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -357,6 +357,10 @@ footer { color: #444444; } +.vcard { + padding: 8px; +} + .vcard .title { margin-bottom: 5px; } @@ -429,9 +433,9 @@ footer { #profile-photo-wrapper img { - width:175px; - height:175px; padding: 12px; + width: 201px; + height: 201px; } #profile-in-dir-yes-label, @@ -727,6 +731,7 @@ footer { #contact-block { margin-top: 25px; + padding: 8px; } #contact-block-numcontacts { @@ -736,8 +741,8 @@ footer { .contact-block-div { float: left; - width: 52px; - height: 52px; + width: 50px; + height: 50px; } .contact-block-textdiv { float: left; @@ -1240,7 +1245,7 @@ brain is weird like that */ background-image:url("../../../../images/onoff.jpg"); background-repeat: no-repeat; padding: 4px 2px 2px 2px; - height: 16px; + height: 24px; text-decoration: none; } .field .onoff .off { @@ -1430,6 +1435,9 @@ div.jGrowl div.info { right: 15px; } +div.jGrowl div.jGrowl-notification { + min-height: 60px; +} #id_term_label { width:75px; @@ -2264,8 +2272,8 @@ blockquote { } main { - left: -225px; - width: calc( 100% + 225px ); + left: -231px; + width: calc( 100% + 231px ); } main.region_1-on { -- cgit v1.2.3 From b533e67d52dd8cdb1d390acfbd9dc988ced2a59e Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sat, 22 Mar 2014 22:34:11 +0100 Subject: Narrow navbar:Switch to bs default on small screens --- view/theme/redbasic/css/narrow_navbar.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/css/narrow_navbar.css b/view/theme/redbasic/css/narrow_navbar.css index b05f46797..cfda9760e 100644 --- a/view/theme/redbasic/css/narrow_navbar.css +++ b/view/theme/redbasic/css/narrow_navbar.css @@ -1,8 +1,9 @@ +@media screen and (min-width: 760px) { .navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;} .navbar {min-height:25px !important;} nav img { -height: 25px; -width: 25px; +height: 30px; +width: 30px; margin: 2px 0px 1px 10px; border-radius: 0px; } @@ -12,7 +13,7 @@ border-radius: 0px; #nav-search-text {margin:5px;} header #banner {margin-top:5px;} nav .dropdown-menu { -top: 30px;} +top: 33px;} nav .badge { position: relative; top: -30px; @@ -24,4 +25,5 @@ nav .badge { #jGrowl.top-right { top: 30px; right: 15px; +} } \ No newline at end of file -- cgit v1.2.3