| Index: skin/options.css |
| =================================================================== |
| --- a/skin/options.css |
| +++ b/skin/options.css |
| @@ -54,7 +54,7 @@ |
| font-size: 14px; |
| } |
| -h1 |
| +h1 |
| { |
| font-size: 24px; |
| line-height: 1em; |
| @@ -85,7 +85,9 @@ |
| display: none; |
| } |
| -input[type="text"], input[type="search"] |
| +input[type="text"], |
| +input[type="search"], |
| +textarea |
| { |
| -webkit-box-sizing: border-box; |
| -moz-box-sizing: border-box; |
| @@ -115,7 +117,6 @@ |
| { |
| display: flex; |
| margin-bottom: 16px; |
| - margin-top: 24px; |
| } |
| .option-name > :first-child |
| @@ -301,7 +302,7 @@ |
| #content h1 |
| { |
| border-bottom: 1px solid #CDCDCD; |
| - margin: 0px; |
| + margin: 0px 0px 24px 0px; |
| padding: 40px 0px 16px 0px; |
| } |
| @@ -359,6 +360,12 @@ |
| border-radius: 3px; |
| } |
| +.table.list, |
| +#custom-wrapper |
| +{ |
| + border-bottom: 1px solid #CDCDCD; |
| +} |
| + |
| .table.list li .display |
| { |
| flex: 1; |
| @@ -368,6 +375,12 @@ |
| white-space: nowrap; |
| } |
| +.table:not(.list):not(.cols) li |
| +{ |
| + padding-top: 0px; |
| + padding-bottom: 6px; |
| +} |
| + |
| .table.list li:nth-of-type(odd), |
| .table.cols li:nth-of-type(odd), |
| .table li.empty-placeholder |
| @@ -397,13 +410,10 @@ |
| background-color: transparent; |
| background-position: -9px -32px; |
| border: 0px; |
| - height: 10px; |
| margin-top: 5px; |
| -moz-margin-end: 20px; |
| -webkit-margin-end: 20px; |
| padding: 0px; |
| - cursor: pointer; |
| - width: 10px; |
| } |
| .table .popular |
| @@ -417,15 +427,16 @@ |
| .tabs.horizontal |
| { |
| display: flex; |
| + margin-top: 0px; |
| margin-bottom: 0px; |
| padding: 0px; |
| + border-bottom: 1px solid #A1A1A1; |
| } |
| .tabs.horizontal li |
| { |
| display: inline-block; |
| - border-bottom: 1px solid #A1A1A1; |
| - padding: 10px 46px; |
| + padding: 0px 46px 10px 46px; |
| color: #3A7BA6; |
| text-align: center; |
| } |
| @@ -446,28 +457,58 @@ |
| display: inline-block; |
| } |
| +.icon-add, |
| +.icon-update, |
| +.icon-edit |
| +{ |
| + height: 18px; |
| + min-width: 18px; |
| + cursor: pointer; |
| +} |
| + |
| .icon-add |
| { |
| background-position: -0px -0px; |
| - cursor: pointer; |
| - height: 18px; |
| - min-width: 18px; |
| } |
| .icon-update |
| { |
| background-position: -34px -0px; |
| - cursor: pointer; |
| - height: 18px; |
| - width: 18px; |
| } |
| .icon-edit |
| { |
| background-position: -17px -0px; |
| +} |
| + |
| +.icon-save, |
| +.icon-cancel, |
| +.icon-enter, |
| +#custom-filters-add button::after, |
| +.table button.delete |
| +{ |
| + height: 10px; |
| + width: 10px; |
| cursor: pointer; |
| - height: 18px; |
| - width: 18px; |
| +} |
| + |
| +.icon-save |
| +{ |
| + background-position: -1px -62px; |
| +} |
| + |
| +.icon-cancel |
| +{ |
| + background-position: -12px -62px; |
| +} |
| + |
| +#dialog-close::before, |
| +.date::before, |
| +.time::before |
| +{ |
| + content: ""; |
| + height: 12px; |
| + width: 12px; |
| } |
| #content-help a::before, |
| @@ -485,11 +526,15 @@ |
| .controls |
| { |
| - border-top: 1px solid #CDCDCD; |
| - padding-top: 8px; |
| - -moz-padding-start: 16px; |
| - -webkit-padding-start: 16px; |
| - position: relative; |
| + padding-top: 14px; |
| + margin-left: 16px; |
| + margin-right: 16px; |
| +} |
| + |
| +.controls.mode-edit |
| +{ |
| + -moz-margin-end: 0px; |
| + -webkit-margin-end: 0px; |
| } |
| .controls > div |
| @@ -509,11 +554,11 @@ |
| .controls button span:not(.icon) |
| { |
| + display: inline-block; |
| + -moz-margin-start: 16px; |
| + -webkit-margin-start: 16px; |
| + padding-top: 1px; |
| color: #3A7BA6; |
| - display: inline-block; |
| - -moz-margin-start: 15px; |
| - -webkit-margin-start: 15px; |
| - padding-top: 1px; |
| vertical-align: top; |
| } |
| @@ -521,6 +566,15 @@ |
| General tab content |
| */ |
| +#acceptableads-table, |
| +#recommend-list-table, |
| +#blocking-languages-dialog-table, |
| +#custom-wrapper .table, |
| +#all-lang-table |
| +{ |
| + border-bottom: none; |
| +} |
| + |
| #blocking-languages, |
| #acceptable-ads |
| { |
| @@ -585,13 +639,10 @@ |
| .icon-enter |
| { |
| background-position: -18px -32px; |
| - cursor: pointer; |
| - height: 10px; |
| position: absolute; |
| top: 10px; |
| -moz-margin-start: -20px; |
| -webkit-margin-start: -20px; |
| - width: 10px; |
| } |
| .button-add, .cancel-button |
| @@ -606,7 +657,14 @@ |
| Advanced tab content |
| */ |
| -#filter-lists > div |
| +#filter-lists > div, |
| +#all-filter-lists li.show-message .date, |
| +#all-filter-lists li.show-message .time, |
| +#all-filter-lists li:not(.show-message) .message, |
| +#custom-filters:not(.mode-edit) #custom-filters-raw, |
| +#custom-filters:not(.mode-edit) #custom-filters-raw-controls, |
| +#custom-filters.mode-edit #custom-filters-show-edit, |
| +#custom-filters.mode-edit #custom-filters-list-wrapper |
| { |
| display: none; |
| } |
| @@ -617,6 +675,12 @@ |
| display: block; |
| } |
| +.with-description .tooltip, |
| +#all-filter-lists .table |
| +{ |
| + display: inline-block; |
| +} |
| + |
| body[data-tab="advanced-allFilterLists"] #content-advanced [data-tab="advanced-allFilterLists"], |
| body[data-tab="advanced-customFilters"] #content-advanced [data-tab="advanced-customFilters"] |
| { |
| @@ -626,11 +690,6 @@ |
| font-weight: 600; |
| } |
| -#all-filter-lists .table |
| -{ |
| - display: inline-block; |
| -} |
| - |
| #all-filter-lists .table li |
| { |
| padding-left: 16px; |
| @@ -648,14 +707,12 @@ |
| display: flex; |
| } |
| -#filter-lists h3 |
| +#filter-lists h2 |
| { |
| - display: inline-block; |
| margin-bottom: 7px; |
| - font-size: 14px; |
| } |
| -.table-header h3:first-child |
| +.table-header h2:first-child |
| { |
| width: 330px; |
| -webkit-padding-start: 54px; |
| @@ -709,82 +766,38 @@ |
| -moz-margin-start: auto; |
| } |
| -#all-filter-lists li.show-message .date, |
| -#all-filter-lists li.show-message .time, |
| -#all-filter-lists li:not(.show-message) .message |
| -{ |
| - display: none; |
| -} |
| - |
| .date::before |
| { |
| - content: ""; |
| -webkit-margin-end: 6px; |
| -moz-margin-end: 6px; |
| - height: 12px; |
| - width: 12px; |
| background-position: -7px -49px; |
| } |
| .time::before |
| { |
| - content: ""; |
| -webkit-margin-end: 6px; |
| -moz-margin-end: 6px; |
| -webkit-margin-start: 12px; |
| -moz-margin-start: 12px; |
| - height: 12px; |
| - width: 12px; |
| background-position: -20px -49px; |
| } |
| #custom-filters-header |
| { |
| - padding: 0px 20px; |
| + padding: 0px 16px; |
| margin-bottom: 10px; |
| } |
| #custom-filters-raw-controls |
| { |
| - display: flex; |
| -} |
| - |
| -#custom-filters:not(.mode-edit) #custom-filters-raw, |
| -#custom-filters:not(.mode-edit) #custom-filters-raw-controls, |
| -#custom-filters.mode-edit #custom-filters-show-edit, |
| -#custom-filters.mode-edit #custom-filters-list-wrapper |
| -{ |
| - display: none; |
| -} |
| - |
| -#custom-filters-raw-save |
| -{ |
| - padding: 0px 16px; |
| -} |
| - |
| -#custom-filters .table |
| -{ |
| - height: 290px; |
| - overflow: auto; |
| - width: auto; |
| -} |
| - |
| -#custom-filters-add |
| -{ |
| - display: flex; |
| - padding: 0px; |
| - border: none; |
| -} |
| - |
| -#custom-filters .controls |
| -{ |
| - border-top: none; |
| + justify-content: space-between; |
| } |
| #custom-filters-raw |
| { |
| width: 100%; |
| height: 100%; |
| + padding: 2px 16px; |
| } |
| #custom-filters-wrapper |
| @@ -792,37 +805,36 @@ |
| height: 330px; |
| } |
| -#custom-filters input[type="text"] |
| +#custom-filters-add |
| { |
| + display: flex; |
| border-width: 1px 0px 1px 0px; |
| border-bottom-style: solid; |
| border-top-style: solid; |
| border-color: #1E8728; |
| - height: 25px; |
| - -moz-padding-start: 10px; |
| - -webkit-padding-start: 10px; |
| - -moz-padding-end: 60px; |
| - -webkit-padding-end: 60px; |
| - padding-top: 18px; |
| - padding-bottom: 18px; |
| - width: 100%; |
| + padding: 0px; |
| + margin: 0px; |
| + background-color: #F5F5F5; |
| } |
| -#custom-filters input[type="text"]:focus |
| +#custom-filters-add input[type="text"] |
| +{ |
| + -moz-padding-start: 16px; |
| + -webkit-padding-start: 16px; |
| + padding-top: 10px; |
| + padding-bottom: 10px; |
| + border: none; |
| + font-size: 13px; |
| + background-color: transparent; |
| + flex-grow: 1; |
| +} |
| + |
| +#custom-filters-add input[type="text"]:focus |
| { |
| outline: 0px; |
| } |
| -#custom-filters-add input |
| -{ |
| - font-size: 13px; |
| - background-color: #F5F5F5; |
| -} |
| - |
| -#custom-filters-add input::-webkit-input-placeholder |
| -{ |
| - font-weight: 600; |
| -} |
| +#custom-filters-add input::-webkit-input-placeholder, |
| #custom-filters-add input::-moz-placeholder |
| { |
| font-weight: 600; |
| @@ -830,18 +842,20 @@ |
| #custom-filters-table |
| { |
| + height: 290px; |
| + width: auto; |
| border-top: 1px solid #CDCDCD; |
| + overflow: auto; |
| } |
| #custom-filters-add button |
| { |
| font-size: 14px; |
| - -webkit-margin-start: -60px; |
| - -moz-margin-start: -60px; |
| -webkit-padding-end: 6px; |
| -moz-padding-end: 6px; |
| cursor: pointer; |
| color: #3A7BA6; |
| + flex-grow: 0; |
| } |
| #custom-filters-add button::before |
| @@ -861,11 +875,8 @@ |
| { |
| content: ""; |
| background-position: -28px -32px; |
| - cursor: pointer; |
| - height: 10px; |
| -webkit-margin-start: 6px; |
| -moz-margin-start: 6px; |
| - width: 10px; |
| } |
| /* |
| @@ -874,15 +885,16 @@ |
| .tooltip, #block-element-explanation a |
| { |
| + position: relative; |
| + margin: 0px 4px; |
| border-bottom: dashed 1px; |
| + height: 15px; |
| color: #3A7BA6; |
| + font-size: 12px; |
| + line-height: 19px; |
| + text-decoration: none; |
| + font-weight: 400; |
| cursor: default; |
| - font-size: 12px; |
| - height: 15px; |
| - line-height: 19px; |
| - margin: 0px 4px; |
| - position: relative; |
| - text-decoration: none; |
| } |
| .context-menu |
| @@ -1191,10 +1203,7 @@ |
| #dialog-close::before |
| { |
| background-position: -9px -32px; |
| - content: ""; |
| cursor: pointer; |
| - height: 12px; |
| - width: 12px; |
| vertical-align: middle; |
| -moz-margin-end: 6px; |
| -webkit-margin-end: 6px; |