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

Side by Side Diff: skin/options.css

Issue 29333262: Issue 2359 - Fixed styles of list items in options page (Closed)
Patch Set: Rebased to 59920e6112a6 Created Jan. 6, 2016, 6:25 p.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 | « no previous file | 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-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 { 327 {
328 list-style: none; 328 list-style: none;
329 margin: 0px; 329 margin: 0px;
330 padding: 0px; 330 padding: 0px;
331 position: relative; 331 position: relative;
332 } 332 }
333 333
334 .table li 334 .table li
335 { 335 {
336 display: flex; 336 display: flex;
337 padding: 14px 0px; 337 padding: 12px 0px;
338 -webkit-padding-start: 16px; 338 -webkit-padding-start: 16px;
339 -moz-padding-start: 16px; 339 -moz-padding-start: 16px;
340 border-radius: 3px;
340 } 341 }
341 342
342 .table.list li .display 343 .table.list li .display
343 { 344 {
344 flex: 1; 345 flex: 1;
346 line-height: 16px;
347 overflow: hidden;
348 text-overflow: ellipsis;
349 white-space: nowrap;
saroyanm 2016/01/25 16:32:37 What about setup max-width as well, because curren
Thomas Greiner 2016/01/25 18:41:24 You're right. That behavior must've been introduce
345 } 350 }
346 351
347 .table.list li:nth-child(odd), 352 .table.list li:nth-child(odd),
348 .table.cols li:nth-child(even), 353 .table.cols li:nth-child(even),
349 .table li.empty-placeholder 354 .table li.empty-placeholder
350 { 355 {
351 background-color: #F5F5F5; 356 background-color: #F5F5F5;
352 } 357 }
353 358
354 .table label 359 .table label
(...skipping 17 matching lines...) Expand all
372 display: inline-block; 377 display: inline-block;
373 width: 30%; 378 width: 30%;
374 } 379 }
375 380
376 .table.cols .col-name span:first-child 381 .table.cols .col-name span:first-child
377 { 382 {
378 -webkit-padding-start: 38px; 383 -webkit-padding-start: 38px;
379 -moz-padding-start: 38px; 384 -moz-padding-start: 38px;
380 } 385 }
381 386
382 .table::-webkit-scrollbar,
383 #custom-wrapper::-webkit-scrollbar
384 {
385 -webkit-padding-end: 10px;
386 width: 5px;
387 }
388
389 .table::-webkit-scrollbar-thumb,
390 #custom-wrapper::-webkit-scrollbar-thumb
391 {
392 background-color: #CDCDCD;
393 border-radius: 5px;
394 padding: 0px 40px;
395 }
396
397 .table::-webkit-scrollbar-thumb:hover,
398 #custom-wrapper::-webkit-scrollbar-thumb:hover
399 {
400 background-color: #A1A1A1;
401 }
402
403 .table input[type="checkbox"] 387 .table input[type="checkbox"]
404 { 388 {
405 margin-top: 0px; 389 margin-top: 0px;
406 -moz-margin-end: 20px; 390 -moz-margin-end: 20px;
407 -webkit-margin-end: 20px; 391 -webkit-margin-end: 20px;
408 padding: 0px 0px 0px 0px; 392 padding: 0px 0px 0px 0px;
409 visibility: hidden; 393 visibility: hidden;
410 } 394 }
411 395
412 .table input[type="checkbox"]::before 396 .table input[type="checkbox"]::before
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 } 918 }
935 919
936 /* 920 /*
937 Dialog 921 Dialog
938 */ 922 */
939 923
940 #dialog-background 924 #dialog-background
941 { 925 {
942 display: none; 926 display: none;
943 background-color: white; 927 background-color: white;
944 position: absolute; 928 position: fixed;
945 opacity: 0.7; 929 opacity: 0.7;
946 top: 0px; 930 top: 0px;
947 right: 0px; 931 right: 0px;
948 bottom: 0px; 932 bottom: 0px;
949 left: 0px; 933 left: 0px;
950 z-index: 2; 934 z-index: 2;
951 } 935 }
952 936
953 body[data-dialog] #dialog-background 937 body[data-dialog] #dialog-background
954 { 938 {
955 display: block; 939 display: block;
956 } 940 }
957 941
958 #dialog 942 #dialog
959 { 943 {
960 background-color: #FFFFFF; 944 background-color: #FFFFFF;
961 border: 2px solid #4D9D4B; 945 border: 2px solid #4D9D4B;
962 border-radius: 3px; 946 border-radius: 3px;
963 margin: auto; 947 margin: auto;
964 position:absolute; 948 position: fixed;
saroyanm 2016/01/25 16:32:37 Note: I think whenever we fixing a block we can al
Thomas Greiner 2016/01/25 18:41:24 Done.
965 top:100px; 949 top: 100px;
966 left: 0px; 950 left: 0px;
967 right: 0px; 951 right: 0px;
968 z-index: 2; 952 z-index: 2;
969 width: 400px; 953 width: 400px;
970 } 954 }
971 955
972 #dialog header 956 #dialog header
973 { 957 {
974 background-color: #4D9D4B; 958 background-color: #4D9D4B;
975 display: flex; 959 display: flex;
976 height: 25px; 960 min-height: 25px;
977 padding: 10px; 961 padding: 10px;
978 } 962 }
979 963
980 #dialog-close 964 #dialog-close
981 { 965 {
982 -moz-border-start: 1px solid #25612B; 966 -moz-border-start: 1px solid #25612B;
983 -webkit-border-start: 1px solid #25612B; 967 -webkit-border-start: 1px solid #25612B;
984 color: #0F660F; 968 color: #0F660F;
985 display: inline-block; 969 display: inline-block;
986 height: 20px; 970 height: 20px;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 margin-top: 10px; 1005 margin-top: 10px;
1022 padding: 5px; 1006 padding: 5px;
1023 width: 100%; 1007 width: 100%;
1024 } 1008 }
1025 1009
1026 #dialog .table 1010 #dialog .table
1027 { 1011 {
1028 width: 100%; 1012 width: 100%;
1029 } 1013 }
1030 1014
1031 #dialog #other-language .table 1015 #dialog #dialog-content-language .table
1032 { 1016 {
1033 height: 200px;
1034 overflow: auto; 1017 overflow: auto;
1035 } 1018 }
1036 1019
1037 #dialog .section:not(:first-child) 1020 #dialog .section:not(:first-child)
1038 { 1021 {
1039 margin-top: 24px; 1022 margin-top: 24px;
1040 } 1023 }
1041 1024
1042 #dialog-title 1025 #dialog-title
1043 { 1026 {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 body:not([data-dialog="custom"]) #dialog-content-custom, 1061 body:not([data-dialog="custom"]) #dialog-content-custom,
1079 body:not([data-dialog="language"]) #dialog-title-language, 1062 body:not([data-dialog="language"]) #dialog-title-language,
1080 body:not([data-dialog="language"]) #dialog-content-language, 1063 body:not([data-dialog="language"]) #dialog-content-language,
1081 body:not([data-dialog="predefined"]) #dialog-title-predefined, 1064 body:not([data-dialog="predefined"]) #dialog-title-predefined,
1082 body:not([data-dialog="predefined"]) #dialog-content-predefined, 1065 body:not([data-dialog="predefined"]) #dialog-content-predefined,
1083 body:not([data-dialog]) #dialog 1066 body:not([data-dialog]) #dialog
1084 { 1067 {
1085 display: none; 1068 display: none;
1086 } 1069 }
1087 1070
1071 #dialog-content-language .dialog-content-block
1072 {
1073 display: flex;
saroyanm 2016/01/25 16:32:37 For some reason, RTL have a bug. It feels like cau
saroyanm 2016/01/25 17:16:17 Browser update, fixed the issue.
1074 flex-direction: column;
1075 height: 120px;
1076 }
1077
1078 #dialog-content-language #other-language
1079 {
1080 height: 200px;
1081 }
1082
1088 #other-language .button-add 1083 #other-language .button-add
1089 { 1084 {
1090 background-color: transparent; 1085 background-color: transparent;
1091 margin: 0px; 1086 margin: 0px;
1092 padding: 0px; 1087 padding: 0px;
1093 width: auto; 1088 width: auto;
1094 -webkit-border-end: 1px solid #CDCDCD; 1089 -webkit-border-end: 1px solid #CDCDCD;
1095 -moz-border-end: 1px solid #CDCDCD; 1090 -moz-border-end: 1px solid #CDCDCD;
1096 -webkit-padding-end: 10px; 1091 -webkit-padding-end: 10px;
1097 -moz-padding-end: 10px; 1092 -moz-padding-end: 10px;
1098 -webkit-padding-start: 0px; 1093 -webkit-padding-start: 0px;
1099 -moz-padding-start: 0px; 1094 -moz-padding-start: 0px;
1100 } 1095 }
1101 1096
1102 #other-language .button-add::before 1097 #other-language .button-add::before
1103 { 1098 {
1104 display: none; 1099 display: none;
1105 } 1100 }
1106 1101
1107 #other-language .display 1102 #other-language .display
1108 { 1103 {
1109 -webkit-margin-start: 10px; 1104 -webkit-margin-start: 10px;
1110 -moz-margin-start: 10px; 1105 -moz-margin-start: 10px;
1111 } 1106 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld