diff options
Diffstat (limited to 'app/assets/stylesheets/application.css')
-rw-r--r-- | app/assets/stylesheets/application.css | 139 |
1 files changed, 138 insertions, 1 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 40358bb..5ddb0bb 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | @import url('https://fonts.googleapis.com/css?family=Inconsolata'); | 18 | @import url('https://fonts.googleapis.com/css?family=Inconsolata'); |
19 | 19 | ||
20 | body { | 20 | body#main-body { |
21 | background-color: #bfefff; | 21 | background-color: #bfefff; |
22 | } | 22 | } |
23 | 23 | ||
@@ -76,3 +76,140 @@ body { | |||
76 | #sidebar h2 { | 76 | #sidebar h2 { |
77 | font-size: 1em; | 77 | font-size: 1em; |
78 | } | 78 | } |
79 | |||
80 | #flash { | ||
81 | width: 100%; | ||
82 | text-align: center; | ||
83 | padding: .25em; | ||
84 | font-weight: bold | ||
85 | } | ||
86 | |||
87 | .flash-notice { | ||
88 | background-color: #fffde8; | ||
89 | } | ||
90 | |||
91 | .flash-alert { | ||
92 | background-color: #ff6a6a; | ||
93 | } | ||
94 | |||
95 | html { | ||
96 | height: 100%; | ||
97 | } | ||
98 | |||
99 | body#userdata-body { | ||
100 | background-color: #eeeeee; | ||
101 | height: 100%; | ||
102 | } | ||
103 | |||
104 | #userdata-container { | ||
105 | margin: 4em auto 0; | ||
106 | width: 25%; | ||
107 | } | ||
108 | |||
109 | #userdata-form { | ||
110 | background-color: #fefefe; | ||
111 | -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
112 | -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
113 | box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
114 | border-radius: 2px 2px 2px 2px; | ||
115 | -moz-border-radius: 2px 2px 2px 2px; | ||
116 | -webkit-border-radius: 2px 2px 2px 2px; | ||
117 | padding: 1em; | ||
118 | } | ||
119 | |||
120 | #userdata-form .field { | ||
121 | margin-bottom: 1em; | ||
122 | } | ||
123 | |||
124 | #userdata-form .field label { | ||
125 | display: block; | ||
126 | margin-bottom: .25em; | ||
127 | } | ||
128 | |||
129 | #userdata-form input[type=text], #userdata-form input[type=password] { | ||
130 | font-size: 24px; | ||
131 | padding: 3px; | ||
132 | width: 100%; | ||
133 | box-sizing: border-box; | ||
134 | -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.7); | ||
135 | -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.7); | ||
136 | box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.7); | ||
137 | border: 1px solid #ddd; | ||
138 | outline: 0; | ||
139 | border-radius: 0; | ||
140 | } | ||
141 | |||
142 | .remember-me-field { | ||
143 | float: left; | ||
144 | } | ||
145 | |||
146 | .submit-field { | ||
147 | text-align: right; | ||
148 | } | ||
149 | |||
150 | .userdata-link { | ||
151 | margin: 1em; | ||
152 | } | ||
153 | |||
154 | .userdata-link a { | ||
155 | text-decoration: none; | ||
156 | } | ||
157 | |||
158 | .userdata-link a:hover { | ||
159 | text-decoration: underline; | ||
160 | } | ||
161 | |||
162 | #userdata-form, .userdata-link a, .userdata-link a:visited { | ||
163 | color: #555d66; | ||
164 | } | ||
165 | |||
166 | #userdata-form label, .userdata-link a { | ||
167 | font-size: .75em; | ||
168 | } | ||
169 | |||
170 | #userdata-flash { | ||
171 | color: black; | ||
172 | background-color: white; | ||
173 | padding: .75em; | ||
174 | margin-bottom: 2em; | ||
175 | font-size: .8em; | ||
176 | -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
177 | -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
178 | box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
179 | } | ||
180 | |||
181 | .userdata-flash-alert { | ||
182 | border-left: 5px solid red; | ||
183 | } | ||
184 | |||
185 | .userdata-flash-notice { | ||
186 | border-left: 5px solid green; | ||
187 | } | ||
188 | |||
189 | .userdata-flash-tag { | ||
190 | font-weight: bold; | ||
191 | } | ||
192 | |||
193 | .sidebar-module + .sidebar-module { | ||
194 | margin-top: 2em; | ||
195 | } | ||
196 | |||
197 | .sidebar-module ul { | ||
198 | padding-left: 0; | ||
199 | } | ||
200 | |||
201 | .sidebar-module li { | ||
202 | list-style-type: none; | ||
203 | } | ||
204 | |||
205 | .sidebar-module a { | ||
206 | text-decoration: none; | ||
207 | } | ||
208 | |||
209 | .sidebar-module a:hover { | ||
210 | text-decoration: underline; | ||
211 | } | ||
212 | |||
213 | .sidebar-module a:visited { | ||
214 | color: #352712; | ||
215 | } | ||