Make stuff work with no base

This commit is contained in:
Evan Prodromou 2009-04-14 16:02:09 -04:00
parent 0073a75dff
commit b142c26010
4 changed files with 11 additions and 29 deletions

View File

@ -192,10 +192,6 @@ class Action extends HTMLOutputter // lawsuit
{
if (Event::handle('StartShowStyles', array($this))) {
if (Event::handle('StartShowLaconicaStyles', array($this))) {
$this->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',
'href' => theme_path('css/display.css', 'base') . '?version=' . LACONICA_VERSION,
'media' => 'screen, projection, tv'));
$this->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',
'href' => theme_path('css/display.css', null) . '?version=' . LACONICA_VERSION,

View File

@ -7,6 +7,8 @@
* @link http://laconi.ca/
*/
@import url(../../base/css/display.css);
html,
body,
a:active {
@ -70,7 +72,6 @@ border-top-color:#D1D9E4;
border-top-color:#97BFD1;
}
#content .notice p.entry-content a:visited {
background-color:#fcfcfc;
}
@ -82,7 +83,6 @@ background-color:#fcfffc;
background-color:#CEE1E9;
}
#notice_text-count {
color:#333;
}
@ -112,7 +112,6 @@ background-color:rgba(255, 255, 255, 0.2);
background-color:rgba(255, 255, 255, 0.7);
}
.error {
background-color:#F7E8E8;
}
@ -120,7 +119,6 @@ background-color:#F7E8E8;
background-color:#EFF3DC;
}
#anon_notice {
background-color:#97BFD1;
color:#fff;
@ -131,7 +129,6 @@ border-color:#fff;
background-color:#A9BF4F;
}
#export_data li a {
background-repeat:no-repeat;
background-position:0 45%;
@ -184,8 +181,6 @@ background-image:url(../images/icons/twotone/green/mail.gif);
background-image:url(../images/icons/twotone/green/shield.gif);
}
/* NOTICES */
.notices li.over {
background-color:#fcfcfc;
@ -228,7 +223,6 @@ background-color:#fcfcfc;
}
/*END: NOTICES */
#new_group a {
background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%;
}

View File

@ -7,6 +7,8 @@
* @link http://laconi.ca/
*/
@import url(../../base/css/display.css);
html,
body,
a:active {
@ -70,7 +72,6 @@ border-top-color:#CEE1E9;
border-top-color:#87B4C8;
}
#content .notice p.entry-content a:visited {
background-color:#fcfcfc;
}
@ -82,7 +83,6 @@ background-color:#fcfffc;
background-color:#CEE1E9;
}
#notice_text-count {
color:#333;
}
@ -112,7 +112,6 @@ background-color:rgba(135, 180, 200, 0.3);
background-color:rgba(255, 255, 255, 0.7);
}
.error {
background-color:#F7E8E8;
}
@ -120,7 +119,6 @@ background-color:#F7E8E8;
background-color:#EFF3DC;
}
#anon_notice {
background-color:#87B4C8;
color:#fff;
@ -131,7 +129,6 @@ border-color:#fff;
background-color:#9BB43E;
}
#export_data li a {
background-repeat:no-repeat;
background-position:0 45%;
@ -184,8 +181,6 @@ background-image:url(../images/icons/twotone/green/mail.gif);
background-image:url(../images/icons/twotone/green/shield.gif);
}
/* NOTICES */
.notices li.over {
background-color:#fcfcfc;
@ -228,7 +223,6 @@ background-color:#fcfcfc;
}
/*END: NOTICES */
#new_group a {
background:transparent url(../images/icons/twotone/green/news.gif) no-repeat 0 45%;
}

View File

@ -2,6 +2,8 @@
/* Design & CSS by Marie-Claude Doyon http://www.marieclaudedoyon.com */
/* Simplified for mobile by Ken Sheppardson http://identi.ca/kshep */
@import url(../../base/css/display.css);
html {}
body {
width: 100%;
@ -28,7 +30,6 @@ h1 {
font-size: 1.2em;
}
#wrap {
margin: 0;
}
@ -196,7 +197,7 @@ p#branding a {
}
.instructions a:hover, .success a:hover, .error a:hover {
color: #FCFFF5;
}
}
.success {
clear: both;
float: left;
@ -210,7 +211,6 @@ p#branding a {
background-color: #ce3728;
}
/* ----- Stream -----*/
#notices {
@ -273,7 +273,7 @@ p.time {
p.time a {
color: #91AA9D;
}
/* ----- Profile -----*/
#profile {
clear: both;
@ -356,7 +356,7 @@ dl.statistics {
clear: left;
float: left;
width: 200px;
}
}
.statistics dd {
float: left;
}
@ -402,8 +402,6 @@ ul.subscriptions li, ul.subscribers li {
}
/* ----- End Subscriptions & Subscribers -----*/
#pagination {
margin: 18px auto;
}
@ -488,7 +486,7 @@ input#submit:hover, input.submit:hover {
input.checkbox {
width: auto;
border: 0;
}
}
textarea, input {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 1em;
@ -629,7 +627,7 @@ input#openid_url {
#profiles a:hover {
text-decoration: underline;
}
.profile_single {
clear: both;
display: block;