card-mod-style 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +7 -0
  2. data/lib/stylesheets/style_bootstrap_compatible.css +68 -0
  3. data/lib/stylesheets/style_cards.scss +1261 -0
  4. data/lib/stylesheets/style_jquery_ui_smoothness.css +909 -0
  5. data/public/assets/jquery-ui-smoothness/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  6. data/public/assets/jquery-ui-smoothness/ui-bg_glass_65_ffffff_1x400.png +0 -0
  7. data/public/assets/jquery-ui-smoothness/ui-bg_glass_75_dadada_1x400.png +0 -0
  8. data/public/assets/jquery-ui-smoothness/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  9. data/public/assets/jquery-ui-smoothness/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  10. data/public/assets/jquery-ui-smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  11. data/public/assets/jquery-ui-smoothness/ui-icons_222222_256x240.png +0 -0
  12. data/public/assets/jquery-ui-smoothness/ui-icons_2e83ff_256x240.png +0 -0
  13. data/public/assets/jquery-ui-smoothness/ui-icons_454545_256x240.png +0 -0
  14. data/public/assets/jquery-ui-smoothness/ui-icons_888888_256x240.png +0 -0
  15. data/public/assets/jquery-ui-smoothness/ui-icons_cd0a0a_256x240.png +0 -0
  16. data/set/abstract/skin_box.rb +33 -0
  17. data/set/abstract/skin_box/box_bottom.haml +4 -0
  18. data/set/right/style.rb +56 -0
  19. data/set/right/style/input.haml +6 -0
  20. data/set/self/style.rb +4 -0
  21. data/set/self/style_bootstrap_compatible.rb +1 -0
  22. data/set/self/style_cards.rb +1 -0
  23. data/set/self/style_jquery_ui_smoothness.rb +1 -0
  24. data/set/self/style_libraries.rb +1 -0
  25. data/set/self/style_mods.rb +1 -0
  26. data/set/type/css.rb +85 -0
  27. data/set/type/scss.rb +21 -0
  28. data/set/type/skin.rb +10 -0
  29. metadata +115 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d713fc3b726e78a986b967476572af5e4e7acc76b260c8eec2cb05282b610aca
4
+ data.tar.gz: a8c4e624766fe062dc1c6fd979a3c3f0dde8e379f818a8f39b3426f7318c8891
5
+ SHA512:
6
+ metadata.gz: c3bc6b8b4ca6a105e4606cb99adfebcdcfb79c52fa5bfc93d79daa463996caa9c0d4fca45628fe29c6ca10a17f193a8ca4dce4b01aec3187c19c234057085cc7
7
+ data.tar.gz: 02724b4d736cc19d591a5107e62cf1859fe67e7383a29a9506218d4bb49c71a8011ea04f1e331d8d3b6eba03466e6e3514c01c5988ae55e6cf23b41a8da923ec
@@ -0,0 +1,68 @@
1
+ /*
2
+ This backwards-compatibility stylesheet is intended to keep the old "Classic" skins working.
3
+ It is NOT intended to be used in new skins.
4
+ */
5
+
6
+ #menu {
7
+ height: 30px;
8
+ div.container-fluid{
9
+ display: block;
10
+ }
11
+ div.navbar-header {
12
+ display: none;
13
+ }
14
+ ul {
15
+ font-size: 14px;
16
+ margin-top: 5px;
17
+ }
18
+ li {
19
+ display: inline;
20
+ }
21
+ .navbar-left {
22
+ float: left;
23
+ }
24
+ .navbar-right {
25
+ float: right;
26
+ margin-right: 15px;
27
+ }
28
+ .navbar-form {
29
+ width: 30%;
30
+ margin-top: 5px;
31
+ margin-left: 10px;
32
+ input {
33
+ width: 100%;
34
+ }
35
+ }
36
+ .navbox-form {
37
+ input {
38
+ display: inline;
39
+ min-height: 25px;
40
+ }
41
+ }
42
+ }
43
+
44
+ #primary {
45
+ clear: both;
46
+ }
47
+
48
+
49
+ // removed from standard.scss
50
+ input, select, textarea {
51
+ padding: 0 1%;
52
+ }
53
+ input, select {
54
+ max-width: 97.5%;
55
+ }
56
+
57
+ fieldset {
58
+ border: 0;
59
+ padding: 0;
60
+ }
61
+ .form-group {
62
+ padding: 10px;
63
+ }
64
+
65
+ .alert-info {
66
+ background: #ccc;
67
+ padding: 5px 10px;
68
+ }
@@ -0,0 +1,1261 @@
1
+ /*!
2
+ * Decko: [[https://decko.org]]
3
+ * Copyright 2015 Grass Commons and other contributors; Licensed GPL
4
+ */
5
+
6
+ /*
7
+ This minimal CSS is needed for basic Decko functionality.
8
+
9
+ Without the following, menus will be barely usable, "closed" view will not appear on one line,
10
+ and certain hidden information will show up.
11
+
12
+ Note that this CSS is taken from code so that it will be updated automatically with releases.
13
+ If you don't want certain rules, you may:
14
+ (a) override them, or
15
+ (b) choose not to include this card in your Skin
16
+
17
+ Choosing (b) will mean your CSS will not be affected by automated updates.
18
+ */
19
+
20
+ /*-- yellows --*/
21
+ $d-yellow-1: #ffd;
22
+
23
+ /* -- resets -- */
24
+
25
+ .d0-card-frame,
26
+ .d0-card-body,
27
+ .ALL {
28
+ overflow: inherit;
29
+ white-space: normal;
30
+ }
31
+
32
+ /* NOTE: we recommend against styling ".d0-card-slot", which is heavily used by javascript */
33
+
34
+
35
+ /* -- hidden info -- */
36
+
37
+ .ui-loader,
38
+ .card-notice,
39
+ .new-current-revision-id,
40
+ .editor .revision-navigation,
41
+ .editor .autosave-alert,
42
+ .hidden-alert,
43
+ .btn.renamer-updater,
44
+ .confirm_update_all-view,
45
+ .follow-updater,
46
+ .admin-error-message {
47
+ display: none
48
+ }
49
+
50
+ /* Help text */
51
+ .help-text {
52
+ color: $text-muted
53
+ }
54
+
55
+ .guide-line-number {
56
+ display: inline-block;
57
+ background: #000;
58
+ color: $white;
59
+ border-radius: 100%;
60
+ width: 21px;
61
+ height: 21px;
62
+ font-size: 61%;
63
+ text-align: center;
64
+ padding-top: 3px;
65
+ font-weight: bold;
66
+ margin-left: -1.7rem;
67
+ position: relative;
68
+ top: -5px;
69
+ left: -4px;
70
+ }
71
+
72
+ .guide-line {
73
+ border-left: 1px solid $border-color;
74
+ }
75
+
76
+ .rule-section {
77
+ padding-left: 20px;
78
+ margin-left: 12px;
79
+ margin-right: 5px;
80
+ h4 {
81
+ position: relative;
82
+ top: -4px;
83
+ }
84
+ }
85
+
86
+ /* -- d0-card-frames and menus--*/
87
+
88
+ .card-slot {
89
+ position: relative;
90
+ }
91
+
92
+ .d0-card-frame {
93
+ .d0-card-frame-title {
94
+ // display: inline-block;
95
+ overflow: hidden;
96
+ span.header-icon {
97
+ margin: 0px 5px;
98
+ }
99
+
100
+ }
101
+ .toggler {
102
+ display: inline-block;
103
+ position: relative;
104
+ }
105
+ .type-info {
106
+ margin-right: 10px;
107
+ }
108
+ }
109
+
110
+ .card-subheader {
111
+ width: 100%;
112
+ }
113
+
114
+ .card-menu {
115
+ position: absolute;
116
+ right: 8px;
117
+ top: 5px;
118
+ }
119
+
120
+ .d0-card-content, .titled-view > .d0-card-header {
121
+ > .card-menu {
122
+ top: 0px;
123
+ }
124
+ }
125
+
126
+ .with-menu {
127
+ padding-right: 12px;
128
+ }
129
+
130
+ .d0-card-frame-title {
131
+ margin-right: 3px;
132
+ }
133
+
134
+ .dropdown-menu {
135
+ z-index: 1005;
136
+ }
137
+
138
+ .ui-front {
139
+ z-index: 2000!important;
140
+ }
141
+
142
+ .navbar-divide {
143
+ margin-left: 30px;
144
+ border-left: 1px solid;
145
+ }
146
+
147
+ .card-subheader {
148
+ height: 30px;
149
+ text-align: left;
150
+ font-size: 13px;
151
+ padding: 6px 15px 3px 15px;
152
+ > .card-title.panel-title {
153
+ font-size: 13px;
154
+ }
155
+ }
156
+
157
+ .nav-logo {
158
+ max-width: 75px;
159
+ max-height: 75px;
160
+ }
161
+
162
+ /*-- closed and labeled views --*/
163
+
164
+ .closed-view {
165
+ position: relative;
166
+ > .d0-card-frame {
167
+ white-space: nowrap;
168
+ //padding-right: 30px;
169
+ overflow: hidden;
170
+ text-overflow: ellipsis;
171
+ position: static;
172
+ width:100%;
173
+ > .d0-card-header{
174
+ // float: left;
175
+ }
176
+ }
177
+
178
+ .d0-card-frame {
179
+ display: inline-block;
180
+ }
181
+ }
182
+ .closed-content {
183
+ margin-top: 2px;
184
+ white-space: nowrap;
185
+ text-overflow: ellipsis;
186
+
187
+ table, thead, tbody, tr, th, td, p, h1, h2, h3, h4, h5, h6, ul, li, pre, ol, div, span, a, blockquote, img, label, i {
188
+ display: inline;
189
+ white-space: nowrap;
190
+ float: none;
191
+ }
192
+ br, hr, input, textarea, object, :after, :before {
193
+ display: none;
194
+ }
195
+ }
196
+
197
+ .labeled-view:hover .card-menu {
198
+ display: inline-block;
199
+ }
200
+
201
+ /* -- change view --*/
202
+
203
+ .change-view {
204
+ clear: both;
205
+ .last-update {
206
+ float:right;
207
+ text-align: right;
208
+ a {
209
+ white-space: nowrap;
210
+ }
211
+ }
212
+ }
213
+
214
+ .titled-view > .d0-card-header {
215
+ border-bottom: 1px solid $border-color;
216
+ padding-bottom: 0.1em;
217
+ margin-bottom: 1em;
218
+
219
+ > .d0-card-header-title > .card-title {
220
+ font-size: $h1-font-size;
221
+ color: $headings-color;
222
+ }
223
+ }
224
+
225
+ .d0-card-content {
226
+ .d0-card-header > .d0-card-header-title > .card-title {
227
+ font-size: $h2-font-size;
228
+ color: $headings-color;
229
+ }
230
+ .bar-bottom .d0-card-header > .d0-card-header-title > .card-title {
231
+ font-size: $h3-font-size;
232
+ color: $headings-color;
233
+ }
234
+ }
235
+
236
+
237
+ /* -- file upload -- */
238
+ .fileupload-buttonbar .btn, .fileupload-buttonbar .toggle {
239
+ margin-bottom: 5px;
240
+ }
241
+ .fileinput-button {
242
+ position: relative;
243
+ overflow: hidden;
244
+ display: inline-block;
245
+ }
246
+ .fileinput-button input {
247
+ position: absolute;
248
+ top: 0;
249
+ right: 0;
250
+ margin: 0;
251
+ opacity: 0;
252
+ -ms-filter: 'alpha(opacity=0)';
253
+ font-size: 200px;
254
+ direction: ltr;
255
+ cursor: pointer;
256
+ }
257
+
258
+
259
+ /* -- template-editor (editing template rule inclusions inline) -- */
260
+
261
+ .template_editor-view > div {
262
+ float: left;
263
+ }
264
+ .template-editor-close {
265
+ float: right;
266
+ }
267
+ .template_link-view {
268
+ display: inline;
269
+ }
270
+
271
+ .navbox-item-label {
272
+ float: left;
273
+ position: relative;
274
+ }
275
+ .navbox-item-value mark {
276
+ padding: 0.2em 0;
277
+ }
278
+
279
+
280
+ /*-- misc --*/
281
+ .card-editor {
282
+ white-space: normal;
283
+ padding-bottom: 15px;
284
+ }
285
+ pre,
286
+ .TYPE-plain_text.d0-card-content,
287
+ .SELF-Xhead.d0-card-content {
288
+ white-space: pre-wrap; /* css-3 */
289
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
290
+ white-space: -pre-wrap; /* Opera 4-6 */
291
+ white-space: -o-pre-wrap; /* Opera 7 */
292
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
293
+ }
294
+ .unknown-view a {
295
+ display: inline;
296
+ }
297
+
298
+ .SELF-Xstat > .d0-card-content {
299
+ table {
300
+ width: 100%;
301
+ }
302
+ tr:nth-child(even) {
303
+ background: $gray-300;
304
+ }
305
+ }
306
+
307
+
308
+ /*
309
+ The below provides styles for aspects of decks not usually prioritized by skin designers.
310
+
311
+ It includes basic styling for:
312
+
313
+ 1. wagneer interface (sets, settings, rules)
314
+ 2. editor interface (forms, fieldsets, menus, navbox, history)
315
+ 3. views that by definition alter default styling (closed, labeled)
316
+ 4. errors / warnings / notices
317
+ 5. key default content for new installs (home page, sidebar)
318
+
319
+ Most colors are greyscale; any that aren't are explained with comments beginning with "NOTGREY"
320
+
321
+ Note that this CSS is taken from code so that it will be updated automatically with releases.
322
+ If you don't want certain rules, you may (a) override them, or (b) choose not to include this card
323
+ in your skin. Choosing (b) will mean your CSS will not be affected by automated updates.
324
+ */
325
+
326
+ /* -- resets -- */
327
+
328
+ .d0-card-frame {
329
+ text-align: left;
330
+ font-weight: normal;
331
+ font-style: normal;
332
+ }
333
+
334
+
335
+ /*-------------------- */
336
+ /*- DYNAMIC ELEMENTS - */
337
+ /*-------------------- */
338
+
339
+ /* navboxes */
340
+
341
+ .navbox-item-label {
342
+ font-size: 10px;
343
+ width: 50px;
344
+ padding: 3px 0 3px 5px;
345
+ }
346
+
347
+ .ui-menu-item {
348
+ .glyphicon {
349
+ float: left;
350
+ font-size: 10px;
351
+ padding: 3px 0 3px 0px;
352
+ }
353
+ }
354
+
355
+
356
+ /*-------------------- */
357
+ /*- ONE-LINE VIEWS - */
358
+ /*-------------------- */
359
+
360
+ .closed-view.panel {
361
+ margin: 0;
362
+ width: 100%;
363
+ }
364
+ .closed-content {
365
+ table, tbody, tr, th, td, p, h1, h2, h3, h4, h5, h6, ul, li, pre, ol, div, span, a, blockquote, img {
366
+ font-size: 1em;
367
+ margin: 0 6px 0 0;
368
+ padding: 0;
369
+ border: 0;
370
+ }
371
+ a {
372
+ margin: 0;
373
+ }
374
+ img {
375
+ max-height: 1em;
376
+ width: auto;
377
+ }
378
+ }
379
+
380
+ .labeled-view {
381
+ padding: 5px 0;
382
+ max-width: 100%;
383
+ .labeled-content {
384
+ font-weight: bold;
385
+ .pointer-list,
386
+ .pointer-item,
387
+ .search-result-list,
388
+ .search-result-item {
389
+ font-size: 1em;
390
+ padding: 0;
391
+ text-indent: 0;
392
+ }
393
+ }
394
+ }
395
+
396
+ /*-------------------- */
397
+ /*- EDIT INTERFACE - */
398
+ /*-------------------- */
399
+
400
+ textarea,
401
+ .content-editor > input[type=text],
402
+ .content-editor > input[type=password],
403
+ .name-editor input {
404
+ width: 97.5%;
405
+ }
406
+ /* width + padding = 99.5%, which leaves 0.5% for the borders. This is imprecise, but borders can't be specified as a percentage */
407
+
408
+ textarea {
409
+ max-height: 500px;
410
+ }
411
+ .name-editor.known-name input {
412
+ border: 3px solid $red; /* NOTGREY - red for warning */
413
+ }
414
+ .name-messages {
415
+ font-style: italic;
416
+ background: $d-yellow-1; /* NOTGREY - yellow for highlighting */
417
+ }
418
+
419
+ /* -- template-editor (editing template rule inclusions inline) -- */
420
+
421
+ .template-editor-main {
422
+ width: 85%;
423
+ }
424
+ .template-editor-left,
425
+ .template-editor-right {
426
+ width: 5%;
427
+ text-align: center;
428
+ font-size: 3em;
429
+ line-height: 2em;
430
+ white-space: nowrap;
431
+ }
432
+
433
+ .pointer-list-editor {
434
+ margin: 0px;
435
+ padding: 0px;
436
+ li {
437
+ list-style: none;
438
+ white-space: nowrap;
439
+ }
440
+
441
+ .input-group-btn {
442
+ .btn {
443
+ border-bottom-width: 1px;
444
+ }
445
+ }
446
+
447
+ ._pointer-item-add {
448
+ margin-top: 10px;
449
+ }
450
+
451
+ .input-group-addon.handle {
452
+ padding-left: 1px;
453
+ padding-right: 1px;
454
+
455
+ .glyphicon-option-vertical.left {
456
+ margin-right: -7px;
457
+ }
458
+ .glyphicon-option-vertical.right {
459
+ margin-left: -7px;
460
+ }
461
+ }
462
+ }
463
+
464
+ ._filter-widget {
465
+ .input-group.sort-input-group, ._filter-container > .input-group {
466
+ width: auto !important;
467
+ }
468
+ select {
469
+ min-width: 30%;
470
+ max-width: 100%;
471
+ }
472
+ }
473
+
474
+ ._filtering ._filterable {
475
+ cursor: pointer;
476
+ &:hover {
477
+ background-color: #fafafa;
478
+ }
479
+ }
480
+ ._filter-link {
481
+ cursor: pointer;
482
+ }
483
+
484
+ .checkbox-list-item {
485
+ > .checkbox-side {
486
+ width: 32px;
487
+ min-width: 32px;
488
+ }
489
+ > .item-view-side {
490
+ width: 100%;
491
+ max-width: 100%;
492
+ overflow: hidden;
493
+ }
494
+ }
495
+
496
+ .new-account-link {
497
+ text-align: center;
498
+ }
499
+
500
+ .form-group .signup-link {
501
+ display: inline;
502
+ }
503
+
504
+ /* links to create missing cards */
505
+
506
+ a.unknown-link {
507
+ color: $text-muted;
508
+ font-variant: small-caps;
509
+ &:hover {
510
+ color: $primary;
511
+ }
512
+ }
513
+
514
+ /*-------------------- */
515
+ /*- Lists - */
516
+ /*-------------------- */
517
+
518
+ .pointer-radio-list, .filtered-list-review {
519
+ list-style-type: none;
520
+ }
521
+
522
+ /*-------------------- */
523
+ /*- SEARCH & POINTER - */
524
+ /*-------------------- */
525
+
526
+
527
+ div.pointer-list,
528
+ div.search-result-list {
529
+ list-style: none;
530
+ padding: 5px 0;
531
+ margin: 0;
532
+ .closed-view > .d0-card-frame {
533
+ margin-bottom: 0;
534
+ }
535
+ }
536
+ div.pointer-list .pointer-item,
537
+ div.search-result-list .search-result-item {
538
+ margin: 0;
539
+ }
540
+ .search-result-item.item-link,
541
+ .pointer-item.item-link,
542
+ .search-result-item.item-name,
543
+ .pointer-item.item-name {
544
+ text-indent: -15px;
545
+ padding-left: 15px;
546
+ }
547
+
548
+ ul.pointer {
549
+ margin: 0px;
550
+ padding: 0px;
551
+ }
552
+
553
+ /*-------------------- */
554
+ /*- HISTORY - */
555
+ /*-------------------- */
556
+
557
+ $diff-green: #41ad41;
558
+ $diff-red: #ff5050;
559
+ $diff-red-bg: lighten($diff-red, 30%);
560
+ $diff-green-bg: lighten($diff-green, 50%);
561
+
562
+ .history-slot {
563
+ overflow: hidden;
564
+ clear: both;
565
+ }
566
+
567
+ .deleted-mark {
568
+ color: $diff-red;
569
+ }
570
+
571
+ .added-mark {
572
+ color: $diff-green;
573
+ }
574
+
575
+ .diff-deleted {
576
+ text-decoration: line-through;
577
+ color: $diff-red;
578
+ background: $diff-red-bg;
579
+ img {
580
+ border: 2px solid $diff-red;
581
+ }
582
+ }
583
+ .diff-added {
584
+ color: $diff-green;
585
+ background: $diff-green-bg;
586
+ text-decoration: none;
587
+ img {
588
+ margin: 0px 4px 0px 4px;
589
+ border: 2px solid $diff-green;
590
+ }
591
+ }
592
+
593
+ ul.action-list {
594
+ list-style-type: none;
595
+ padding-left: 15px;
596
+ li {
597
+ border: 1px solid $border-color;
598
+ }
599
+ li:before {
600
+ font-family: 'Material Icons';
601
+ font-weight: normal;
602
+ font-style: normal;
603
+ display: inline-block;
604
+ line-height: 1;
605
+ text-transform: none;
606
+ letter-spacing: normal;
607
+ word-wrap: normal;
608
+ white-space: nowrap;
609
+ direction: ltr;
610
+ -webkit-font-smoothing: antialiased;
611
+ text-rendering: optimizeLegibility;
612
+ -moz-osx-font-smoothing: grayscale;
613
+ font-feature-settings: 'liga';
614
+
615
+
616
+ float: left;
617
+ margin-top: 8px;
618
+ margin-left: -2rem;
619
+ font-size: 120%;
620
+ padding-left: 4px;
621
+ max-height: 30px;
622
+ }
623
+
624
+ li.update:before {
625
+ content: "edit";
626
+ color: $gray-600;
627
+ }
628
+
629
+ li.create:before {
630
+ content: "add_circle";
631
+ color: $diff-green;
632
+
633
+ }
634
+
635
+ li.delete:before {
636
+ content: "remove_circle";
637
+ color: $diff-red;
638
+ }
639
+
640
+ li.draft:before {
641
+ content: "build";
642
+ color: $gray-600;
643
+ }
644
+ }
645
+
646
+
647
+ /*-------------------- */
648
+ /*- ERRORS / NOTICES - */
649
+ /*-------------------- */
650
+
651
+ /* FIXME - following should be consolidated / simplified */
652
+
653
+ .exception p {
654
+ margin: 15px;
655
+ }
656
+
657
+ .card-notice {
658
+ background: $white;
659
+ font-weight: bold;
660
+ font-style: italic;
661
+ text-align: center;
662
+ margin: 0 0 4px 0;
663
+
664
+ .card-error-msg {
665
+ text-align: left;
666
+ }
667
+ }
668
+
669
+ #credit, /* these are both deprecated */
670
+ .flash-notice {
671
+ color: #333;
672
+ font-size: 1.1em;
673
+ background: $white;
674
+ border: 1px solid $gray-600;
675
+ margin-bottom: 15px;
676
+ padding: 5px;
677
+ text-align: center;
678
+ }
679
+
680
+ .conflict-view {
681
+ text-align: left;
682
+ border: 1px solid $gray-400;
683
+ padding: 10px;
684
+ margin-top: 12px;
685
+ }
686
+
687
+
688
+ /*-------------------------- */
689
+ /*- KEY DEFAULT CONTENT - */
690
+ /*-------------------------- */
691
+
692
+ .SELF-home-original.d0-card-content {
693
+ ul {
694
+ list-style-type: none;
695
+ margin: 1em;
696
+ padding: 0;
697
+ }
698
+ li {
699
+ padding: .8em;
700
+ margin: 0;
701
+ background: $gray-300;
702
+ }
703
+ li:nth-child(even) {
704
+ background: $gray-400;
705
+ }
706
+ aside {
707
+ float: right;
708
+ border: 1px solid $gray-600;
709
+ background: white;
710
+ width: 33%;
711
+ padding: 1em;
712
+ margin: 36px 16px 2px 5px;
713
+ overflow: auto;
714
+ border-radius: 18px;
715
+ -moz-border-radius: 18px;
716
+ text-align: center;
717
+ h2 {
718
+ font-size: .9em;
719
+ padding: 0;
720
+ margin: 5px;
721
+ }
722
+ p {
723
+ font-size: .8em;
724
+ }
725
+ }
726
+ }
727
+
728
+
729
+ .SELF-wagneer_menu.d0-card-content {
730
+ > p {
731
+ margin-left: 6%;
732
+ text-indent: -6%;
733
+ }
734
+ }
735
+
736
+
737
+
738
+ /*-------------------------- */
739
+ /*- SETS, SETTINGS, RULES - */
740
+ /*-------------------------- */
741
+
742
+
743
+
744
+ .setting-klass,
745
+ .rule-setting {
746
+ font-weight: bold;
747
+ }
748
+
749
+ .rule-set {
750
+ white-space: nowrap;
751
+ }
752
+
753
+ .closed-rule {
754
+ height: 30px;
755
+ .rule-content {
756
+ width: 350px;
757
+ }
758
+ }
759
+
760
+ .rule-content-container {
761
+ max-width: 350px;
762
+ overflow: hidden;
763
+ text-overflow: ellipsis;
764
+ line-height: inherit;
765
+ background: inherit;
766
+ white-space: nowrap;
767
+ }
768
+ .rule-content-container {
769
+ .closed-content,
770
+ .closed-content .pointer-list,
771
+ .closed-content .search-list {
772
+ margin: 0;
773
+ }
774
+ }
775
+ .rule-setting {
776
+ padding-top: 4px;
777
+ }
778
+ .open-rule > .rule-setting {
779
+ width: 28%;
780
+ float: left;
781
+ }
782
+ .open-rule .d0-card-body {
783
+ clear: both;
784
+ }
785
+ .open-rule .rule-instruction {
786
+ float: right;
787
+ text-align: left;
788
+ max-width: 68%;
789
+ }
790
+ .edit-rule,
791
+ .set-list{
792
+ .set-editor {
793
+ ul {
794
+ list-style-type: none;
795
+ }
796
+ .current-set-label {
797
+ font-weight: bold;
798
+ }
799
+ }
800
+ .edit-button-area {
801
+ clear: both;
802
+ padding-top: 5px;
803
+ }
804
+ }
805
+ .attention {
806
+ border: 3px solid red;
807
+ }
808
+
809
+ .rule-delete-section {
810
+ float: right;
811
+ }
812
+
813
+
814
+ a.setting-link {
815
+ font-style: italic;
816
+ margin-left: 2%;
817
+ font-weight: normal;
818
+ color: $black;
819
+ white-space: nowrap;
820
+ }
821
+ h2.set-label {
822
+ padding-bottom: 10px;
823
+ }
824
+
825
+ .TYPE_PLUS_RIGHT-user-Xfollow .tab-pane {
826
+ margin-top: 15px;
827
+ }
828
+
829
+ /*------- permissions ------------------*/
830
+
831
+ .perm-editor {
832
+ margin-left: 40px;
833
+ }
834
+
835
+ .perm-section {
836
+ margin-bottom: 20px;
837
+ }
838
+ .perm-section h5 {
839
+ margin: 0 0 10px 0;
840
+ }
841
+
842
+ /*-------------------------- */
843
+ /*- MISCELLANEOUS - */
844
+ /*-------------------------- */
845
+
846
+ .ui-menu-icons .ui-menu-item a {
847
+ padding-left: 0;
848
+ }
849
+
850
+ .ui-icon {
851
+ background-image: url([[/assets/card-mod-style/jquery-ui-smoothness/ui-icons_454545_256x240.png]])
852
+ }
853
+
854
+ /* note said this is o non-ie browsers do better with image floats. looks over-specified.
855
+ html>body .open-view {
856
+ width: auto;
857
+ }
858
+ */
859
+
860
+ /* the following classes are here because they're scheduled for deprecation */
861
+ .faint {
862
+ color: $gray-400;
863
+ }
864
+ .VIEW-type {
865
+ font-style: italic;
866
+ font-size: .85em;
867
+ }
868
+
869
+ .RIGHT-Xperformance_log.open-view {
870
+ font-size: 12px;
871
+ .panel-group {
872
+ margin-bottom: 0;
873
+ }
874
+ .panel-body {
875
+ padding: 0px 0px 0px 15px;
876
+ }
877
+ .panel-title {
878
+ font-size: 14px;
879
+ }
880
+ }
881
+
882
+ a.external-link {
883
+ // color: $warning;
884
+ &:after {
885
+ content: "\f08e";
886
+ right: -2px;
887
+ position: relative;
888
+ bottom: 4px;
889
+ font-family: fontAwesome;
890
+ font-size: 8px;
891
+ text-decoration: none !important;
892
+ display: inline;
893
+ }
894
+ }
895
+
896
+ a.external-link,
897
+ .closed-content a.external-link {
898
+ padding-right: 2px !important;
899
+ }
900
+
901
+ /*-------------------------- */
902
+ /*- Overlay - */
903
+ /*-------------------------- */
904
+
905
+ .overlay-container {
906
+ position: relative;
907
+ }
908
+
909
+ .d0-card-overlay {
910
+ position: absolute;
911
+ width: 100%;
912
+ height: 100%;
913
+ z-index: 10;
914
+
915
+ > .d0-card-frame {
916
+ height: 100%;
917
+ width: 100%;
918
+
919
+ > .d0-card-header {
920
+ padding: 0.25rem 0.25rem 0.25rem 1.25rem;
921
+ .title {
922
+ font-weight: bold;
923
+ text-transform: capitalize;
924
+ }
925
+ .card-title {
926
+ margin-bottom: 0;
927
+ }
928
+ }
929
+ }
930
+ }
931
+
932
+ ._prototype {
933
+ display: none!important;
934
+ }
935
+
936
+ ._filter_container .input-group-btn .btn {
937
+ height: 100%;
938
+ }
939
+
940
+
941
+ // Editor
942
+ .w-50px {
943
+ width: 50px;
944
+ }
945
+
946
+ .w-75px {
947
+ width: 75px;
948
+ }
949
+
950
+ a.bridge-link, a.edit-link {
951
+ color: $text-muted;
952
+ }
953
+
954
+ // Bridge
955
+ ._modal-stack {
956
+ z-index: 1010;
957
+ }
958
+
959
+ .modal-header .card-title {
960
+ margin-bottom: 0;
961
+ }
962
+
963
+ .modal-dialog.no-gaps > .modal-content {
964
+ > .modal-body {
965
+ padding: 0;
966
+ }
967
+ > .modal-header > nav > ol.breadcrumb {
968
+ margin-bottom: 0;
969
+ padding: 0.2rem 0.3rem;
970
+ }
971
+ }
972
+
973
+ $bridge-line-color: $border-color;
974
+
975
+ .bridge-sidebar {
976
+ background-color: darken($body-bg, 15%);
977
+ padding-left: 0;
978
+ padding-right: 0;
979
+ min-height: calc(100vh - 90px);
980
+
981
+ .guide-text {
982
+ padding: 15px;
983
+ background-color: $body-bg;
984
+ }
985
+ }
986
+
987
+ .bg-body {
988
+ background-color: $body-bg !important;
989
+ }
990
+
991
+ .bridge-main {
992
+ border-right: 1px solid $bridge-line-color;
993
+ padding-left: 0;
994
+ padding-right: 0;
995
+ > ._overlay-container-placeholder > .bridge-view {
996
+ padding-top: 10px;
997
+ padding-left: 15px;
998
+ padding-right: 15px;
999
+ }
1000
+ > .overlay-container > .bridge-view {
1001
+ padding-top: 0px;
1002
+ }
1003
+ }
1004
+
1005
+ .overlay-container {
1006
+ .card-slot.overlay_rule-view {
1007
+ border-left: 5px solid $primary;
1008
+ }
1009
+
1010
+ .d0-card-overlay
1011
+ > .d0-card-frame
1012
+ > .d0-card-content {
1013
+ overflow-y: scroll;
1014
+ height: 100%;
1015
+ padding: 1rem 1.5rem; // px-4
1016
+ }
1017
+ }
1018
+
1019
+ .d0-card-overlay > .d0-card-frame > .d0-card-header {
1020
+ border-bottom: 1px solid $bridge-line-color;
1021
+ padding-left: -15px!important;
1022
+ padding-right: -15px!important;
1023
+ }
1024
+
1025
+ .bridge-pills {
1026
+ .help-text {
1027
+ font-size: 0.8rem;
1028
+ }
1029
+ > .nav-item {
1030
+ padding: 0;
1031
+ > a {
1032
+ color: inherit
1033
+ }
1034
+ background-color: $body-bg;
1035
+ border: 1px solid $nav-tabs-border-color;
1036
+ border-left: 3px solid $nav-tabs-border-color;
1037
+ margin-bottom: -1px;
1038
+
1039
+ &:hover, &.active, &:focus {
1040
+ border-left-color: $nav-pills-link-active-bg;
1041
+ }
1042
+ }
1043
+ }
1044
+
1045
+ .rule-item {
1046
+ h5 {
1047
+ font-weight: bold;
1048
+ }
1049
+ background-color: $list-group-bg;
1050
+ border: 1px solid $list-group-border-color;
1051
+ border-left: 5px solid $list-group-border-color;
1052
+ margin-bottom: -1px;
1053
+ padding: 5px;
1054
+ &:hover, &.active {
1055
+ border-left-color: $list-group-active-bg;
1056
+ }
1057
+ }
1058
+
1059
+ .btn-reduced-padding {
1060
+ padding: 0.1rem 0.2rem;
1061
+ }
1062
+
1063
+ // reduce bottom margins
1064
+ .card-slot.set-info {
1065
+ .form-group {
1066
+ margin-bottom: 0.3rem;
1067
+ label {
1068
+ margin-bottom: 0.2rem;
1069
+ }
1070
+ }
1071
+ p {
1072
+ margin-bottom: 0.5rem;
1073
+ }
1074
+ }
1075
+
1076
+
1077
+ .nav-pills .nav-link.active .help-text {
1078
+ color: lighten($primary, 40%);
1079
+ }
1080
+
1081
+ .overlay-container {
1082
+ height: 100%;
1083
+ overflow: auto;
1084
+ }
1085
+
1086
+ .help-text.rule-instruction > div p:last-child {
1087
+ margin-bottom: 0;
1088
+ }
1089
+
1090
+ .bridge {
1091
+ .perm-editor {
1092
+ margin-left: 0;
1093
+ }
1094
+
1095
+ .set-editor {
1096
+ ul {
1097
+ background: $white;
1098
+ padding-left: 0;
1099
+ margin-left: 15px;
1100
+
1101
+ &:first-child {
1102
+ margin-left: 0;
1103
+ }
1104
+ }
1105
+ li.radio {
1106
+ padding: 10px 0px 0px 15px;
1107
+ border-left: 1px solid $bridge-line-color;
1108
+ border-top: 1px solid $bridge-line-color;
1109
+ margin-top: 10px;
1110
+ }
1111
+ }
1112
+
1113
+ .bridge-sidebar {
1114
+ .history_tab-view > div {
1115
+ margin: 0.5rem;
1116
+ }
1117
+ .d0-card-header-title > .card-title {
1118
+ font-size: 1rem;
1119
+ }
1120
+ .nav-link {
1121
+ padding: 0.5rem 0.5rem;
1122
+ }
1123
+ }
1124
+ }
1125
+
1126
+ .input-group-prepend._field-indicator .input-group-text {
1127
+ font-size: 1.3rem;
1128
+ line-height: 1;
1129
+ font-weight: bold;
1130
+ border-right: none;
1131
+ border-left: none;
1132
+ background: $input-bg;
1133
+ }
1134
+
1135
+ .input-group.show-prefix {
1136
+ border-left: 1px solid $input-border-color;
1137
+ > input {
1138
+ border-left: none;
1139
+ }
1140
+ }
1141
+
1142
+ .input-group.hide-prefix {
1143
+ border-left: 1px solid $input-border-color;
1144
+ > input {
1145
+ border-left: none;
1146
+ }
1147
+ > .input-group-prepend {
1148
+ margin-right: 0;
1149
+ > .input-group-text {
1150
+ display: none;
1151
+ }
1152
+ }
1153
+ }
1154
+
1155
+ .text-muted-link {
1156
+ color: $text-muted;
1157
+ }
1158
+
1159
+ ._template {
1160
+ display: none;
1161
+ }
1162
+
1163
+ .background-modal {
1164
+ position: fixed;
1165
+ top: 0;
1166
+ right: 0;
1167
+ bottom: 0;
1168
+ left: 0;
1169
+ z-index: 900;
1170
+ outline: 0;
1171
+ overflow-x: hidden;
1172
+ overflow-y: auto;
1173
+ }
1174
+
1175
+ // decko logo
1176
+
1177
+ [id^='svg-card-'] use{ // all cards
1178
+ fill: $primary;
1179
+ }
1180
+
1181
+ [id^='svg-card-']:nth-child(even) use { // even cards
1182
+ fill: $secondary;
1183
+ }
1184
+
1185
+ .act-summary {
1186
+ min-width: 27px;
1187
+ }
1188
+
1189
+ footer .separator {
1190
+ padding-left: 2px;
1191
+ padding-right: 2px;
1192
+ }
1193
+
1194
+ body.right-sidebar, body.left-sidebar, body.two-sidebar {
1195
+ article, #primary {
1196
+ margin: 0 1% 3em 1%;
1197
+ float: left;
1198
+ width: 67%;
1199
+ }
1200
+
1201
+ aside, #secondary {
1202
+ margin: 0 1% 3em 1%;
1203
+ float: right;
1204
+ width: 28%;
1205
+ }
1206
+
1207
+ footer {
1208
+ clear:both;
1209
+ text-align: center;
1210
+ padding: 1em;
1211
+ }
1212
+ }
1213
+
1214
+ @media print {
1215
+ article, #primary {
1216
+ width: 100%;
1217
+ float: none;
1218
+ margin: 0;
1219
+ }
1220
+
1221
+ aside, #secondary, footer {
1222
+ display: none;
1223
+ }
1224
+ }
1225
+
1226
+ .RIGHT-Xenabled_role.edit_inline-view .pointer-checkbox-list {
1227
+ #pointer-checkbox-anyone_signed_in {
1228
+ display: none;
1229
+ }
1230
+ }
1231
+
1232
+ .edit_inline-view.RIGHT-Xenabled_role .card-editor {
1233
+ padding-bottom: 0;
1234
+ }
1235
+
1236
+ .alert {
1237
+ &.guide {
1238
+ margin-left: 20px;
1239
+ width: 40%;
1240
+ }
1241
+ }
1242
+ .alert-heading.error {
1243
+ margin-bottom: 30px;
1244
+ }
1245
+
1246
+ .one-line {
1247
+ text-overflow: ellipsis;
1248
+ white-space: nowrap;
1249
+ overflow-x: hidden;
1250
+ }
1251
+
1252
+ .filter-section-icon {
1253
+ width: 25px;
1254
+ color: #6c757d;
1255
+ float: left;
1256
+ padding: 0.5rem;
1257
+ }
1258
+
1259
+ .tm-icon {
1260
+ color: #000;
1261
+ }