_partials
1 year ago
about.scss
1 year ago
admin-compat.scss
1 year ago
number-spinner.scss
1 year ago
post-editor.scss
1 year ago
views.scss
1 year ago
admin-compat.scss
167 lines
| 1 | /** |
| 2 | * Compatibility settings tab |
| 3 | */ |
| 4 | |
| 5 | /** |
| 6 | * Basic structure |
| 7 | */ |
| 8 | div.row { |
| 9 | display: table-row; |
| 10 | |
| 11 | > div { |
| 12 | display: table-cell; |
| 13 | |
| 14 | &:first-child { |
| 15 | width: 200px; |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | &:not(:last-child) > div { |
| 20 | padding-bottom: 0.5em; |
| 21 | } |
| 22 | |
| 23 | p { |
| 24 | margin-bottom: 0.5em; |
| 25 | } |
| 26 | |
| 27 | &.header { |
| 28 | p { |
| 29 | margin-bottom: 1em; |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Elements |
| 36 | */ |
| 37 | .wrap.wpmtst { |
| 38 | h2 { |
| 39 | margin: 2em 0 1em; |
| 40 | |
| 41 | &.nav-tab-wrapper { |
| 42 | margin-top: 6px; |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | input { |
| 48 | &.element { |
| 49 | width: 15em; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Behavior |
| 55 | */ |
| 56 | .hidden { |
| 57 | display: none; |
| 58 | } |
| 59 | |
| 60 | // Dependent inputs are initially hidden. |
| 61 | [data-sub]] { |
| 62 | display: none; |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Common scenarios table |
| 67 | */ |
| 68 | div.scenarios { |
| 69 | div.row { |
| 70 | border: 1px solid #DDD; |
| 71 | |
| 72 | > div { |
| 73 | padding: 1em; |
| 74 | |
| 75 | &:first-child { |
| 76 | width: 35%; |
| 77 | border-right: 1px dotted #DDD; |
| 78 | } |
| 79 | &:last-child { |
| 80 | width: 30%; |
| 81 | border-left: 1px dotted #DDD; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | p { |
| 86 | font-size: 14px; |
| 87 | margin: 0; |
| 88 | &:not(:last-child) { |
| 89 | margin-bottom: 1em; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | &.header { |
| 94 | > div { |
| 95 | font-weight: 600; |
| 96 | padding: 0.5em 1em; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Settings table |
| 105 | */ |
| 106 | div.row { |
| 107 | |
| 108 | &:not(:last-child) > div:nth-child(2) { |
| 109 | padding-bottom: 0.5em; |
| 110 | } |
| 111 | |
| 112 | > div { |
| 113 | |
| 114 | &:first-child { |
| 115 | } |
| 116 | |
| 117 | &.radio-sub { |
| 118 | label { |
| 119 | text-indent: 24px; |
| 120 | width: 200px; |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | p { |
| 126 | &.about { |
| 127 | display: inline-block; |
| 128 | vertical-align: middle; |
| 129 | |
| 130 | &.adjacent { |
| 131 | margin-left: 0.5em; |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | &.description { |
| 136 | display: inline-block; |
| 137 | font-size: 14px; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | label.current { |
| 142 | font-weight: 600; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Lazy load class name pairs |
| 148 | */ |
| 149 | .pair-actions { |
| 150 | margin-top: 10px; |
| 151 | } |
| 152 | |
| 153 | .pair-sep { |
| 154 | margin-right: 1em; |
| 155 | } |
| 156 | |
| 157 | @media only screen and (max-width: 1024px) { |
| 158 | .lazyload-pairs { |
| 159 | .pair { |
| 160 | border: 1px solid #DDD; |
| 161 | padding: 5px 10px; |
| 162 | } |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | @import "number-spinner.scss"; |
| 167 |