diff options
author | friendica <info@friendica.com> | 2013-07-16 21:56:02 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-16 21:56:02 -0700 |
commit | 6d447ace5c72e74145198ab1c3ebac2bf85d33cf (patch) | |
tree | a5f77d8dc0b84cabaf3bb71ed4ec1214d574ce5f | |
parent | de734bbea807e9dba9277a4e0ab4a21fe6405191 (diff) | |
download | volse-hubzilla-6d447ace5c72e74145198ab1c3ebac2bf85d33cf.tar.gz volse-hubzilla-6d447ace5c72e74145198ab1c3ebac2bf85d33cf.tar.bz2 volse-hubzilla-6d447ace5c72e74145198ab1c3ebac2bf85d33cf.zip |
define some photo types; primarily profile photos and things, but there is room for others. Also move the "decoration" out of the mod_page.css and into fancy.css - mod_xxx.css should only specify element positions and basic layout, not "decoration". Once we get more positioning stuff moved into module and basic layout files, we can trim down the style.css a lot - as it will theoretically only have decoration. And if we use macro substitution (pcss) we should be able to ultimately change the colour, size or background in one place and be done with it. This will make life easier for theme developers.
-rwxr-xr-x | boot.php | 12 | ||||
-rw-r--r-- | view/theme/redbasic/css/fancy.css | 23 | ||||
-rw-r--r-- | view/theme/redbasic/css/mod_page.css | 4 |
3 files changed, 38 insertions, 1 deletions
@@ -187,6 +187,18 @@ define ( 'PAGE_REMOVED', 0x8000 ); //define ( 'PAGE_BLOG', 4 ); //define ( 'PAGE_PRVGROUP', 5 ); + +/** + * Photo types + */ + +define ( 'PHOTO_NORMAL', 0x0000 ); +define ( 'PHOTO_PROFILE', 0x0001 ); +define ( 'PHOTO_XCHAN', 0x0002 ); +define ( 'PHOTO_THING', 0x0004 ); + + + /** * Network and protocol family types */ diff --git a/view/theme/redbasic/css/fancy.css b/view/theme/redbasic/css/fancy.css index 277ea5596..2da9d68d1 100644 --- a/view/theme/redbasic/css/fancy.css +++ b/view/theme/redbasic/css/fancy.css @@ -81,3 +81,26 @@ ul.menu-popup a:hover { background-color: #eec; color: #f00; } + +section { +left: 0px; +width: 800px; +margin-left: auto; +margin-right: auto; +} +body {background-color: #d00 !important;} + +.page-content-wrapper {background: #fff; + color: #000; + border-radius: 20px; + box-shadow: 5px 5px 5px #111; +} + +h3.page-title { +padding-top: 30px; + color: #033} +.page-body {padding: 40px;} + +.page-body strong {color: #033;} + +.nav-links {margin-top: 5px;} diff --git a/view/theme/redbasic/css/mod_page.css b/view/theme/redbasic/css/mod_page.css index 26c16b88c..37f597fac 100644 --- a/view/theme/redbasic/css/mod_page.css +++ b/view/theme/redbasic/css/mod_page.css @@ -1,3 +1,4 @@ +/* section { left: 0px; width: 800px; @@ -19,4 +20,5 @@ padding-top: 30px; .page-body strong {color: #033;} -.nav-links {margin-top: 5px;}
\ No newline at end of file +.nav-links {margin-top: 5px;} +*/
\ No newline at end of file |