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 { .admin {
@include secondary-menu_new-menu; @include secondary-menu_new-menu;
@include settings; @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 { @mixin secondary-menu_new-menu {
.secondary.menu { .secondary.menu {
background-color: $bg70 !important; background-color: $bg70 !important;
border-radius: 0; border-radius: 0;
padding-bottom: 2px;
&::after {
background: linear-gradient(90deg, transparent, $bg70);
}
.item { .item {
color: $white-dark; color: $white-dark;
&:hover { &:hover {
@ -278,12 +319,27 @@
border: 0; border: 0;
form.form { form.form {
.field { .field {
&.required {
label { label {
color: $white; &::after {
color: $red;
}
}
}
a.red.button {
background: $red;
&:hover {
background: $red-dark;
}
}
button.green.button {
background: $green;
&:hover {
background: $green-dark;
}
} }
input { input {
background: $bg40; background: $bg40;
border: 2px solid $bg60;
color: $white; color: $white;
font-family: $font-family; font-family: $font-family;
&:focus { &:focus {
@ -292,6 +348,22 @@
color: $white; 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;
} }
} }
} }