Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/desktop-options.css

Issue 29674584: Issue 5549 - Implement missing error handlings for custom filter lists (Closed)
Patch Set: Created Jan. 19, 2018, 11:46 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 button.list:hover 212 button.list:hover
213 { 213 {
214 box-shadow: inset 0 0 0 3px #077CA6; 214 box-shadow: inset 0 0 0 3px #077CA6;
215 border-color: #077CA6; 215 border-color: #077CA6;
216 } 216 }
217 217
218 .side-controls:not(.wrap) 218 .side-controls:not(.wrap)
219 { 219 {
220 margin: 0.8rem 0rem; 220 margin: 0.8rem 0rem;
221 display: flex; 221 display: flex;
222 align-self: center;
222 justify-content: flex-end; 223 justify-content: flex-end;
223 } 224 }
224 225
225 .side-controls button 226 .side-controls button
226 { 227 {
227 margin: 0rem; 228 margin: 0rem;
228 -moz-margin-start: 1rem; 229 -moz-margin-start: 1rem;
229 -webkit-margin-start: 1rem; 230 -webkit-margin-start: 1rem;
230 } 231 }
231 232
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 /* 1128 /*
1128 Advanced tab content 1129 Advanced tab content
1129 */ 1130 */
1130 1131
1131 #all-filter-lists-table li.show-message .last-update, 1132 #all-filter-lists-table li.show-message .last-update,
1132 #all-filter-lists-table li:not(.show-message) .message, 1133 #all-filter-lists-table li:not(.show-message) .message,
1133 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, 1134 #custom-filters:not([data-mode="empty"]) #empty-custom-filters,
1134 #custom-filters[data-mode="empty"] #custom-filters-raw, 1135 #custom-filters[data-mode="empty"] #custom-filters-raw,
1135 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, 1136 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls,
1136 #custom-filters:not([data-mode="read"]) #custom-filters-edit, 1137 #custom-filters:not([data-mode="read"]) #custom-filters-edit,
1138 #custom-filters-edit-filters,
1139 #link-filters-on-edit-error,
1137 .state span, 1140 .state span,
1138 #acceptable-ads:not(.show-dnt-notification) #dnt 1141 #acceptable-ads:not(.show-dnt-notification) #dnt
1139 { 1142 {
1140 display: none; 1143 display: none;
1141 } 1144 }
1142 1145
1143 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s tate-active 1146 #all-filter-lists-table button[role="checkbox"][aria-checked="true"] + .state #s tate-active,
1147 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state # state-disabled,
1148 #link-filters-on-edit-error.visible
1144 { 1149 {
1145 display: inline; 1150 display: inline;
1146 } 1151 }
1147
1148 #all-filter-lists-table button[role="checkbox"][aria-checked="false"] + .state # state-disabled
1149 {
1150 display: inline;
1151 }
1152 1152
1153 #all-filter-lists-table 1153 #all-filter-lists-table
1154 { 1154 {
1155 margin-bottom: 0.8rem; 1155 margin-bottom: 0.8rem;
1156 } 1156 }
1157 1157
1158 #custom-filters-edit {
1159 white-space: nowrap;
1160 }
1161
1162 #custom-filters-edit-area {
1163 display: flex;
1164 width: 100%;
1165 }
1166
1167 /*
1168 avoid doubled margin glitchy behavior
1169 as shown in visual specifications
1170 */
1171 #custom-filters-edit-area .side-controls .side-controls {
1172 margin: 0;
1173 }
1174
1175 /*
1176 visibility: hidden;
1177 preserves the flex-box meaning,
1178 keeping buttons on the right.
1179 */
1180 #custom-filters-edit-error {
1181 visibility: hidden;
1182 display: flex;
1183 align-self: center;
1184 justify-content: flex-start;
1185 font-weight: bold;
1186 }
1187
1188 #custom-filters-edit-error.warning,
1189 #custom-filters-edit-filters
1190 {
1191 color: #C11D26;
1192 padding: 0.2rem 0.8rem;
1193 }
1194
1195 #custom-filters-edit-error.warning {
1196 visibility: visible;
1197 }
1198
1199 #custom-filters-edit-filters {
1200 display: block;
1201 white-space: pre;
1202 overflow: auto;
1203 }
1204
1205 #custom-filters-edit-filters.many {
1206 border: 1px solid silver;
1207 max-height: 6.2rem;
1208 }
1209
1158 #custom-filters-raw 1210 #custom-filters-raw
1159 { 1211 {
1160 width: 100%; 1212 width: 100%;
1161 height: 23.6rem; 1213 height: 23.6rem;
1162 padding: 0.8rem; 1214 padding: 0.8rem;
1163 } 1215 }
1164 1216
1165 #custom-filters-raw:focus 1217 #custom-filters-raw:focus
1166 { 1218 {
1167 outline: none; 1219 outline: none;
1168 border: 2px solid #077CA6; 1220 border: 2px solid #077CA6;
1169 } 1221 }
1170 1222
1223 #custom-filters-raw.warning
1224 {
1225 outline: none;
1226 border: 2px solid #C11D26;
1227 }
1228
1171 #empty-custom-filters 1229 #empty-custom-filters
1172 { 1230 {
1173 padding: 1.5rem; 1231 padding: 1.5rem;
1174 border: 1px solid #CDCDCD; 1232 border: 1px solid #CDCDCD;
1175 } 1233 }
1176 1234
1177 /* 1235 /*
1178 Context menu 1236 Context menu
1179 */ 1237 */
1180 1238
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 font-size: 1rem; 1569 font-size: 1rem;
1512 color: #077CA6; 1570 color: #077CA6;
1513 background-color: #E1F2FA; 1571 background-color: #E1F2FA;
1514 } 1572 }
1515 1573
1516 #notification strong 1574 #notification strong
1517 { 1575 {
1518 flex: 1; 1576 flex: 1;
1519 text-align: center; 1577 text-align: center;
1520 } 1578 }
OLDNEW
« no previous file with comments | « locale/en_US/desktop-options.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld