This commit is contained in:
Chris Nutter committed 2020-09-07 14:15:13 -07:00
1 parent 7693697990
commit e3c2d1b295
142 files changed
-22252

No files matched your search

@@ -1,54 +0,0 @@
.input-checkbox {
border: .125em solid @base-color;
background: none;
position: relative;
width: 1.5em;
height: 1.5em;
cursor: pointer;
&:active:not(:checked) {
background-color: fade(@base-color, 25%);
}
&:checked {
background: @base-color;
&::after,
&::before {
top: 1em;
left: .5em;
opacity: 0;
border: .1em solid @accent-text-color;
background-color: @accent-text-color;
animation: fadeIn 125ms linear;
animation-fill-mode: forwards;
}
&::before {
width: .5em;
}
&::after {
width: .85em;
animation-delay: 125ms;
}
}
&:focus {
box-shadow: 0 0 1em fade(@base-color, 30%);
}
}
.checkbox {
padding-left: 2.5em;
.setting-title, .setting-description {
padding-left: 1rem;
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@@ -1,145 +0,0 @@
@import "checkbox";
@import "package";
@import "radio";
@import "table";
.settings-view {
.config-menu {
background: none;
min-width: 200px;
.nav li {
a {
padding: 1.25em 1.5em;
}
&.active a {
background-color: @base-color;
color: @accent-text-color;
}
}
.icon::before {
margin-right: 1.5em;
}
}
.settings-panel {
.control-group + .control-group {
margin-top: 2.5em;
}
}
.amu-panel-contrast & {
.config-menu {
background-color: darken(@app-background-color, 1%);
}
}
.amu-panel-shadows & {
.config-menu {
position: relative;
&::after {
background: linear-gradient(to left, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
bottom: 0;
content: '';
opacity: .1;
position: absolute;
right: 0;
top: 0;
width: .25em;
}
}
}
select.form-control {
.select();
}
input[type="color"] {
border: none;
height: 3rem;
position: absolute;
width: 3rem;
}
.themes-panel {
.themes-picker-item {
.select-container {
align-items: center;
display: flex;
}
}
}
.btn {
&.active-theme-settings,
&.active-syntax-settings {
box-shadow: none;
border-radius: 50%;
flex-grow: 0;
height: 2.5rem;
line-height: 1;
padding: 0;
text-align: center;
width: 2.75rem;
}
}
.section {
padding: 3rem;
}
.breadcrumb + .section {
padding-top: 1rem;
}
}
// Inputs, Selects, and More
.select() {
.select-arrow(@app-background-color);
background-size: 1.5rem;
background-color: transparent;
background-repeat: no-repeat;
background-position: right center;
border-radius: 0;
border: none;
border-bottom: .125rem solid transparent;
box-shadow: inset 0 -1px 0 fade(@text-color, 10%);
color: @text-color;
cursor: pointer;
line-height: @component-line-height + @component-padding;
height: @component-line-height + @component-padding;
padding: 0;
-webkit-appearance: none;
&:hover {
.select-arrow(@app-background-color);
background-color: transparent;
box-shadow: inset 0 -1px 0 fade(@text-color, 10%);
}
&:active,
&:focus {
.select-arrow(@app-background-color);
background-color: transparent;
border-color: @base-color;
}
option {
background: @app-background-color;
border: 1px solid fade(@text-color, 20%);
color: @text-color;
}
}
.checkbox,
.radio {
padding-left: 48px;
.setting-description {
margin-top: 0.5rem;
}
}
@@ -1,60 +0,0 @@
.settings-view {
.packages .search-container {
margin-bottom: 2rem;
}
.package-card {
background-color: fade(@text-color, 5%);
border-radius: @component-border-radius;
margin-bottom: 1.5rem;
.z-depth-1;
&.disabled {
background-color: fade(@text-color, 5%);
opacity: .5;
}
&:hover {
background-color: fade(@text-color, 5%);
}
.btn-group {
box-shadow: none;
.status-indicator {
min-width: 2px;
width: 2px;
}
}
.meta-controls {
.install-button, .uninstall-button {
// Use px units to avoid icon jiggle
&.is-installing, &.is-uninstalling {
animation: spin 1s linear infinite;
background: none;
border: 2px solid @base-color;
border-radius: 50%;
border-right-color: transparent;
font-size: 0;
height: 32px;
padding: 0;
width: 32px;
&::before {
animation: spin 1s linear infinite reverse;
height: 16px;
margin: 0;
position: relative;
vertical-align: middle;
width: 16px;
}
&:hover {
box-shadow: none;
}
}
}
}
}
}
@@ -1,15 +0,0 @@
.input-radio {
cursor: pointer;
&:checked {
background: @base-color;
}
&:active:not(:checked) {
background: fade(@base-color, 25%);
}
&::before {
background-color: @accent-text-color;
}
}
@@ -1,36 +0,0 @@
.settings-view {
.table {
background: lighten(@app-background-color, 5%);
border-radius: @component-border-radius;
margin: 48px 0;
.z-depth-1;
> thead,
tbody {
> tr {
border: none;
> td,
> th {
border-bottom: 1px solid fade(@text-color, 5%);
}
> th {
height: 56px;
line-height: 56px;
padding: 0 24px;
font-size: @font-size;
font-weight: 600;
color: lighten(@text-color, 15%);
}
> td {
border-top: none;
height: 48px;
line-height: 48px;
padding: 0 24px;
}
}
}
}
}