diff options
author | Mark Longair <mhl@pobox.com> | 2013-09-26 15:50:55 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-19 17:31:35 +0000 |
commit | 37714a74cfa3e17124a2c1102272e761a6af14fb (patch) | |
tree | ffe5777ffae895b488f32763f3da8bd643776ead /app/sass/admin.scss | |
parent | 39795b4e9a5f71d36b7428b44f2ad2889ef45c64 (diff) |
Move admin CSS and images into the asset pipeline
We no longer need to run compass to regenerate the admin CSS - it
will be done automatically.
Diffstat (limited to 'app/sass/admin.scss')
-rw-r--r-- | app/sass/admin.scss | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/app/sass/admin.scss b/app/sass/admin.scss deleted file mode 100644 index 584b0d00d..000000000 --- a/app/sass/admin.scss +++ /dev/null @@ -1,112 +0,0 @@ -/* As we're namespacing bootstrap to class admin, which is applied to the body - element in the admin interface (no id or class allowed on the HTML element - in HTML 4.01) and to the navbar also, so it can be styled with bootstrap - when showing for admin users on the front end, re-apply the bootstrap html - and body styles here. -*/ -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} - -body.admin { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 20px; - color: #333333; - background-color: white; -} - -/* When the admin stylesheet is loaded (and so the user is seeing the admin navbar), pad the banner of the front end interface so that it isn't hidden, and move any special notice down too. -*/ - -.entirebody, #banner { - padding-top: 50px; -} - -#special-notice { - margin-top: 50px; -} - -.admin { - - @import "compass/css3"; - @import "bootstrap"; - - #main { - padding-top: 50px; - - } - - .form-inline { - display: inline; - } - - table .form { - display: inline-block; - margin: 0; - } - - .accordion-group { - border: none; - } - .accordion-heading { - .btn { - float: left; - margin: 6px 15px; - } - .accordion-toggle { - padding: 2px; - &:hover { - text-decoration: none; - } - } - } - - div.item-detail { - div:nth-child(odd) span { - background-color: #eee; - } - } - - span.label.tag { - margin-right: 2px; - a { - color: white; - } - } - - body.admin blockquote p { - font-size: 13px; - display: inline; - } - - div#user_locale_switcher { - div.btn-group:before, - div.btn-group:after { - display: inline; - } - } - - #request_hidden_user_subject_field { - width: 440px; - } - #request_hidden_user_explanation_field { - width: 100%; - height: 15em; - } - #request_hidden_user_subject, - #request_hide_button, - #request_hidden_user_explanation { - display: none; - } - - #outgoing_message_body, - #comment_body { - width: 750px; - } - -} - |