guzel_theme 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +0 -0
- data/Rakefile +2 -0
- data/app/assets/stylesheets/mohsen/guzel_theme.scss +814 -0
- data/guzel_theme.gemspec +21 -0
- data/lib/guzel_theme.rb +8 -0
- data/lib/guzel_theme/version.rb +3 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 79de86f3e0235660ea5ea10632c887de26afd2f1
|
4
|
+
data.tar.gz: 7ed78550d1ec9596c2bbfbfa7b77048843eea678
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7caca6c2c25de2269bfcd35fba648fe9607f0dc30c26ae9bda4cad834cd06b12b8cbec9e66ad340ebb259ae7f0a2dec289a9b9f8f8c73daa9963e6ca242fa3e4
|
7
|
+
data.tar.gz: 128da418d768861e94d2bea5ae452daba29a08e35b491f5d9a2dc76733e0c7cc9950440fbe80605aa3e48abf1e472f27011097db577a0f4d4d00fdd92b080e29
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Igor Fedoronchuk
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
File without changes
|
data/Rakefile
ADDED
@@ -0,0 +1,814 @@
|
|
1
|
+
//VAR-----------------------------------------------------------------------------------------------------------------//
|
2
|
+
|
3
|
+
$skinMainFirstColor: #23282f!default;
|
4
|
+
$skinMainSecondColor: #5ea3d3!default;
|
5
|
+
$skinBorderRadius: 4px!default;
|
6
|
+
$skinBorderWindowColor: #e6e9ee!default;
|
7
|
+
$skinTablePadding: 10px!default;
|
8
|
+
//HTML----------------------------------------------------------------------------------------------------------------//
|
9
|
+
|
10
|
+
html {
|
11
|
+
background: #f7f9fb;
|
12
|
+
font-family: Tahoma !important;
|
13
|
+
}
|
14
|
+
body.active_admin {
|
15
|
+
background: #f7f9fb;
|
16
|
+
direction: rtl;
|
17
|
+
}
|
18
|
+
#wrapper {
|
19
|
+
div.tabs {
|
20
|
+
> ul > li > a {
|
21
|
+
background-image: none;
|
22
|
+
box-shadow: none;
|
23
|
+
text-shadow: none;
|
24
|
+
box-shadow: none;
|
25
|
+
margin-bottom: 11px;
|
26
|
+
border: none;
|
27
|
+
background-color: $skinMainSecondColor;
|
28
|
+
color: #ffffff;
|
29
|
+
margin-right: 5px;
|
30
|
+
padding: 10px 20px;
|
31
|
+
|
32
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
33
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
34
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
35
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
36
|
+
border-top-left-radius: $skinBorderRadius;
|
37
|
+
border-top-right-radius: $skinBorderRadius;
|
38
|
+
|
39
|
+
-webkit-border-bottom-left-radius: 0px;
|
40
|
+
-moz-border-radius-bottomleft: 0px;
|
41
|
+
border-bottom-left-radius: 0px;
|
42
|
+
|
43
|
+
-webkit-border-bottom-right-radius: 0px;
|
44
|
+
-moz-border-radius-bottomright: 0px;
|
45
|
+
border-bottom-right-radius: 0px;
|
46
|
+
}
|
47
|
+
ul > li.ui-state-active > a {
|
48
|
+
background-color: #ffffff;
|
49
|
+
border: 1px solid $skinBorderWindowColor;
|
50
|
+
border-bottom: 0px;
|
51
|
+
color: $skinMainSecondColor;
|
52
|
+
}
|
53
|
+
div.tab-content {
|
54
|
+
background-color: #ffffff;
|
55
|
+
border: 1px solid $skinBorderWindowColor;
|
56
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
57
|
+
@include rounded($skinBorderRadius);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
#header {
|
61
|
+
background-color: $skinMainFirstColor;
|
62
|
+
border-bottom: 1px solid lighten( $skinMainFirstColor, 15% )!important;
|
63
|
+
padding-bottom: 9px;
|
64
|
+
border: none;
|
65
|
+
text-shadow: none;
|
66
|
+
background-image: none;
|
67
|
+
position: fixed;
|
68
|
+
top: 0;
|
69
|
+
h1.site_title {
|
70
|
+
color: $skinMainSecondColor;
|
71
|
+
font-size: 16px;
|
72
|
+
padding-right: 17px;
|
73
|
+
padding-left: 40px;
|
74
|
+
}
|
75
|
+
a, a:link {
|
76
|
+
color: #ffffff;
|
77
|
+
}
|
78
|
+
ul.tabs > li > a {
|
79
|
+
color: #ffffff;
|
80
|
+
@include rounded($skinBorderRadius);
|
81
|
+
padding: 6px 10px 6px 10px;
|
82
|
+
}
|
83
|
+
ul.tabs > li.current > a, ul.tabs > li:hover > a {
|
84
|
+
background-color: $skinMainSecondColor;
|
85
|
+
}
|
86
|
+
ul.tabs {
|
87
|
+
li.has_nested {
|
88
|
+
a {
|
89
|
+
padding-right: 20px;
|
90
|
+
}
|
91
|
+
ul {
|
92
|
+
background-color: $skinMainSecondColor;
|
93
|
+
@include rounded($skinBorderRadius);
|
94
|
+
li > a {
|
95
|
+
padding-left: 15px;
|
96
|
+
}
|
97
|
+
li.current > a::before, li:hover > a::before {
|
98
|
+
content: '';
|
99
|
+
display: block;
|
100
|
+
width: 7px;
|
101
|
+
height: 4px;
|
102
|
+
position: absolute;
|
103
|
+
top: 12px;
|
104
|
+
left: 4px;
|
105
|
+
background: transparent image-url('active_admin/nested_menu_arrow_dark.gif') no-repeat 0 0;
|
106
|
+
transform: rotate(-90deg);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
li.has_nested:hover {
|
111
|
+
a {
|
112
|
+
border-bottom: 7px solid $skinMainSecondColor;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
#title_bar {
|
118
|
+
background-image: none;
|
119
|
+
border: none;
|
120
|
+
box-shadow: none;
|
121
|
+
background-color: lighten( $skinMainFirstColor, 8% );
|
122
|
+
border: none;
|
123
|
+
border-bottom: 3px solid $skinMainSecondColor;
|
124
|
+
margin-top: 40px;
|
125
|
+
#titlebar_left {
|
126
|
+
span.breadcrumb {
|
127
|
+
font-size: 12px;
|
128
|
+
text-shadow: none;
|
129
|
+
margin-bottom: 8px;
|
130
|
+
a, span {
|
131
|
+
color: lighten( $skinMainFirstColor, 30% )!important; ;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
h2 {
|
135
|
+
color: #ffffff;
|
136
|
+
text-shadow: none;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
#titlebar_right {
|
140
|
+
.action_item a {
|
141
|
+
background-image: none;
|
142
|
+
border: none;
|
143
|
+
box-shadow: none;
|
144
|
+
text-shadow: none;
|
145
|
+
@include rounded($skinBorderRadius);
|
146
|
+
background-color: $skinMainSecondColor;
|
147
|
+
border: none;
|
148
|
+
color: #ffffff;
|
149
|
+
font-weight: 600;
|
150
|
+
&:hover {
|
151
|
+
background-color: lighten( $skinMainSecondColor, 5% )!important;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
div.dropdown_menu {
|
155
|
+
div.dropdown_menu_list_wrapper {
|
156
|
+
background-color: $skinMainFirstColor;
|
157
|
+
border: none;
|
158
|
+
background-image: none;
|
159
|
+
border: none;
|
160
|
+
box-shadow: none;
|
161
|
+
div.dropdown_menu_nipple, div.dropdown_menu_nipple:after, div.dropdown_menu_nipple:before {
|
162
|
+
border-color: $skinMainFirstColor transparent;
|
163
|
+
}
|
164
|
+
ul.dropdown_menu_list {
|
165
|
+
box-shadow:none;
|
166
|
+
li {
|
167
|
+
a {
|
168
|
+
background-color: #ffffff;
|
169
|
+
color: $skinMainFirstColor;
|
170
|
+
border-radius: 0px;
|
171
|
+
&:hover {
|
172
|
+
background-color: $skinMainSecondColor;
|
173
|
+
color: #ffffff;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
div.batch_actions_selector {
|
181
|
+
a {
|
182
|
+
background-image: none;
|
183
|
+
border: none;
|
184
|
+
box-shadow: none;
|
185
|
+
background-color: $skinMainSecondColor;
|
186
|
+
@include rounded($skinBorderRadius);
|
187
|
+
border: none;
|
188
|
+
padding: 10px 20px;
|
189
|
+
color: #ffffff;
|
190
|
+
&:hover {
|
191
|
+
background-color: lighten( $skinMainSecondColor, 5% );
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}
|
197
|
+
.flashes {
|
198
|
+
.flash {
|
199
|
+
color: #ffffff;
|
200
|
+
background-image: none;
|
201
|
+
text-shadow: none;
|
202
|
+
}
|
203
|
+
|
204
|
+
.flash_notice {
|
205
|
+
background-color: #669148;
|
206
|
+
border-bottom: 2px solid #4C7331;
|
207
|
+
}
|
208
|
+
.flash_warning {
|
209
|
+
background-color: #BDBC45;
|
210
|
+
border-bottom: 2px solid #8B8A3D;
|
211
|
+
}
|
212
|
+
.flash_error {
|
213
|
+
background-color: #CD3333;
|
214
|
+
border-bottom: 2px solid #962F2F;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
#active_admin_content {
|
218
|
+
span.blank_slate {
|
219
|
+
border: 2px solid lighten( $skinMainSecondColor, 30% );
|
220
|
+
color: #8494a8;
|
221
|
+
@include rounded($skinBorderRadius);
|
222
|
+
}
|
223
|
+
div.table_tools {
|
224
|
+
margin-bottom: 35px;
|
225
|
+
div.dropdown_menu {
|
226
|
+
div.dropdown_menu_list_wrapper {
|
227
|
+
background-color: $skinMainFirstColor;
|
228
|
+
border: none;
|
229
|
+
background-image: none;
|
230
|
+
border: none;
|
231
|
+
box-shadow: none;
|
232
|
+
div.dropdown_menu_nipple, div.dropdown_menu_nipple:after, div.dropdown_menu_nipple:before {
|
233
|
+
border-color: $skinMainFirstColor transparent;
|
234
|
+
}
|
235
|
+
ul.dropdown_menu_list {
|
236
|
+
box-shadow:none;
|
237
|
+
li {
|
238
|
+
a {
|
239
|
+
background-color: #ffffff;
|
240
|
+
color: $skinMainFirstColor;
|
241
|
+
border-radius: 0px;
|
242
|
+
&:hover {
|
243
|
+
background-color: $skinMainSecondColor;
|
244
|
+
color: #ffffff;
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
div.batch_actions_selector {
|
252
|
+
a {
|
253
|
+
background-image: none;
|
254
|
+
border: none;
|
255
|
+
box-shadow: none;
|
256
|
+
background-color: $skinMainSecondColor;
|
257
|
+
@include rounded($skinBorderRadius);
|
258
|
+
border: none;
|
259
|
+
padding: 10px 20px;
|
260
|
+
color: #ffffff;
|
261
|
+
&:hover {
|
262
|
+
background-color: lighten( $skinMainSecondColor, 5% );
|
263
|
+
}
|
264
|
+
}
|
265
|
+
}
|
266
|
+
div.dropdown_menu {
|
267
|
+
div.dropdown_menu_list_wrapper {
|
268
|
+
background-color: $skinMainFirstColor;
|
269
|
+
border: none;
|
270
|
+
background-image: none;
|
271
|
+
div.dropdown_menu_nipple, div.dropdown_menu_nipple:after, div.dropdown_menu_nipple:before {
|
272
|
+
border-color: $skinMainFirstColor transparent;
|
273
|
+
}
|
274
|
+
ul.dropdown_menu_list {
|
275
|
+
box-shadow:none;
|
276
|
+
li {
|
277
|
+
a {
|
278
|
+
background-color: #ffffff;
|
279
|
+
box-shadow: none;
|
280
|
+
color: $skinMainFirstColor;
|
281
|
+
border-radius: 0px;
|
282
|
+
text-shadow: none;
|
283
|
+
&:hover {
|
284
|
+
background-color: $skinMainSecondColor;
|
285
|
+
color: #ffffff;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|
292
|
+
div.batch_actions_selector {
|
293
|
+
a {
|
294
|
+
background-image: none;
|
295
|
+
background-color: $skinMainSecondColor;
|
296
|
+
@include rounded($skinBorderRadius);
|
297
|
+
border: none;
|
298
|
+
padding: 10px 20px;
|
299
|
+
color: #ffffff;
|
300
|
+
text-shadow: none;
|
301
|
+
box-shadow: none;
|
302
|
+
&:hover {
|
303
|
+
background-color: lighten( $skinMainSecondColor, 5% );
|
304
|
+
box-shadow: none;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
ul.scopes {
|
309
|
+
li {
|
310
|
+
a {
|
311
|
+
background-image: none;
|
312
|
+
border: none;
|
313
|
+
box-shadow: none;
|
314
|
+
background-color: $skinMainSecondColor;
|
315
|
+
padding: 10px 20px;
|
316
|
+
color: #ffffff;
|
317
|
+
text-shadow: none;
|
318
|
+
border-right: 1px solid #ffffff;
|
319
|
+
span {
|
320
|
+
color: #ffffff;
|
321
|
+
font-size: 11px;
|
322
|
+
font-weight: bold;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
}
|
326
|
+
li:first-child {
|
327
|
+
a {
|
328
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
329
|
+
-webkit-border-bottom-left-radius: $skinBorderRadius;
|
330
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
331
|
+
-moz-border-radius-bottomleft: $skinBorderRadius;
|
332
|
+
border-top-left-radius: $skinBorderRadius;
|
333
|
+
border-bottom-left-radius: $skinBorderRadius;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
li:last-child {
|
337
|
+
a {
|
338
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
339
|
+
-webkit-border-bottom-right-radius: $skinBorderRadius;
|
340
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
341
|
+
-moz-border-radius-bottomright: $skinBorderRadius;
|
342
|
+
border-top-right-radius: $skinBorderRadius;
|
343
|
+
border-bottom-right-radius: $skinBorderRadius;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
li.selected {
|
347
|
+
a {
|
348
|
+
background-color: lighten( $skinMainSecondColor, 15% );
|
349
|
+
}
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
}
|
354
|
+
table.index_table {
|
355
|
+
background-color: #ffffff;
|
356
|
+
border: 1px solid $skinBorderWindowColor;
|
357
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
358
|
+
@include rounded($skinBorderRadius);
|
359
|
+
th {
|
360
|
+
background-image: none;
|
361
|
+
border: none;
|
362
|
+
box-shadow: none;
|
363
|
+
text-shadow: none;
|
364
|
+
font-size: 1.0em;
|
365
|
+
font-weight: bold;
|
366
|
+
text-align: right;
|
367
|
+
background-color: $skinBorderWindowColor;
|
368
|
+
padding: $skinTablePadding 12px $skinTablePadding 12px;
|
369
|
+
border-bottom: 3px solid darken( $skinBorderWindowColor, 5% );
|
370
|
+
border-right: 1px solid darken( $skinBorderWindowColor, 5% );
|
371
|
+
a {
|
372
|
+
font-size: 1.0em;
|
373
|
+
font-weight: bold!important;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
th.col-selectable {
|
377
|
+
width: 12px;
|
378
|
+
}
|
379
|
+
th.sorted-desc {
|
380
|
+
background-color: $skinBorderWindowColor;
|
381
|
+
}
|
382
|
+
td {
|
383
|
+
padding: $skinTablePadding 12px $skinTablePadding 12px;
|
384
|
+
text-align: right;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
.sidebar_section.panel {
|
388
|
+
background-image: none;
|
389
|
+
box-shadow: none;
|
390
|
+
background-color: #ffffff;
|
391
|
+
border: 1px solid $skinBorderWindowColor;
|
392
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
393
|
+
& > h3 {
|
394
|
+
background-image: none;
|
395
|
+
box-shadow: none;
|
396
|
+
text-shadow: none;
|
397
|
+
background-color: $skinMainSecondColor;
|
398
|
+
color: #ffffff;
|
399
|
+
border: none;
|
400
|
+
padding: 8px 15px;
|
401
|
+
font-weight: 400;
|
402
|
+
|
403
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
404
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
405
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
406
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
407
|
+
border-top-left-radius: $skinBorderRadius;
|
408
|
+
border-top-right-radius: $skinBorderRadius;
|
409
|
+
}
|
410
|
+
.filter_form_field {
|
411
|
+
label {
|
412
|
+
color: #8494a8;
|
413
|
+
}
|
414
|
+
input {
|
415
|
+
border: 1px solid #e6e9ee;
|
416
|
+
background-color: #fdfefe;
|
417
|
+
}
|
418
|
+
input:focus {
|
419
|
+
border-color: lighten( $skinMainSecondColor, 20% ) ;
|
420
|
+
box-shadow: none;
|
421
|
+
}
|
422
|
+
}
|
423
|
+
}
|
424
|
+
}
|
425
|
+
form fieldset > ol > li fieldset.fragments ol {
|
426
|
+
margin-left: 20%;
|
427
|
+
}
|
428
|
+
form fieldset ol > li.has_many_container h3 {
|
429
|
+
color: #8494a8;
|
430
|
+
}
|
431
|
+
form input[type=submit], a.button, a:link.button, a:visited.button, fieldset.actions > ol > li.button_action > button {
|
432
|
+
background-image: none;
|
433
|
+
box-shadow: none;
|
434
|
+
text-shadow: none;
|
435
|
+
background-color: $skinMainSecondColor;
|
436
|
+
@include rounded($skinBorderRadius);
|
437
|
+
border: none;
|
438
|
+
padding: 10px 20px;
|
439
|
+
color: #ffffff;
|
440
|
+
&:hover {
|
441
|
+
background-image: none!important;
|
442
|
+
background-color: lighten( $skinMainSecondColor, 5% )!important;
|
443
|
+
}
|
444
|
+
}
|
445
|
+
form fieldset.buttons li.cancel a, form fieldset.actions li.cancel a, form.filter_form a.clear_filters_btn {
|
446
|
+
background-image: none;
|
447
|
+
box-shadow: none;
|
448
|
+
text-shadow: none;
|
449
|
+
background-color: #ffffff;
|
450
|
+
@include rounded($skinBorderRadius);
|
451
|
+
padding: 10px 20px;
|
452
|
+
border-color: #E4E4E4;
|
453
|
+
&:hover {
|
454
|
+
background-image: none!important;
|
455
|
+
background-color: #F4F4F4!important;
|
456
|
+
}
|
457
|
+
}
|
458
|
+
form fieldset.inputs {
|
459
|
+
background-image: none;
|
460
|
+
box-shadow: none;
|
461
|
+
text-shadow: none;
|
462
|
+
box-shadow: none;
|
463
|
+
background-color: #ffffff;
|
464
|
+
border: 1px solid #e6e9ee;
|
465
|
+
border-bottom: 2px solid #e6e9ee;
|
466
|
+
legend {
|
467
|
+
span {
|
468
|
+
background-image: none;
|
469
|
+
box-shadow: none;
|
470
|
+
text-shadow: none;
|
471
|
+
box-shadow: none;
|
472
|
+
background-color: $skinMainSecondColor;
|
473
|
+
color: #ffffff;
|
474
|
+
border: none;
|
475
|
+
padding: 8px 15px;
|
476
|
+
font-weight: 400;
|
477
|
+
|
478
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
479
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
480
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
481
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
482
|
+
border-top-left-radius: $skinBorderRadius;
|
483
|
+
border-top-right-radius: $skinBorderRadius;
|
484
|
+
}
|
485
|
+
}
|
486
|
+
ol > li {
|
487
|
+
label {
|
488
|
+
color: #8494a8;
|
489
|
+
}
|
490
|
+
input, textarea {
|
491
|
+
border: 1px solid #e6e9ee;
|
492
|
+
background-color: #fdfefe;
|
493
|
+
}
|
494
|
+
input:focus, textarea:focus {
|
495
|
+
border-color: lighten( $skinMainSecondColor, 20% ) ;
|
496
|
+
box-shadow: none;
|
497
|
+
}
|
498
|
+
}
|
499
|
+
}
|
500
|
+
#ui-datepicker-div {
|
501
|
+
background: none;
|
502
|
+
background-color: none;
|
503
|
+
box-shadow: none;
|
504
|
+
text-shadow: none;
|
505
|
+
box-shadow: none;
|
506
|
+
div.ui-datepicker-header {
|
507
|
+
background-image: none;
|
508
|
+
background-color: $skinMainSecondColor;
|
509
|
+
border-bottom:none;
|
510
|
+
div.ui-datepicker-title {
|
511
|
+
span {
|
512
|
+
background-image: none;
|
513
|
+
box-shadow: none;
|
514
|
+
text-shadow: none;
|
515
|
+
box-shadow: none;
|
516
|
+
}
|
517
|
+
}
|
518
|
+
}
|
519
|
+
div.ui-datepicker-header:before {
|
520
|
+
border-bottom: 10px solid $skinMainSecondColor;
|
521
|
+
}
|
522
|
+
table.ui-datepicker-calendar {
|
523
|
+
background-color: #ffffff;
|
524
|
+
border-color: $skinMainSecondColor;
|
525
|
+
thead {
|
526
|
+
tr {
|
527
|
+
th {
|
528
|
+
background-color:lighten( $skinMainSecondColor, 20% );
|
529
|
+
}
|
530
|
+
}
|
531
|
+
}
|
532
|
+
tbody {
|
533
|
+
tr {
|
534
|
+
td {
|
535
|
+
a:hover {
|
536
|
+
background-color: $skinMainSecondColor;
|
537
|
+
color: #ffffff;
|
538
|
+
}
|
539
|
+
}
|
540
|
+
td.ui-datepicker-today > a {
|
541
|
+
background-color: $skinMainSecondColor;
|
542
|
+
color: #ffffff;
|
543
|
+
}
|
544
|
+
}
|
545
|
+
}
|
546
|
+
}
|
547
|
+
}
|
548
|
+
.panel {
|
549
|
+
background-image: none;
|
550
|
+
box-shadow: none;
|
551
|
+
text-shadow: none;
|
552
|
+
box-shadow: none;
|
553
|
+
background-color: #ffffff;
|
554
|
+
border: 1px solid $skinBorderWindowColor;
|
555
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
556
|
+
> h3 {
|
557
|
+
background-image: none;
|
558
|
+
box-shadow: none;
|
559
|
+
text-shadow: none;
|
560
|
+
box-shadow: none;
|
561
|
+
background-color: $skinMainSecondColor;
|
562
|
+
color: #ffffff;
|
563
|
+
border: none;
|
564
|
+
padding: 8px 15px;
|
565
|
+
font-weight: 400;
|
566
|
+
|
567
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
568
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
569
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
570
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
571
|
+
border-top-left-radius: $skinBorderRadius;
|
572
|
+
border-top-right-radius: $skinBorderRadius;
|
573
|
+
}
|
574
|
+
.panel_contents {
|
575
|
+
font-weight: 400;
|
576
|
+
}
|
577
|
+
}
|
578
|
+
.attributes_table table th, .attributes_table table td {
|
579
|
+
padding: 10px 0;
|
580
|
+
}
|
581
|
+
.attributes_table table th {
|
582
|
+
color: #95a5a6;
|
583
|
+
}
|
584
|
+
.comments form.active_admin_comment fieldset.inputs {
|
585
|
+
border: none
|
586
|
+
}
|
587
|
+
.pagination {
|
588
|
+
span > a {
|
589
|
+
background-image: none;
|
590
|
+
box-shadow: none;
|
591
|
+
text-shadow: none;
|
592
|
+
box-shadow: none;
|
593
|
+
border: none;
|
594
|
+
background-color: $skinBorderWindowColor;
|
595
|
+
@include rounded($skinBorderRadius);
|
596
|
+
padding: 5px 10px;
|
597
|
+
&:hover {
|
598
|
+
background-image: none!important;
|
599
|
+
background-color: $skinMainSecondColor!important;
|
600
|
+
color: #ffffff;
|
601
|
+
}
|
602
|
+
}
|
603
|
+
span.page.current {
|
604
|
+
background-image: none;
|
605
|
+
box-shadow: none;
|
606
|
+
text-shadow: none;
|
607
|
+
box-shadow: none;
|
608
|
+
background-color: $skinMainSecondColor;
|
609
|
+
border: none;
|
610
|
+
padding: 5px 10px;
|
611
|
+
@include rounded($skinBorderRadius);
|
612
|
+
cursor: pointer;
|
613
|
+
&:hover {
|
614
|
+
background-image: none!important;
|
615
|
+
background-color: $skinMainSecondColor!important;
|
616
|
+
}
|
617
|
+
}
|
618
|
+
}
|
619
|
+
body.logged_out #content_wrapper #active_admin_content {
|
620
|
+
background-image: none;
|
621
|
+
box-shadow: none;
|
622
|
+
text-shadow: none;
|
623
|
+
box-shadow: none;
|
624
|
+
@include rounded($skinBorderRadius);
|
625
|
+
|
626
|
+
background-color: #ffffff;
|
627
|
+
border: 1px solid $skinBorderWindowColor;
|
628
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
629
|
+
#login {
|
630
|
+
h2 {
|
631
|
+
background-image: none;
|
632
|
+
box-shadow: none;
|
633
|
+
text-shadow: none;
|
634
|
+
box-shadow: none;
|
635
|
+
background-color: $skinMainSecondColor;
|
636
|
+
color: #ffffff;
|
637
|
+
border: none;
|
638
|
+
padding: 8px 15px;
|
639
|
+
font-weight: 400;
|
640
|
+
|
641
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
642
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
643
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
644
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
645
|
+
border-top-left-radius: $skinBorderRadius;
|
646
|
+
border-top-right-radius: $skinBorderRadius;
|
647
|
+
|
648
|
+
}
|
649
|
+
form {
|
650
|
+
fieldset {
|
651
|
+
border: none;
|
652
|
+
ol {
|
653
|
+
li {
|
654
|
+
label {
|
655
|
+
color: #8494a8;
|
656
|
+
}
|
657
|
+
}
|
658
|
+
}
|
659
|
+
}
|
660
|
+
}
|
661
|
+
}
|
662
|
+
}
|
663
|
+
form input[type=text], form input[type=password], form input[type=email], form input[type=number], form input[type=url], form input[type=tel], form textarea {
|
664
|
+
border: 1px solid #e6e9ee;
|
665
|
+
background-color: #fdfefe;
|
666
|
+
}
|
667
|
+
form fieldset > ol > li fieldset ol li {
|
668
|
+
clear: both;
|
669
|
+
select {
|
670
|
+
margin-top: 6px
|
671
|
+
}
|
672
|
+
}
|
673
|
+
.ui-dialog {
|
674
|
+
background-image: none;
|
675
|
+
box-shadow: none;
|
676
|
+
text-shadow: none;
|
677
|
+
box-shadow: none;
|
678
|
+
background-color: #ffffff;
|
679
|
+
border-bottom: 2px solid $skinBorderWindowColor;
|
680
|
+
.ui-dialog-titlebar {
|
681
|
+
background-image: none;
|
682
|
+
box-shadow: none;
|
683
|
+
text-shadow: none;
|
684
|
+
box-shadow: none;
|
685
|
+
background-color: $skinMainSecondColor;
|
686
|
+
color: #ffffff;
|
687
|
+
border: none;
|
688
|
+
padding: 8px 15px;
|
689
|
+
font-weight: 400;
|
690
|
+
|
691
|
+
-webkit-border-top-left-radius: $skinBorderRadius;
|
692
|
+
-webkit-border-top-right-radius: $skinBorderRadius;
|
693
|
+
-moz-border-radius-topleft: $skinBorderRadius;
|
694
|
+
-moz-border-radius-topright: $skinBorderRadius;
|
695
|
+
border-top-left-radius: $skinBorderRadius;
|
696
|
+
border-top-right-radius: $skinBorderRadius;
|
697
|
+
}
|
698
|
+
form {
|
699
|
+
ul {
|
700
|
+
li {
|
701
|
+
label {
|
702
|
+
display: block;
|
703
|
+
margin-bottom: 5px;
|
704
|
+
}
|
705
|
+
input[type="text"], input[type="datepicker"], textarea {
|
706
|
+
padding: 8px 10px 7px;
|
707
|
+
border: 1px solid #e6e9ee;
|
708
|
+
background-color: #fdfefe;
|
709
|
+
outline: none;
|
710
|
+
@include rounded($skinBorderRadius);
|
711
|
+
width: 247px;
|
712
|
+
&:focus {
|
713
|
+
border-color: lighten( $skinMainSecondColor, 20% ) ;
|
714
|
+
box-shadow: none;
|
715
|
+
}
|
716
|
+
}
|
717
|
+
}
|
718
|
+
}
|
719
|
+
}
|
720
|
+
.ui-dialog-buttonpane {
|
721
|
+
.ui-dialog-buttonset {
|
722
|
+
button:first-child {
|
723
|
+
background-image: none;
|
724
|
+
box-shadow: none;
|
725
|
+
text-shadow: none;
|
726
|
+
box-shadow: none;
|
727
|
+
@include rounded($skinBorderRadius);
|
728
|
+
background-color: $skinMainSecondColor;
|
729
|
+
border: none;
|
730
|
+
color: #ffffff;
|
731
|
+
font-weight: 400;
|
732
|
+
padding: 10px 20px;
|
733
|
+
&:hover {
|
734
|
+
background-image: none!important;
|
735
|
+
background-color: lighten( $skinMainSecondColor, 5% )!important;
|
736
|
+
}
|
737
|
+
}
|
738
|
+
button:last-child {
|
739
|
+
background-image: none;
|
740
|
+
box-shadow: none;
|
741
|
+
text-shadow: none;
|
742
|
+
box-shadow: none;
|
743
|
+
background-color: #ffffff;
|
744
|
+
@include rounded($skinBorderRadius);
|
745
|
+
padding: 10px 20px;
|
746
|
+
border-color: #E4E4E4;
|
747
|
+
&:hover {
|
748
|
+
background-image: none!important;
|
749
|
+
background-color: #F4F4F4!important;
|
750
|
+
}
|
751
|
+
}
|
752
|
+
}
|
753
|
+
}
|
754
|
+
}
|
755
|
+
.ui-widget-overlay {
|
756
|
+
background: rgba(0, 0, 0, 0.7);
|
757
|
+
}
|
758
|
+
|
759
|
+
//becouse of sidebar border 2px
|
760
|
+
form.filter_form .filter_form_field.filter_date_range .seperator {
|
761
|
+
width: 10px;
|
762
|
+
}
|
763
|
+
|
764
|
+
//filter select box border radius
|
765
|
+
.filter_form_field select{
|
766
|
+
border-radius: 3px;
|
767
|
+
}
|
768
|
+
|
769
|
+
//radio button color change
|
770
|
+
input[type='radio'] {
|
771
|
+
&:before {
|
772
|
+
content:'';
|
773
|
+
display:block;
|
774
|
+
width:50%;
|
775
|
+
height:50%;
|
776
|
+
margin: 20% auto;
|
777
|
+
border-radius:50%;
|
778
|
+
}
|
779
|
+
&:checked:before{
|
780
|
+
background: $skinMainSecondColor;
|
781
|
+
}
|
782
|
+
}
|
783
|
+
.invisible {
|
784
|
+
display: none;
|
785
|
+
}
|
786
|
+
|
787
|
+
a, a:link, a:visited {
|
788
|
+
text-decoration: none;
|
789
|
+
}
|
790
|
+
|
791
|
+
.action_items {
|
792
|
+
text-align: left;
|
793
|
+
}
|
794
|
+
|
795
|
+
.post_body {
|
796
|
+
background: #efefef;
|
797
|
+
background: -webkit-linear-gradient(-90deg, #efefef, #dfe1e2);
|
798
|
+
background: -moz-linear-gradient(-90deg, #efefef, #dfe1e2);
|
799
|
+
background: linear, -90deg, #efefef, #dfe1e2;
|
800
|
+
padding: 20px 10px 0px 10px;
|
801
|
+
margin-bottom: 10px;
|
802
|
+
}
|
803
|
+
.post_assigned_user {
|
804
|
+
border-top: 1px solid lightgray;
|
805
|
+
margin-top: 10px;
|
806
|
+
}
|
807
|
+
.post_footer {
|
808
|
+
border-top: 1px solid lightgray;
|
809
|
+
margin-top: 10px;
|
810
|
+
}
|
811
|
+
|
812
|
+
form fieldset ol > li label {
|
813
|
+
float: right;
|
814
|
+
}
|
data/guzel_theme.gemspec
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'guzel_theme/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "guzel_theme"
|
8
|
+
spec.version = GuzelTheme::VERSION
|
9
|
+
spec.authors = ["Mohsen Alizadeh"]
|
10
|
+
spec.email = ["mohsen@alizadeh.us"]
|
11
|
+
spec.homepage = "https://github.com/mohsen-alizadeh/guzel_theme"
|
12
|
+
spec.license = "MIT"
|
13
|
+
spec.summary = "theme"
|
14
|
+
spec.files = `git ls-files -z`.split("\x0")
|
15
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
16
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
|
+
spec.require_paths = ["lib"]
|
18
|
+
|
19
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
20
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
21
|
+
end
|
data/lib/guzel_theme.rb
ADDED
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: guzel_theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mohsen Alizadeh
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- mohsen@alizadeh.us
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- Gemfile
|
49
|
+
- LICENSE.txt
|
50
|
+
- README.md
|
51
|
+
- Rakefile
|
52
|
+
- app/assets/stylesheets/mohsen/guzel_theme.scss
|
53
|
+
- guzel_theme.gemspec
|
54
|
+
- lib/guzel_theme.rb
|
55
|
+
- lib/guzel_theme/version.rb
|
56
|
+
homepage: https://github.com/mohsen-alizadeh/guzel_theme
|
57
|
+
licenses:
|
58
|
+
- MIT
|
59
|
+
metadata: {}
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubyforge_project:
|
76
|
+
rubygems_version: 2.4.8
|
77
|
+
signing_key:
|
78
|
+
specification_version: 4
|
79
|
+
summary: theme
|
80
|
+
test_files: []
|