aboutsummaryrefslogtreecommitdiffstats
path: root/app/sass/admin.scss
blob: 584b0d00d9ed310354bfb76ed605a24237363df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* 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;
  }

}