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

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

Issue 29519650: Issue 5540 - implement notification (Closed)
Patch Set: Created Aug. 23, 2017, 6:55 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
« skin/delete.svg ('K') | « skin/delete.svg ('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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after
1071 body:not([data-dialog="language-change"]) #dialog-title-language-change, 1071 body:not([data-dialog="language-change"]) #dialog-title-language-change,
1072 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add, 1072 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add,
1073 body:not([data-dialog="language-add"]) #dialog-body button.add, 1073 body:not([data-dialog="language-add"]) #dialog-body button.add,
1074 body:not([data-dialog="language-change"]) #dialog-body button.change, 1074 body:not([data-dialog="language-change"]) #dialog-body button.change,
1075 body:not([data-dialog="predefined"]) #dialog-title-predefined, 1075 body:not([data-dialog="predefined"]) #dialog-title-predefined,
1076 body:not([data-dialog="predefined"]) #dialog-content-predefined, 1076 body:not([data-dialog="predefined"]) #dialog-content-predefined,
1077 body:not([data-dialog]) #dialog 1077 body:not([data-dialog]) #dialog
1078 { 1078 {
1079 display: none; 1079 display: none;
1080 } 1080 }
1081
1082 /*
1083 Notification
1084 */
1085
1086 #notification
1087 {
1088 position: absolute;
ire 2017/08/24 10:08:44 I think this should be `position: fixed`. Althou
saroyanm 2017/08/24 14:18:26 Good point!
saroyanm 2017/08/24 18:40:54 Done.
1089 top: 0rem;
1090 left: 0rem;
1091 display: flex;
1092 padding: 1rem 1.9rem;
1093 width: 100%;
1094 box-sizing: border-box;
ire 2017/08/24 10:08:44 Not sure if this will be addressed by implementing
saroyanm 2017/08/24 14:18:26 Not sure if we should apply this to all elements,
ire 2017/08/25 09:59:45 Acknowledged.
1095 opacity: 0.8;
1096 font-size: 1rem;
1097 font-weight: 600;
ire 2017/08/24 10:08:44 Can this bold style be applied by using a <strong>
saroyanm 2017/08/24 14:18:26 Yes, I'll use <strong> instead
saroyanm 2017/08/24 18:40:54 Done.
1098 color: #099CD0;
1099 background-color: #E1F2FA;
ire 2017/08/24 10:08:44 (I think this may have been discussed already but)
saroyanm 2017/08/24 14:18:26 I agree, that the contrast needs to be adjusted.
ire 2017/08/25 09:59:45 It's fine to bring up during the next meeting sinc
1100 }
1101
1102 #notification span
1103 {
1104 flex: 1;
1105 text-align: center;
1106 }
1107
1108 #hide-notification
1109 {
1110 border: 0rem;
1111 padding: 0rem;e
ire 2017/08/24 10:08:45 There's a stray "e" here :p
saroyanm 2017/08/24 14:18:26 :D
saroyanm 2017/08/24 18:40:54 Done.
1112 margin: 0rem 1rem;
1113 background-color: transparent;
1114 }
1115
1116 #hide-notification::after
1117 {
1118 content: "";
1119 display: block;
1120 height: 1rem;
1121 width: 1rem;
1122 border: 0rem;
1123 background-color: #099DD1;
1124 cursor: pointer;
ire 2017/08/24 10:08:44 I think the `cursor: pointer` should be on the but
saroyanm 2017/08/24 14:18:26 Right. I'll change that.
saroyanm 2017/08/24 18:40:54 Done.
1125 -webkit-mask: url(delete.svg);
1126 mask: url(delete.svg);
1127 }
1128
1129 #hide-notification:hover::after
1130 {
1131 background-color: #5CBCE1;
ire 2017/08/24 10:08:45 (I think this was also discussed before but) the c
saroyanm 2017/08/24 14:18:26 Yes, I agree, same as above question. I'll collect
1132 }
OLDNEW
« skin/delete.svg ('K') | « skin/delete.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld