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