card-mod-style 0.14.2 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1288 +0,0 @@
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
- /* -- hidden info -- */
35
-
36
- .ui-loader,
37
- .card-notice,
38
- .new-current-revision-id,
39
- .editor .revision-navigation,
40
- .editor .autosave-alert,
41
- .hidden-alert,
42
- .btn._renamer-updater,
43
- ._rename-reference-confirm,
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. shark interface (sets, settings, rules)
314
- 2. eagle 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
- .one-line-pointer-list {
549
- div.pointer-item {
550
- display: inline-block
551
- }
552
- }
553
-
554
- ul.pointer {
555
- margin: 0px;
556
- padding: 0px;
557
- }
558
-
559
- /*-------------------- */
560
- /*- HISTORY - */
561
- /*-------------------- */
562
-
563
- $diff-green: #41ad41;
564
- $diff-red: #ff5050;
565
- $diff-red-bg: lighten($diff-red, 30%);
566
- $diff-green-bg: lighten($diff-green, 50%);
567
-
568
- .history-slot {
569
- overflow: hidden;
570
- clear: both;
571
- }
572
-
573
- .deleted-mark {
574
- color: $diff-red;
575
- }
576
-
577
- .added-mark {
578
- color: $diff-green;
579
- }
580
-
581
- .diff-deleted {
582
- text-decoration: line-through;
583
- color: $diff-red;
584
- background: $diff-red-bg;
585
- img {
586
- border: 2px solid $diff-red;
587
- }
588
- }
589
- .diff-added {
590
- color: $diff-green;
591
- background: $diff-green-bg;
592
- text-decoration: none;
593
- img {
594
- margin: 0px 4px 0px 4px;
595
- border: 2px solid $diff-green;
596
- }
597
- }
598
-
599
- ul.action-list {
600
- list-style-type: none;
601
- padding-left: 15px;
602
- li {
603
- border: 1px solid $border-color;
604
- }
605
- li:before {
606
- font-family: 'Material Icons';
607
- font-weight: normal;
608
- font-style: normal;
609
- display: inline-block;
610
- line-height: 1;
611
- text-transform: none;
612
- letter-spacing: normal;
613
- word-wrap: normal;
614
- white-space: nowrap;
615
- direction: ltr;
616
- -webkit-font-smoothing: antialiased;
617
- text-rendering: optimizeLegibility;
618
- -moz-osx-font-smoothing: grayscale;
619
- font-feature-settings: 'liga';
620
-
621
-
622
- float: left;
623
- margin-top: 8px;
624
- margin-left: -2rem;
625
- font-size: 120%;
626
- padding-left: 4px;
627
- max-height: 30px;
628
- }
629
-
630
- li.update:before {
631
- content: "edit";
632
- color: $gray-600;
633
- }
634
-
635
- li.create:before {
636
- content: "add_circle";
637
- color: $diff-green;
638
-
639
- }
640
-
641
- li.delete:before {
642
- content: "remove_circle";
643
- color: $diff-red;
644
- }
645
-
646
- li.draft:before {
647
- content: "build";
648
- color: $gray-600;
649
- }
650
- }
651
-
652
-
653
- /*-------------------- */
654
- /*- ERRORS / NOTICES - */
655
- /*-------------------- */
656
-
657
- /* FIXME - following should be consolidated / simplified */
658
-
659
- .exception p {
660
- margin: 15px;
661
- }
662
-
663
- .card-notice {
664
- background: $white;
665
- font-weight: bold;
666
- font-style: italic;
667
- text-align: center;
668
- margin: 0 0 4px 0;
669
-
670
- .card-error-msg {
671
- text-align: left;
672
- }
673
- }
674
-
675
- #credit, /* these are both deprecated */
676
- .flash-notice {
677
- color: #333;
678
- font-size: 1.1em;
679
- background: $white;
680
- border: 1px solid $gray-600;
681
- margin-bottom: 15px;
682
- padding: 5px;
683
- text-align: center;
684
- }
685
-
686
- .conflict-view {
687
- text-align: left;
688
- border: 1px solid $gray-400;
689
- padding: 10px;
690
- margin-top: 12px;
691
- }
692
-
693
-
694
- /*-------------------------- */
695
- /*- KEY DEFAULT CONTENT - */
696
- /*-------------------------- */
697
-
698
- .SELF-home-original.d0-card-content {
699
- ul {
700
- list-style-type: none;
701
- margin: 1em;
702
- padding: 0;
703
- }
704
- li {
705
- padding: .8em;
706
- margin: 0;
707
- background: $gray-300;
708
- }
709
- li:nth-child(even) {
710
- background: $gray-400;
711
- }
712
- aside {
713
- float: right;
714
- border: 1px solid $gray-600;
715
- background: white;
716
- width: 33%;
717
- padding: 1em;
718
- margin: 36px 16px 2px 5px;
719
- overflow: auto;
720
- border-radius: 18px;
721
- -moz-border-radius: 18px;
722
- text-align: center;
723
- h2 {
724
- font-size: .9em;
725
- padding: 0;
726
- margin: 5px;
727
- }
728
- p {
729
- font-size: .8em;
730
- }
731
- }
732
- }
733
-
734
- /*-------------------------- */
735
- /*- SETS, SETTINGS, RULES - */
736
- /*-------------------------- */
737
-
738
-
739
-
740
- .setting-klass,
741
- .rule-setting {
742
- font-weight: bold;
743
- }
744
-
745
- .rule-set {
746
- white-space: nowrap;
747
- }
748
-
749
- .closed-rule {
750
- height: 30px;
751
- .rule-content {
752
- width: 350px;
753
- }
754
- }
755
-
756
- .rule-content-container {
757
- max-width: 350px;
758
- overflow: hidden;
759
- text-overflow: ellipsis;
760
- line-height: inherit;
761
- background: inherit;
762
- white-space: nowrap;
763
- }
764
- .rule-content-container {
765
- .closed-content,
766
- .closed-content .pointer-list,
767
- .closed-content .search-list {
768
- margin: 0;
769
- }
770
- }
771
- .rule-setting {
772
- padding-top: 4px;
773
- }
774
- .open-rule > .rule-setting {
775
- width: 28%;
776
- float: left;
777
- }
778
- .open-rule .d0-card-body {
779
- clear: both;
780
- }
781
- .open-rule .rule-instruction {
782
- float: right;
783
- text-align: left;
784
- max-width: 68%;
785
- }
786
- .edit-rule,
787
- .set-list{
788
- .set-editor {
789
- ul {
790
- list-style-type: none;
791
- }
792
- .current-set-label {
793
- font-weight: bold;
794
- }
795
- }
796
- .edit-button-area {
797
- clear: both;
798
- padding-top: 5px;
799
- }
800
- }
801
- .attention {
802
- border: 3px solid red;
803
- }
804
-
805
- .rule-delete-section {
806
- float: right;
807
- }
808
-
809
-
810
- a.setting-link {
811
- font-style: italic;
812
- margin-left: 2%;
813
- font-weight: normal;
814
- color: $black;
815
- white-space: nowrap;
816
- }
817
- h2.set-label {
818
- padding-bottom: 10px;
819
- }
820
-
821
- .TYPE_PLUS_RIGHT-user-Xfollow .tab-pane {
822
- margin-top: 15px;
823
- }
824
-
825
- /*------- permissions ------------------*/
826
-
827
- .perm-editor {
828
- margin-left: 40px;
829
- }
830
-
831
- .perm-section {
832
- margin-bottom: 20px;
833
- }
834
- .perm-section h5 {
835
- margin: 0 0 10px 0;
836
- }
837
-
838
- /*-------------------------- */
839
- /*- MISCELLANEOUS - */
840
- /*-------------------------- */
841
-
842
- .ui-menu-icons .ui-menu-item a {
843
- padding-left: 0;
844
- }
845
-
846
- .ui-icon {
847
- background-image: url([[/mod/style/jquery-ui-smoothness/ui-icons_454545_256x240.png]])
848
- }
849
-
850
- /* note said this is o non-ie browsers do better with image floats. looks over-specified.
851
- html>body .open-view {
852
- width: auto;
853
- }
854
- */
855
-
856
- /* the following classes are here because they're scheduled for deprecation */
857
- .faint {
858
- color: $gray-400;
859
- }
860
- .VIEW-type {
861
- font-style: italic;
862
- font-size: .85em;
863
- }
864
-
865
- .RIGHT-Xperformance_log.open-view {
866
- font-size: 12px;
867
- .panel-group {
868
- margin-bottom: 0;
869
- }
870
- .panel-body {
871
- padding: 0px 0px 0px 15px;
872
- }
873
- .panel-title {
874
- font-size: 14px;
875
- }
876
- }
877
-
878
- a.external-link {
879
- // color: $warning;
880
- &:after {
881
- content: "\f360";
882
- font-weight: 900;
883
- right: -2px;
884
- position: relative;
885
- bottom: 4px;
886
- font-family: fontAwesome;
887
- font-size: 8px;
888
- text-decoration: none !important;
889
- display: inline;
890
- }
891
- }
892
-
893
- a.external-link,
894
- .closed-content a.external-link {
895
- padding-right: 2px !important;
896
- }
897
-
898
- /*-------------------------- */
899
- /*- Overlay - */
900
- /*-------------------------- */
901
-
902
- .overlay-container {
903
- position: relative;
904
- }
905
-
906
- .d0-card-overlay {
907
- position: absolute;
908
- width: 100%;
909
- height: 100%;
910
- z-index: 10;
911
-
912
- > .d0-card-frame {
913
- height: 100%;
914
- width: 100%;
915
-
916
- > .d0-card-header {
917
- padding: 0.25rem 0.25rem 0.25rem 1.25rem;
918
- .title {
919
- font-weight: bold;
920
- text-transform: capitalize;
921
- }
922
- .card-title {
923
- margin-bottom: 0;
924
- }
925
- }
926
- }
927
- }
928
-
929
- ._prototype {
930
- display: none!important;
931
- }
932
-
933
- ._filter_container .input-group-btn .btn {
934
- height: 100%;
935
- }
936
-
937
-
938
- // Editor
939
- .w-50px {
940
- width: 50px;
941
- }
942
-
943
- .w-75px {
944
- width: 75px;
945
- }
946
-
947
- a.bridge-link, a.edit-link {
948
- color: $text-muted;
949
- }
950
-
951
- // Bridge
952
- ._modal-stack {
953
- z-index: 1010;
954
- }
955
-
956
- .modal-header .card-title {
957
- margin-bottom: 0;
958
- }
959
-
960
- .modal-dialog.no-gaps > .modal-content {
961
- > .modal-body {
962
- padding: 0;
963
- }
964
- > .modal-header > nav > ol.breadcrumb {
965
- margin-bottom: 0;
966
- padding: 0.2rem 0.3rem;
967
- }
968
- }
969
-
970
- $bridge-line-color: $border-color;
971
-
972
- .bridge-sidebar {
973
- background-color: darken($body-bg, 15%);
974
- padding-left: 0;
975
- padding-right: 0;
976
- min-height: calc(100vh - 90px);
977
-
978
- .guide-text {
979
- padding: 15px;
980
- background-color: $body-bg;
981
- }
982
- }
983
-
984
- .bg-body {
985
- background-color: $body-bg !important;
986
- }
987
-
988
- .bridge-main {
989
- border-right: 1px solid $bridge-line-color;
990
- padding-left: 0;
991
- padding-right: 0;
992
- > ._overlay-container-placeholder > .bridge-view {
993
- padding-top: 10px;
994
- padding-left: 15px;
995
- padding-right: 15px;
996
- }
997
- > .overlay-container > .bridge-view {
998
- padding-top: 0px;
999
- }
1000
- }
1001
-
1002
- .overlay-container {
1003
- .card-slot.overlay_rule-view {
1004
- border-left: 5px solid $primary;
1005
- }
1006
-
1007
- .d0-card-overlay
1008
- > .d0-card-frame
1009
- > .d0-card-content {
1010
- overflow-y: scroll;
1011
- height: calc(100% - 2em);
1012
- padding: 1rem 1.5rem; // px-4
1013
- }
1014
- }
1015
-
1016
- .d0-card-overlay > .d0-card-frame > .d0-card-header {
1017
- border-bottom: 1px solid $bridge-line-color;
1018
- padding-left: -15px!important;
1019
- padding-right: -15px!important;
1020
- }
1021
-
1022
- .bridge-pills {
1023
- .help-text {
1024
- font-size: 0.8rem;
1025
- }
1026
- > .nav-item {
1027
- padding: 0;
1028
- > a {
1029
- color: inherit
1030
- }
1031
- background-color: $body-bg;
1032
- border: 1px solid $nav-tabs-border-color;
1033
- border-left: 3px solid $nav-tabs-border-color;
1034
- margin-bottom: -1px;
1035
-
1036
- &:hover, &.active, &:focus {
1037
- border-left-color: $nav-pills-link-active-bg;
1038
- }
1039
- }
1040
- }
1041
-
1042
- .rule-item {
1043
- h5 {
1044
- font-weight: bold;
1045
- }
1046
- background-color: $list-group-bg;
1047
- border: 1px solid $list-group-border-color;
1048
- border-left: 5px solid $list-group-border-color;
1049
- margin-bottom: -1px;
1050
- padding: 5px;
1051
- &:hover, &.active {
1052
- border-left-color: $list-group-active-bg;
1053
- }
1054
- }
1055
-
1056
- .btn-reduced-padding {
1057
- padding: 0.1rem 0.2rem;
1058
- }
1059
-
1060
- // reduce bottom margins
1061
- .card-slot.set-info {
1062
- .form-group {
1063
- margin-bottom: 0.3rem;
1064
- label {
1065
- margin-bottom: 0.2rem;
1066
- }
1067
- }
1068
- p {
1069
- margin-bottom: 0.5rem;
1070
- }
1071
- }
1072
-
1073
-
1074
- .nav-pills .nav-link.active .help-text {
1075
- color: lighten($primary, 40%);
1076
- }
1077
-
1078
- .overlay-container {
1079
- height: 100%;
1080
- overflow: auto;
1081
- }
1082
-
1083
- .help-text.rule-instruction > div p:last-child {
1084
- margin-bottom: 0;
1085
- }
1086
-
1087
- .bridge {
1088
- .perm-editor {
1089
- margin-left: 0;
1090
- }
1091
-
1092
- .set-editor {
1093
- ul {
1094
- background: $white;
1095
- padding-left: 0;
1096
- margin-left: 15px;
1097
-
1098
- &:first-child {
1099
- margin-left: 0;
1100
- }
1101
- }
1102
- li.radio {
1103
- padding: 10px 0px 0px 15px;
1104
- border-left: 1px solid $bridge-line-color;
1105
- border-top: 1px solid $bridge-line-color;
1106
- margin-top: 10px;
1107
- }
1108
- }
1109
-
1110
- .bridge-sidebar {
1111
- .history_tab-view > div {
1112
- margin: 0.5rem;
1113
- }
1114
- .d0-card-header-title > .card-title {
1115
- font-size: 1rem;
1116
- }
1117
- .nav-link {
1118
- padding: 0.5rem 0.5rem;
1119
- }
1120
- }
1121
- }
1122
-
1123
- .input-group-prepend._field-indicator .input-group-text {
1124
- font-size: 1.3rem;
1125
- line-height: 1;
1126
- font-weight: bold;
1127
- border-right: none;
1128
- border-left: none;
1129
- background: $input-bg;
1130
- }
1131
-
1132
- .input-group.show-prefix {
1133
- border-left: 1px solid $input-border-color;
1134
- > input {
1135
- border-left: none;
1136
- }
1137
- }
1138
-
1139
- .input-group.hide-prefix {
1140
- border-left: 1px solid $input-border-color;
1141
- > input {
1142
- border-left: none;
1143
- }
1144
- > .input-group-prepend {
1145
- margin-right: 0;
1146
- > .input-group-text {
1147
- display: none;
1148
- }
1149
- }
1150
- }
1151
-
1152
- .text-muted-link {
1153
- color: $text-muted;
1154
- }
1155
-
1156
- ._template {
1157
- display: none;
1158
- }
1159
-
1160
- .background-modal {
1161
- position: fixed;
1162
- top: 0;
1163
- right: 0;
1164
- bottom: 0;
1165
- left: 0;
1166
- z-index: 900;
1167
- outline: 0;
1168
- overflow-x: hidden;
1169
- overflow-y: auto;
1170
- }
1171
-
1172
- // decko logo
1173
-
1174
- [id^='svg-card-'] use{ // all cards
1175
- fill: $primary;
1176
- }
1177
-
1178
- [id^='svg-card-']:nth-child(even) use { // even cards
1179
- fill: $secondary;
1180
- }
1181
-
1182
- .act-summary {
1183
- min-width: 27px;
1184
- }
1185
-
1186
- footer .separator {
1187
- padding-left: 2px;
1188
- padding-right: 2px;
1189
- }
1190
-
1191
- body.right-sidebar, body.left-sidebar, body.two-sidebar {
1192
- article, #primary {
1193
- margin: 0 1% 3em 1%;
1194
- float: left;
1195
- width: 67%;
1196
- }
1197
-
1198
- aside, #secondary {
1199
- margin: 0 1% 3em 1%;
1200
- float: right;
1201
- width: 28%;
1202
- }
1203
-
1204
- footer {
1205
- clear:both;
1206
- text-align: center;
1207
- padding: 1em;
1208
- }
1209
- }
1210
-
1211
- @media print {
1212
- article, #primary {
1213
- width: 100%;
1214
- float: none;
1215
- margin: 0;
1216
- }
1217
-
1218
- aside, #secondary, footer {
1219
- display: none;
1220
- }
1221
- }
1222
-
1223
- .RIGHT-Xenabled_role.edit_inline-view .pointer-checkbox-list {
1224
- #pointer-checkbox-anyone_signed_in {
1225
- display: none;
1226
- }
1227
- }
1228
-
1229
- .edit_inline-view.RIGHT-Xenabled_role .card-editor {
1230
- padding-bottom: 0;
1231
- }
1232
-
1233
- .alert {
1234
- &.guide {
1235
- margin-left: 20px;
1236
- width: 40%;
1237
- }
1238
- }
1239
- .alert-heading.error {
1240
- margin-bottom: 30px;
1241
- }
1242
-
1243
- .one-line {
1244
- text-overflow: ellipsis;
1245
- white-space: nowrap;
1246
- overflow-x: hidden;
1247
- }
1248
-
1249
- .filter-section-icon {
1250
- width: 25px;
1251
- color: #6c757d;
1252
- float: left;
1253
- padding: 0.5rem;
1254
- }
1255
-
1256
- .tm-icon {
1257
- color: #000;
1258
- }
1259
-
1260
- /*----- move to api key mod ------*/
1261
-
1262
- .api-key-core {
1263
- display: flex;
1264
- width: 100%;
1265
- justify-content: space-between;
1266
- padding: 1em;
1267
- .current-api-key {
1268
- width: 50%;
1269
- input {
1270
- width: 100%;
1271
- font-family: monospace;
1272
- font-size: 1.3rem;
1273
- border: 1px solid transparent;
1274
- box-shadow: none;
1275
- background-color: lightyellow;
1276
- }
1277
- }
1278
- .current-api-key:hover input {
1279
- border: 1px solid #DDD;
1280
- }
1281
- }
1282
-
1283
- .button-form-group {
1284
- display: flex
1285
- }
1286
- .rename-button-form-group .btn {
1287
- margin-right: 1rem;
1288
- }