From 0ef54c720436759577528cc97d0c4cc67eb1dc92 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 16 May 2015 01:28:46 +0200 Subject: [PATCH] fourth part of syncing LCARStrek with Firefox 38 windows theme changes --- LCARStrek/browser/browser.css | 40 +++++++++++++------ .../browser/customizableui/panelUIOverlay.css | 6 +++ LCARStrek/browser/newtab/newTab.css | 18 ++++++++- LCARStrek/browser/update-badge.svg | 3 ++ 4 files changed, 52 insertions(+), 15 deletions(-) create mode 100644 LCARStrek/browser/update-badge.svg diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 54925844..7dbd3dfc 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -5504,6 +5504,7 @@ toolbarpaletteitem[place="toolbar"] { notification.heartbeat { background-color: #A09090; +/* height: 40px;*/ } @keyframes pulse-onshow { @@ -5540,17 +5541,15 @@ notification.heartbeat { .messageText.heartbeat { color: #000000; -/* font-weight: normal; - font-family: "Lucida Grande", Segoe, Ubuntu; - font-size: 14px; - line-height: 16px; - text-shadow: none; */ +/* text-shadow: none; */ + -moz-margin-start: 0px; } .messageImage.heartbeat { - width: 36px; - height: 36px; - -moz-margin-end: 10px; + width: 24px; + height: 24px; + -moz-margin-start: 8px; + -moz-margin-end: 8px; } .messageImage.heartbeat.pulse-onshow { @@ -5567,9 +5566,25 @@ notification.heartbeat { animation-timing-function: linear; } +/* Learn More link styles */ +.heartbeat > .text-link { + color: #3333FF; + -moz-margin-start: 0px; +} + +.heartbeat > .text-link:hover { + color: #9C9CFF; + text-decoration: none; +} + +.heartbeat > .text-link:hover:active { + color: #FF9F00; +} + /* Heartbeat UI Rating Star Classes */ .heartbeat > #star-rating-container { display: -moz-box; +/* margin-bottom: 4px;*/ } .heartbeat > #star-rating-container > #star5 { @@ -5591,16 +5606,15 @@ notification.heartbeat { .heartbeat > #star-rating-container > .star-x { background: url("chrome://browser/skin/heartbeat-star-off.svg"); cursor: pointer; - width: 24px; - height: 24px; + /* Overrides the -moz-margin-end for all platforms defined in the .plain class */ + -moz-margin-end: 4px !important; + width: 16px; + height: 16px; } .heartbeat > #star-rating-container > .star-x:hover, .heartbeat > #star-rating-container > .star-x:hover ~ .star-x { background: url("chrome://browser/skin/heartbeat-star-lit.svg"); - cursor: pointer; - width: 24px; - height: 24px; } /* === END UITour.inc.css === */ diff --git a/LCARStrek/browser/customizableui/panelUIOverlay.css b/LCARStrek/browser/customizableui/panelUIOverlay.css index 6fc558e1..478d3c1f 100644 --- a/LCARStrek/browser/customizableui/panelUIOverlay.css +++ b/LCARStrek/browser/customizableui/panelUIOverlay.css @@ -81,6 +81,12 @@ #PanelUI-button:-moz-locale-dir(rtl) { } +#PanelUI-menu-button[update-status="succeeded"] .toolbarbutton-badge::after { + content: url(chrome://browser/skin/update-badge.svg); + background-color: #008484; + height: 10px; +} + .panel-subviews { padding: 4px; -moz-margin-start: 38px; diff --git a/LCARStrek/browser/newtab/newTab.css b/LCARStrek/browser/newtab/newTab.css index 8e539315..e39aa427 100644 --- a/LCARStrek/browser/newtab/newTab.css +++ b/LCARStrek/browser/newtab/newTab.css @@ -132,7 +132,7 @@ transition: opacity 100ms ease-out; } -.newtab-site:hover .newtab-thumbnail.enhanced-content { +.newtab-cell:not([ignorehover]) .newtab-site:hover .newtab-thumbnail.enhanced-content { opacity: 0; } @@ -147,7 +147,8 @@ /* TITLES */ /*#newtab-intro-what,*/ .newtab-sponsored, -.newtab-title { +.newtab-title, +.newtab-suggested { padding: 0 8px; background-color: rgba(255,159,0,.8); color: #000000; @@ -155,6 +156,19 @@ bottom: 0 !important; } +.newtab-suggested { + background-color: #9C9CFF; +} + +.newtab-suggested:hover { + background-color: #FFCF00; + border: 1px solid #9C9CFF; +} + +.newtab-suggested[active] { + background-color: #FF9F00; + border: 0; +} .newtab-site:hover .newtab-title { background-color: #FFCF00; } diff --git a/LCARStrek/browser/update-badge.svg b/LCARStrek/browser/update-badge.svg new file mode 100644 index 00000000..edc55ced --- /dev/null +++ b/LCARStrek/browser/update-badge.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file -- 2.43.0