Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 2 | @import "../util"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 4 | /** |
| 5 | * Virtual Collection Builder |
| 6 | */ |
Akron | 5c829e9 | 2017-05-12 18:10:00 +0200 | [diff] [blame] | 7 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 8 | $left-padding: 4em; |
| 9 | $bracket-size: .4em; |
| 10 | |
| 11 | // Rules for VC view (including fragments) |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 12 | .vc { |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 13 | margin-top: 4pt; |
| 14 | |
Akron | 451ed5e | 2018-11-12 10:52:33 +0100 | [diff] [blame] | 15 | .builder { |
| 16 | position: initial; |
Uyen-Nhu Tran | cac3cd9 | 2024-04-10 01:28:27 +0200 | [diff] [blame^] | 17 | |
| 18 | + .action { |
| 19 | .minimize::after { |
| 20 | color: $dark-grey !important; |
| 21 | } |
| 22 | } |
Akron | 451ed5e | 2018-11-12 10:52:33 +0100 | [diff] [blame] | 23 | } |
| 24 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 25 | .docGroup { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 26 | position: relative; |
| 27 | display: inline-block; |
| 28 | margin-left: $left-padding; |
| 29 | padding: 4pt 2pt 4pt 0pt; |
Akron | 9065481 | 2018-08-29 18:57:23 +0200 | [diff] [blame] | 30 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 31 | .docGroup { |
| 32 | display: block; |
| 33 | } |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 34 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 35 | border: { |
| 36 | radius: $standard-border-radius * 2; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 37 | style: solid; |
| 38 | width: 0 $bracket-size; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 39 | } |
| 40 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 41 | &[data-operation] { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 42 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 43 | > .doc:first-child::before, |
| 44 | > .docGroup:first-child::before { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 45 | content: none; |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 46 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 47 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 48 | > .doc::before, |
| 49 | > .docGroup::before { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 50 | position: absolute; |
| 51 | display: inline-block; |
| 52 | text-align: right; |
| 53 | width: $left-padding; |
| 54 | margin-left: -1 * ($left-padding + .5em); |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 55 | line-height: 1.5em; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 56 | border-top: $border-size solid transparent; |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 57 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 58 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 59 | > .docGroup::before { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 60 | margin-left: -1 * ($left-padding + .5em) + (-1 * $bracket-size); |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 61 | } |
| 62 | } |
| 63 | |
| 64 | // Or operation |
| 65 | &[data-operation=or] { |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 66 | > .doc::before, |
| 67 | > .docGroup::before { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 68 | // This will be overruled by JS! |
| 69 | content: "or"; |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 70 | } |
| 71 | } |
| 72 | |
| 73 | // And operation |
| 74 | &[data-operation=and] { |
| 75 | > .doc::before, |
| 76 | > .docGroup::before { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 77 | // This will be overruled by JS! |
| 78 | content: "and"; |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 79 | } |
| 80 | } |
| 81 | |
| 82 | |
| 83 | /** |
| 84 | * All operators on groups |
| 85 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 86 | > .operators { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 87 | position: absolute; |
| 88 | display: block; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 89 | vertical-align: middle; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 90 | top: 10px; |
| 91 | left: 3px; |
| 92 | margin-left: 100%; |
| 93 | padding: 0; |
| 94 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 95 | > span:first-child { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 96 | border: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 97 | top-left-radius: 0; |
| 98 | bottom-left-radius: 0; |
| 99 | } |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 100 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 101 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 102 | } |
| 103 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 104 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 105 | /** |
| 106 | * All document rules |
| 107 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 108 | .doc { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 109 | line-height: 170%; |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 110 | padding-left: $left-padding; |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 111 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 112 | > span { |
| 113 | |
| 114 | + span, |
| 115 | + div + span, |
| 116 | + ul + span { |
| 117 | margin-left: 5pt; |
| 118 | } |
| 119 | |
| 120 | &.key, |
| 121 | &.value { |
| 122 | font-weight: bold; |
| 123 | } |
| 124 | |
| 125 | &.value[data-type=regex] { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 126 | font-style: italic; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 127 | |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 128 | &::after, |
| 129 | &::before { |
| 130 | content: '/'; |
| 131 | } |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 132 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 133 | |
| 134 | &.key { |
| 135 | position: relative; |
| 136 | |
| 137 | > ul { |
| 138 | margin: 0; |
| 139 | margin-left: 3.3em; |
| 140 | } |
| 141 | |
| 142 | &.fixed { |
| 143 | color: $light-green; |
| 144 | } |
| 145 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 146 | } |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 147 | |
Akron | ebc9666 | 2018-08-29 17:36:20 +0200 | [diff] [blame] | 148 | // Unspecified value |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 149 | &.unspecified > span, |
| 150 | span.unspecified { |
| 151 | @include choose-item; |
| 152 | padding: 0 4px; |
Akron | ebc9666 | 2018-08-29 17:36:20 +0200 | [diff] [blame] | 153 | box-shadow: $choose-box-shadow; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 154 | |
Akron | ebc9666 | 2018-08-29 17:36:20 +0200 | [diff] [blame] | 155 | border: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 156 | style: solid; |
| 157 | width: $border-size; |
Akron | ebc9666 | 2018-08-29 17:36:20 +0200 | [diff] [blame] | 158 | radius: $standard-border-radius; |
| 159 | } |
Akron | ebc9666 | 2018-08-29 17:36:20 +0200 | [diff] [blame] | 160 | } |
| 161 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 162 | // All operators on docs |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 163 | > .operators { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 164 | display: inline-block; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 165 | margin-left: 10px; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 166 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 167 | } |
| 168 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 169 | .rewritten .rewrite { |
| 170 | display: inline-block; |
| 171 | margin-left: 4pt; |
| 172 | color: $dark-orange; |
| 173 | &::after { |
| 174 | @include icon-font; |
| 175 | font-style: normal; |
| 176 | font-weight: normal; |
| 177 | content: $fa-rewrite; |
| 178 | text-decoration: underline; |
| 179 | } |
| 180 | |
| 181 | > span { |
| 182 | display: none; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 183 | } |
| 184 | } |
| 185 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 186 | /** |
| 187 | * All operators |
| 188 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 189 | .operators { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 190 | opacity: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 191 | white-space: nowrap; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 192 | padding: 0; |
| 193 | font-size: 0; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 194 | line-height: 0; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 195 | text-align: center; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 196 | } |
| 197 | |
| 198 | > .docGroup { |
| 199 | margin-left: 0; |
| 200 | } |
| 201 | |
Nils Diewald | 4c22125 | 2015-04-21 20:19:25 +0000 | [diff] [blame] | 202 | .menu { |
| 203 | display: inline-block; |
| 204 | } |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 205 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 206 | // referTo entries |
| 207 | .menu li[data-type=ref]::before, |
| 208 | span.key.ref::before { |
| 209 | @include icon-font; |
| 210 | content: $fa-referto; |
Akron | d82e42a | 2018-08-22 17:08:59 +0200 | [diff] [blame] | 211 | padding-right: 4pt; |
Akron | 548ee67 | 2020-10-19 17:41:20 +0200 | [diff] [blame] | 212 | font: { |
| 213 | style: normal; |
| 214 | weight: normal; |
| 215 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 216 | } |
Akron | 3ad4694 | 2018-08-22 16:47:14 +0200 | [diff] [blame] | 217 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 218 | div.value { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 219 | position: absolute; |
| 220 | display: inline-block; |
Akron | dbbe5ee | 2020-12-03 12:39:46 +0100 | [diff] [blame] | 221 | min-width: max-content; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 222 | z-index: 8000; |
| 223 | padding: 4pt; |
Akron | c1457bf | 2015-06-11 19:24:00 +0200 | [diff] [blame] | 224 | margin-top: -6pt; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 225 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 226 | border: { |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 227 | radius: $standard-border-radius; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 228 | width: $border-size; |
| 229 | style: solid; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 230 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 231 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 232 | input { |
| 233 | border-width: 0; |
Akron | dbbe5ee | 2020-12-03 12:39:46 +0100 | [diff] [blame] | 234 | outline-width: 0; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 235 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 236 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 237 | > div { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 238 | @include choose-item; |
| 239 | display: inline-block; |
Akron | dbbe5ee | 2020-12-03 12:39:46 +0100 | [diff] [blame] | 240 | padding: 0 4pt; |
| 241 | margin-left: 4pt; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 242 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 243 | font: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 244 | size: 80%; |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 245 | style: italic; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 246 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 247 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 248 | border: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 249 | width: $border-size; |
| 250 | style: solid; |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 251 | radius: $standard-border-radius; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 252 | } |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 253 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 254 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 255 | &.regex { |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 256 | > input { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 257 | font-style: italic; |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 258 | } |
| 259 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 260 | > div { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 261 | @include choose-active; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 262 | } |
| 263 | } |
| 264 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 265 | } |
| 266 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 267 | /* Rules for vcs excluding fragments, |
| 268 | * i.e. includingy dynamic changes. |
| 269 | */ |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 270 | .vc:not(.fragment) { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 271 | |
| 272 | .docGroup, |
| 273 | .doc { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 274 | color: $dark-grey; |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 275 | } |
| 276 | |
| 277 | /** |
| 278 | * Rules for all docGroups |
| 279 | */ |
| 280 | // Whiten on hover |
| 281 | .docGroup:hover { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 282 | background-color: rgba(255,255,255,.3); |
| 283 | } |
| 284 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 285 | .doc > span:not(.fixed) { |
| 286 | cursor: pointer; |
| 287 | &:hover { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 288 | color: $dark-orange; |
| 289 | } |
| 290 | } |
| 291 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 292 | // Unspecified value |
| 293 | .doc.unspecified > span, |
| 294 | span.unspecified { |
| 295 | &:hover { |
| 296 | @include choose-hover; |
| 297 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 298 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 299 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 300 | .doc, .docGroup { |
| 301 | &:hover > .operators { |
| 302 | opacity: 1; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | .docGroup { |
| 307 | &[data-operation] { |
| 308 | > .doc::before, |
| 309 | > .docGroup::before { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 310 | color: $dark-orange; |
| 311 | } |
| 312 | } |
| 313 | &[data-operation=or] { |
| 314 | border-color: $dark-orange; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | div.value { |
| 319 | @include choose-item; |
| 320 | box-shadow: $choose-box-shadow; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 321 | |
| 322 | > div { |
| 323 | cursor: pointer; |
| 324 | &:hover { |
| 325 | @include choose-hover; |
| 326 | } |
| 327 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 328 | } |
| 329 | } |
| 330 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 331 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 332 | /** |
| 333 | * The z-index cascade for groups. |
| 334 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 335 | $dg-index : 30; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 336 | .docGroup { |
| 337 | > .operators { |
| 338 | z-index: $dg-index; |
| 339 | } |
| 340 | .docGroup { |
| 341 | > .operators { |
| 342 | z-index: $dg-index + 1; |
| 343 | } |
| 344 | .docGroup { |
| 345 | > .operators { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 346 | z-index: $dg-index + 2; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 347 | } |
| 348 | .docGroup { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 349 | > .operators { |
| 350 | z-index: $dg-index + 3; |
| 351 | } |
| 352 | .docGroup { |
| 353 | > .operators { |
| 354 | z-index: $dg-index + 4; |
| 355 | } |
| 356 | .docGroup { |
| 357 | > .operators { |
| 358 | z-index: $dg-index + 5; |
| 359 | } |
| 360 | .docGroup { |
| 361 | > .operators { |
| 362 | z-index: $dg-index + 6; |
| 363 | } |
| 364 | } |
| 365 | } |
| 366 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 367 | } |
| 368 | } |
| 369 | } |
| 370 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 371 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 372 | .vc.fragment { |
Akron | d45a170 | 2018-11-19 18:15:17 +0100 | [diff] [blame] | 373 | > div > div.docGroup { |
| 374 | margin-left: 0; |
| 375 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 376 | .doc { |
| 377 | margin-right: 2em; |
| 378 | } |
| 379 | } |
| 380 | |
Akron | c1457bf | 2015-06-11 19:24:00 +0200 | [diff] [blame] | 381 | #collection { |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 382 | line-height: 1em; |
| 383 | border-radius: $standard-border-radius; |
| 384 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 385 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 386 | #vc-choose > span.rewritten::after { |
| 387 | @include icon-font; |
| 388 | color: $dark-orange; |
| 389 | padding: 0; |
| 390 | padding-left: 4px; |
| 391 | content: $fa-rewrite; |
| 392 | text-decoration: underline; |
| 393 | font-style: normal; |
| 394 | font-weight: normal; |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 395 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 396 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 397 | div#vc-view { |
| 398 | position:relative; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 399 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 400 | > div.vc { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 401 | display: none; |
| 402 | margin: 1.3em 0 .5em 0; |
| 403 | border: 2px solid $dark-green; |
| 404 | background-color: $nearly-white; |
| 405 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 406 | &.active { |
| 407 | display: block; |
| 408 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 409 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 410 | > div:first-child { |
Akron | 2167ff5 | 2018-08-29 18:04:06 +0200 | [diff] [blame] | 411 | padding: 1.3em; |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 412 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 413 | } |
| 414 | } |
| 415 | |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 416 | div.panel.vcinfo { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 417 | padding: 3pt 0pt 3pt 3pt; |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 418 | background-color: $dark-green; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 419 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 420 | div.button-group > span { |
| 421 | box-shadow: none; |
| 422 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 423 | } |