tb_core 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/app/assets/javascripts/admin/core/application.js +2 -1
  4. data/app/assets/javascripts/admin/core/modal.js +36 -6
  5. data/app/assets/javascripts/admin/core/users.js +121 -2
  6. data/app/assets/javascripts/tb_core/configuration.js.erb +1 -1
  7. data/app/assets/javascripts/tb_core/remote.js +9 -6
  8. data/app/assets/javascripts/tb_core/utility.js +11 -0
  9. data/app/assets/stylesheets/admin/core/application.scss +118 -117
  10. data/app/assets/stylesheets/admin/core/login.scss +15 -14
  11. data/app/assets/stylesheets/admin/core/users.scss +14 -0
  12. data/app/controllers/admin/application_controller.rb +4 -14
  13. data/app/controllers/admin/password_resets_controller.rb +1 -1
  14. data/app/controllers/admin/user_sessions_controller.rb +0 -27
  15. data/app/controllers/admin/users_controller.rb +37 -4
  16. data/app/controllers/password_resets_controller.rb +1 -1
  17. data/app/controllers/spud/application_controller.rb +37 -11
  18. data/app/controllers/user_sessions_controller.rb +46 -10
  19. data/app/helpers/admin/application_helper.rb +8 -1
  20. data/app/helpers/spud/application_helper.rb +36 -0
  21. data/app/helpers/tb_core/application_helper.rb +2 -2
  22. data/app/mailers/tb_core_mailer.rb +25 -0
  23. data/app/models/spud/spud_user_model.rb +14 -0
  24. data/app/views/admin/setup/new.html.erb +6 -14
  25. data/app/views/admin/user_sessions/new.html.erb +1 -25
  26. data/app/views/admin/users/_form.html.erb +25 -2
  27. data/app/views/layouts/admin/application.html.erb +2 -2
  28. data/app/views/layouts/admin/login.html.erb +2 -1
  29. data/app/views/layouts/mailer.html.erb +23 -0
  30. data/app/views/tb_core_mailer/forgot_password_notification.html.erb +12 -0
  31. data/app/views/tb_core_mailer/user_credentials.html.erb +19 -0
  32. data/app/views/user_sessions/_form.html.erb +24 -0
  33. data/app/views/user_sessions/change_password.html.erb +21 -0
  34. data/app/views/user_sessions/new.html.erb +1 -22
  35. data/config/locales/en.yml +12 -2
  36. data/config/routes.rb +5 -2
  37. data/db/migrate/20150610143438_add_requires_password_change_to_spud_users.rb +5 -0
  38. data/lib/generators/spud/setup_generator.rb +5 -0
  39. data/lib/generators/spud/templates/assets/application.js +1 -1
  40. data/lib/generators/spud/templates/assets/application.scss +2 -2
  41. data/lib/generators/spud/templates/assets/bootstrap.js +14 -0
  42. data/lib/spud_core/belongs_to_app.rb +1 -1
  43. data/lib/spud_core/engine.rb +1 -0
  44. data/lib/spud_core/errors.rb +8 -0
  45. data/lib/spud_core/version.rb +1 -1
  46. data/lib/tb_core/form_builder.rb +31 -6
  47. data/spec/controllers/admin/user_sessions_controller_spec.rb +0 -28
  48. data/spec/dummy/config/environments/development.rb +2 -2
  49. data/spec/dummy/db/migrate/20150610180845_add_requires_password_change_to_spud_users.tb_core.rb +6 -0
  50. data/spec/dummy/db/schema.rb +23 -22
  51. data/spec/models/spud_user_spec.rb +18 -2
  52. metadata +28 -20
  53. data/app/assets/libs/jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  54. data/app/assets/libs/jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  55. data/app/assets/libs/jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  56. data/app/assets/libs/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  57. data/app/assets/libs/jquery-ui/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  58. data/app/assets/libs/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  59. data/app/assets/libs/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  60. data/app/assets/libs/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  61. data/app/assets/libs/jquery-ui/images/ui-icons_222222_256x240.png +0 -0
  62. data/app/assets/libs/jquery-ui/images/ui-icons_2e83ff_256x240.png +0 -0
  63. data/app/assets/libs/jquery-ui/images/ui-icons_454545_256x240.png +0 -0
  64. data/app/assets/libs/jquery-ui/images/ui-icons_888888_256x240.png +0 -0
  65. data/app/assets/libs/jquery-ui/images/ui-icons_cd0a0a_256x240.png +0 -0
  66. data/app/assets/libs/jquery-ui/jquery-ui.js +0 -8952
  67. data/app/assets/libs/jquery-ui/jquery-ui.scss +0 -784
  68. data/app/mailers/core_mailer.rb +0 -9
  69. data/app/views/core_mailer/forgot_password_notification.html.erb +0 -14
  70. data/app/views/core_mailer/forgot_password_notification.text.erb +0 -10
@@ -1,784 +0,0 @@
1
- //! jQuery UI - v1.11.1 - 2014-09-09
2
- //http://jqueryui.com
3
- //Includes: core.css, draggable.css, sortable.css, accordion.css, autocomplete.css, datepicker.css, menu.css, tabs.css, theme.css
4
- //To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
5
- //Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
6
-
7
- // Layout helpers
8
- ////////
9
- .ui-helper-hidden {
10
- display: none;
11
- }
12
- .ui-helper-hidden-accessible {
13
- border: 0;
14
- clip: rect(0 0 0 0);
15
- height: 1px;
16
- margin: -1px;
17
- overflow: hidden;
18
- padding: 0;
19
- position: absolute;
20
- width: 1px;
21
- }
22
- .ui-helper-reset {
23
- margin: 0;
24
- padding: 0;
25
- border: 0;
26
- outline: 0;
27
- line-height: 1.3;
28
- text-decoration: none;
29
- font-size: 100%;
30
- list-style: none;
31
- }
32
- .ui-helper-clearfix:before,
33
- .ui-helper-clearfix:after {
34
- content: "";
35
- display: table;
36
- border-collapse: collapse;
37
- }
38
- .ui-helper-clearfix:after {
39
- clear: both;
40
- }
41
- .ui-helper-clearfix {
42
- min-height: 0; // support: IE7 */
43
- }
44
- .ui-helper-zfix {
45
- width: 100%;
46
- height: 100%;
47
- top: 0;
48
- left: 0;
49
- position: absolute;
50
- opacity: 0;
51
- filter:Alpha(Opacity=0); // support: IE8 */
52
- }
53
-
54
- .ui-front {
55
- z-index: 100;
56
- }
57
-
58
-
59
- // Interaction Cues
60
- ////////
61
- .ui-state-disabled {
62
- cursor: default !important;
63
- }
64
-
65
-
66
- // Icons
67
- ////////
68
-
69
- // states and images */
70
- .ui-icon {
71
- display: block;
72
- text-indent: -99999px;
73
- overflow: hidden;
74
- background-repeat: no-repeat;
75
- }
76
-
77
-
78
- // Misc visuals
79
- ////////
80
-
81
- // Overlays */
82
- .ui-widget-overlay {
83
- position: fixed;
84
- top: 0;
85
- left: 0;
86
- width: 100%;
87
- height: 100%;
88
- }
89
- .ui-draggable-handle {
90
- -ms-touch-action: none;
91
- touch-action: none;
92
- }
93
- .ui-sortable-handle {
94
- -ms-touch-action: none;
95
- touch-action: none;
96
- }
97
- .ui-accordion .ui-accordion-header {
98
- display: block;
99
- cursor: pointer;
100
- position: relative;
101
- margin: 2px 0 0 0;
102
- padding: .5em .5em .5em .7em;
103
- min-height: 0; // support: IE7 */
104
- font-size: 100%;
105
- }
106
- .ui-accordion .ui-accordion-icons {
107
- padding-left: 2.2em;
108
- }
109
- .ui-accordion .ui-accordion-icons .ui-accordion-icons {
110
- padding-left: 2.2em;
111
- }
112
- .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
113
- position: absolute;
114
- left: .5em;
115
- top: 50%;
116
- margin-top: -8px;
117
- }
118
- .ui-accordion .ui-accordion-content {
119
- padding: 1em 2.2em;
120
- border-top: 0;
121
- overflow: auto;
122
- }
123
- .ui-autocomplete {
124
- position: absolute;
125
- top: 0;
126
- left: 0;
127
- cursor: default;
128
- }
129
- .ui-datepicker {
130
- width: 17em;
131
- padding: .2em .2em 0;
132
- display: none;
133
- }
134
- .ui-datepicker .ui-datepicker-header {
135
- position: relative;
136
- padding: .2em 0;
137
- }
138
- .ui-datepicker .ui-datepicker-prev,
139
- .ui-datepicker .ui-datepicker-next {
140
- position: absolute;
141
- top: 2px;
142
- width: 1.8em;
143
- height: 1.8em;
144
- }
145
- .ui-datepicker .ui-datepicker-prev-hover,
146
- .ui-datepicker .ui-datepicker-next-hover {
147
- top: 1px;
148
- }
149
- .ui-datepicker .ui-datepicker-prev {
150
- left: 2px;
151
- }
152
- .ui-datepicker .ui-datepicker-next {
153
- right: 2px;
154
- }
155
- .ui-datepicker .ui-datepicker-prev-hover {
156
- left: 1px;
157
- }
158
- .ui-datepicker .ui-datepicker-next-hover {
159
- right: 1px;
160
- }
161
- .ui-datepicker .ui-datepicker-prev span,
162
- .ui-datepicker .ui-datepicker-next span {
163
- display: block;
164
- position: absolute;
165
- left: 50%;
166
- margin-left: -8px;
167
- top: 50%;
168
- margin-top: -8px;
169
- }
170
- .ui-datepicker .ui-datepicker-title {
171
- margin: 0 2.3em;
172
- line-height: 1.8em;
173
- text-align: center;
174
- }
175
- .ui-datepicker .ui-datepicker-title select {
176
- font-size: 1em;
177
- margin: 1px 0;
178
- }
179
- .ui-datepicker select.ui-datepicker-month,
180
- .ui-datepicker select.ui-datepicker-year {
181
- width: 45%;
182
- }
183
- .ui-datepicker table {
184
- width: 100%;
185
- font-size: .9em;
186
- border-collapse: collapse;
187
- margin: 0 0 .4em;
188
- }
189
- .ui-datepicker th {
190
- padding: .7em .3em;
191
- text-align: center;
192
- font-weight: bold;
193
- border: 0;
194
- }
195
- .ui-datepicker td {
196
- border: 0;
197
- padding: 1px;
198
- }
199
- .ui-datepicker td span,
200
- .ui-datepicker td a {
201
- display: block;
202
- padding: .2em;
203
- text-align: right;
204
- text-decoration: none;
205
- }
206
- .ui-datepicker .ui-datepicker-buttonpane {
207
- background-image: none;
208
- margin: .7em 0 0 0;
209
- padding: 0 .2em;
210
- border-left: 0;
211
- border-right: 0;
212
- border-bottom: 0;
213
- }
214
- .ui-datepicker .ui-datepicker-buttonpane button {
215
- float: right;
216
- margin: .5em .2em .4em;
217
- cursor: pointer;
218
- padding: .2em .6em .3em .6em;
219
- width: auto;
220
- overflow: visible;
221
- }
222
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
223
- float: left;
224
- }
225
-
226
- // with multiple calendars */
227
- .ui-datepicker.ui-datepicker-multi {
228
- width: auto;
229
- }
230
- .ui-datepicker-multi .ui-datepicker-group {
231
- float: left;
232
- }
233
- .ui-datepicker-multi .ui-datepicker-group table {
234
- width: 95%;
235
- margin: 0 auto .4em;
236
- }
237
- .ui-datepicker-multi-2 .ui-datepicker-group {
238
- width: 50%;
239
- }
240
- .ui-datepicker-multi-3 .ui-datepicker-group {
241
- width: 33.3%;
242
- }
243
- .ui-datepicker-multi-4 .ui-datepicker-group {
244
- width: 25%;
245
- }
246
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
247
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
248
- border-left-width: 0;
249
- }
250
- .ui-datepicker-multi .ui-datepicker-buttonpane {
251
- clear: left;
252
- }
253
- .ui-datepicker-row-break {
254
- clear: both;
255
- width: 100%;
256
- font-size: 0;
257
- }
258
-
259
- // RTL support */
260
- .ui-datepicker-rtl {
261
- direction: rtl;
262
- }
263
- .ui-datepicker-rtl .ui-datepicker-prev {
264
- right: 2px;
265
- left: auto;
266
- }
267
- .ui-datepicker-rtl .ui-datepicker-next {
268
- left: 2px;
269
- right: auto;
270
- }
271
- .ui-datepicker-rtl .ui-datepicker-prev:hover {
272
- right: 1px;
273
- left: auto;
274
- }
275
- .ui-datepicker-rtl .ui-datepicker-next:hover {
276
- left: 1px;
277
- right: auto;
278
- }
279
- .ui-datepicker-rtl .ui-datepicker-buttonpane {
280
- clear: right;
281
- }
282
- .ui-datepicker-rtl .ui-datepicker-buttonpane button {
283
- float: left;
284
- }
285
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
286
- .ui-datepicker-rtl .ui-datepicker-group {
287
- float: right;
288
- }
289
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
290
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
291
- border-right-width: 0;
292
- border-left-width: 1px;
293
- }
294
- .ui-menu {
295
- list-style: none;
296
- padding: 0;
297
- margin: 0;
298
- display: block;
299
- outline: none;
300
- }
301
- .ui-menu .ui-menu {
302
- position: absolute;
303
- }
304
- .ui-menu .ui-menu-item {
305
- position: relative;
306
- margin: 0;
307
- padding: 3px 1em 3px .4em;
308
- cursor: pointer;
309
- min-height: 0; // support: IE7 */
310
- // support: IE10, see #8844 */
311
- list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
312
- }
313
- .ui-menu .ui-menu-divider {
314
- margin: 5px 0;
315
- height: 0;
316
- font-size: 0;
317
- line-height: 0;
318
- border-width: 1px 0 0 0;
319
- }
320
- .ui-menu .ui-state-focus,
321
- .ui-menu .ui-state-active {
322
- margin: -1px;
323
- }
324
-
325
- // icon support */
326
- .ui-menu-icons {
327
- position: relative;
328
- }
329
- .ui-menu-icons .ui-menu-item {
330
- padding-left: 2em;
331
- }
332
-
333
- // left-aligned */
334
- .ui-menu .ui-icon {
335
- position: absolute;
336
- top: 0;
337
- bottom: 0;
338
- left: .2em;
339
- margin: auto 0;
340
- }
341
-
342
- // right-aligned */
343
- .ui-menu .ui-menu-icon {
344
- left: auto;
345
- right: 0;
346
- }
347
- .ui-tabs {
348
- position: relative;// position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
349
- padding: .2em;
350
- }
351
- .ui-tabs .ui-tabs-nav {
352
- margin: 0;
353
- padding: .2em .2em 0;
354
- }
355
- .ui-tabs .ui-tabs-nav li {
356
- list-style: none;
357
- float: left;
358
- position: relative;
359
- top: 0;
360
- margin: 1px .2em 0 0;
361
- border-bottom-width: 0;
362
- padding: 0;
363
- white-space: nowrap;
364
- }
365
- .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
366
- float: left;
367
- padding: .5em 1em;
368
- text-decoration: none;
369
- }
370
- .ui-tabs .ui-tabs-nav li.ui-tabs-active {
371
- margin-bottom: -1px;
372
- padding-bottom: 1px;
373
- }
374
- .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
375
- .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
376
- .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
377
- cursor: text;
378
- }
379
- .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
380
- cursor: pointer;
381
- }
382
- .ui-tabs .ui-tabs-panel {
383
- display: block;
384
- border-width: 0;
385
- padding: 1em 1.4em;
386
- background: none;
387
- }
388
-
389
- // Component containers
390
- ////////
391
- .ui-widget {
392
- font-family: Verdana,Arial,sans-serif;
393
- font-size: 1.1em;
394
- }
395
- .ui-widget .ui-widget {
396
- font-size: 1em;
397
- }
398
- .ui-widget input,
399
- .ui-widget select,
400
- .ui-widget textarea,
401
- .ui-widget button {
402
- font-family: Verdana,Arial,sans-serif;
403
- font-size: 1em;
404
- }
405
- .ui-widget-content {
406
- border: 1px solid #aaaaaa;
407
- background: #ffffff image-url("jquery-ui/images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;
408
- color: #222222;
409
- }
410
- .ui-widget-content a {
411
- color: #222222;
412
- }
413
- .ui-widget-header {
414
- border: 1px solid #aaaaaa;
415
- background: #cccccc image-url("jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
416
- color: #222222;
417
- font-weight: bold;
418
- }
419
- .ui-widget-header a {
420
- color: #222222;
421
- }
422
-
423
- // Interaction states
424
- ////////
425
- .ui-state-default,
426
- .ui-widget-content .ui-state-default,
427
- .ui-widget-header .ui-state-default {
428
- border: 1px solid #d3d3d3;
429
- background: #e6e6e6 image-url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
430
- font-weight: normal;
431
- color: #555555;
432
- }
433
- .ui-state-default a,
434
- .ui-state-default a:link,
435
- .ui-state-default a:visited {
436
- color: #555555;
437
- text-decoration: none;
438
- }
439
- .ui-state-hover,
440
- .ui-widget-content .ui-state-hover,
441
- .ui-widget-header .ui-state-hover,
442
- .ui-state-focus,
443
- .ui-widget-content .ui-state-focus,
444
- .ui-widget-header .ui-state-focus {
445
- border: 1px solid #999999;
446
- background: #dadada image-url("jquery-ui/images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
447
- font-weight: normal;
448
- color: #212121;
449
- }
450
- .ui-state-hover a,
451
- .ui-state-hover a:hover,
452
- .ui-state-hover a:link,
453
- .ui-state-hover a:visited,
454
- .ui-state-focus a,
455
- .ui-state-focus a:hover,
456
- .ui-state-focus a:link,
457
- .ui-state-focus a:visited {
458
- color: #212121;
459
- text-decoration: none;
460
- }
461
- .ui-state-active,
462
- .ui-widget-content .ui-state-active,
463
- .ui-widget-header .ui-state-active {
464
- border: 1px solid #aaaaaa;
465
- background: #ffffff image-url("jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
466
- font-weight: normal;
467
- color: #212121;
468
- }
469
- .ui-state-active a,
470
- .ui-state-active a:link,
471
- .ui-state-active a:visited {
472
- color: #212121;
473
- text-decoration: none;
474
- }
475
-
476
- // Interaction Cues
477
- ////////
478
- .ui-state-highlight,
479
- .ui-widget-content .ui-state-highlight,
480
- .ui-widget-header .ui-state-highlight {
481
- border: 1px solid #fcefa1;
482
- background: #fbf9ee image-url("jquery-ui/images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
483
- color: #363636;
484
- }
485
- .ui-state-highlight a,
486
- .ui-widget-content .ui-state-highlight a,
487
- .ui-widget-header .ui-state-highlight a {
488
- color: #363636;
489
- }
490
- .ui-state-error,
491
- .ui-widget-content .ui-state-error,
492
- .ui-widget-header .ui-state-error {
493
- border: 1px solid #cd0a0a;
494
- background: #fef1ec image-url("jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
495
- color: #cd0a0a;
496
- }
497
- .ui-state-error a,
498
- .ui-widget-content .ui-state-error a,
499
- .ui-widget-header .ui-state-error a {
500
- color: #cd0a0a;
501
- }
502
- .ui-state-error-text,
503
- .ui-widget-content .ui-state-error-text,
504
- .ui-widget-header .ui-state-error-text {
505
- color: #cd0a0a;
506
- }
507
- .ui-priority-primary,
508
- .ui-widget-content .ui-priority-primary,
509
- .ui-widget-header .ui-priority-primary {
510
- font-weight: bold;
511
- }
512
- .ui-priority-secondary,
513
- .ui-widget-content .ui-priority-secondary,
514
- .ui-widget-header .ui-priority-secondary {
515
- opacity: .7;
516
- filter:Alpha(Opacity=70); // support: IE8 */
517
- font-weight: normal;
518
- }
519
- .ui-state-disabled,
520
- .ui-widget-content .ui-state-disabled,
521
- .ui-widget-header .ui-state-disabled {
522
- opacity: .35;
523
- filter:Alpha(Opacity=35); // support: IE8 */
524
- background-image: none;
525
- }
526
- .ui-state-disabled .ui-icon {
527
- filter:Alpha(Opacity=35); // support: IE8 - See #6059 */
528
- }
529
-
530
- // Icons
531
- ////////
532
-
533
- // states and images */
534
- .ui-icon {
535
- width: 16px;
536
- height: 16px;
537
- }
538
- .ui-icon,
539
- .ui-widget-content .ui-icon {
540
- background-image: image-url("jquery-ui/images/ui-icons_222222_256x240.png");
541
- }
542
- .ui-widget-header .ui-icon {
543
- background-image: image-url("jquery-ui/images/ui-icons_222222_256x240.png");
544
- }
545
- .ui-state-default .ui-icon {
546
- background-image: image-url("jquery-ui/images/ui-icons_888888_256x240.png");
547
- }
548
- .ui-state-hover .ui-icon,
549
- .ui-state-focus .ui-icon {
550
- background-image: image-url("jquery-ui/images/ui-icons_454545_256x240.png");
551
- }
552
- .ui-state-active .ui-icon {
553
- background-image: image-url("jquery-ui/images/ui-icons_454545_256x240.png");
554
- }
555
- .ui-state-highlight .ui-icon {
556
- background-image: image-url("jquery-ui/images/ui-icons_2e83ff_256x240.png");
557
- }
558
- .ui-state-error .ui-icon,
559
- .ui-state-error-text .ui-icon {
560
- background-image: image-url("jquery-ui/images/ui-icons_cd0a0a_256x240.png");
561
- }
562
-
563
- // positioning */
564
- .ui-icon-blank { background-position: 16px 16px; }
565
- .ui-icon-carat-1-n { background-position: 0 0; }
566
- .ui-icon-carat-1-ne { background-position: -16px 0; }
567
- .ui-icon-carat-1-e { background-position: -32px 0; }
568
- .ui-icon-carat-1-se { background-position: -48px 0; }
569
- .ui-icon-carat-1-s { background-position: -64px 0; }
570
- .ui-icon-carat-1-sw { background-position: -80px 0; }
571
- .ui-icon-carat-1-w { background-position: -96px 0; }
572
- .ui-icon-carat-1-nw { background-position: -112px 0; }
573
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
574
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
575
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
576
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
577
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
578
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
579
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
580
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
581
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
582
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
583
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
584
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
585
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
586
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
587
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
588
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
589
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
590
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
591
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
592
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
593
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
594
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
595
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
596
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
597
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
598
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
599
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
600
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
601
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
602
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
603
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
604
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
605
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
606
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
607
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
608
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
609
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
610
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
611
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
612
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
613
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
614
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
615
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
616
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
617
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
618
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
619
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
620
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
621
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
622
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
623
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
624
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
625
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
626
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
627
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
628
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
629
- .ui-icon-arrow-4 { background-position: 0 -80px; }
630
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
631
- .ui-icon-extlink { background-position: -32px -80px; }
632
- .ui-icon-newwin { background-position: -48px -80px; }
633
- .ui-icon-refresh { background-position: -64px -80px; }
634
- .ui-icon-shuffle { background-position: -80px -80px; }
635
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
636
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
637
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
638
- .ui-icon-folder-open { background-position: -16px -96px; }
639
- .ui-icon-document { background-position: -32px -96px; }
640
- .ui-icon-document-b { background-position: -48px -96px; }
641
- .ui-icon-note { background-position: -64px -96px; }
642
- .ui-icon-mail-closed { background-position: -80px -96px; }
643
- .ui-icon-mail-open { background-position: -96px -96px; }
644
- .ui-icon-suitcase { background-position: -112px -96px; }
645
- .ui-icon-comment { background-position: -128px -96px; }
646
- .ui-icon-person { background-position: -144px -96px; }
647
- .ui-icon-print { background-position: -160px -96px; }
648
- .ui-icon-trash { background-position: -176px -96px; }
649
- .ui-icon-locked { background-position: -192px -96px; }
650
- .ui-icon-unlocked { background-position: -208px -96px; }
651
- .ui-icon-bookmark { background-position: -224px -96px; }
652
- .ui-icon-tag { background-position: -240px -96px; }
653
- .ui-icon-home { background-position: 0 -112px; }
654
- .ui-icon-flag { background-position: -16px -112px; }
655
- .ui-icon-calendar { background-position: -32px -112px; }
656
- .ui-icon-cart { background-position: -48px -112px; }
657
- .ui-icon-pencil { background-position: -64px -112px; }
658
- .ui-icon-clock { background-position: -80px -112px; }
659
- .ui-icon-disk { background-position: -96px -112px; }
660
- .ui-icon-calculator { background-position: -112px -112px; }
661
- .ui-icon-zoomin { background-position: -128px -112px; }
662
- .ui-icon-zoomout { background-position: -144px -112px; }
663
- .ui-icon-search { background-position: -160px -112px; }
664
- .ui-icon-wrench { background-position: -176px -112px; }
665
- .ui-icon-gear { background-position: -192px -112px; }
666
- .ui-icon-heart { background-position: -208px -112px; }
667
- .ui-icon-star { background-position: -224px -112px; }
668
- .ui-icon-link { background-position: -240px -112px; }
669
- .ui-icon-cancel { background-position: 0 -128px; }
670
- .ui-icon-plus { background-position: -16px -128px; }
671
- .ui-icon-plusthick { background-position: -32px -128px; }
672
- .ui-icon-minus { background-position: -48px -128px; }
673
- .ui-icon-minusthick { background-position: -64px -128px; }
674
- .ui-icon-close { background-position: -80px -128px; }
675
- .ui-icon-closethick { background-position: -96px -128px; }
676
- .ui-icon-key { background-position: -112px -128px; }
677
- .ui-icon-lightbulb { background-position: -128px -128px; }
678
- .ui-icon-scissors { background-position: -144px -128px; }
679
- .ui-icon-clipboard { background-position: -160px -128px; }
680
- .ui-icon-copy { background-position: -176px -128px; }
681
- .ui-icon-contact { background-position: -192px -128px; }
682
- .ui-icon-image { background-position: -208px -128px; }
683
- .ui-icon-video { background-position: -224px -128px; }
684
- .ui-icon-script { background-position: -240px -128px; }
685
- .ui-icon-alert { background-position: 0 -144px; }
686
- .ui-icon-info { background-position: -16px -144px; }
687
- .ui-icon-notice { background-position: -32px -144px; }
688
- .ui-icon-help { background-position: -48px -144px; }
689
- .ui-icon-check { background-position: -64px -144px; }
690
- .ui-icon-bullet { background-position: -80px -144px; }
691
- .ui-icon-radio-on { background-position: -96px -144px; }
692
- .ui-icon-radio-off { background-position: -112px -144px; }
693
- .ui-icon-pin-w { background-position: -128px -144px; }
694
- .ui-icon-pin-s { background-position: -144px -144px; }
695
- .ui-icon-play { background-position: 0 -160px; }
696
- .ui-icon-pause { background-position: -16px -160px; }
697
- .ui-icon-seek-next { background-position: -32px -160px; }
698
- .ui-icon-seek-prev { background-position: -48px -160px; }
699
- .ui-icon-seek-end { background-position: -64px -160px; }
700
- .ui-icon-seek-start { background-position: -80px -160px; }
701
- // ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
702
- .ui-icon-seek-first { background-position: -80px -160px; }
703
- .ui-icon-stop { background-position: -96px -160px; }
704
- .ui-icon-eject { background-position: -112px -160px; }
705
- .ui-icon-volume-off { background-position: -128px -160px; }
706
- .ui-icon-volume-on { background-position: -144px -160px; }
707
- .ui-icon-power { background-position: 0 -176px; }
708
- .ui-icon-signal-diag { background-position: -16px -176px; }
709
- .ui-icon-signal { background-position: -32px -176px; }
710
- .ui-icon-battery-0 { background-position: -48px -176px; }
711
- .ui-icon-battery-1 { background-position: -64px -176px; }
712
- .ui-icon-battery-2 { background-position: -80px -176px; }
713
- .ui-icon-battery-3 { background-position: -96px -176px; }
714
- .ui-icon-circle-plus { background-position: 0 -192px; }
715
- .ui-icon-circle-minus { background-position: -16px -192px; }
716
- .ui-icon-circle-close { background-position: -32px -192px; }
717
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
718
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
719
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
720
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
721
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
722
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
723
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
724
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
725
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
726
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
727
- .ui-icon-circle-check { background-position: -208px -192px; }
728
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
729
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
730
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
731
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
732
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
733
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
734
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
735
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
736
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
737
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
738
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
739
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
740
-
741
-
742
- // Misc visuals
743
- ////////
744
-
745
- // Corner radius */
746
- .ui-corner-all,
747
- .ui-corner-top,
748
- .ui-corner-left,
749
- .ui-corner-tl {
750
- border-top-left-radius: 4px;
751
- }
752
- .ui-corner-all,
753
- .ui-corner-top,
754
- .ui-corner-right,
755
- .ui-corner-tr {
756
- border-top-right-radius: 4px;
757
- }
758
- .ui-corner-all,
759
- .ui-corner-bottom,
760
- .ui-corner-left,
761
- .ui-corner-bl {
762
- border-bottom-left-radius: 4px;
763
- }
764
- .ui-corner-all,
765
- .ui-corner-bottom,
766
- .ui-corner-right,
767
- .ui-corner-br {
768
- border-bottom-right-radius: 4px;
769
- }
770
-
771
- // Overlays */
772
- .ui-widget-overlay {
773
- background: #aaaaaa image-url("jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
774
- opacity: .3;
775
- filter: Alpha(Opacity=30); // support: IE8 */
776
- }
777
- .ui-widget-shadow {
778
- margin: -8px 0 0 -8px;
779
- padding: 8px;
780
- background: #aaaaaa image-url("jquery-ui/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x;
781
- opacity: .3;
782
- filter: Alpha(Opacity=30); // support: IE8 */
783
- border-radius: 8px;
784
- }