1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
|
/* This stylesheet is included in both options.html and action.html, so changes affect both. */
:root {
--closeButtonWidth: 25px;
}
body {
font: 14px "DejaVu Sans", "Arial", sans-serif;
color: #303942;
margin: 0 auto;
}
a, a:visited { color: #15c; }
a:active { color: #052577; }
div#wrapper, #footerWrapper {
width: 540px;
margin-left: 35px;
}
header {
font-size: 18px;
font-weight: normal;
border-bottom: 1px solid #eee;
padding: 20px 0 15px 0;
width: 100%;
}
button {
-webkit-user-select: none;
-webkit-appearance: none;
background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede);
border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 2px;
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
color: #444;
font: inherit;
text-shadow: 0 1px 0 #f0f0f0;
height: 24px;
font-size: 12px;
padding: 0 10px;
}
button:hover {
background-image: -webkit-linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0);
border-color: rgba(0, 0, 0, 0.3);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95);
color: black;
}
button:active {
background-image: -webkit-linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7);
box-shadow: none;
text-shadow: none;
}
button[disabled], button[disabled]:hover, button[disabled]:active {
background-image: -webkit-linear-gradient(#ededed, #ededed 38%, #dedede);
border: 1px solid rgba(0, 0, 0, 0.25);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75);
text-shadow: 0 1px 0 #f0f0f0;
color: #888;
}
input[type="checkbox"] {
-webkit-user-select: none;
}
label:hover {
color: black;
}
pre, code, .code {
font-family: Consolas, "Liberation Mono", Courier, monospace;
}
pre {
margin: 5px;
border-left: 1px solid #eee;
padding-left: 5px;
}
input, textarea {
box-sizing: border-box;
}
textarea {
/* Horizontal resizing is pretty screwy-looking. */
resize: vertical;
}
table#options{
width: 100%;
font-size: 14px;
position: relative;
border-spacing: 0 23px;
/* This should match the height of the footer, so that the footer UI doesn't sit on top of this
options table, covering some of the options UI. */
margin-bottom: 50px;
}
.example {
font-size: 12px;
line-height: 16px;
color: #979ca0;
margin-left: 20px;
}
.info {
margin-left: 0px;
}
.reset-link {
text-align: right;
}
.reset-link a {
text-decoration: none;
}
.caption {
margin-right: 10px;
min-width: 130px;
padding-top: 3px;
vertical-align: top;
}
td { padding: 0; }
div#exampleKeyMapping {
margin-left: 10px;
margin-top: 5px;
}
input#linkHintCharacters {
width: 100%;
}
input#linkHintNumbers {
width: 100%;
}
input#linkHintCharacters {
width: 100%;
}
input#scrollStepSize {
width: 50px;
margin-right: 3px;
padding-left: 3px;
}
textarea#userDefinedLinkHintCss, textarea#keyMappings, textarea#searchEngines {
width: 100%;;
min-height: 140px;
white-space: pre;
}
input#previousPatterns, input#nextPatterns {
width: 100%;
}
input#newTabUrl {
width: 100%;
}
input#searchUrl {
width: 100%;
}
#status {
margin-left: 10px;
font-size: 80%;
}
/* Make the caption in the settings table as small as possible, to pull the other fields to the right. */
.caption {
width: 1px;
white-space: nowrap;
}
#buttonsPanel { width: 100%; }
.help {
position: absolute;
right: -320px;
width: 320px;
}
input[type=text]:read-only, input[type=number]:read-only, textarea:read-only {
background-color: #eee;
color: #666;
pointer-events: none;
-webkit-user-select: none;
}
input[type="text"], textarea {
border: 1px solid #bfbfbf;
border-radius: 2px;
color: #444;
background-color: white;
font: inherit;
padding: 3px;
}
button:focus, input[type="text"]:focus, textarea:focus {
-webkit-transition: border-color 200ms;
border-color: #4d90fe;
outline: none;
}
/* Boolean options have a tighter form representation than text options. */
td.booleanOption { font-size: 12px; }
/* Ids and classes for rendering exclusionRules */
#exclusionRulesSection #exclusionScrollBox {
/* When there are no rules, we want to enforce a minimum height for this section, or the help text
will run together.*/
min-height: 45px;
}
#exclusionScrollBox {
overflow: scroll;
overflow-x: hidden;
overflow-y: auto;
/* Each exclusion rule is about 30px, so this allows 7 before scrolling */
max-height: 215px;
border-radius: 2px;
color: #444;
width: 100%;
}
#exclusionRules {
width: 100%;
border-collapse: collapse;
}
#exclusionRules td {
vertical-align: top;
border: 2px solid transparent;
}
#exclusionRules td:nth-of-type(2) {
width: 33%;
}
#exclusionRules td:nth-of-type(3) {
/* Make the close button td use only the minimum width needed. */
width: var(--closeButtonWidth);
padding-top: 3px;
}
#exclusionRules tr.validationError .validationMessage {
display: block;
}
#exclusionRules tr.validationError td:nth-of-type(1) input {
border-color: orange;
}
#exclusionRules .validationMessage {
display: block;
color: orange;
margin-top: 2px;
margin-left: 2px;
}
#exclusionRules .remove {
border: none;
color: #979ca0;
}
#exclusionRules .remove:hover {
color: #444;
}
input[name=pattern], input[name=passKeys], .exclusionHeaderText {
width: 100%;
font-family: Consolas, "Liberation Mono", Courier, monospace;
font-size: 14px;
}
.exclusionHeaderText {
padding-left: 3px;
color: #979ca0;
}
#exclusionAddButton {
float: right;
/* Add the spacing between the table's cells to the right margin of this button. */
margin-right: calc(var(--closeButtonWidth) + 4px);
margin-top: 10px;
}
#footer {
background: #f5f5f5;
border-top: 1px solid #979ca0;
position: fixed;
bottom: 0px;
padding: 15px 0;
z-index: 10;
}
#footer, #footerTable, #footerTableData {
width: 100%;
}
#helpText, #versionAndOptions {
font-size: 12px;
}
#saveOptionsTableData {
float: right;
}
#saveOptions, #exclusionAddButton {
white-space: nowrap;
width: 110px;
}
#backupLink {
cursor: pointer;
}
|