| 1 |
@import 'common/editor'; |
| 2 |
|
| 3 |
$sections: general, editor, license; |
| 4 |
|
| 5 |
p.submit { |
| 6 |
max-width: 1020px; |
| 7 |
|
| 8 |
.button-secondary { |
| 9 |
float: right; |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
.nav-tab-wrapper { |
| 14 |
margin-bottom: 1em; |
| 15 |
} |
| 16 |
|
| 17 |
input[type=number]=number] { |
| 18 |
width: 4em; |
| 19 |
} |
| 20 |
|
| 21 |
.CodeMirror { |
| 22 |
max-width: 800px; |
| 23 |
width: 100%; |
| 24 |
padding-right: 1em; |
| 25 |
} |
| 26 |
|
| 27 |
.CodeMirror-sizer::before { |
| 28 |
content: '<?php'; |
| 29 |
} |
| 30 |
|
| 31 |
body.no-js { |
| 32 |
.nav-tab-wrapper { |
| 33 |
display: none; |
| 34 |
} |
| 35 |
|
| 36 |
.settings-section { |
| 37 |
display: block !important; |
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
body.js { |
| 42 |
|
| 43 |
.settings-section-title { |
| 44 |
border: 0; |
| 45 |
clip: rect(1px, 1px, 1px, 1px); |
| 46 |
clip-path: inset(50%); |
| 47 |
height: 1px; |
| 48 |
margin: -1px; |
| 49 |
overflow: hidden; |
| 50 |
padding: 0; |
| 51 |
position: absolute; |
| 52 |
width: 1px; |
| 53 |
word-wrap: normal !important; |
| 54 |
} |
| 55 |
|
| 56 |
.nav-tab:not(.nav-tab-active) { |
| 57 |
cursor: pointer; |
| 58 |
} |
| 59 |
|
| 60 |
.settings-section { |
| 61 |
display: none; |
| 62 |
} |
| 63 |
|
| 64 |
@each $section in $sections { |
| 65 |
.wrap[data-active-tab=#{$section}]=#{$section}] .#{$section}-settings { |
| 66 |
display: block; |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
|