active_admin_flat_skin 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a5564166b6a2576cbfb53581052a4a962adc8866
4
+ data.tar.gz: 3a729a6c553a6ae273293d31135e8b1ea0977bca
5
+ SHA512:
6
+ metadata.gz: 81f1153dae449149f3afb372e4d03fec8f13df39e37ab88061cf044f6906274a12e9a10efd9b35c115050570f9f160aedee2298754b750fd4917f9e18387f4a7
7
+ data.tar.gz: f193d9d010054fc506fbbd06745c31bf0615cd63261510435bfa59595f34c8966dc46f0d13f78bed958a467f1cfed0fa0c89f0ea2502c4e63c20019c5c69642f
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in active_admin_flat_skin.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Armand Niampa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,106 @@
1
+ # ActiveAdminFlatSkin
2
+
3
+ Flat skin for active admin.
4
+
5
+ ## Screens
6
+
7
+ <table>
8
+ <tr>
9
+ <td>
10
+ <a href="./files/1.jpg"><img src="./files/1.jpg"></a>
11
+ </td>
12
+ <td>
13
+ <a href="./files/2.jpg"><img src="./files/2.jpg"></a>
14
+ </td>
15
+ </tr>
16
+ <tr>
17
+ <td>
18
+ <a href="./files/3.jpg"><img src="./files/3.jpg"></a>
19
+ </td>
20
+ <td>
21
+ <a href="./files/4.jpg"><img src="./files/4.jpg"></a>
22
+ </td>
23
+ </tr>
24
+ </table>
25
+
26
+ ## Installation
27
+
28
+ As active_skin is the css theme for the [active_admin](https://github.com/gregbell/active_admin) administration framework - you have to install if first.
29
+
30
+ Having active admin installed add the following line to your application's Gemfile:
31
+
32
+ ```ruby
33
+ gem 'active_admin_flat_skin'
34
+ ```
35
+
36
+ And then execute:
37
+
38
+ $ bundle
39
+
40
+ Or install it yourself as:
41
+
42
+ $ gem install active_admin_flat_skin
43
+
44
+
45
+ ## Usage
46
+
47
+ include active flat skin css
48
+
49
+ # active_admin.css.scss
50
+
51
+ @import "active_admin/mixins";
52
+ @import "active_admin/base";
53
+ ...
54
+ @import "active_admin_flat_skin";
55
+ ...
56
+
57
+ include active flat skin js
58
+
59
+ # active_admin.js
60
+
61
+ //= require active_admin/base
62
+ ...
63
+ //= require active_admin_flat_skin
64
+ ...
65
+
66
+ You can even change basic colors of the theme by placing some other variables:
67
+
68
+ ...
69
+ $panelBorder: #babdc5;
70
+ $skinActiveColor: #e73c3c;
71
+ $bodyColor: rgba(236, 240, 241, 0.48);
72
+ $skinBlack: rgb(55, 71, 79);
73
+ $panelHeaderBck: $skinBlack;
74
+ $skinBlackLight: rgb(69, 90, 100);
75
+ $textGray: rgb(174, 179, 181);
76
+ $skinTextColor: #1e2a33;
77
+ $skinTextActiveColor: white;
78
+ $skinTextTable: #7f8c8d;
79
+ $skinHeaderBck: #1e2a33;
80
+ ...
81
+
82
+ ### Color examples
83
+
84
+ <table>
85
+ <tr>
86
+ <td colspan=2>
87
+ <a href="./files/color2.jpg"><img src="./files/color2.jpg"></a>
88
+ </td>
89
+ </tr>
90
+ <tr>
91
+ <td>
92
+ <a href="./files/color1.jpg"><img src="./files/color1.jpg"></a>
93
+ </td>
94
+ <td>
95
+ <a href="./files/color3.jpg"><img src="./files/color3.jpg"></a>
96
+ </td>
97
+ </tr>
98
+ </table>
99
+
100
+ ## Contributing
101
+
102
+ 1. Fork it ( https://github.com/ayann/active_admin_flat_skin/fork )
103
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
104
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
105
+ 4. Push to the branch (`git push origin my-new-feature`)
106
+ 5. Create a new Pull Request
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'active_admin_flat_skin/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "active_admin_flat_skin"
8
+ spec.version = ActiveAdminFlatSkin::VERSION
9
+ spec.authors = ["Armand Niampa"]
10
+ spec.email = ["armand.niampa@gmail.com"]
11
+
12
+ spec.summary = %q{Flat design skin for active admin.}
13
+ spec.description = %q{Flat design skin for active admin.}
14
+ spec.homepage = "http://ayann.github.io/active_admin_flat_skin"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0")
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.8"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "active_admin_flat_skin"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,6 @@
1
+ require "active_admin_flat_skin/version"
2
+
3
+ module ActiveAdminFlatSkin
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module ActiveAdminFlatSkin
2
+ VERSION = "0.1.2"
3
+ end
@@ -0,0 +1,42 @@
1
+ jQuery(document).ready(function($) {
2
+ $('body').append($('<div class="overlay">'));
3
+
4
+ utility_nav = $('#utility_nav').detach();
5
+ $('#footer').append(utility_nav);
6
+
7
+ $('.delete_link').html($('<span>').addClass('fa fa-trash'));
8
+ $('.edit_link').html($('<span>').addClass('fa fa-pencil'));
9
+ $('.view_link').html($('<span>').addClass('fa fa-eye'));
10
+
11
+ if ($("#filters_sidebar_section").length > 0) {
12
+ $("#main_content").prepend(
13
+ $('<div class="bloc">').append(
14
+ $('<a>').text('Afficher les filtres').attr({
15
+ href: '#value', id:'diplay-filter'
16
+ })
17
+ )
18
+ );
19
+ }else{
20
+ $("#main_content").addClass('with_side');
21
+ };
22
+
23
+ $(document).on('click', '#diplay-filter', function(event) {
24
+ event.preventDefault();
25
+ $('.overlay').show();
26
+ $("#filters_sidebar_section").addClass('animated slideInUp').show();
27
+ });
28
+
29
+ $('.overlay').click(function(event) {
30
+ event.preventDefault();
31
+ $("#filters_sidebar_section").hide();
32
+ $(this).hide();
33
+ });
34
+
35
+ $('.has_nested').each(function(index, el) {
36
+ $(this).click(function(event) {
37
+ $siblings = $(this).siblings('.has_nested').find('.slided_down');
38
+ $siblings.slideUp().removeClass('slided_down');
39
+ $(this).find('ul').slideToggle().toggleClass('slided_down');
40
+ });
41
+ });
42
+ });
@@ -0,0 +1,12 @@
1
+ $panelBorder: #babdc5 !default;
2
+ $skinActiveColor: #e73c3c !default;
3
+ $bodyColor: rgba(236, 240, 241, 0.48) !default;
4
+ $skinBlack: rgb(55, 71, 79);
5
+ $panelHeaderBck: $skinBlack;
6
+ $skinBlackLight: rgb(69, 90, 100);
7
+ $textGray: rgb(174, 179, 181);
8
+ $skinTextColor: #1e2a33 !default;
9
+ $skinTextActiveColor: white !default;
10
+ $skinTextTable: #7f8c8d !default;
11
+ $skinHeaderBck: #1e2a33 !default;
12
+ // $panelHeaderBck: #2c3e50 !default;
@@ -0,0 +1,11 @@
1
+ @import "animate";
2
+ @import "variables";
3
+ @import "active_admin_skin";
4
+ @import "body";
5
+ @import "header";
6
+ @import "timeline";
7
+ @import "content";
8
+ @import "filter";
9
+ @import "panel";
10
+ @import "overlay_overview";
11
+ @import "footer";
@@ -0,0 +1,551 @@
1
+ html {
2
+ background: transparent;
3
+ font-family: "Source Sans Pro", sans-serif;
4
+ min-height: 100%;
5
+ body.active_admin {
6
+ background: $bodyColor !important;
7
+ background: white;
8
+ font-family: "Source Sans Pro", sans-serif;
9
+ padding-bottom: 80px;
10
+ }
11
+ #header {
12
+ background: $bodyColor;
13
+ border: none;
14
+ text-shadow: none;
15
+ margin-top: -2px;
16
+ padding: 0;
17
+ h1.site_title {
18
+ background-color: white;
19
+ color: $skinTextColor;
20
+
21
+ }
22
+ a, a:link {
23
+ color: $skinTextColor;
24
+ }
25
+ ul.tabs {
26
+ padding: 0;
27
+ font-size: 0;
28
+ }
29
+ ul.tabs > li:hover > a, ul.tabs > li.current > a {
30
+ color: $skinTextActiveColor;
31
+ background: $skinActiveColor;
32
+ border-radius: 0 !important;
33
+ margin: -10px 0;
34
+ display: block;
35
+ margin-top: 0 !important;
36
+ }
37
+ ul.tabs > li {
38
+ font-size: 12px;
39
+ margin: 0;
40
+ min-height: 29px !important;
41
+ a {
42
+ display: block;
43
+ padding: 6px 20px;
44
+ margin: 0;
45
+ }
46
+ }
47
+ ul.tabs > li.has_nested a {
48
+ background-position: 93% 50%;
49
+ padding-right: 30px;
50
+ }
51
+ ul.tabs > li.has_nested:hover {
52
+ a {
53
+ border-radius: 0 !important;
54
+ background-color: $skinActiveColor;
55
+ border: none;
56
+ background-position: 93% 50%;
57
+ }
58
+ ul {
59
+ background: $skinActiveColor;
60
+ box-shadow: none !important;
61
+ border-radius: 0 !important;
62
+ border: none;
63
+ li a {
64
+ color: white;
65
+ &:hover {
66
+ color: $skinTextColor;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ ul.tabs > li.has_nested.current a {
72
+ background-color: $skinActiveColor;
73
+ background-position: 93% 50%;
74
+ padding-right: 30px;
75
+ }
76
+ #utility_nav {
77
+ background: white;
78
+ padding: 0;
79
+ li#logout a {
80
+ font-weight: bold;
81
+ text-decoration: underline;
82
+ &:hover {
83
+ text-decoration: none;
84
+ }
85
+ }
86
+ li {
87
+ padding: 0 !important;
88
+ a {
89
+ padding: 6px;
90
+ &:hover {
91
+ background: none;
92
+ color: $skinTextColor;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ #utility_nav {
99
+ li {
100
+ display: block !important;
101
+ height: 29px !important;
102
+ width: 120px !important;
103
+ text-align: left !important;
104
+ padding: 0 0 0 10px !important;
105
+ overflow: hidden;
106
+ &:hover {
107
+ margin: 0 !important;
108
+ padding: 0 0 0 10px !important;
109
+ a {
110
+ margin: 0 !important;
111
+ background: none !important;
112
+ color: $skinActiveColor !important;
113
+ }
114
+ }
115
+ &#logout {
116
+ padding-bottom: 4px !important;
117
+ }
118
+ }
119
+ }
120
+ .panel {
121
+ background: white;
122
+ position: relative;
123
+ border-top: 3px solid darken($bodyColor, 20);
124
+ border-radius: 0;
125
+ box-shadow: inset 0 0px 3px #dddddd;
126
+ > h3 {
127
+ border-bottom: 1px solid #f4f4f4;
128
+ background: $panelHeaderBck;
129
+ color: white;
130
+ padding: 8px 15px;
131
+ box-shadow: none;
132
+ border-radius: 0;
133
+ text-shadow: none;
134
+ font-weight: bold;
135
+ border-style: none none solid;
136
+ }
137
+ }
138
+ #title_bar {
139
+ background: $skinHeaderBck;
140
+ text-shadow: none;
141
+ border: none;
142
+ padding: 15px 30px;
143
+ box-shadow: none;
144
+ border-bottom: 4px solid $skinActiveColor;
145
+ margin: 0;
146
+ h2 {
147
+ color: white;
148
+ }
149
+ .action_items a {
150
+ border-radius: 0 !important;
151
+ background: $skinActiveColor !important;
152
+ color: white !important;
153
+ box-shadow: none !important;
154
+ text-shadow: none !important;
155
+ border: none !important;
156
+ padding: 17px;
157
+ font-size: 14px;
158
+ &:hover {
159
+ background: lighten($skinActiveColor, 10%) !important;
160
+ }
161
+ }
162
+ }
163
+ table.index_table {
164
+ border: 1px solid #d3d8dc;
165
+ background: white;
166
+ th {
167
+ background: #f1f5f6;
168
+ border: 1px #d3d8dc;
169
+ border-style: none solid solid none;
170
+ padding: 7px 10px;
171
+ box-shadow: none;
172
+ color: $skinTextColor;
173
+ a, a:link, a:visited {
174
+ color: $skinTextColor;
175
+ }
176
+ &:last-child {
177
+ border-right: none;
178
+ }
179
+ }
180
+ td {
181
+ color: black;
182
+ a, a:link, a:visited {
183
+ color: black;
184
+ display: inline-block;
185
+ padding: 2px 3px;
186
+ margin: -2px 0;
187
+ &:hover {
188
+ color: white;
189
+ background: $skinActiveColor;
190
+ }
191
+ }
192
+ }
193
+ tr.even td {
194
+ background: #ecf0f1;
195
+ }
196
+ }
197
+ #active_admin_content {
198
+ &::after {
199
+ clear: both;
200
+ content: "";
201
+ display: table;
202
+ }
203
+ .table_tools {
204
+ height: 30px;
205
+ }
206
+ a.table_tools_button, .table_tools .dropdown_menu_button {
207
+ border-radius: 0;
208
+ box-shadow: 0;
209
+ color: $skinTextColor;
210
+ background: white;
211
+ padding: 7px 10px !important;
212
+ font-weight: normal;
213
+ text-shadow: none;
214
+ }
215
+ a.table_tools_button:hover {
216
+ background-color: $skinActiveColor;
217
+ color: white;
218
+ .count {
219
+ color: white;
220
+ }
221
+ }
222
+ .table_tools_segmented_control li {
223
+ a {
224
+ border-radius: 0;
225
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
226
+ color: $skinTextColor;
227
+ background: white;
228
+ padding: 7px 15px;
229
+ font-weight: normal;
230
+ text-shadow: none;
231
+ border-color: #d3d8dc;
232
+ span.count {
233
+ color: $skinActiveColor;
234
+ }
235
+ }
236
+ &.selected {
237
+ a {
238
+ color: white;
239
+ background-color: $skinActiveColor;
240
+ span.count {
241
+ color: white;
242
+ }
243
+ }
244
+ }
245
+ }
246
+ }
247
+ .download_links {
248
+ color: $skinTextTable;
249
+ font-size: 12px;
250
+ a {
251
+ color: $skinActiveColor;
252
+ font-weight: bold;
253
+ }
254
+ }
255
+ .pagination_information {
256
+ font-size: 12px;
257
+ color: $skinTextTable;
258
+ }
259
+ .pagination {
260
+ margin-top: -2px;
261
+ a, span.page.current {
262
+ font-family: "Source Sans Pro", sans-serif;
263
+ border: 1px solid #d3d8dc;
264
+ background: #ecf0f1;
265
+ box-shadow: none !important;
266
+ text-shadow: none;
267
+ font-size: 12px;
268
+ font-weight: normal;
269
+ padding: 4px 6px;
270
+ margin-right: 1px;
271
+ }
272
+ span.page.current,
273
+ a:not(.disabled):hover {
274
+ background: $skinActiveColor;
275
+ color: white;
276
+ }
277
+ span.page.current {
278
+ font-weight: 600;
279
+ }
280
+ span.page.current:not(.disabled):hover {
281
+ background: $skinActiveColor;
282
+ }
283
+ .page.gap {
284
+ display: none;
285
+ }
286
+ }
287
+ .sidebar_section.panel {
288
+ background: white;
289
+ border-top: 3px solid darken($bodyColor, 20);
290
+ border-radius: 0;
291
+ box-shadow: inset 0 0px 2px #dddddd;
292
+ form .buttons {
293
+ background: $panelHeaderBck;
294
+ margin: 25px -15px -15px;
295
+ padding: 10px 15px;
296
+ }
297
+ form fieldset {
298
+ margin-bottom: 0;
299
+ }
300
+ & > h3 {
301
+ background: $panelHeaderBck;
302
+ color: white;
303
+ border: none;
304
+ margin: 0;
305
+ padding: 8px 15px;
306
+ box-shadow: none;
307
+ }
308
+ border-radius: 0 {
309
+ text-shadow: none;
310
+ font-weight: bold;
311
+ };
312
+ .filter_form_field {
313
+ label {
314
+ color: black;
315
+ font-weight: normal;
316
+ font-size: 13px;
317
+ text-transform: uppercase;
318
+ font-family: "Source Sans Pro", sans-serif;
319
+ padding: 7px 0;
320
+ }
321
+ }
322
+ }
323
+ .attributes_table table th, .attributes_table table td {
324
+ padding: 10px;
325
+ font-family: "Source Sans Pro", sans-serif;
326
+ color: black;
327
+ }
328
+ .panel_contents table th, .attributes_table table th {
329
+ font-weight: normal;
330
+ font-size: 13px;
331
+ text-transform: uppercase;
332
+ }
333
+ #footer {
334
+ position: fixed;
335
+ bottom: 0;
336
+ left: 0;
337
+ right: 0;
338
+ background: white;
339
+ padding: 15px 30px;
340
+ font-size: 13px;
341
+ color: $skinTextTable;
342
+ border-top: 1px solid #d3d8dc;
343
+ p {
344
+ margin: 0;
345
+ padding: 0;
346
+ }
347
+ }
348
+ form input[type=submit],
349
+ a.button,
350
+ a:link.button,
351
+ a:visited.button {
352
+ box-shadow: none;
353
+ border-radius: 0;
354
+ background: $skinActiveColor;
355
+ color: white;
356
+ border: none;
357
+ text-shadow: none;
358
+ padding: 11px 15px;
359
+ &:hover {
360
+ background: lighten($skinActiveColor, 10%) !important;
361
+ }
362
+ }
363
+ form fieldset.buttons li.cancel a,
364
+ form fieldset.actions li.cancel a,
365
+ form.filter_form a.clear_filters_btn {
366
+ background: white;
367
+ box-shadow: none;
368
+ border-radius: 0;
369
+ text-shadow: none;
370
+ padding: 10px 20px;
371
+ color: black;
372
+ border: none !important;
373
+ &:hover {
374
+ background: darken(white, 5%) !important;
375
+ }
376
+ }
377
+ form fieldset.inputs {
378
+ background: white;
379
+ position: relative;
380
+ padding-top: 50px;
381
+ border-top: 3px solid darken($bodyColor, 20);
382
+ border-radius: 0;
383
+ box-shadow: inset 0 0px 3px #dddddd;
384
+ > legend {
385
+ border-bottom: 1px solid #f4f4f4;
386
+ position: absolute;
387
+ top: 0;
388
+ span {
389
+ background: $panelHeaderBck;
390
+ color: white;
391
+ padding: 8px 15px;
392
+ border: none;
393
+ margin: 0;
394
+ box-shadow: none !important;
395
+ border-radius: 0 !important;
396
+ text-shadow: none;
397
+ font-weight: bold;
398
+ }
399
+ }
400
+ ol > li {
401
+ label {
402
+ padding-top: 7px;
403
+ text-transform: uppercase;
404
+ }
405
+ &.boolean label {
406
+ padding-top: 0px;
407
+ margin-bottom: 15px;
408
+ }
409
+ }
410
+ }
411
+ input[type=text],
412
+ input[type=password],
413
+ input[type=email],
414
+ input[type=date],
415
+ input[type=tel],
416
+ input[type=number],
417
+ button {
418
+ height: 20px !important;
419
+ border-radius: 0;
420
+ }
421
+ $width-list: 50 60 70 75 80 85 90;
422
+ @each $width in $width-list {
423
+ .block-#{$width} {
424
+ float: none;
425
+ width: #{$width}% !important;
426
+ display: block;
427
+ margin: 0 auto;
428
+ overflow: hidden;
429
+ }
430
+ }
431
+ form input[type=text],
432
+ form input[type=password],
433
+ form input[type=email],
434
+ form input[type=number],
435
+ form input[type=url],
436
+ form input[type=tel],
437
+ form textarea {
438
+ border-radius: 0;
439
+ font-family: "Source Sans Pro", sans-serif;
440
+ }
441
+ form.filter_form .filter_form_field.filter_date_range input[type=text] {
442
+ background-position: 100% 4px;
443
+ }
444
+ body.logged_in {
445
+ .flashes {
446
+ .flash {
447
+ position: inherit;
448
+ top: 0;
449
+ text-shadow: none;
450
+ }
451
+ }
452
+ }
453
+ strong, b {
454
+ font-weight: 600;
455
+ }
456
+ .blank_slate_container .blank_slate {
457
+ color: #7f8c8d;
458
+ }
459
+ .comments form.active_admin_comment {
460
+ margin: 0;
461
+ .actions {
462
+ margin-bottom: 0;
463
+ }
464
+ fieldset.inputs {
465
+ border: none;
466
+ li {
467
+ margin-bottom: 0 !important;
468
+ }
469
+ textarea {
470
+ width: 95%;
471
+ }
472
+ }
473
+ }
474
+ body.logged_out {
475
+ height: 100%;
476
+ #footer {
477
+ display: none;
478
+ }
479
+ #content_wrapper {
480
+ margin-top: 150px;
481
+ #active_admin_content {
482
+ padding-bottom: 0;
483
+ }
484
+ }
485
+ #login {
486
+ form fieldset {
487
+ border: none;
488
+ }
489
+ > h2 {
490
+ background: $panelHeaderBck;
491
+ font-family: "Source Sans Pro", sans-serif;
492
+ color: white;
493
+ box-shadow: none !important;
494
+ border-radius: 0 !important;
495
+ padding: 8px 15px;
496
+ }
497
+ fieldset.actions {
498
+ background: #f1f5f6;
499
+ margin: 0 -30px -17px;
500
+ padding: 6px 30px;
501
+ }
502
+ a {
503
+ margin-top: -25px;
504
+ }
505
+ }
506
+ .flash {
507
+ background: #f2ecbf;
508
+ position: absolute;
509
+ top: 0;
510
+ left: 0;
511
+ right: 0;
512
+ padding: 15px;
513
+ border-bottom: 1px solid #dede8b;
514
+ text-shadow: none;
515
+ }
516
+ }
517
+ .sidebar_section {
518
+ ul {
519
+ margin-bottom: 0;
520
+ }
521
+ }
522
+ .cke_toolgroup, .cke_combo_button {
523
+ border-radius: 0 !important;
524
+ }
525
+ .cke_top {
526
+ background: #f0f4f5 !important;
527
+ padding: 8px 15px !important;
528
+ box-shadow: 0 !important;
529
+ border-radius: 0 !important;
530
+ text-shadow: none !important;
531
+ font-weight: bold !important;
532
+ border-style: none none solid !important;
533
+ }
534
+ .cke_chrome {
535
+ border: 1px solid #d3d8dc !important;
536
+ }
537
+ .ckeditor {
538
+ label {
539
+ display: block;
540
+ width: 20%;
541
+ float: left;
542
+ }
543
+ .cke_chrome {
544
+ width: 79.7% !important;
545
+ overflow: hidden;
546
+ }
547
+ }
548
+ .cke_toolgroup, .cke_combo_button {
549
+ border-radius: 0 !important;
550
+ }
551
+ }