fix dispys' css and layout

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu 2012-03-11 20:36:16 -04:00
parent de70b2f30f
commit e9b82bb5ee
7 changed files with 147 additions and 130 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -1,5 +1,4 @@
<nav> <nav>
$langselector
<span id="banner">$banner</span> <span id="banner">$banner</span>
@ -112,11 +111,14 @@ works -->
<a id="intro-update" class="nav-ajax-left" href="$nav.introductions.0"></a> <a id="intro-update" class="nav-ajax-left" href="$nav.introductions.0"></a>
{{ endif }} {{ endif }}
</div> </div>
</div> </div>
<a href="#" class="floaterflip"></a> <a href="#" class="floaterflip"></a>
</nav> </nav>
<div id="lang-sel-wrap">
$langselector
</div>
<ul id="nav-notifications-template" style="display:none;" rel="template"> <ul id="nav-notifications-template" style="display:none;" rel="template">
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li> <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
</ul> </ul>

View file

@ -122,7 +122,6 @@ a {
color: #88a9d2; color: #88a9d2;
text-decoration: none; text-decoration: none;
margin-bottom: 1px; margin-bottom: 1px;
text-decoration: none;
} }
/*a:hover { */ /*a:hover { */
/* text-decoration: none;*/ /* text-decoration: none;*/
@ -140,7 +139,6 @@ blockquote {
} }
a:hover { a:hover {
color: #729fcf; color: #729fcf;
padding-bottom: 0;
border-bottom: 1px dotted #729fcf; border-bottom: 1px dotted #729fcf;
} }
.required { .required {
@ -488,7 +486,7 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
.nav-ajax-update, .nav-ajax-left { .nav-ajax-update, .nav-ajax-left {
width: 30px; width: 30px;
height: 19px; height: 19px;
background: transparent url(notifications.svg) 0 0 no-repeat; background: transparent url(notifications.png) 0 0 no-repeat;
color: #222; color: #222;
font-weight: bold; font-weight: bold;
font-size: 0.8em; font-size: 0.8em;
@ -519,14 +517,14 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
} }
#lang-select-icon { #lang-select-icon {
cursor: pointer; cursor: pointer;
position: absolute; position: fixed;
left: 0; left: 28px;
top: 0; bottom: 6px;
} }
#language-selector { #language-selector {
position: absolute; position: fixed;
top: 0; bottom: 2px;
left: 16px; left: 52px;
} }
.menu-popup { .menu-popup {
position: absolute; position: absolute;
@ -946,7 +944,7 @@ aside #viewcontacts {
* section * section
*/ */
section { section {
margin: 20px 6% 0 4%; margin: 20px 8% 0 4%;
font-size: 0.8em; font-size: 0.8em;
padding-right: 230px; padding-right: 230px;
min-width: 475px; min-width: 475px;
@ -955,30 +953,31 @@ section {
/** tabs **/ /** tabs **/
.tabs { .tabs {
list-style: none; list-style: none;
margin: 10px 0 10px; margin: 10px 0;
padding: 0; padding: 0;
border-bottom: 1px solid #729fcf;
font-size: 14px;
} }
.tabs li { .tabs li {
display: inline; display: inline;
} }
.tab { .tab {
padding: 0 5px; border: 1px solid #729fcf;
padding: 4px;
} }
.tab:hover { .tab:hover {
background-color: #88a9d2; background: #88a9d2;
color: #111; color: #2e2f2e;
border: 0px;
} }
.tab:active { .tab:active {
background-color: #88a9d2; background: #88a9d2;
color: #111; color: #2e2f2e;
border: 0px;
} }
.tab.active { .tab.active {
background-color: #88a9d2; background: #88a9d2;
color: #111; color: #2e2f2e;
}
.tab a {
border: 0;
text-decoration: none;
} }
/** /**
@ -1005,6 +1004,9 @@ section {
.shiny { .shiny {
background: #2e3436; background: #2e3436;
} }
.heart {
color: red;
}
.wall-item-content { .wall-item-content {
overflow-x: auto; overflow-x: auto;
} }
@ -1548,8 +1550,7 @@ div[id$="wrapper"] br {
.view-contact-wrapper, .view-contact-wrapper,
.contact-entry-wrapper { .contact-entry-wrapper {
float: left; float: left;
margin-right: 5px; margin: 0 5px 40px 0;
margin-bottom: 40px;
width: 120px; width: 120px;
height: 120px; height: 120px;
padding: 3px; padding: 3px;
@ -1712,17 +1713,20 @@ div[id$="wrapper"] br {
clear: both; clear: both;
} }
#register-form label, /*#register-form label, */
#profile-edit-form label { /*#profile-edit-form label {*/
width: 300px; /* width: 300px; */
float: left; /* float: left; */
} /*} */
#register-form span, /*#register-form span, */
#profile-edit-form span { /*#profile-edit-form span {*/
color:#555753; /* color: #555753; */
display:block; /* display: block; */
margin-bottom:20px; /* margin-bottom: 20px; */
/*} */
#profile-edit-marital-label span {
margin: -4px;
} }
.settings-submit-wrapper, .settings-submit-wrapper,
.profile-edit-submit-wrapper { .profile-edit-submit-wrapper {
@ -1944,7 +1948,12 @@ div[id$="wrapper"] br {
*/ */
.directory-item { .directory-item {
float: left; float: left;
margin: 50px 50px 0px 0px; /*margin: 50px 50px 0px 0px;*/
margin: 0 5px 4px 0;
padding: 3px;
width: 180px;
height: 250px;
position: relative;
} }
@ -1956,8 +1965,8 @@ div[id$="wrapper"] br {
} }
.group-selected, .nets-selected { .group-selected, .nets-selected {
padding: 3px; padding: 3px;
border: 1px solid #f8f8f8; color: #2e2f2e;
background: #2e302e; background: #88a9d2;
font-weight: bold; font-weight: bold;
} }
.groupsideedit { .groupsideedit {

View file

@ -72,3 +72,6 @@ $(document).ready(function() {
}); });
</script> </script>
EOT; EOT;
$a->page['footer'] .= <<<EOFooter
EOFooter;

View file

@ -1,5 +1,4 @@
<nav> <nav>
$langselector
<span id="banner">$banner</span> <span id="banner">$banner</span>
@ -112,11 +111,14 @@ works -->
<a id="intro-update" class="nav-ajax-left" href="$nav.introductions.0"></a> <a id="intro-update" class="nav-ajax-left" href="$nav.introductions.0"></a>
{{ endif }} {{ endif }}
</div> </div>
</div> </div>
<a href="#" class="floaterflip"></a> <a href="#" class="floaterflip"></a>
</nav> </nav>
<div id="lang-sel-wrap">
$langselector
</div>
<ul id="nav-notifications-template" style="display:none;" rel="template"> <ul id="nav-notifications-template" style="display:none;" rel="template">
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li> <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
</ul> </ul>

View file

@ -79,7 +79,7 @@ mark {
/* Redeclare monospace font family: h5bp.com/j */ /* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp, .wall-item-body code { pre, code, kbd, samp, .wall-item-body code {
font-family: monospace, monospace; font-family: monospace, monospace;
_font-family: 'courier new', monospace; _font-family: monospace;
font-size: 1em; } font-size: 1em; }
/* Improve readability of pre-formatted text in all browsers */ /* Improve readability of pre-formatted text in all browsers */
@ -127,6 +127,7 @@ a:hover img {
} }
blockquote { blockquote {
background: #eee; background: #eee;
color: #111;
text-indent: 5px; text-indent: 5px;
padding: 5px; padding: 5px;
border: 1px #aaa solid; border: 1px #aaa solid;
@ -134,7 +135,6 @@ blockquote {
} }
a:hover { a:hover {
color: #729fcf; color: #729fcf;
padding-bottom: 0;
border-bottom: 1px dotted #729fcf; border-bottom: 1px dotted #729fcf;
} }
.required { .required {
@ -462,6 +462,7 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
right: 1%; right: 1%;
padding: 5px; padding: 5px;
background: #2e3436; background: #2e3436;
color: transparent;
border-radius: 5px; border-radius: 5px;
z-index: 100; z-index: 100;
} }
@ -511,14 +512,14 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
} }
#lang-select-icon { #lang-select-icon {
cursor: pointer; cursor: pointer;
position: absolute; position: fixed;
left: 0; left: 28px;
top: 0; bottom: 6px;
} }
#language-selector { #language-selector {
position: absolute; position: fixed;
top: 0; bottom: 2px;
left: 16px; left: 52px;
} }
.menu-popup { .menu-popup {
position: absolute; position: absolute;
@ -633,8 +634,24 @@ aside {
.vcard #profile-photo-wrapper { .vcard #profile-photo-wrapper {
margin: 20px; margin: 20px;
} }
/* http://css-tricks.com/snippets/css/css-box-shadow/
* box-shadow:
* 1. The horizontal offset of the shadow, positive means
* the shadow will be on the right of the box, a negative
* offset will put the shadow on the left of the box.
* 2. The vertical offset of the shadow, a negative one
* means the box-shadow will be above the box, a
* positive one means the shadow will be below the box.
* 3. The blur radius (optional), if set to 0 the shadow
* will be sharp, the higher the number, the more blurred
* it will be.
* 4. The spread radius (optional), positive values increase
* the size of the shadow, negative values decrease the size.
* Default is 0 (the shadow is same size as blur).
* 5. Colo[u]r
*/
.vcard #profile-photo-wrapper img { .vcard #profile-photo-wrapper img {
box-shadow: 3px 3px 10px 0; box-shadow: 3px 3px 10px 0 #000;
} }
aside h4 { aside h4 {
font-size: 1.2em; font-size: 1.2em;
@ -643,8 +660,10 @@ aside #viewcontacts {
text-align: right; text-align: right;
} }
.aprofile dt { .aprofile dt {
box-shadow: 1px 1px 5px 0;
color: #666666; color: #666666;
background: transparent;
font-weight: bold;
box-shadow: 1px 1px 5px 0 #000;
margin: 15px 0 5px; margin: 15px 0 5px;
padding-left: 5px; padding-left: 5px;
} }
@ -707,51 +726,11 @@ aside #viewcontacts {
} }
#jot #jot-tools span a { #jot #jot-tools span a {
display: block; display: block;
/*color: #cccccc; */
/*width: 100%; */
/*height: 40px; */
/*text-align: center;*/
/*line-height: 40px; */
/*overflow: hidden;*/
} }
/*#jot #jot-tools li:hover {*/
/*background-color: #364e59;*/
/*}*/
#jot #jot-tools .perms { #jot #jot-tools .perms {
float: right; float: right;
width: 40px; width: 40px;
} }
/*#jot #jot-tools .perms a.unlock {*/
/* width: 30px; */
/* border-left: 10px solid #cccccc;*/
/* background-color: #cccccc; */
/*}*/
/*#jot #jot-tools .perms a.lock {*/
/* width: 30px; */
/* border-left: 10px solid #666666;*/
/* background-color: #666666; */
/*}*/
/*#jot #jot-tools li.submit { */
/* float: right; */
/* background-color: #cccccc; */
/* border-bottom: 2px solid #cccccc; */
/* border-right: 1px solid #666666; */
/* border-left: 1px solid #666666; */
/*} */
/*#jot #jot-tools li.submit input { */
/* border: 0px; */
/* margin: 0px; */
/* padding: 0px; */
/* background-color: #cccccc; */
/* color: #666666; */
/* width: 80px; */
/* height: 40px; */
/* line-height: 40px; */
/*} */
/*#jot #jot-tools li.submit input:hover {*/
/* background-color: #bdcdd4; */
/* color: #666666; */
/*} */
#jot #jot-tools li.loading { #jot #jot-tools li.loading {
float: right; float: right;
background-color: #ffffff; background-color: #ffffff;
@ -945,17 +924,22 @@ aside #viewcontacts {
} }
#jot-preview-content { #jot-preview-content {
background-color: #ffffe0; background-color: #ffffe0;
border: 1px #aaaa00 solid; color: #111;
border: 1px #aa0 solid;
border-radius: 3px; border-radius: 3px;
padding: 3px 3px 6px 10px; padding: 3px 3px 6px 10px;
} }
#jot-preview-content .wall-item-outside-wrapper {
border: 0;
border-radius: 0px;
}
/** /**
* section * section
*/ */
section { section {
margin: 20px 6% 0 4%; margin: 20px 8% 0 4%;
font-size: 0.8em; font-size: 0.8em;
padding-right: 230px; padding-right: 230px;
min-width: 475px; min-width: 475px;
@ -964,28 +948,32 @@ section {
/** tabs **/ /** tabs **/
.tabs { .tabs {
list-style: none; list-style: none;
margin: 10px 0 10px; margin: 10px 0;
padding: 0; padding: 0;
border-bottom: 1px solid #729fcf;
font-size: 14px;
} }
.tabs li { .tabs li {
display: inline; display: inline;
} }
.tab { .tab {
padding: 0 5px; border: 1px solid #729fcf;
padding: 4px;
} }
.tab:hover { .tab:hover {
background-color: #729fcf; background: #729fcf;
color: #eeeeec; color: #eeeeec;
border: 0px;
} }
.tab:active { .tab:active {
background-color: #729fcf; background: #729fcf;
color: #eeeeec; color: #eeeeec;
border: 0px;
} }
.tab.active {
background: #729fcf;
color: #eeeeec;
}
.tab a {
border: 0;
text-decoration: none;
}
/** /**
* items * items
@ -1011,6 +999,9 @@ section {
.shiny { .shiny {
background: #efefdf; background: #efefdf;
} }
.heart {
color: red;
}
.wall-item-content { .wall-item-content {
overflow-x: auto; overflow-x: auto;
} }
@ -1297,6 +1288,7 @@ section {
border-style: solid; border-style: solid;
border-width: 1px 1px 1px 10px; border-width: 1px 1px 1px 10px;
background: #eee; background: #eee;
color: #444;
width: 95%; width: 95%;
} }
@ -1553,8 +1545,7 @@ div[id$="wrapper"] br {
.view-contact-wrapper, .view-contact-wrapper,
.contact-entry-wrapper { .contact-entry-wrapper {
float: left; float: left;
margin-right: 5px; margin: 0 5px 40px 0;
margin-bottom: 40px;
width: 120px; width: 120px;
height: 120px; height: 120px;
padding: 3px; padding: 3px;
@ -1666,8 +1657,9 @@ div[id$="wrapper"] br {
} }
.contact-photo-menu { .contact-photo-menu {
width: auto; width: auto;
border: 2px solid #444444; border: 2px solid #444;
background: #FFFFFF; background: #eee;
color: #111;
position: absolute; position: absolute;
left: 0px; top: 90px; left: 0px; top: 90px;
display: none; display: none;
@ -1706,6 +1698,7 @@ div[id$="wrapper"] br {
-moz-border-radius: 5px; -moz-border-radius: 5px;
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
color: #111;
} }
#settings-default-perms { #settings-default-perms {
margin-bottom: 20px; margin-bottom: 20px;
@ -1715,17 +1708,20 @@ div[id$="wrapper"] br {
clear: both; clear: both;
} }
#register-form label, /*#register-form label, */
#profile-edit-form label { /*#profile-edit-form label {*/
width: 300px; /* width: 300px; */
float: left; /* float: left; */
} /*} */
#register-form span, /*#register-form span, */
#profile-edit-form span { /*#profile-edit-form span {*/
color:#555753; /* color: #555753; */
display:block; /* display: block; */
margin-bottom:20px; /* margin-bottom: 20px; */
/*} */
#profile-edit-marital-label span {
margin: -4px;
} }
.settings-submit-wrapper, .settings-submit-wrapper,
.profile-edit-submit-wrapper { .profile-edit-submit-wrapper {
@ -1742,17 +1738,19 @@ div[id$="wrapper"] br {
float: left; float: left;
margin: 20px 20px 0px 0px; margin: 20px 20px 0px 0px;
} }
#profile-edit-links ul { #profile-edit-links ul {
margin: 20px 0; margin: 20px 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
#register-sitename { #register-sitename {
display: inline; display: inline;
font-weight: bold; font-weight: bold;
} }
#advanced-expire-popup {
/* background: #2e2f2e;
color: #eec;*/
}
/** /**
* contacts selector * contacts selector
@ -1945,7 +1943,12 @@ div[id$="wrapper"] br {
*/ */
.directory-item { .directory-item {
float: left; float: left;
margin: 50px 50px 0px 0px; /*margin: 50px 50px 0px 0px;*/
margin: 0 5px 4px 0;
padding: 3px;
width: 180px;
height: 250px;
position: relative;
} }
@ -1957,6 +1960,7 @@ div[id$="wrapper"] br {
} }
.group-selected, .nets-selected { .group-selected, .nets-selected {
padding: 3px; padding: 3px;
color: #111;
border: 1px solid #CCCCCC; border: 1px solid #CCCCCC;
background: #F8F8F8; background: #F8F8F8;
font-weight: bold; font-weight: bold;
@ -2132,6 +2136,7 @@ div[id$="wrapper"] br {
padding: 5px; padding: 5px;
background: #eee; background: #eee;
vertical-align: middle; vertical-align: middle;
color: #111;
} }
.field input, input[type="text"] { .field input, input[type="text"] {
width: 250px; width: 250px;
@ -2172,7 +2177,7 @@ div[id$="wrapper"] br {
display:none !important; display:none !important;
} }
.field.radio .field_help { .field.radio .field_help {
margin-left: 0; margin-left: 297px;
} }
@ -2298,12 +2303,6 @@ div[id$="wrapper"] br {
.icon.drophide, .icon.delete { .icon.drophide, .icon.delete {
float: left; float: left;
} }
/*.icon.s22 {
display: block;
background: url(icons.png) no-repeat;
width: 22px;
height: 22px;
}*/
.icon.s22.delete { .icon.s22.delete {
display: block; display: block;
background-position: -110px 0; background-position: -110px 0;
@ -2649,4 +2648,3 @@ footer {
font-size: 15pt; font-size: 15pt;
} }
} }

View file

@ -72,3 +72,6 @@ $(document).ready(function() {
}); });
</script> </script>
EOT; EOT;
$a->page['footer'] .= <<<EOFooter
EOFooter;