From 85be921646d3f6e5088a1618c2fef6287764f662 Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Mon, 25 Feb 2013 18:21:09 -0800 Subject: [PATCH] fixed page with, removed responsiveness from theme.css --- .../Content/Bootstrap/variables.less | 2 +- NzbDrone.Backbone/Content/theme.css | 59 +++---------------- 2 files changed, 10 insertions(+), 51 deletions(-) diff --git a/NzbDrone.Backbone/Content/Bootstrap/variables.less b/NzbDrone.Backbone/Content/Bootstrap/variables.less index 002e0151e..0eda9473c 100644 --- a/NzbDrone.Backbone/Content/Bootstrap/variables.less +++ b/NzbDrone.Backbone/Content/Bootstrap/variables.less @@ -272,7 +272,7 @@ // Default 940px grid // ------------------------- @gridColumns: 12; -@gridColumnWidth: 60px; +@gridColumnWidth: 75px; @gridGutterWidth: 20px; @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); diff --git a/NzbDrone.Backbone/Content/theme.css b/NzbDrone.Backbone/Content/theme.css index b74182533..7a2108f53 100644 --- a/NzbDrone.Backbone/Content/theme.css +++ b/NzbDrone.Backbone/Content/theme.css @@ -19,12 +19,13 @@ color: #333; } - a#logo:hover { - text-decoration: none; - } +a#logo:hover { + text-decoration: none; +} .page { - width: 980px; + width: 1210px; + min-width: 1210px; margin: auto; background-color: #FFF; border-radius: 6px; @@ -39,40 +40,6 @@ border-bottom: 1px solid #EEE; } -@media (min-width: 1200px) { - .page { - width: 1210px; - } -} - -@media (min-width: 768px) and (max-width: 979px) { - .page { - width: 764px; - } -} - -@media (max-width: 767px) { - body { - padding-left: 0; - padding-right: 0; - } - - .page { - width: 100%; - } - - .page-container { - padding: 0px 20px; - } - - #in-nav ul.pull-right { - top: 0px !important; - } - - .message-sidebar { - margin-right: -20px !important; - } -} #in-nav { background-color: white; @@ -239,6 +206,8 @@ footer { border-right: 1px solid #EEE; margin: -20px; margin-right: 0; + overflow: auto; + height: 700px; } .message-sidebar a.message-preview { @@ -284,12 +253,6 @@ footer { display: block; } -@media (min-width: 768px) { - .message-sidebar { - overflow: auto; - height: 700px; - } -} .messages h4 { text-transform: none; @@ -844,15 +807,11 @@ ul.stat-list { #events .load-more { text-align: center; -} - -@media (min-width: 768px) { - #events { - overflow: auto; + overflow: auto; height: 600px; - } } + #calendar h2 { font-size: 17.5px; }