Commit 28f3f857 authored by Eriksson Monteiro's avatar Eriksson Monteiro

millix bar: update background. fix: download link.

parent 281b72df
...@@ -35,13 +35,18 @@ a { ...@@ -35,13 +35,18 @@ a {
/* -------------------------------------------------------- reviewed above ---------------------------------------------------------------------- */ /* -------------------------------------------------------- reviewed above ---------------------------------------------------------------------- */
.advertisement_bar_container { .advertisement_bar_container {
background-color: #f7f7f7;
display: flex; display: flex;
overflow: hidden; overflow: hidden;
height: 3.57rem; height: 3.57rem;
width: 100%; width: 100%;
} }
.theme_dark .advertisement_bar_container, .theme_dark .advertisement_bar_container {
background-color: #35363a;
color: #a9a9a9;
}
.advertisement_bar_container.status_warning, .advertisement_bar_container.status_warning,
.advertisement_bar_container.status_danger { .advertisement_bar_container.status_danger {
background-color: #171827; background-color: #171827;
...@@ -51,7 +56,7 @@ a { ...@@ -51,7 +56,7 @@ a {
.advertisement_bar_container.status_warning .status_area_right, .advertisement_bar_container.status_warning .status_area_right,
.advertisement_bar_container.status_danger .status_area_right { .advertisement_bar_container.status_danger .status_area_right {
margin-left: 0; margin-left: 0;
justify-content: end; justify-content: flex-end;
flex: 0 0 18rem; flex: 0 0 18rem;
} }
...@@ -279,10 +284,14 @@ svg { ...@@ -279,10 +284,14 @@ svg {
} }
.advertisement_bar_item:hover { .advertisement_bar_item:hover {
background-color: rgba(210, 210, 210, 0.1); background-color: rgba(218, 218, 218, 0.4);
cursor: pointer; cursor: pointer;
} }
.theme_dark .advertisement_bar_item:hover {
background-color: rgba(218, 218, 218, 0.1);
}
/* -------------------------------------------------------- reviewed above ---------------------------------------------------------------------- */ /* -------------------------------------------------------- reviewed above ---------------------------------------------------------------------- */
......
...@@ -500,7 +500,13 @@ cr.define('millix_bar', function() { ...@@ -500,7 +500,13 @@ cr.define('millix_bar', function() {
update_version_link.removeClass('hidden'); update_version_link.removeClass('hidden');
const href_current = update_version_link.attr('href'); const href_current = update_version_link.attr('href');
update_version_link.attr('href', href_current + '?os_platform=' + version.os_platform); const href_new = href_current + '?os_platform=' + version.os_platform;
update_version_link.attr('href', href_new);
update_version_link.off('click').on('click', () => chrome.send('showMillixWallet', [
'new_tab',
href_new
]));
} }
// Return an object with all of the exports. // Return an object with all of the exports.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment