|
| 1 | +/** |
| 2 | + * Copyright (c) Microsoft Corporation. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +body { |
| 18 | + margin: 0; |
| 19 | + padding: 0; |
| 20 | + user-select: none; |
| 21 | + line-height: 22px; |
| 22 | +} |
| 23 | + |
| 24 | +body[data-vscode-theme-kind=vscode-dark] div.separator { |
| 25 | + border-color: rgba(204, 204, 204, 0.2); |
| 26 | +} |
| 27 | + |
| 28 | +.hbox { |
| 29 | + display: flex; |
| 30 | + flex: auto; |
| 31 | + position: relative; |
| 32 | +} |
| 33 | + |
| 34 | +.vbox { |
| 35 | + display: flex; |
| 36 | + flex-direction: column; |
| 37 | + flex: auto; |
| 38 | + position: relative; |
| 39 | +} |
| 40 | + |
| 41 | +svg { |
| 42 | + transform: scale(0.3); |
| 43 | + fill: var(--vscode-editor-foreground); |
| 44 | + margin: -18px; |
| 45 | + width: 56px; |
| 46 | + pointer-events: none; |
| 47 | +} |
| 48 | + |
| 49 | +input, textarea { |
| 50 | + background-color: var(--vscode-input-background); |
| 51 | + color: var(--vscode-input-foreground); |
| 52 | + border-width: 1px; |
| 53 | + border-style: solid; |
| 54 | + border-color: var(--vscode-input-border, transparent); |
| 55 | + border-radius: 2px; |
| 56 | + padding: 2px 6px; |
| 57 | +} |
| 58 | + |
| 59 | +input { |
| 60 | + font-family: system-ui, Ubuntu, "Droid Sans", sans-serif, "Droid Sans Mono", "monospace", monospace; |
| 61 | + font-size: 13px; |
| 62 | + line-height: 20px; |
| 63 | + letter-spacing: 0px; |
| 64 | +} |
| 65 | + |
| 66 | +.combobox { |
| 67 | + margin: 0 8px; |
| 68 | +} |
| 69 | + |
| 70 | +input:focus, textarea:focus { |
| 71 | + opacity: 1; |
| 72 | + outline-color: var(--vscode-focusBorder); |
| 73 | + outline-offset: -1px; |
| 74 | + outline-style: solid; |
| 75 | + outline-width: 1px; |
| 76 | +} |
| 77 | + |
| 78 | +textarea { |
| 79 | + font-size: 12px; |
| 80 | +} |
| 81 | + |
| 82 | +.section-header { |
| 83 | + font-size: 11px; |
| 84 | + margin: 10px 8px 3px 8px; |
| 85 | + font-weight: 700; |
| 86 | + color: var(--vscode-editor-inlineValuesForeground); |
| 87 | + |
| 88 | + display: flex; |
| 89 | + justify-content: space-between; |
| 90 | + align-items: baseline; |
| 91 | +} |
| 92 | + |
| 93 | +.section-toolbar > a { |
| 94 | + border-radius: 5px; |
| 95 | + font-size: 16px; |
| 96 | +} |
| 97 | + |
| 98 | +.section-toolbar > a:hover { |
| 99 | + background-color: var(--vscode-toolbar-hoverBackground); |
| 100 | +} |
| 101 | + |
| 102 | +.action, .combobox { |
| 103 | + padding: 0 4px; |
| 104 | + cursor: pointer; |
| 105 | + display: flex; |
| 106 | +} |
| 107 | + |
| 108 | +.action[disabled] { |
| 109 | + opacity: 0.5; |
| 110 | + cursor: default; |
| 111 | + background-color: none !important; |
| 112 | +} |
| 113 | + |
| 114 | +input[type=checkbox] { |
| 115 | + padding: 0 4px; |
| 116 | + cursor: pointer; |
| 117 | +} |
| 118 | + |
| 119 | +select { |
| 120 | + background: transparent; |
| 121 | + color: inherit; |
| 122 | + outline: none !important; |
| 123 | + border: none !important; |
| 124 | + height: 22px; |
| 125 | + padding: 2px 0; |
| 126 | + cursor: pointer; |
| 127 | + background: var(--vscode-sideBar-background); |
| 128 | +} |
| 129 | + |
| 130 | +label { |
| 131 | + display: flex; |
| 132 | + align-items: center; |
| 133 | + cursor: inherit; |
| 134 | + flex: auto; |
| 135 | +} |
| 136 | + |
| 137 | +.action:hover, .combobox:hover { |
| 138 | + background-color: #e8e8e8; |
| 139 | +} |
| 140 | + |
| 141 | +body[data-vscode-theme-kind=vscode-dark] .action:hover, |
| 142 | +body[data-vscode-theme-kind=vscode-dark] .combobox:hover { |
| 143 | + background-color: #2a2d2e; |
| 144 | +} |
| 145 | + |
| 146 | +/* Settings view */ |
| 147 | + |
| 148 | +.settings-view .action-indent { |
| 149 | + flex: none; |
| 150 | + width: 4px; |
| 151 | +} |
| 152 | + |
| 153 | +.settings-view.action-big-indent { |
| 154 | + flex: none; |
| 155 | + width: 20px; |
| 156 | +} |
| 157 | + |
| 158 | +.settings-view select.models { |
| 159 | + padding: 2px 0; |
| 160 | + width: 100%; |
| 161 | +} |
| 162 | + |
| 163 | +/* Locators view */ |
| 164 | + |
| 165 | +.locators-view .section { |
| 166 | + margin: 0 10px 10px; |
| 167 | + display: flex; |
| 168 | + flex-direction: column; |
| 169 | +} |
| 170 | + |
| 171 | +.locators-view .section > label { |
| 172 | + margin-bottom: 5px; |
| 173 | +} |
| 174 | + |
| 175 | +.locators-view p.error { |
| 176 | + color: var(--vscode-errorForeground); |
| 177 | +} |
| 178 | + |
| 179 | +.locators-view #actions { |
| 180 | + flex: none; |
| 181 | + display: flex; |
| 182 | + padding: 2px; |
| 183 | +} |
| 184 | + |
| 185 | +.locators-view .action { |
| 186 | + padding: 0; |
| 187 | +} |
| 188 | + |
| 189 | +.locators-view #locator { |
| 190 | + flex: auto; |
| 191 | +} |
0 commit comments