Index: skin/options.css |
=================================================================== |
--- a/skin/options.css |
+++ b/skin/options.css |
@@ -54,6 +54,13 @@ |
display: none; |
} |
+input[type="text"], input[type="search"] |
+{ |
+ -webkit-box-sizing: border-box; |
+ -moz-box-sizing: border-box; |
+ box-sizing: border-box; |
+} |
+ |
.option-name |
{ |
display: flex; |
@@ -431,7 +438,8 @@ |
} |
.icon, .table input[type="checkbox"]::before, .table button.delete, |
-#content-help a::before, #dialog-close::before |
+#content-help a::before, #dialog-close::before, |
+#custom-filter-add button::after |
{ |
background-image: url(options-sprite.png); |
display: inline-block; |
@@ -541,12 +549,12 @@ |
border-bottom: 1px solid #A1A1A1; |
-moz-padding-end: 25px; |
-webkit-padding-end: 25px; |
- -moz-margin-start: 14px; |
- -webkit-margin-start: 14px; |
+ -moz-margin-start: 13px; |
+ -webkit-margin-start: 13px; |
outline: 0px; |
padding-bottom: 5px; |
vertical-align: text-bottom; |
- width: 330px; |
+ width: 100%; |
} |
#whitelisting .controls .button-add span |
@@ -590,65 +598,132 @@ |
Advanced tab content |
*/ |
-#blocking-list-own .table |
+#custom-filters-header |
+{ |
+ padding: 0px 20px; |
+ 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-edit-btn, |
+#custom-filters.mode-edit #custom-filters-list-wrapper |
+{ |
+ display: none; |
+} |
+ |
+#custom-filters-save-btn |
+{ |
+ padding: 0px 16px; |
+} |
+ |
+#custom-filters .table |
{ |
height: 290px; |
overflow: auto; |
width: auto; |
} |
-#blocking-list-own .controls |
+#custom-filter-add |
{ |
display: flex; |
padding: 0px; |
border: none; |
} |
-#blocking-list-own input[type="text"], |
-#blocking-list-own input[type="text"]:focus |
+#custom-filters .controls |
{ |
- border: 0px; |
- border-bottom: 1px solid; |
- border-top: 1px solid; |
+ border-top: none; |
+} |
+ |
+#custom-filters-raw |
+{ |
+ width: 100%; |
+ height: 100%; |
+} |
+ |
+#custom-filters-wrapper |
+{ |
+ height: 330px; |
+} |
+ |
+#custom-filters input[type="text"] |
+{ |
+ border-width: 1px 0px 1px 0px; |
+ border-bottom-style: solid; |
+ border-top-style: solid; |
border-color: #1E8728; |
- box-sizing: border-box; |
height: 25px; |
- outline: 0px; |
-moz-padding-start: 10px; |
-webkit-padding-start: 10px; |
+ -moz-padding-end: 60px; |
+ -webkit-padding-end: 60px; |
+ padding-top: 18px; |
+ padding-bottom: 18px; |
width: 100%; |
} |
-.icon-enter-blue |
+#custom-filters input[type="text"]:focus |
{ |
- background-position: -28px -85px; |
- cursor: pointer; |
- height: 10px; |
- margin: 0px 0px -2px 2px; |
- width: 10px; |
+ outline: 0px; |
} |
-#blocking-list-own .input-control |
+#custom-filter-add input |
{ |
- position: absolute; |
- -webkit-margin-start: -50px; |
- -moz-margin-start: -50px; |
- bottom: 5px; |
+ font-size: 13px; |
+ background-color: #F5F5F5; |
} |
-#blocking-list-own .input-separator |
+#custom-filter-add input::-webkit-input-placeholder |
{ |
+ font-weight: 600; |
+} |
+#custom-filter-add input::-moz-placeholder |
+{ |
+ font-weight: 600; |
+} |
+ |
+#custom-filters-table |
+{ |
+ border-top: 1px solid #CDCDCD; |
+} |
+ |
+#custom-filter-add button |
+{ |
+ font-size: 14px; |
+ -webkit-margin-start: -60px; |
+ -moz-margin-start: -60px; |
+ cursor: pointer; |
+ color: #3A7BA6; |
+} |
+ |
+#custom-filter-add button::before |
+{ |
+ content: ""; |
display: inline-block; |
-moz-border-end: 1px solid #CDCDCD; |
-webkit-border-end: 1px solid #CDCDCD; |
height: 15px; |
- margin: 0px 4px -4px 0px; |
+ -webkit-margin-end: 10px; |
+ -moz-margin-end: 10px; |
+ margin-bottom: -2px; |
width: 1px; |
} |
-#blocking-list-own .input-button-text |
+#custom-filter-add button::after |
{ |
- font-size: 12px; |
+ content: ""; |
+ background-position: -28px -85px; |
+ cursor: pointer; |
+ height: 10px; |
+ -webkit-margin-start: 6px; |
+ -moz-margin-start: 6px; |
+ width: 10px; |
} |
.tooltip, #block-element-explanation a |
@@ -788,9 +863,6 @@ |
#dialog input[type="text"], |
#dialog input[type="search"] |
{ |
- -webkit-box-sizing: border-box; |
- -moz-box-sizing: border-box; |
- box-sizing: border-box; |
font-size: 16px; |
margin-top: 10px; |
padding: 5px; |