forked from XimeX/usrspace-browser-addon
64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
/* 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/. */
|
|
|
|
/* Global */
|
|
html,
|
|
body {
|
|
background: transparent;
|
|
box-sizing: border-box;
|
|
color: #222426;
|
|
cursor: default;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font: caption;
|
|
margin: 0;
|
|
padding: 0;
|
|
user-select: none;
|
|
}
|
|
|
|
body * {
|
|
box-sizing: border-box;
|
|
text-align: start;
|
|
}
|
|
|
|
/* Panel Section - List */
|
|
.panel-section-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.panel-list-item {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 24px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.panel-list-item:hover {
|
|
background-color: rgba(0, 0, 0, 0.06);
|
|
border-block: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.panel-list-item:hover:active {
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.panel-list-item > .icon {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.panel-list-item > .text {
|
|
flex-grow: 10;
|
|
}
|
|
|
|
.panel-list-item > .text-shortcut {
|
|
color: #808080;
|
|
font-family: "Lucida Grande", caption;
|
|
font-size: .847em;
|
|
justify-content: flex-end;
|
|
}
|