Commit 18851c5c authored by akiraohgaki's avatar akiraohgaki

Fix for style

parent f742f778
......@@ -12,9 +12,9 @@
<title></title>
<link href="styles/reset.css" rel="stylesheet">
<link href="styles/global.css" rel="stylesheet">
<link href="styles/color.css" rel="stylesheet">
<link href="styles/material-icons.css" rel="stylesheet">
<link href="styles/global.css" rel="stylesheet">
</head>
<body>
......
......@@ -40,7 +40,6 @@ export default class CollectioninstalledComponent extends BaseComponent {
display: flex;
flex-flow: row nowrap;
align-items: center;
color: var(--color-text);
}
ul[data-container] li > div figure[data-previewpic] {
display: inline-block;
......
......@@ -104,24 +104,22 @@ export default class OmniboxComponent extends BaseComponent {
}
div[data-palette] h4 {
margin: 1em 0;
color: var(--color-text);
text-align: center;
}
div[data-palette] h4 i {
position: relative;
top: 3px;
}
div[data-palette] ul {
list-style: none;
div[data-palette] nav ul {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
div[data-palette] ul li {
div[data-palette] nav ul li {
width: 50%;
padding: 5px;
}
div[data-palette] ul li button {
div[data-palette] nav ul li button {
-webkit-appearance: none;
appearance: none;
display: inline-block;
......@@ -130,7 +128,6 @@ export default class OmniboxComponent extends BaseComponent {
border: 1px solid var(--color-border);
border-radius: 3px;
background-color: var(--color-content);
color: var(--color-text);
line-height: 1;
outline: none;
cursor: pointer;
......@@ -138,10 +135,10 @@ export default class OmniboxComponent extends BaseComponent {
white-space: nowrap;
text-overflow: ellipsis;
}
div[data-palette] ul li button:hover {
div[data-palette] nav ul li button:hover {
border-color: rgba(0,0,0,0.3);
}
div[data-palette] ul li button[data-action="webview_startPage"][data-url="${this.state.startPage}"] {
div[data-palette] nav ul li button[data-action="webview_startPage"][data-url="${this.state.startPage}"] {
border-color: var(--color-information);
}
......@@ -172,6 +169,7 @@ export default class OmniboxComponent extends BaseComponent {
<div data-palette data-status="${status}" class="fade-in">
<h4><i class="material-icons md-small">home</i> Choose Startpage</h4>
<nav>
<ul>
<li><button data-action="webview_startPage" data-url="https://www.opendesktop.org/">opendesktop.org</button></li>
<li><button data-action="webview_startPage" data-url="https://www.opendesktop.org/s/Gnome">gnome-look.org</button></li>
......@@ -180,6 +178,7 @@ export default class OmniboxComponent extends BaseComponent {
<li><button data-action="webview_startPage" data-url="https://www.opendesktop.org/s/Window-Managers">box-look.org</button></li>
<li><button data-action="webview_startPage" data-url="https://www.opendesktop.org/s/Enlightenment">enlightenment-themes.org</button></li>
</ul>
</nav>
</div>
<div data-overlay data-status="${status}" data-action="${autoCloseAction}"></div>
......
......@@ -39,7 +39,6 @@ export default class ToolbarComponent extends BaseComponent {
background-color: var(--color-widget);
}
nav[data-toolbar] ul {
list-style: none;
display: flex;
flex-flow: row nowrap;
align-items: center;
......@@ -70,6 +69,11 @@ export default class ToolbarComponent extends BaseComponent {
display: none;
}
app-menu a[slot="menuitem"],
app-menu a[slot="menuitem"]:hover {
color: var(--color-text);
}
nav[data-toolbar] ul li span[data-downloadingbadge] {
display: inline-block;
z-index: 1;
......@@ -79,7 +83,7 @@ export default class ToolbarComponent extends BaseComponent {
padding: 0.3em 0.5em;
border-radius: 1em;
background-color: var(--color-information);
color: #ffffff;
color: var(--color-content);
font-size: 12px;
line-height: 1;
}
......
/*:disabled {
opacity: 0.4;
}*/
:host {
color: var(--color-text);
}
a {
color: var(--color-information);
}
a:hover {
color: var(--color-information-secondary);
}
.fade-in,
.fade-out {
......
......@@ -109,6 +109,10 @@ summary {
padding: 0;
}
nav ul {
list-style: none;
}
a {
text-decoration: none;
outline: none;
......
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