PluginProbe
Code Snippets / 3.7.0
Code Snippets v3.7.0
3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 3.0.1 All 64 releases
code-snippets / css / settings.scss

settings.scss in Code Snippets 3.7.0, at css/settings.scss

130 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'common/codemirror';
2
3 $sections: general, editor, debug;
4
5 p.submit {
6 display: flex;
7 justify-content: space-between;
8 }
9
10 .settings-section,
11 p.submit {
12 max-inline-size: 1020px;
13 }
14
15 .nav-tab-wrapper {
16 margin-block-end: 1em;
17 }
18
19 input[type="number"]="number""] {
20 inline-size: 4em;
21 }
22
23 .CodeMirror {
24 max-inline-size: 800px;
25 inline-size: 100%;
26 padding-inline-end: 1em;
27 }
28
29 .CodeMirror-sizer::before {
30 content: '<?php';
31 }
32
33 body.no-js {
34 .nav-tab-wrapper {
35 display: none;
36 }
37
38 .settings-section {
39 display: block !important;
40 }
41 }
42
43 body.js {
44 .settings-section-title {
45 border: 0;
46 clip: rect(1px, 1px, 1px, 1px);
47 clip-path: inset(50%);
48 block-size: 1px;
49 margin: -1px;
50 overflow: hidden;
51 padding: 0;
52 position: absolute;
53 inline-size: 1px;
54 word-wrap: normal !important;
55 }
56
57 .nav-tab:not(.nav-tab-active) {
58 cursor: pointer;
59 }
60
61 .settings-section {
62 display: none;
63 }
64
65 @each $section in $sections {
66 .wrap[data-active-tab=#{$section}]=#{$section}] .#{$section}-settings {
67 display: block;
68 }
69 }
70 }
71
72 .license-status {
73 display: inline-block;
74 padding-inline-end: 2em;
75 line-height: 2;
76 color: #aaa;
77 }
78
79 .license-status-valid {
80 color: #2ecc40;
81 }
82
83 .license-status-expired {
84 color: #dc3232;
85 }
86
87 .wrap[data-active-tab="license"]="license""] .submit {
88 display: none;
89 }
90
91 #code_snippets_remove_license {
92 color: #b32d2e;
93 border-color: #b32d2e;
94 }
95
96 #code_snippets_license_key {
97 font-family: Consolas, Monaco, monospace;
98 }
99
100 #cloud_token {
101 max-inline-size: 450px;
102 inline-size: 90vw;
103 }
104
105 .cloud-message {
106 inline-size: fit-content;
107 padding: 5px;
108 border-radius: 5px;
109 font-weight: 600;
110 }
111
112 .cloud-error {
113 background: #e53935;
114 color: #ffebee;
115 }
116
117 .cloud-success {
118 background: #43a047;
119 color: #e8f5e9;
120 }
121
122 .refresh-success {
123 background: #2271b1;
124 color: #ffeb3b;
125 }
126
127 .cloud-settings tbody tr:nth-child(n+5) {
128 display: none;
129 }
130