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.

This commit is contained in:
friendica 2013-07-16 21:56:02 -07:00
parent de734bbea8
commit 6d447ace5c
3 changed files with 38 additions and 1 deletions

View File

@ -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
*/

View File

@ -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;}

View File

@ -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;}
.nav-links {margin-top: 5px;}
*/