sync both themes with toolkit windows theme changes in Mozilla 39 cycle
authorRobert Kaiser <kairo@kairo.at>
Sun, 17 May 2015 18:26:17 +0000 (20:26 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 17 May 2015 18:26:17 +0000 (20:26 +0200)
13 files changed:
EarlyBlue/global/aboutReader.css
EarlyBlue/global/aboutReaderContent.css [new file with mode: 0644]
EarlyBlue/global/aboutReaderControls.css [new file with mode: 0644]
EarlyBlue/global/global.css
EarlyBlue/global/in-content/common.css
EarlyBlue/global/notification.css
EarlyBlue/global/reader/pocket.svg [new file with mode: 0644]
EarlyBlue/global/tabbox.css
LCARStrek/global/aboutReader.css
LCARStrek/global/global.css
LCARStrek/global/in-content/common.css
LCARStrek/global/notification.css
LCARStrek/global/tabbox.css

index b852c6092267cf0a7e2db4cb1ecdd177599a2600..8121e5f9de6649ab361fd693f985e7ca18b471fc 100644 (file)
@@ -4,8 +4,6 @@
 
 body {
   padding: 64px 0;
 
 body {
   padding: 64px 0;
-  max-width: 660px;
-  margin: 0 auto;
 }
 
 @media (max-width: 785px) {
 }
 
 @media (max-width: 785px) {
@@ -21,531 +19,106 @@ body.loaded {
   transition: color 0.4s, background-color 0.4s;
 }
 
   transition: color 0.4s, background-color 0.4s;
 }
 
-.light,
-.light-button {
+body.light {
   color: #333333;
   background-color: #ffffff;
 }
 
   color: #333333;
   background-color: #ffffff;
 }
 
-.dark,
-.dark-button {
+body.dark {
   color: #eeeeee;
   background-color: #333333;
 }
 
   color: #eeeeee;
   background-color: #333333;
 }
 
-.sepia,
-.sepia-button {
-  color: #333333;
-  background-color: #f0ece7;
+body.dark *::-moz-selection {
+  background-color: #FFFFFF;
+  color: #0095DD;
+}
+body.dark a::-moz-selection {
+  color: #DD4800;
 }
 
 }
 
-.sans-serif,
-.sans-serif .remove-button {
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
+body.sepia {
+  color: #5b4636;
+  background-color: #f4ecd8;
 }
 
 }
 
-.serif,
-.serif .remove-button {
-  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
+body.sans-serif,
+body.sans-serif .remove-button {
+  font-family: Helvetica, Arial, sans-serif;
 }
 
 }
 
-.font-size1 {
-  font-size: 10px;
+body.serif,
+body.serif .remove-button  {
+  font-family: Georgia, "Times New Roman", serif;
 }
 
 }
 
-.font-size2 {
+#container {
+  max-width: 30em;
+  margin: 0 auto;
+}
+
+#container.font-size1 {
   font-size: 12px;
 }
 
   font-size: 12px;
 }
 
-.font-size3 {
+#container.font-size2 {
   font-size: 14px;
 }
 
   font-size: 14px;
 }
 
-.font-size4  {
+#container.font-size3 {
   font-size: 16px;
 }
 
   font-size: 16px;
 }
 
-.font-size5 {
+#container.font-size4  {
   font-size: 18px;
 }
 
   font-size: 18px;
 }
 
-.font-size6 {
+#container.font-size5 {
   font-size: 20px;
 }
 
   font-size: 20px;
 }
 
-.font-size7 {
+#container.font-size6 {
   font-size: 22px;
 }
 
   font-size: 22px;
 }
 
-.font-size8 {
+#container.font-size7 {
   font-size: 24px;
 }
 
   font-size: 24px;
 }
 
-.font-size9 {
+#container.font-size8 {
   font-size: 26px;
 }
 
   font-size: 26px;
 }
 
-
-/* Loading/error message */
-
-.message {
-  margin-top: 40px;
-  display: none;
-  text-align: center;
-  width: 100%;
-  font-size: 0.9em;
-}
-
-/* Header */
-
-.header {
-  text-align: start;
-  display: none;
-}
-
-.domain {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  padding-bottom: 4px;
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
-  text-decoration: none;
-  border-bottom: 1px solid;
-  color: #0095dd;
-}
-
-.light > .container > .header > .domain,
-.sepia > .container > .header > .domain {
-  border-bottom-color: #333333;
-}
-
-.dark > .container > .header > .domain {
-  border-bottom-color: #eeeeee;
-}
-
-.header > h1 {
-  font-size: 1.33em;
-  line-height: 1.25em;
-  width: 100%;
-  margin: 30px 0;
-  padding: 0;
-}
-
-.header > .credits {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  margin: 0 0 30px 0;
-  padding: 0;
-  font-style: italic;
-}
-
-/* Content */
-
-#moz-reader-content {
-  display: none;
-  font-size: 1em;
-  line-height: 1.6em;
-}
-
-.content h1,
-.content h2,
-.content h3 {
-  font-weight: bold;
-}
-
-#moz-reader-content h1 {
-  font-size: 1.33em;
-  line-height: 1.25em;
-}
-
-#moz-reader-content h2 {
-  font-size: 1.1em;
-  line-height: 1.51em;
-}
-
-#moz-reader-content h3 {
-  font-size: 1em;
-  line-height: 1.66em;
-}
-
-.content a {
-  text-decoration: underline;
-  font-weight: normal;
-}
-
-.content a,
-.content a:visited,
-.content a:hover,
-.content a:active {
-  color: #0095dd;
-}
-
-.content * {
-  max-width: 100%;
-  height: auto;
-}
-
-.content p,
-.content code,
-.content pre,
-.content blockquote,
-.content ul,
-.content ol,
-.content li,
-.content figure,
-.content .wp-caption {
-  margin: 0 0 30px 0;
-}
-
-.content p > img:only-child,
-.content p > a:only-child > img:only-child,
-.content .wp-caption img,
-.content figure img {
-  display: block;
-}
-
-.content img[moz-reader-center] {
-  margin-left: auto;
-  margin-right: auto;
-}
-
-#moz-reader-content .caption,
-#moz-reader-content .wp-caption-text,
-#moz-reader-content figcaption {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  font-style: italic;
-}
-
-.content code,
-.content pre {
-  white-space: pre-wrap;
-}
-
-.content blockquote {
-  padding: 0;
-  -moz-padding-start: 16px;
-}
-
-.light > .container > .content blockquote,
-.sepia > .container > .content blockquote {
-  -moz-border-start: 2px solid #333333;
-}
-
-.dark > .container > .content blockquote {
-  -moz-border-start: 2px solid #eeeeee;
-}
-.dark *::-moz-selection {
-  background-color: #FFFFFF;
-  color: #0095DD;
-}
-.dark a::-moz-selection {
-  color: #DD4800;
+#container.font-size9 {
+  font-size: 28px;
 }
 
 }
 
-.content ul,
-.content ol {
-  padding: 0;
-}
+/* Override some controls and content styles based on color scheme */
 
 
-.content ul {
-  -moz-padding-start: 30px;
-  list-style: disc;
+body.light > .container > .header > .domain {
+  border-bottom-color: #333333 !important;
 }
 
 }
 
-.content ol {
-  -moz-padding-start: 30px;
-  list-style: decimal;
+body.sepia > .container > .header > .domain {
+  border-bottom-color: #5b4636 !important;
 }
 
 }
 
-/*======= Controls toolbar =======*/
-
-.toolbar {
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
-  position: fixed;
-  height: 100%;
-  top: 0;
-  left: 0;
-  margin: 0;
-  padding: 0;
-  list-style: none;
-  background-color: #fbfbfb;
-  -moz-user-select: none;
-  border-right: 1px solid #b5b5b5;
+body.dark > .container > .header > .domain {
+  border-bottom-color: #eeeeee !important;
 }
 
 }
 
-.button {
-  display: block;
-  background-size: 24px 24px;
-  background-repeat: no-repeat;
-  color: #333;
-  background-color: #fbfbfb;
-  height: 40px;
-  padding: 0;
+body.sepia > .container > .footer {
+  background-color: #dedad4 !important;
 }
 
 }
 
-.toolbar .button {
-  width: 40px;
-  background-position: center;
-  margin-right: -1px;
-  border-top: 0;
-  border-left: 0;
-  border-right: 1px solid #b5b5b5;
-  border-bottom: 1px solid #c1c1c1;
+body.light blockquote {
+  -moz-border-start: 2px solid #333333 !important;
 }
 
 }
 
-.button[hidden] {
-  display: none;
+body.sepia blockquote {
+  -moz-border-start: 2px solid #5b4636 !important;
 }
 
 }
 
-.dropdown {
-  text-align: center;
-  list-style: none;
-  margin: 0;
-  padding: 0;
-}
-
-.dropdown li {
-  margin: 0;
-  padding: 0;
-}
-
-/*======= Font style popup =======*/
-
-.dropdown-popup {
-  min-width: 300px;
-  text-align: start;
-  position: absolute;
-  left: 48px; /* offset to account for toolbar width */
-  z-index: 1000;
-  background-color: #fbfbfb;
-  visibility: hidden;
-  border-radius: 4px;
-  border: 1px 1px 0 1px solid #b5b5b5;
-  box-shadow: 0 1px 12px #666;
-}
-
-.dropdown-popup > hr {
-  display: none;
-}
-
-.open > .dropdown-popup {
-  visibility: visible;
-}
-
-.dropdown-arrow {
-  position: absolute;
-  top: 30px; /* offset arrow from top of popup */
-  left: -16px;
-  width: 24px;
-  height: 24px;
-  background-image: url("chrome://global/skin/reader/RM-Type-Controls-Arrow.svg");
-  display: block;
-}
-
-#font-type-buttons,
-#font-size-buttons,
-#color-scheme-buttons {
-  display: flex;
-  flex-direction: row;
-}
-
-#font-type-buttons > button:first-child {
-  border-top-left-radius: 3px;
-}
-#font-type-buttons > button:last-child {
-  border-top-right-radius: 3px;
-}
-#color-scheme-buttons > button:first-child {
-  border-bottom-left-radius: 3px;
-}
-#color-scheme-buttons > button:last-child {
-  border-bottom-right-radius: 3px;
-}
-
-#font-type-buttons > button,
-#font-size-buttons > button,
-#color-scheme-buttons > button {
-  text-align: center;
-  border: 0;
-}
-
-#font-type-buttons > button,
-#font-size-buttons > button {
-  width: 50%;
-  background-color: transparent;
-  border-left: 1px solid #B5B5B5;
-  border-bottom: 1px solid #B5B5B5;
-}
-
-#color-scheme-buttons > button {
-  width: 33.33%;
-  font-size: 14px;
-}
-
-#color-scheme-buttons > .dark-button {
-  margin-top: -1px;
-  height: 61px;
-}
-
-#font-type-buttons > button:first-child,
-#font-size-buttons > button:first-child {
-  border-left: 0;
-}
-
-#font-type-buttons > button {
-  display: inline-block;
-  font-size: 58px;
-  height: 100px;
-}
-
-/* Make the serif button content the same size as the sans-serif button content. */
-#font-type-buttons > .serif-button {
-  padding-top: 1px;
-  font-size: 60px;
-}
-
-#font-size-buttons > button,
-#color-scheme-buttons > button {
-  height: 60px;
-}
-
-#font-type-buttons > button:active:hover,
-#font-type-buttons > button.selected,
-#color-scheme-buttons > button:active:hover,
-#color-scheme-buttons > button.selected {
-  box-shadow: inset 0 -3px 0 0 #fc6420;
-}
-
-#font-type-buttons > button:active:hover,
-#font-type-buttons > button.selected {
-  border-bottom: 1px solid #FC6420;
-}
-
-#font-type-buttons > button > div {
-  color: #666;
-  font-size: 12px;
-  margin-top: -4px;
-}
-
-.button:hover,
-#font-size-buttons > button:hover,
-#font-type-buttons > button:hover {
-  background-color: #ebebeb;
-}
-
-.dropdown.open,
-.button:active,
-#font-size-buttons > button:active,
-#font-size-buttons > button.selected {
-  background-color: #dadada;
-}
-
-/* Only used on Android */
-#font-size-sample {
-  display: none;
-}
-
-.serif-button {
-  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
-}
-
-.minus-button,
-.plus-button {
-  background-color: transparent;
-  border: 0;
-  background-size: 18px 18px;
-  background-repeat: no-repeat;
-  background-position: center;
-}
-
-.footer {
-  height: 64px;
-  background-color: #ebebeb;
-  position: absolute;
-  left: 0;
-  width: 100%;
-  text-align: center;
-  padding: 12px 0;
-  box-sizing: border-box;
-  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.35) inset;
-}
-
-.sepia .footer {
-  background-color: #dedad4;
-}
-
-.remove-button {
-  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
-  margin: 0 auto;
-  border: 1px solid #c1c1c1;
-  background-position: 10px 7px;
-  padding-left: 42px;
-  padding-right: 10px;
-  border-radius: 2px;
-  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
-  font-size: 18px;
-}
-
-
-/*======= Toolbar icons =======*/
-
-/* Android-only controls */
-.share-button {
-  display: none;
-}
-
-.close-button {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close");
-  height: 68px;
-  background-position: center 8px;
-}
-
-.close-button:hover {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
-  background-color: #d94141;
-  border-bottom: 1px solid #d94141;
-  border-right: 1px solid #d94141;
-}
-
-.close-button:hover:active {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
-  background-color: #AE2325;
-  border-bottom: 1px solid #AE2325;
-  border-right: 1px solid #AE2325;
-}
-
-.style-button {
-  background-image: url("chrome://global/skin/reader/RM-Type-Controls-24x24.svg");
-}
-
-.toggle-button.on {
-  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
-}
-
-.toggle-button {
-  background-image: url("chrome://global/skin/reader/RM-Add-24x24.svg");
-}
-
-.list-button {
-  background-image: url("chrome://global/skin/reader/RM-Reading-List-24x24.svg");
-}
-.list-button.on {
-  background-color: #d9d9d9;
-}
-
-.minus-button {
-  background-image: url("chrome://global/skin/reader/RM-Minus-24x24.svg");
-}
-
-.plus-button {
-  background-image: url("chrome://global/skin/reader/RM-Plus-24x24.svg");
-}
-
-@media print {
-  .toolbar {
-    display: none;
-  }
-  .footer {
-    display: none;
-  }
+body.dark blockquote {
+  -moz-border-start: 2px solid #eeeeee !important;
 }
 }
diff --git a/EarlyBlue/global/aboutReaderContent.css b/EarlyBlue/global/aboutReaderContent.css
new file mode 100644 (file)
index 0000000..8412751
--- /dev/null
@@ -0,0 +1,113 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#moz-reader-content {
+  display: none;
+  font-size: 1em;
+  line-height: 1.6em;
+}
+
+h1,
+h2,
+h3 {
+  font-weight: bold;
+}
+
+h1 {
+  font-size: 1.6em;
+  line-height: 1.25em;
+}
+
+h2 {
+  font-size: 1.2em;
+  line-height: 1.51em;
+}
+
+h3 {
+  font-size: 1em;
+  line-height: 1.66em;
+}
+
+a {
+  text-decoration: underline;
+  font-weight: normal;
+}
+
+a,
+a:visited,
+a:hover,
+a:active {
+  color: #0095dd;
+}
+
+* {
+  max-width: 100%;
+  height: auto;
+}
+
+p,
+code,
+pre,
+blockquote,
+ul,
+ol,
+li,
+figure,
+.wp-caption {
+  margin: 0 0 30px 0;
+}
+
+p > img:only-child,
+p > a:only-child > img:only-child,
+.wp-caption img,
+figure img {
+  display: block;
+}
+
+img[moz-reader-center] {
+  margin-left: auto;
+  margin-right: auto;
+}
+
+.caption,
+.wp-caption-text,
+figcaption {
+  font-size: 0.9em;
+  line-height: 1.48em;
+  font-style: italic;
+}
+
+code,
+pre {
+  white-space: pre-wrap;
+}
+
+blockquote {
+  padding: 0;
+  -moz-padding-start: 16px;
+}
+
+ul,
+ol {
+  padding: 0;
+}
+
+ul {
+  -moz-padding-start: 30px;
+  list-style: disc;
+}
+
+ol {
+  -moz-padding-start: 30px;
+  list-style: decimal;
+}
+
+/* Hide elements with common "hidden" class names */
+.visually-hidden,
+.visuallyhidden,
+.hidden,
+.invisible,
+.sr-only {
+  display: none;
+}
diff --git a/EarlyBlue/global/aboutReaderControls.css b/EarlyBlue/global/aboutReaderControls.css
new file mode 100644 (file)
index 0000000..005a3b9
--- /dev/null
@@ -0,0 +1,397 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+.light-button {
+  color: #333333;
+  background-color: #ffffff;
+}
+
+.dark-button {
+  color: #eeeeee;
+  background-color: #333333;
+}
+
+.sepia-button {
+  color: #5b4636;
+  background-color: #f4ecd8;
+}
+
+.sans-serif-button {
+  font-family: Helvetica, Arial, sans-serif;
+}
+
+.serif-button {
+  font-family: Georgia, "Times New Roman", serif;
+}
+
+/* Loading/error message */
+
+#reader-message {
+  margin-top: 40px;
+  display: none;
+  text-align: center;
+  width: 100%;
+  font-size: 0.9em;
+}
+
+/* Header */
+
+.header {
+  text-align: start;
+  display: none;
+}
+
+.domain {
+  font-size: 0.9em;
+  line-height: 1.48em;
+  padding-bottom: 4px;
+  font-family: Helvetica, Arial, sans-serif;
+  text-decoration: none;
+  border-bottom: 1px solid;
+  color: #0095dd;
+}
+
+.header > h1 {
+  font-size: 1.6em;
+  line-height: 1.25em;
+  width: 100%;
+  margin: 30px 0;
+  padding: 0;
+}
+
+.header > .credits {
+  font-size: 0.9em;
+  line-height: 1.48em;
+  margin: 0 0 30px 0;
+  padding: 0;
+  font-style: italic;
+}
+
+/*======= Controls toolbar =======*/
+
+.toolbar {
+  font-family: Helvetica, Arial, sans-serif;
+  position: fixed;
+  height: 100%;
+  top: 0;
+  left: 0;
+  margin: 0;
+  padding: 0;
+  list-style: none;
+  background-color: #fbfbfb;
+  -moz-user-select: none;
+  border-right: 1px solid #b5b5b5;
+}
+
+.button {
+  display: block;
+  background-size: 24px 24px;
+  background-repeat: no-repeat;
+  color: #333;
+  background-color: #fbfbfb;
+  height: 40px;
+  padding: 0;
+}
+
+.toolbar .button {
+  width: 40px;
+  background-position: center;
+  margin-right: -1px;
+  border-top: 0;
+  border-left: 0;
+  border-right: 1px solid #b5b5b5;
+  border-bottom: 1px solid #c1c1c1;
+}
+
+.button[hidden] {
+  display: none;
+}
+
+.dropdown {
+  text-align: center;
+  list-style: none;
+  margin: 0;
+  padding: 0;
+}
+
+.dropdown li {
+  margin: 0;
+  padding: 0;
+}
+
+/*======= Font style popup =======*/
+
+.dropdown-popup {
+  min-width: 300px;
+  text-align: start;
+  position: absolute;
+  left: 48px; /* offset to account for toolbar width */
+  z-index: 1000;
+  background-color: #fbfbfb;
+  visibility: hidden;
+  border-radius: 4px;
+  border: 1px solid #b5b5b5;
+  border-bottom-width: 0;
+  box-shadow: 0 1px 12px #666;
+}
+
+.dropdown-popup > hr {
+  display: none;
+}
+
+.open > .dropdown-popup {
+  visibility: visible;
+}
+
+.dropdown-arrow {
+  position: absolute;
+  top: 30px; /* offset arrow from top of popup */
+  left: -16px;
+  width: 24px;
+  height: 24px;
+  background-image: url("chrome://global/skin/reader/RM-Type-Controls-Arrow.svg");
+  display: block;
+}
+
+#font-type-buttons,
+#font-size-buttons,
+#color-scheme-buttons {
+  display: flex;
+  flex-direction: row;
+}
+
+#font-type-buttons > button:first-child {
+  border-top-left-radius: 3px;
+}
+#font-type-buttons > button:last-child {
+  border-top-right-radius: 3px;
+}
+#color-scheme-buttons > button:first-child {
+  border-bottom-left-radius: 3px;
+}
+#color-scheme-buttons > button:last-child {
+  border-bottom-right-radius: 3px;
+}
+
+#font-type-buttons > button,
+#font-size-buttons > button,
+#color-scheme-buttons > button {
+  text-align: center;
+  border: 0;
+}
+
+#font-type-buttons > button,
+#font-size-buttons > button {
+  width: 50%;
+  background-color: transparent;
+  border-left: 1px solid #B5B5B5;
+  border-bottom: 1px solid #B5B5B5;
+}
+
+#color-scheme-buttons > button {
+  width: 33.33%;
+  font-size: 14px;
+}
+
+#color-scheme-buttons > .dark-button {
+  margin-top: -1px;
+  height: 61px;
+}
+
+#font-type-buttons > button:first-child,
+#font-size-buttons > button:first-child {
+  border-left: 0;
+}
+
+#font-type-buttons > button {
+  display: inline-block;
+  font-size: 62px;
+  height: 100px;
+}
+
+#font-size-buttons > button,
+#color-scheme-buttons > button {
+  height: 60px;
+}
+
+#font-type-buttons > button:active:hover,
+#font-type-buttons > button.selected,
+#color-scheme-buttons > button:active:hover,
+#color-scheme-buttons > button.selected {
+  box-shadow: inset 0 -3px 0 0 #fc6420;
+}
+
+#font-type-buttons > button:active:hover,
+#font-type-buttons > button.selected {
+  border-bottom: 1px solid #FC6420;
+}
+
+/* Make the serif button content the same size as the sans-serif button content. */
+#font-type-buttons > button > .description {
+  color: #666;
+  font-size: 12px;
+  margin-top: -5px;
+}
+
+/* Font sizes are different per-platform, so we need custom CSS to line them up. */
+%ifdef XP_MACOSX
+#font-type-buttons > .sans-serif-button > .name {
+  margin-top: 10px;
+}
+
+#font-type-buttons > .sans-serif-button > .description {
+  margin-top: -4px;
+}
+
+#font-type-buttons > .serif-button > .name {
+  font-size: 63px;
+}
+%elifdef XP_WIN
+#font-type-buttons > .sans-serif-button > .name {
+  margin-top: 2px;
+}
+
+#font-type-buttons > .sans-serif-button > .description {
+  margin-top: -4px;
+}
+
+#font-type-buttons > .serif-button > .name {
+  font-size: 63px;
+}
+%else
+#font-type-buttons > .sans-serif-button > .name {
+  margin-top: 5px;
+}
+
+#font-type-buttons > .sans-serif-button > .description {
+  margin-top: -8px;
+}
+
+#font-type-buttons > .serif-button > .name {
+  font-size: 70px;
+}
+%endif
+
+.button:hover,
+#font-size-buttons > button:hover,
+#font-type-buttons > button:hover {
+  background-color: #ebebeb;
+}
+
+.dropdown.open,
+.button:active,
+#font-size-buttons > button:active,
+#font-size-buttons > button.selected {
+  background-color: #dadada;
+}
+
+/* Only used on Android */
+#font-size-sample {
+  display: none;
+}
+
+.minus-button,
+.plus-button {
+  background-color: transparent;
+  border: 0;
+  background-size: 18px 18px;
+  background-repeat: no-repeat;
+  background-position: center;
+}
+
+.footer {
+  height: 64px;
+  background-color: #ebebeb;
+  position: absolute;
+  left: 0;
+  width: 100%;
+  text-align: center;
+  padding: 12px 0;
+  box-sizing: border-box;
+  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.35) inset;
+}
+
+.remove-button {
+  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
+  margin: 0 auto;
+  border: 1px solid #c1c1c1;
+  background-position: 10px 7px;
+  padding-left: 42px;
+  padding-right: 10px;
+  border-radius: 2px;
+  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
+  font-size: 18px;
+}
+
+
+/*======= Toolbar icons =======*/
+
+/* Android-only controls */
+.share-button {
+  display: none;
+}
+
+.close-button {
+  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close");
+  height: 68px;
+  background-position: center 8px;
+}
+
+.close-button:hover {
+  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
+  background-color: #d94141;
+  border-bottom: 1px solid #d94141;
+  border-right: 1px solid #d94141;
+}
+
+.close-button:hover:active {
+  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
+  background-color: #AE2325;
+  border-bottom: 1px solid #AE2325;
+  border-right: 1px solid #AE2325;
+}
+
+.style-button {
+  background-image: url("chrome://global/skin/reader/RM-Type-Controls-24x24.svg");
+}
+
+.toggle-button.on {
+  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
+}
+
+.toggle-button {
+  background-image: url("chrome://global/skin/reader/RM-Add-24x24.svg");
+}
+
+.list-button {
+  background-image: url("chrome://global/skin/reader/RM-Reading-List-24x24.svg");
+}
+.list-button.on {
+  background-color: #d9d9d9;
+}
+
+.minus-button {
+  background-image: url("chrome://global/skin/reader/RM-Minus-24x24.svg");
+}
+
+.plus-button {
+  background-image: url("chrome://global/skin/reader/RM-Plus-24x24.svg");
+}
+
+#pocket-button {
+  background-image: url("chrome://global/skin/reader/pocket.svg#pocket-mark");
+}
+
+#pocket-button:hover:active {
+  background-image: url("chrome://global/skin/reader/pocket.svg#pocket-mark-added");
+}
+
+@media print {
+  .toolbar {
+    display: none !important;
+  }
+  .footer {
+    display: none !important;
+  }
+}
index 1aa900ba94deb3c2e28dcea0bbbb3a4b1c5642cb..803e7ab72abeba596188c1f27a8b32b90178b1b9 100644 (file)
@@ -264,6 +264,10 @@ description {
   outline: 1px dotted;
 }
 
   outline: 1px dotted;
 }
 
+popupnotificationcontent {
+  margin-top: .5em;
+}
+
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {
index e222bce7a97492d4489cfb0681a874895ed75a96..fc758782a5690b4cc54a441ad42a83a27733a627 100644 (file)
@@ -117,7 +117,7 @@ xul|tab:hover {
   background-color: #ebebeb;
 }
 
   background-color: #ebebeb;
 }
 
-xul|tab[selected] {
+xul|tab[visuallyselected] {
   background-color: #ebebeb;
   padding-bottom: 0; / compensate the 4px border /
   border-bottom: 4px solid #ff9500;
   background-color: #ebebeb;
   padding-bottom: 0; / compensate the 4px border /
   border-bottom: 4px solid #ff9500;
@@ -478,6 +478,10 @@ xul|richlistitem > xul|*.checkbox-check {
   margin: 3px 6px;
 }
 
   margin: 3px 6px;
 }
 
+xul|radio {
+  -moz-margin-start: 0;
+}
+
 xul|*.radio-check {
   -moz-appearance: none;
   width: 23px;
 xul|*.radio-check {
   -moz-appearance: none;
   width: 23px;
index 2c43f685ba35ba1b295a4ba97a96420efe16a522..dad7931e710fd377a759878b335ae04af5609ec4 100644 (file)
@@ -60,14 +60,19 @@ notification[type="critical"] {
   max-width: 24em;
 }
 
   max-width: 24em;
 }
 
-.popup-notification-learnmore-link {
-  margin-top: 1em !important;
-}
-
+.popup-notification-originHost:not([value]),
 .popup-notification-learnmore-link:not([href]) {
   display: none;
 }
 
 .popup-notification-learnmore-link:not([href]) {
   display: none;
 }
 
+.popup-notification-originHost {
+  margin-bottom: .3em !important;
+}
+
+.popup-notification-learnmore-link {
+  margin-top: .5em !important;
+}
+
 .popup-notification-button-container {
   margin-top: 17px;
 }
 .popup-notification-button-container {
   margin-top: 17px;
 }
diff --git a/EarlyBlue/global/reader/pocket.svg b/EarlyBlue/global/reader/pocket.svg
new file mode 100644 (file)
index 0000000..63b22fa
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<svg xmlns="http://www.w3.org/2000/svg"\r
+     xmlns:xlink="http://www.w3.org/1999/xlink"\r
+     viewBox="0 0 24 24">\r
+  <style>\r
+    use:not(:target) {\r
+      display: none;\r
+    }\r
+    use {\r
+      fill: #808080;\r
+    }\r
+    use[id$="-added"] {\r
+      fill: #EE4056;\r
+    }\r
+  </style>\r
+  <defs style="display: none;">\r
+    <path id="pocket-mark-shape" d="M21.901,4.204C21.642,3.484,20.956,3,20.196,3h-0.01h-1.721H3.814C3.067,3,2.385,3.474,2.119,4.179\r
+      C2.04,4.388,2,4.606,2,4.828v6.082l0.069,1.21c0.29,2.751,1.707,5.155,3.899,6.832c0.039,0.03,0.079,0.06,0.119,0.089l0.025,0.018\r
+      c1.175,0.866,2.491,1.452,3.91,1.741C10.677,20.932,11.347,21,12.013,21c0.615,0,1.232-0.057,1.839-0.171\r
+      c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.299,2.621-0.87,3.753-1.704l0.025-0.018\r
+      c0.04-0.029,0.08-0.059,0.119-0.089c2.192-1.677,3.609-4.08,3.898-6.832L22,10.91V4.828C22,4.618,21.975,4.409,21.901,4.204z\r
+      M17.667,10.539l-4.704,4.547c-0.266,0.256-0.608,0.385-0.949,0.385c-0.342,0-0.684-0.129-0.949-0.385l-4.705-4.547\r
+      c-0.547-0.528-0.565-1.403-0.04-1.954c0.524-0.551,1.392-0.569,1.939-0.041l3.756,3.63l3.755-3.63\r
+      c0.547-0.528,1.415-0.51,1.939,0.04C18.231,9.136,18.213,10.011,17.667,10.539z"/>\r
+  </defs>\r
+  <use id="pocket-mark" xlink:href="#pocket-mark-shape"/>\r
+  <use id="pocket-mark-added" xlink:href="#pocket-mark-shape"/>\r
+</svg>\r
index f97d69f02b6ec135363cdac928f6e4c3636de506..7f9149cc54da8609b3e4e2370335e864264b7e2d 100644 (file)
@@ -44,7 +44,7 @@ tab {
   margin: 0 !important;
 }
 
   margin: 0 !important;
 }
 
-tab[selected="true"] {
+tab[visuallyselected="true"] {
   font-weight: bold;
   background-color: #EDF1FF;
 }
   font-weight: bold;
   background-color: #EDF1FF;
 }
@@ -59,7 +59,7 @@ tab:-moz-focusring > .tab-middle {
 }
 
 /*
 }
 
 /*
-tab:first-of-type[selected="true"] {
+tab:first-of-type[visuallyselected="true"] {
   -moz-padding-end: 5px;
   -moz-padding-start: 5px;
 }
   -moz-padding-end: 5px;
   -moz-padding-start: 5px;
 }
index b852c6092267cf0a7e2db4cb1ecdd177599a2600..8121e5f9de6649ab361fd693f985e7ca18b471fc 100644 (file)
@@ -4,8 +4,6 @@
 
 body {
   padding: 64px 0;
 
 body {
   padding: 64px 0;
-  max-width: 660px;
-  margin: 0 auto;
 }
 
 @media (max-width: 785px) {
 }
 
 @media (max-width: 785px) {
@@ -21,531 +19,106 @@ body.loaded {
   transition: color 0.4s, background-color 0.4s;
 }
 
   transition: color 0.4s, background-color 0.4s;
 }
 
-.light,
-.light-button {
+body.light {
   color: #333333;
   background-color: #ffffff;
 }
 
   color: #333333;
   background-color: #ffffff;
 }
 
-.dark,
-.dark-button {
+body.dark {
   color: #eeeeee;
   background-color: #333333;
 }
 
   color: #eeeeee;
   background-color: #333333;
 }
 
-.sepia,
-.sepia-button {
-  color: #333333;
-  background-color: #f0ece7;
+body.dark *::-moz-selection {
+  background-color: #FFFFFF;
+  color: #0095DD;
+}
+body.dark a::-moz-selection {
+  color: #DD4800;
 }
 
 }
 
-.sans-serif,
-.sans-serif .remove-button {
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
+body.sepia {
+  color: #5b4636;
+  background-color: #f4ecd8;
 }
 
 }
 
-.serif,
-.serif .remove-button {
-  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
+body.sans-serif,
+body.sans-serif .remove-button {
+  font-family: Helvetica, Arial, sans-serif;
 }
 
 }
 
-.font-size1 {
-  font-size: 10px;
+body.serif,
+body.serif .remove-button  {
+  font-family: Georgia, "Times New Roman", serif;
 }
 
 }
 
-.font-size2 {
+#container {
+  max-width: 30em;
+  margin: 0 auto;
+}
+
+#container.font-size1 {
   font-size: 12px;
 }
 
   font-size: 12px;
 }
 
-.font-size3 {
+#container.font-size2 {
   font-size: 14px;
 }
 
   font-size: 14px;
 }
 
-.font-size4  {
+#container.font-size3 {
   font-size: 16px;
 }
 
   font-size: 16px;
 }
 
-.font-size5 {
+#container.font-size4  {
   font-size: 18px;
 }
 
   font-size: 18px;
 }
 
-.font-size6 {
+#container.font-size5 {
   font-size: 20px;
 }
 
   font-size: 20px;
 }
 
-.font-size7 {
+#container.font-size6 {
   font-size: 22px;
 }
 
   font-size: 22px;
 }
 
-.font-size8 {
+#container.font-size7 {
   font-size: 24px;
 }
 
   font-size: 24px;
 }
 
-.font-size9 {
+#container.font-size8 {
   font-size: 26px;
 }
 
   font-size: 26px;
 }
 
-
-/* Loading/error message */
-
-.message {
-  margin-top: 40px;
-  display: none;
-  text-align: center;
-  width: 100%;
-  font-size: 0.9em;
-}
-
-/* Header */
-
-.header {
-  text-align: start;
-  display: none;
-}
-
-.domain {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  padding-bottom: 4px;
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
-  text-decoration: none;
-  border-bottom: 1px solid;
-  color: #0095dd;
-}
-
-.light > .container > .header > .domain,
-.sepia > .container > .header > .domain {
-  border-bottom-color: #333333;
-}
-
-.dark > .container > .header > .domain {
-  border-bottom-color: #eeeeee;
-}
-
-.header > h1 {
-  font-size: 1.33em;
-  line-height: 1.25em;
-  width: 100%;
-  margin: 30px 0;
-  padding: 0;
-}
-
-.header > .credits {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  margin: 0 0 30px 0;
-  padding: 0;
-  font-style: italic;
-}
-
-/* Content */
-
-#moz-reader-content {
-  display: none;
-  font-size: 1em;
-  line-height: 1.6em;
-}
-
-.content h1,
-.content h2,
-.content h3 {
-  font-weight: bold;
-}
-
-#moz-reader-content h1 {
-  font-size: 1.33em;
-  line-height: 1.25em;
-}
-
-#moz-reader-content h2 {
-  font-size: 1.1em;
-  line-height: 1.51em;
-}
-
-#moz-reader-content h3 {
-  font-size: 1em;
-  line-height: 1.66em;
-}
-
-.content a {
-  text-decoration: underline;
-  font-weight: normal;
-}
-
-.content a,
-.content a:visited,
-.content a:hover,
-.content a:active {
-  color: #0095dd;
-}
-
-.content * {
-  max-width: 100%;
-  height: auto;
-}
-
-.content p,
-.content code,
-.content pre,
-.content blockquote,
-.content ul,
-.content ol,
-.content li,
-.content figure,
-.content .wp-caption {
-  margin: 0 0 30px 0;
-}
-
-.content p > img:only-child,
-.content p > a:only-child > img:only-child,
-.content .wp-caption img,
-.content figure img {
-  display: block;
-}
-
-.content img[moz-reader-center] {
-  margin-left: auto;
-  margin-right: auto;
-}
-
-#moz-reader-content .caption,
-#moz-reader-content .wp-caption-text,
-#moz-reader-content figcaption {
-  font-size: 0.9em;
-  line-height: 1.48em;
-  font-style: italic;
-}
-
-.content code,
-.content pre {
-  white-space: pre-wrap;
-}
-
-.content blockquote {
-  padding: 0;
-  -moz-padding-start: 16px;
-}
-
-.light > .container > .content blockquote,
-.sepia > .container > .content blockquote {
-  -moz-border-start: 2px solid #333333;
-}
-
-.dark > .container > .content blockquote {
-  -moz-border-start: 2px solid #eeeeee;
-}
-.dark *::-moz-selection {
-  background-color: #FFFFFF;
-  color: #0095DD;
-}
-.dark a::-moz-selection {
-  color: #DD4800;
+#container.font-size9 {
+  font-size: 28px;
 }
 
 }
 
-.content ul,
-.content ol {
-  padding: 0;
-}
+/* Override some controls and content styles based on color scheme */
 
 
-.content ul {
-  -moz-padding-start: 30px;
-  list-style: disc;
+body.light > .container > .header > .domain {
+  border-bottom-color: #333333 !important;
 }
 
 }
 
-.content ol {
-  -moz-padding-start: 30px;
-  list-style: decimal;
+body.sepia > .container > .header > .domain {
+  border-bottom-color: #5b4636 !important;
 }
 
 }
 
-/*======= Controls toolbar =======*/
-
-.toolbar {
-  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
-  position: fixed;
-  height: 100%;
-  top: 0;
-  left: 0;
-  margin: 0;
-  padding: 0;
-  list-style: none;
-  background-color: #fbfbfb;
-  -moz-user-select: none;
-  border-right: 1px solid #b5b5b5;
+body.dark > .container > .header > .domain {
+  border-bottom-color: #eeeeee !important;
 }
 
 }
 
-.button {
-  display: block;
-  background-size: 24px 24px;
-  background-repeat: no-repeat;
-  color: #333;
-  background-color: #fbfbfb;
-  height: 40px;
-  padding: 0;
+body.sepia > .container > .footer {
+  background-color: #dedad4 !important;
 }
 
 }
 
-.toolbar .button {
-  width: 40px;
-  background-position: center;
-  margin-right: -1px;
-  border-top: 0;
-  border-left: 0;
-  border-right: 1px solid #b5b5b5;
-  border-bottom: 1px solid #c1c1c1;
+body.light blockquote {
+  -moz-border-start: 2px solid #333333 !important;
 }
 
 }
 
-.button[hidden] {
-  display: none;
+body.sepia blockquote {
+  -moz-border-start: 2px solid #5b4636 !important;
 }
 
 }
 
-.dropdown {
-  text-align: center;
-  list-style: none;
-  margin: 0;
-  padding: 0;
-}
-
-.dropdown li {
-  margin: 0;
-  padding: 0;
-}
-
-/*======= Font style popup =======*/
-
-.dropdown-popup {
-  min-width: 300px;
-  text-align: start;
-  position: absolute;
-  left: 48px; /* offset to account for toolbar width */
-  z-index: 1000;
-  background-color: #fbfbfb;
-  visibility: hidden;
-  border-radius: 4px;
-  border: 1px 1px 0 1px solid #b5b5b5;
-  box-shadow: 0 1px 12px #666;
-}
-
-.dropdown-popup > hr {
-  display: none;
-}
-
-.open > .dropdown-popup {
-  visibility: visible;
-}
-
-.dropdown-arrow {
-  position: absolute;
-  top: 30px; /* offset arrow from top of popup */
-  left: -16px;
-  width: 24px;
-  height: 24px;
-  background-image: url("chrome://global/skin/reader/RM-Type-Controls-Arrow.svg");
-  display: block;
-}
-
-#font-type-buttons,
-#font-size-buttons,
-#color-scheme-buttons {
-  display: flex;
-  flex-direction: row;
-}
-
-#font-type-buttons > button:first-child {
-  border-top-left-radius: 3px;
-}
-#font-type-buttons > button:last-child {
-  border-top-right-radius: 3px;
-}
-#color-scheme-buttons > button:first-child {
-  border-bottom-left-radius: 3px;
-}
-#color-scheme-buttons > button:last-child {
-  border-bottom-right-radius: 3px;
-}
-
-#font-type-buttons > button,
-#font-size-buttons > button,
-#color-scheme-buttons > button {
-  text-align: center;
-  border: 0;
-}
-
-#font-type-buttons > button,
-#font-size-buttons > button {
-  width: 50%;
-  background-color: transparent;
-  border-left: 1px solid #B5B5B5;
-  border-bottom: 1px solid #B5B5B5;
-}
-
-#color-scheme-buttons > button {
-  width: 33.33%;
-  font-size: 14px;
-}
-
-#color-scheme-buttons > .dark-button {
-  margin-top: -1px;
-  height: 61px;
-}
-
-#font-type-buttons > button:first-child,
-#font-size-buttons > button:first-child {
-  border-left: 0;
-}
-
-#font-type-buttons > button {
-  display: inline-block;
-  font-size: 58px;
-  height: 100px;
-}
-
-/* Make the serif button content the same size as the sans-serif button content. */
-#font-type-buttons > .serif-button {
-  padding-top: 1px;
-  font-size: 60px;
-}
-
-#font-size-buttons > button,
-#color-scheme-buttons > button {
-  height: 60px;
-}
-
-#font-type-buttons > button:active:hover,
-#font-type-buttons > button.selected,
-#color-scheme-buttons > button:active:hover,
-#color-scheme-buttons > button.selected {
-  box-shadow: inset 0 -3px 0 0 #fc6420;
-}
-
-#font-type-buttons > button:active:hover,
-#font-type-buttons > button.selected {
-  border-bottom: 1px solid #FC6420;
-}
-
-#font-type-buttons > button > div {
-  color: #666;
-  font-size: 12px;
-  margin-top: -4px;
-}
-
-.button:hover,
-#font-size-buttons > button:hover,
-#font-type-buttons > button:hover {
-  background-color: #ebebeb;
-}
-
-.dropdown.open,
-.button:active,
-#font-size-buttons > button:active,
-#font-size-buttons > button.selected {
-  background-color: #dadada;
-}
-
-/* Only used on Android */
-#font-size-sample {
-  display: none;
-}
-
-.serif-button {
-  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
-}
-
-.minus-button,
-.plus-button {
-  background-color: transparent;
-  border: 0;
-  background-size: 18px 18px;
-  background-repeat: no-repeat;
-  background-position: center;
-}
-
-.footer {
-  height: 64px;
-  background-color: #ebebeb;
-  position: absolute;
-  left: 0;
-  width: 100%;
-  text-align: center;
-  padding: 12px 0;
-  box-sizing: border-box;
-  box-shadow: 0 3px 3px -3px rgba(0, 0, 0, 0.35) inset;
-}
-
-.sepia .footer {
-  background-color: #dedad4;
-}
-
-.remove-button {
-  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
-  margin: 0 auto;
-  border: 1px solid #c1c1c1;
-  background-position: 10px 7px;
-  padding-left: 42px;
-  padding-right: 10px;
-  border-radius: 2px;
-  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
-  font-size: 18px;
-}
-
-
-/*======= Toolbar icons =======*/
-
-/* Android-only controls */
-.share-button {
-  display: none;
-}
-
-.close-button {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close");
-  height: 68px;
-  background-position: center 8px;
-}
-
-.close-button:hover {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
-  background-color: #d94141;
-  border-bottom: 1px solid #d94141;
-  border-right: 1px solid #d94141;
-}
-
-.close-button:hover:active {
-  background-image: url("chrome://global/skin/reader/RM-Close-24x24.svg#close-hover");
-  background-color: #AE2325;
-  border-bottom: 1px solid #AE2325;
-  border-right: 1px solid #AE2325;
-}
-
-.style-button {
-  background-image: url("chrome://global/skin/reader/RM-Type-Controls-24x24.svg");
-}
-
-.toggle-button.on {
-  background-image: url("chrome://global/skin/reader/RM-Delete-24x24.svg");
-}
-
-.toggle-button {
-  background-image: url("chrome://global/skin/reader/RM-Add-24x24.svg");
-}
-
-.list-button {
-  background-image: url("chrome://global/skin/reader/RM-Reading-List-24x24.svg");
-}
-.list-button.on {
-  background-color: #d9d9d9;
-}
-
-.minus-button {
-  background-image: url("chrome://global/skin/reader/RM-Minus-24x24.svg");
-}
-
-.plus-button {
-  background-image: url("chrome://global/skin/reader/RM-Plus-24x24.svg");
-}
-
-@media print {
-  .toolbar {
-    display: none;
-  }
-  .footer {
-    display: none;
-  }
+body.dark blockquote {
+  -moz-border-start: 2px solid #eeeeee !important;
 }
 }
index 9172104f397283f12823df4f4f361a9999a3c83c..6b2a91245a89c7f776320be12ca28b8ebff3345e 100644 (file)
@@ -322,6 +322,10 @@ description {
   outline: 1px dotted;
 }
 
   outline: 1px dotted;
 }
 
+popupnotificationcontent {
+  margin-top: .5em;
+}
+
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {
index f06fc51c122e6692f0879c5518965f3ed8c9663d..d1bb5265398e6210a9cf7c51472153298ad18941 100644 (file)
@@ -117,7 +117,7 @@ xul|tab:hover {
   background-color: #ebebeb;
 }
 
   background-color: #ebebeb;
 }
 
-xul|tab[selected] {
+xul|tab[visuallyselected] {
   background-color: #ebebeb;
   padding-bottom: 0; / compensate the 4px border /
   border-bottom: 4px solid #ff9500;
   background-color: #ebebeb;
   padding-bottom: 0; / compensate the 4px border /
   border-bottom: 4px solid #ff9500;
@@ -482,6 +482,10 @@ xul|richlistitem > xul|*.checkbox-check {
   margin: 3px 6px;
 }
 
   margin: 3px 6px;
 }
 
+xul|radio {
+  -moz-margin-start: 0;
+}
+
 xul|*.radio-check {
   -moz-appearance: none;
   width: 23px;
 xul|*.radio-check {
   -moz-appearance: none;
   width: 23px;
index 6a429fae490389581fdc83c2400f27cef851e70e..97aed0e347a07758004abd5644d36b8631a66582 100644 (file)
@@ -67,14 +67,19 @@ notification[type="critical"] {
   max-width: 24em;
 }
 
   max-width: 24em;
 }
 
-.popup-notification-learnmore-link {
-  margin-top: 1em !important;
-}
-
+.popup-notification-originHost:not([value]),
 .popup-notification-learnmore-link:not([href]) {
   display: none;
 }
 
 .popup-notification-learnmore-link:not([href]) {
   display: none;
 }
 
+.popup-notification-originHost {
+  margin-bottom: .3em !important;
+}
+
+.popup-notification-learnmore-link {
+  margin-top: .5em !important;
+}
+
 .popup-notification-button-container {
   margin-top: 17px;
 }
 .popup-notification-button-container {
   margin-top: 17px;
 }
index a35fcc2b38f312fdc8b59863eb73099bb43243b3..a88fc0af74da4a5c2af58417f63e0d67623ce73d 100644 (file)
@@ -47,7 +47,7 @@ tab {
   margin: 0 !important;
 }
 
   margin: 0 !important;
 }
 
-tab[selected="true"] {
+tab[visuallyselected="true"] {
   font-weight: bold;
   background-color: #008484;
 }
   font-weight: bold;
   background-color: #008484;
 }
@@ -72,7 +72,7 @@ tab:first-of-type {
   -moz-margin-start: 5px;
 }
 /*
   -moz-margin-start: 5px;
 }
 /*
-tab:first-of-type[selected="true"] {
+tab:first-of-type[visuallyselected="true"] {
   -moz-padding-end: 5px;
   -moz-padding-start: 5px;
 }
   -moz-padding-end: 5px;
   -moz-padding-start: 5px;
 }