Removed mobile stylesheet from core output. If Mobile support is

seeked, MobileProfile plugin should be used.
This commit is contained in:
Sarven Capadisli 2010-01-21 13:23:04 +01:00
parent 51775e38ba
commit fed111f08a
2 changed files with 0 additions and 154 deletions

View File

@ -199,10 +199,6 @@ class Action extends HTMLOutputter // lawsuit
if (Event::handle('StartShowStatusNetStyles', array($this)) && if (Event::handle('StartShowStatusNetStyles', array($this)) &&
Event::handle('StartShowLaconicaStyles', array($this))) { Event::handle('StartShowLaconicaStyles', array($this))) {
$this->cssLink('css/display.css',null,'screen, projection, tv'); $this->cssLink('css/display.css',null,'screen, projection, tv');
if (common_config('site', 'mobile')) {
// TODO: "handheld" CSS for other mobile devices
$this->cssLink('css/mobile.css','base','only screen and (max-device-width: 480px)'); // Mobile WebKit
}
$this->cssLink('css/print.css','base','print'); $this->cssLink('css/print.css','base','print');
Event::handle('EndShowStatusNetStyles', array($this)); Event::handle('EndShowStatusNetStyles', array($this));
Event::handle('EndShowLaconicaStyles', array($this)); Event::handle('EndShowLaconicaStyles', array($this));

View File

@ -1,150 +0,0 @@
/** theme: base
*
* @package StatusNet
* @author Meitar Moscovitz <meitar@maymay.net>
* @author Sarven Capadisli <csarven@status.net>
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
body {
font-size:2.5em;
}
#wrap {
width:95%;
}
#header,
#header address,
#anon_notice,
#site_nav_local_views .nav,
#form_notice,
#form_notice .form_data li,
#core,
#content_inner,
#notices_primary,
.notice,
.notice .entry-title,
.notice div.entry-content,
.notice-options,
.notice .notice-options a,
.pagination,
.pagination .nav,
.aside .section {
float:none;
}
.notice-options .notice_reply,
.notice-options .notice_delete,
.notice-options .form_favor,
.notice-options .form_disfavor {
position:static;
}
#form_notice,
#anon_notice,
#footer,
#form_notice .form_actions input.submit {
width:auto;
}
.form_settings label {
width:25%;
}
.form_settings .form_data p.form_guide {
margin-left:26%;
}
#site_nav_global_primary {
width:75%;
}
.entity_profile {
width:65%;
}
.entity_actions {
margin-left:0;
}
#form_notice,
#anon_notice {
clear:both;
}
#content,
#aside_primary {
width:96%;
padding-left:2%;
padding-right:2%;
}
#site_notice {
position:static;
float:right;
clear:right;
width:75%;
margin-right:0;
margin-bottom:11px;
}
.notices {
font-size:1.5em;
}
#form_notice textarea {
width:80%;
height:5em;
}
#form_notice .form_note {
right:20%;
top:6em;
}
.vcard .photo,
.section .vcard .photo {
margin-right:18px;
}
.notice,
.profile {
margin-bottom:18px;
}
.notices .entry-title,
.notices div.entry-content {
width:90%;
}
.notice div.entry-content {
margin-left:0;
}
.notice .author .photo {
height:4.5em;
width:4.5em;
}
.notice-options {
position:absolute;
top:0;
right:0;
padding-left:7%;
width:3%;
}
.notice-options .notice_delete a {
float:left;
}
.pagination .nav {
overflow:auto;
}
#export_data {
display:none;
}
#site_nav_local_views li {
margin-right:4px;
}
#site_nav_local_views a {
padding:18px 11px;
}