From 52334ddda08ffe0257860360a179a25c29c51766 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Tue, 22 Jul 2014 16:30:32 -0400 Subject: [PATCH] a few mobile admin enhancements --- .../stylesheets/common/admin/admin_base.scss | 62 +++++++++++++++++++ .../stylesheets/desktop/topic-post.scss | 2 +- 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index 35d256a6f..ad48b0c52 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -1143,3 +1143,65 @@ and (max-width : 850px) { > li > a {padding: 13px} } } + +@media only screen +and (min-width : 320px) +and (max-width : 500px) { + +.full-width { margin: 0; } +.site-settings-nav { width: 100%; } +.site-settings-detail { + width: 100%; + padding: 0; + border: none; + + .settings .setting { + .setting-label { + float: left; + width: 100%; + h3 { + margin-bottom: 5px; + font-weight: bold; + margin-top: 25px; + } + } + .setting-value { + width: 100%; + } + label { + font-size: 13px; + } + } + } + + .content-editor { + width: 100%; + #pagedown-editor { + box-sizing: border-box; + } + } + + div.ac-wrap { + width: 100% !important; + box-sizing: border-box; + } + + .admin-container { + h2 { + float: left; + } + } + + .dashboard-left, .dashboard-right { width: 100%; } + .dashboard-stats { margin: 0; } + + .badges { + .current-badge {margin: 70px 0 0 0;} + .current-badge-actions {padding: 0;} + } + + .customize .content-list, .customize .current-style { + width: 100%; + + } +} diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 58db1f6b9..7f0639fe7 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -379,7 +379,7 @@ a.star { .secondary {text-align: center;} li { float: left; - padding: 7px 11px; + padding: 7px 10px; &:last-of-type { border-right: 0; }