diff options
author | friendica <info@friendica.com> | 2013-07-08 22:01:57 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-08 22:01:57 -0700 |
commit | 6e012839c9807ce8c3c97bafdca7a36cf5fc58a9 (patch) | |
tree | b3bbb574e058a45ed7d2658a3bc710704164d751 /view | |
parent | cd40802229a39fe6eabc2dec8784a445e4cd2769 (diff) | |
download | volse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.tar.gz volse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.tar.bz2 volse-hubzilla-6e012839c9807ce8c3c97bafdca7a36cf5fc58a9.zip |
more work on bug #59 - hope this doesn't hork everything. Also some tweaking of the theme for the new radius control, which produced some surprising results when expert mode was toggled.
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/fancy.css | 12 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 3 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 4 |
3 files changed, 12 insertions, 7 deletions
diff --git a/view/theme/redbasic/css/fancy.css b/view/theme/redbasic/css/fancy.css index eeb822f72..277ea5596 100644 --- a/view/theme/redbasic/css/fancy.css +++ b/view/theme/redbasic/css/fancy.css @@ -1,7 +1,7 @@ /* There's probably some stuff in here we don't need, and maybe some missing stuff we do need. We can clean it up incrementaly, just get the heavy lifting done for now */ aside { -border-radius: 0px 0px 20px 0px;} +border-radius: $radiuspx;} .tab { @@ -9,9 +9,9 @@ border-radius: 0px 0px 20px 0px;} background-color: #f00; color: #fff !important; font-weight: bold; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 20px; + -webkit-border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; margin: 0; width: auto; margin-left: 8px; @@ -38,7 +38,7 @@ border-radius: 0px 0px 20px 0px;} .wall-item-content-wrapper { position: relative; - border-radius: 10px; + border-radius: $radiuspx; box-shadow: 8px 8px 8px #000; border: 1px solid #eec; } @@ -68,7 +68,7 @@ opacity: 1; ul.menu-popup { background: #dd0000; color: #eec; - border-radius: 0px 0px 20px 20px; + border-radius: $radiuspx; 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); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index c2de29548..f9423ac62 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -926,6 +926,9 @@ footer { .wall-item-content-wrapper { margin-top: 10px; position: relative; + border-radius: $radiuspx; + border: 1px solid #eec; + /* background: #fff; */ /* border-radius: 5px; */ /* box-shadow: 12px 12px 12px #111; */ diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index ec551923a..b90bfe169 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -54,6 +54,7 @@ // Dark themes are very different - we need to do some of these from scratch, so don't bother setting vars for anything else if ($colour_scheme === 'dark') {$colour = 'dark'; $navcolour = 'black';} if ($colour_scheme === 'redbasic'){$navcolour = 'red';} + $shadows = false; } // This is probably the easiest place to apply global settings. Don't bother with site line height and such. Instead, check pconfig for global user settings. @@ -133,7 +134,8 @@ if ($displaystyle === "fancy") {if (file_exists('view/theme/' . current_theme() . '/css/fancy.css')) { $fancy = (file_get_contents('view/theme/' . current_theme() . '/css/fancy.css')); - echo "$fancy";} + echo str_replace(array('$radius'),array($radius),$fancy); + } } // Put the # here to force hex colours - if we don't, somebody is going to do something odd, using RGB and we're all going to be confused on the support forums |