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