vrifox/gitea-theme
Archived
1
0
Fork 0

settings (general)

This commit is contained in:
Vrifox 2020-11-08 20:45:29 +01:00
parent 695a247e05
commit 89bbab409c
2 changed files with 100 additions and 3 deletions

View file

@ -4,4 +4,29 @@
.admin {
@include secondary-menu_new-menu;
@include settings;
.attached.table.segment {
form {
table.basic.table {
tbody {
tr {
td {
color: $white;
button.green.button {
background: $green;
&:hover {
background: $green-dark;
}
}
}
}
}
}
}
dl {
dt,
dd {
color: $white;
}
}
}
}

View file

@ -239,10 +239,51 @@
}
}
@mixin dropdown-selection {
.dropdown {
background: $bg60;
border-radius: $border-radius;
color: $white;
padding: 10px 0 10px 13px;
&:first-of-type {
margin-left: auto;
}
&:hover {
background: $bg50;
.menu {
@if $nojavascript == true {
display: block;
}
}
}
span.text {
i.dropdown.icon {
padding: 0;
}
}
.menu {
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
margin-top: 0;
.item {
color: $white !important;
&:hover {
background: $bg50;
}
}
}
}
}
@mixin secondary-menu_new-menu {
.secondary.menu {
background-color: $bg70 !important;
border-radius: 0;
padding-bottom: 2px;
&::after {
background: linear-gradient(90deg, transparent, $bg70);
}
.item {
color: $white-dark;
&:hover {
@ -278,12 +319,27 @@
border: 0;
form.form {
.field {
label {
color: $white;
&.required {
label {
&::after {
color: $red;
}
}
}
a.red.button {
background: $red;
&:hover {
background: $red-dark;
}
}
button.green.button {
background: $green;
&:hover {
background: $green-dark;
}
}
input {
background: $bg40;
border: 2px solid $bg60;
color: $white;
font-family: $font-family;
&:focus {
@ -292,6 +348,22 @@
color: $white;
}
}
label {
color: $white;
&.poping.up {
&::before {
background: rgb(60, 60, 90);
border-color: rgb(70, 70, 105);
}
&::after {
color: $white;
}
}
}
textarea {
background: $bg40;
}
@include dropdown-selection;
}
}
}