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; |
| 215 | z-index: 8000; |
| 216 | padding: 4pt; |
Akron | c1457bf | 2015-06-11 19:24:00 +0200 | [diff] [blame] | 217 | margin-top: -6pt; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 218 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 219 | border: { |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 220 | radius: $standard-border-radius; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 221 | width: $border-size; |
| 222 | style: solid; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 223 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 224 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 225 | input { |
| 226 | border-width: 0; |
| 227 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 228 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 229 | > div { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 230 | @include choose-item; |
| 231 | display: inline-block; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 232 | padding: 2pt; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 233 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 234 | font: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 235 | size: 80%; |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 236 | style: italic; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 237 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 238 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 239 | border: { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 240 | width: $border-size; |
| 241 | style: solid; |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 242 | radius: $standard-border-radius; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 243 | } |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 244 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 245 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 246 | &.regex { |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 247 | > input { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 248 | font-style: italic; |
Nils Diewald | 9c12506 | 2015-05-05 23:54:17 +0000 | [diff] [blame] | 249 | } |
| 250 | |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 251 | > div { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 252 | @include choose-active; |
Nils Diewald | c4c4b83 | 2015-05-05 16:00:08 +0000 | [diff] [blame] | 253 | } |
| 254 | } |
| 255 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 256 | } |
| 257 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 258 | /* Rules for vcs excluding fragments, |
| 259 | * i.e. includingy dynamic changes. |
| 260 | */ |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 261 | .vc:not(.fragment) { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 262 | |
| 263 | .docGroup, |
| 264 | .doc { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 265 | color: $dark-grey; |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 266 | } |
| 267 | |
| 268 | /** |
| 269 | * Rules for all docGroups |
| 270 | */ |
| 271 | // Whiten on hover |
| 272 | .docGroup:hover { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 273 | background-color: rgba(255,255,255,.3); |
| 274 | } |
| 275 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 276 | .doc > span:not(.fixed) { |
| 277 | cursor: pointer; |
| 278 | &:hover { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 279 | color: $dark-orange; |
| 280 | } |
| 281 | } |
| 282 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 283 | // Unspecified value |
| 284 | .doc.unspecified > span, |
| 285 | span.unspecified { |
| 286 | &:hover { |
| 287 | @include choose-hover; |
| 288 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 289 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 290 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 291 | .doc, .docGroup { |
| 292 | &:hover > .operators { |
| 293 | opacity: 1; |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | .docGroup { |
| 298 | &[data-operation] { |
| 299 | > .doc::before, |
| 300 | > .docGroup::before { |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 301 | color: $dark-orange; |
| 302 | } |
| 303 | } |
| 304 | &[data-operation=or] { |
| 305 | border-color: $dark-orange; |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | div.value { |
| 310 | @include choose-item; |
| 311 | box-shadow: $choose-box-shadow; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 312 | |
| 313 | > div { |
| 314 | cursor: pointer; |
| 315 | &:hover { |
| 316 | @include choose-hover; |
| 317 | } |
| 318 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 319 | } |
| 320 | } |
| 321 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 322 | |
Nils Diewald | 359a72c | 2015-04-20 17:40:29 +0000 | [diff] [blame] | 323 | /** |
| 324 | * The z-index cascade for groups. |
| 325 | */ |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 326 | $dg-index : 30; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 327 | .docGroup { |
| 328 | > .operators { |
| 329 | z-index: $dg-index; |
| 330 | } |
| 331 | .docGroup { |
| 332 | > .operators { |
| 333 | z-index: $dg-index + 1; |
| 334 | } |
| 335 | .docGroup { |
| 336 | > .operators { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 337 | z-index: $dg-index + 2; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 338 | } |
| 339 | .docGroup { |
Akron | 76c3dd6 | 2018-05-29 20:58:27 +0200 | [diff] [blame] | 340 | > .operators { |
| 341 | z-index: $dg-index + 3; |
| 342 | } |
| 343 | .docGroup { |
| 344 | > .operators { |
| 345 | z-index: $dg-index + 4; |
| 346 | } |
| 347 | .docGroup { |
| 348 | > .operators { |
| 349 | z-index: $dg-index + 5; |
| 350 | } |
| 351 | .docGroup { |
| 352 | > .operators { |
| 353 | z-index: $dg-index + 6; |
| 354 | } |
| 355 | } |
| 356 | } |
| 357 | } |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 358 | } |
| 359 | } |
| 360 | } |
| 361 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 362 | |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 363 | .vc.fragment { |
Akron | d45a170 | 2018-11-19 18:15:17 +0100 | [diff] [blame] | 364 | > div > div.docGroup { |
| 365 | margin-left: 0; |
| 366 | } |
Akron | 49f88cc | 2018-09-11 11:06:19 +0200 | [diff] [blame] | 367 | .doc { |
| 368 | margin-right: 2em; |
| 369 | } |
| 370 | } |
| 371 | |
Akron | c1457bf | 2015-06-11 19:24:00 +0200 | [diff] [blame] | 372 | #collection { |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 373 | line-height: 1em; |
| 374 | border-radius: $standard-border-radius; |
| 375 | } |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 376 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 377 | #vc-choose > span.rewritten::after { |
| 378 | @include icon-font; |
| 379 | color: $dark-orange; |
| 380 | padding: 0; |
| 381 | padding-left: 4px; |
| 382 | content: $fa-rewrite; |
| 383 | text-decoration: underline; |
| 384 | font-style: normal; |
| 385 | font-weight: normal; |
Akron | 6bb7158 | 2016-06-10 20:41:08 +0200 | [diff] [blame] | 386 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 387 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 388 | div#vc-view { |
| 389 | position:relative; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 390 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 391 | > div.vc { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 392 | display: none; |
| 393 | margin: 1.3em 0 .5em 0; |
| 394 | border: 2px solid $dark-green; |
| 395 | background-color: $nearly-white; |
| 396 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 397 | &.active { |
| 398 | display: block; |
| 399 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 400 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 401 | > div:first-child { |
Akron | 2167ff5 | 2018-08-29 18:04:06 +0200 | [diff] [blame] | 402 | padding: 1.3em; |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 403 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 404 | } |
| 405 | } |
| 406 | |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 407 | div.panel.vcinfo { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 408 | padding: 3pt 0pt 3pt 3pt; |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 409 | background-color: $dark-green; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 410 | |
Akron | ec6bb8e | 2018-08-29 13:07:56 +0200 | [diff] [blame] | 411 | div.button-group > span { |
| 412 | box-shadow: none; |
| 413 | } |
hebasta | e2ff070 | 2018-06-29 14:26:00 +0200 | [diff] [blame] | 414 | } |