| | @@ -24,11 +24,12 @@ |
| 24 | 24 | to {transform: rotate(360deg);} |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /* The following styles are for app-level use. */ |
| 28 | 28 | /* TODO: consolidate the WASM- and legacy-mode CSS into this file. |
| 29 | | - Since they share a URI, they both load this file. */ |
| 29 | + Since both versions of /pikchrshow share a URI, they both load this |
| 30 | + file. */ |
| 30 | 31 | textarea { |
| 31 | 32 | font-family: monospace; |
| 32 | 33 | flex: 1 1 auto; |
| 33 | 34 | } |
| 34 | 35 | #main-wrapper { |
| | @@ -52,21 +53,10 @@ |
| 52 | 53 | flex-direction: column; |
| 53 | 54 | } |
| 54 | 55 | #main-wrapper.side-by-side.swapio { |
| 55 | 56 | flex-direction: row-reverse; |
| 56 | 57 | } |
| 57 | | -#main-wrapper .splitter-handle { |
| 58 | | - border: 1px outset; |
| 59 | | - border-radius: 0.25em; |
| 60 | | -} |
| 61 | | -#main-wrapper.side-by-side .splitter-handle { |
| 62 | | - width: 2px; |
| 63 | | -} |
| 64 | | -#main-wrapper:not(.side-by-side) .splitter-handle { |
| 65 | | - width: 100%; |
| 66 | | - height: 2px; |
| 67 | | -} |
| 68 | 58 | .zone-wrapper{ |
| 69 | 59 | display: flex; |
| 70 | 60 | margin: 0; |
| 71 | 61 | flex: 1 1 0%; |
| 72 | 62 | border-radius: 0.5em; |
| | @@ -73,12 +63,10 @@ |
| 73 | 63 | min-width: inherit/*important: resolves inability to scroll fieldset child element!*/; |
| 74 | 64 | padding: 0.35em 0 0 0; |
| 75 | 65 | } |
| 76 | 66 | .zone-wrapper > div { |
| 77 | 67 | display:flex; |
| 78 | | - flex-direction: column; |
| 79 | | - align-items: stretch; |
| 80 | 68 | flex: 1 1 0%; |
| 81 | 69 | } |
| 82 | 70 | .zone-wrapper.output { |
| 83 | 71 | } |
| 84 | 72 | #main-wrapper.side-by-side .zone-wrapper { |
| | @@ -133,20 +121,20 @@ |
| 133 | 121 | .zone-wrapper.output { |
| 134 | 122 | overflow: auto; |
| 135 | 123 | justify-content: space-between; |
| 136 | 124 | } |
| 137 | 125 | .button-bar { |
| 138 | | - /*display: flex; |
| 126 | + display: flex; |
| 139 | 127 | flex-wrap: wrap; |
| 140 | | - align-items: center;*/ |
| 128 | + align-items: center; |
| 129 | + align-content: space-between; |
| 130 | + justify-content: flex-start; |
| 141 | 131 | } |
| 142 | 132 | .button-bar > * { |
| 143 | | - margin-top: 0.1em/*avoid crowding if the controls wrap*/; |
| 144 | | - vertical-align: middle; |
| 145 | | -} |
| 146 | | -.button-bar > * + * /*all children except the first*/ { |
| 147 | | - margin-left: 0.65em; |
| 133 | + margin: 0.05em 0.5em 0.05em 0; |
| 134 | + flex: 0 1 auto; |
| 135 | + align-self: auto; |
| 148 | 136 | } |
| 149 | 137 | fieldset.options { |
| 150 | 138 | border-radius: 0.5em; |
| 151 | 139 | border: 1px inset; |
| 152 | 140 | display: flex; |
| | @@ -156,19 +144,18 @@ |
| 156 | 144 | fieldset.options > div { |
| 157 | 145 | display: flex; |
| 158 | 146 | flex-wrap: wrap; |
| 159 | 147 | font-size: 85%; |
| 160 | 148 | } |
| 161 | | -fieldset.options > legend > #btn-options-toggle::after { |
| 149 | +fieldset.collapsible.options > legend > .fieldset-toggle::after { |
| 162 | 150 | content: " [hide]"; |
| 163 | 151 | position: relative; |
| 164 | 152 | } |
| 165 | | -fieldset.options.collapsed > legend > #btn-options-toggle::after { |
| 153 | +fieldset.collapsible.collapsed > legend > .fieldset-toggle::after { |
| 166 | 154 | content: " [show]"; |
| 167 | 155 | position: relative; |
| 168 | 156 | } |
| 169 | | - |
| 170 | 157 | span.labeled-input { |
| 171 | 158 | padding: 0.25em; |
| 172 | 159 | margin: 0.25em 0.5em; |
| 173 | 160 | border-radius: 0.25em; |
| 174 | 161 | white-space: nowrap; |
| 175 | 162 | |