vrifox/gitea-theme
Archived
1
0
Fork 0

more variables

This commit is contained in:
Vrifox 2020-10-20 19:24:47 +02:00
parent 220ac00a41
commit 22df39941a
7 changed files with 381 additions and 378 deletions

View file

@ -1,9 +1,11 @@
$green: rgb(100, 200, 130);
$green-dark: rgb(80, 180, 110);
$green-light: rgb(100, 220, 150);
$red: rgb(255, 130, 130);
$red-dark: rgb(255, 110, 110);
$red-dark: rgb(235, 110, 110);
$red-light: rgb(255, 150, 150);
$white: rgb(245, 245, 255);
$white-dark: rgb(225, 225, 235);
$white-dark: rgb(215, 215, 225);
$white-light: rgb(255, 255, 255);
$white-disabled: rgb(150, 150, 160);
@ -12,3 +14,4 @@ $bg40: rgb(40, 40, 60);
$bg50: rgb(50, 50, 75);
$bg60: rgb(60, 60, 90);
$bg70: rgb(70, 70, 105);
$bg80: rgb(80, 80, 120);

View file

@ -1,7 +1,7 @@
footer {
background: rgb(30, 30, 45);
border-top: 1px solid rgb(40, 40, 60);
color: rgb(215, 215, 225);
background: $bg30;
border-top: 1px solid $bg40;
color: $white-dark;
text-transform: lowercase;
.ui.container {
display: flex;
@ -11,7 +11,7 @@ footer {
.links {
margin-left: auto;
a {
color: rgb(215, 215, 225);
color: $white-dark;
&:hover {
text-decoration: underline;
}

View file

@ -1,22 +1,22 @@
* {
scrollbar-color: rgb(255, 130, 130) rgb(60, 60, 90);
scrollbar-color: $red $bg60;
scrollbar-width: thin;
&::selection {
background: rgb(245, 245, 255);
background: $white;
}
}
body {
background: rgb(40, 40, 60);
color: rgb(245, 245, 255);
background: $bg40;
color: $white;
font-family: $font-family;
}
a {
color: rgb(255, 255, 255);
color: $white-light;
transition: color 0.2s;
&:hover {
color: rgb(255, 130, 130);
color: $red;
}
}

View file

@ -1,5 +1,5 @@
.ui.main.menu {
background: rgb(60, 60, 90);
background: $bg60;
border-bottom: 0;
font-size: 15px;
min-height: 64px;
@ -8,7 +8,7 @@
width: 1127px ;
padding: 0;
.item {
color: rgb(245, 245, 255);
color: $white;
&.brand {
margin: 0 .5rem 0 0;
.mini.image {
@ -34,10 +34,10 @@
padding: 24px;
transition: background .2s, color .2s;
&:hover {
background: rgb(50, 50, 75);
background: $bg50;
}
&.active {
background: rgb(50, 50, 75);
background: $bg50;
}
}
}
@ -64,7 +64,7 @@
.link.item:hover,
.active.item:hover,
a.item:hover {
color: #ffffff;
color: $white-light;
}
}

View file

@ -3,21 +3,21 @@
.explore {
.secondary.menu {
background-color: rgb(70, 70, 105) !important;
background-color: $bg70 !important;
border-radius: 0;
.item {
color: rgb(215, 215, 225);
color: $white-dark;
&:hover {
color: rgb(255, 255, 255) !important;
color: $white-light !important;
}
&.active {
color: rgb(245, 245, 255) !important;
color: $white !important;
&:hover {
color: rgb(255, 255, 255);
color: $white-light;
}
}
.label {
background: rgb(60, 60, 90);
background: $bg60;
}
}
}
@ -30,58 +30,58 @@
form.form {
.input {
input {
background: rgb(40, 40, 60);
border: 2px solid rgb(60, 60, 90);
color: rgb(245, 245, 255);
background: $bg40;
border: 2px solid $bg60;
color: $white;
&:focus {
background: rgb(50, 50, 75);
border: 2px solid rgb(60, 60, 90);
color: rgb(255, 255, 255);
background: $bg50;
border: 2px solid $bg60;
color: $white-light;
}
}
.button {
background: rgb(60, 60, 90);
background: $bg60;
border: 0;
&:hover {
background: rgb(50, 50, 75);
background: $bg50;
}
}
}
}
.divider {
border-bottom: 1px solid rgb(60, 60, 90);
border-bottom: 1px solid $bg60;
}
.repository.list {
.item {
&:not(:first-child) {
border-top: 1px solid rgb(60, 60, 90);
border-top: 1px solid $bg60;
}
.header {
a.name {
i.archive.icon {
color: rgb(215, 215, 225) !important;
color: $white-dark !important;
}
}
.metas {
span {
color: rgb(215, 215, 225) !important;
color: $white-dark !important;
}
}
}
.description {
p {
color: rgb(245, 245, 255);
color: $white;
&.time {
color: rgb(215, 215, 225);
color: $white-dark;
}
}
.tags {
a .label {
background: rgb(60, 60, 90);
color: rgb(245, 245, 255);
background: $bg60;
color: $white;
&:hover {
background: rgb(70, 70, 105);
color: rgb(255, 255, 255);
background: $bg70;
color: $white-light;
}
}
}
@ -98,10 +98,10 @@
.user.list {
.content {
.header {
color: rgb(245, 245, 255);
color: $white;
}
.description {
color: rgb(245, 245, 255);
color: $white;
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -5,60 +5,60 @@
.container {
.grid {
.card {
background: rgb(50, 50, 75);
background: $bg50;
box-shadow: none;
color: rgb(245, 245, 255);
color: $white;
position: sticky;
top: 20px;
.content {
.header {
color: rgb(245, 245, 255);
color: $white;
}
}
.extra.content {
ul {
color: rgb(245, 245, 255);
color: $white;
li:not(:last-child) {
border-bottom: 1px solid rgb(60, 60, 90);
border-bottom: 1px solid $bg60;
}
a {
color: rgb(255, 255, 255);
color: $white-light;
&:hover {
color: rgb(255, 130, 130);
color: $red;
}
}
}
}
}
.secondary.pointing.menu {
background: rgb(70, 70, 105);
background: $bg70;
border: 0;
border-radius: 5px 5px 0 0;
margin-top: -15px;
overflow-x: auto;
overflow-y: hidden;
padding: 0 20px;
scrollbar-color: rgb(215, 215, 225) rgb(70, 70, 105);
scrollbar-color: $white-dark $bg70;
top: 0;
transform: rotateX(180deg);
z-index: 100;
.item {
border-bottom: 2px solid transparent;
border-radius: 5px 5px 0 0;
color: rgb(245, 245, 255);
color: $white;
font-family: $font-family;
margin-bottom: 10px;
transform: rotateX(180deg);
transition: background .2s, color .2s;
&:hover {
background: rgb(60, 60, 90);
color: rgb(255, 255, 255);
background: $bg60;
color: $white-light;
}
&.active {
border-bottom: 2px solid rgb(245, 245, 255);
color: rgb(245, 245, 255);
border-bottom: 2px solid $white;
color: $white;
&:hover {
color: rgb(255, 255, 255);
color: $white-light;
}
}
@if $nojavascript == true {
@ -67,8 +67,8 @@
}
}
.label {
background: rgb(245, 245, 255);
color: rgb(70, 70, 105);
background: $white;
color: $bg70;
}
@if $singleuser == true {
&[href*="stars"],
@ -87,37 +87,37 @@
form.form {
.input {
input {
background: rgb(40, 40, 60);
border: 2px solid rgb(60, 60, 90);
color: rgb(245, 245, 255);
background: $bg40;
border: 2px solid $bg60;
color: $white;
&:focus {
background: rgb(50, 50, 75);
border: 2px solid rgb(60, 60, 90);
color: rgb(255, 255, 255);
background: $bg50;
border: 2px solid $bg60;
color: $white-light;
}
}
.button {
background: rgb(60, 60, 90);
background: $bg60;
border: 0;
&:hover {
background: rgb(50, 50, 75);
background: $bg50;
}
}
}
}
.divider {
border-bottom: 1px solid rgb(60, 60, 90);
border-bottom: 1px solid $bg60;
}
.repository.list {
.item {
&:not(:first-child) {
border-top: 1px solid rgb(60, 60, 90);
border-top: 1px solid $bg60;
}
.header {
a.name {
font-family: $font-family;
i.archive.icon {
color: rgb(215, 215, 225) !important;
color: $white-dark !important;
}
}
.metas {
@ -125,24 +125,24 @@
display: none;
}
span {
color: rgb(215, 215, 225) !important;
color: $white-dark !important;
}
}
}
.description {
p {
color: rgb(245, 245, 255);
color: $white;
&.time {
color: rgb(215, 215, 225);
color: $white-dark;
}
}
.tags {
a .label {
background: rgb(60, 60, 90);
color: rgb(245, 245, 255);
background: $bg60;
color: $white;
&:hover {
background: rgb(70, 70, 105);
color: rgb(255, 255, 255);
background: $bg70;
color: $white-light;
}
}
}
@ -162,16 +162,16 @@
.news {
.content {
span {
color: rgb(215, 215, 225) !important;
color: $white-dark !important;
}
}
p.grey {
span {
color: rgb(215, 215, 225);
color: $white-dark;
}
}
.svg {
fill: rgb(215, 215, 225);
fill: $white-dark;
}
}
}
@ -184,31 +184,31 @@
.user.signin {
.container {
.header {
background: rgb(60, 60, 90);
background: $bg60;
border: 0;
color: rgb(245, 245, 255);
color: $white;
}
.segment {
background: rgb(50, 50, 75);
background: $bg50;
border: 0;
color: rgb(245, 245, 255);
color: $white;
.form {
.field {
label {
color: rgb(245, 245, 255);
color: $white;
&::after {
color: rgb(255, 130, 130);
color: $red;
}
}
input {
background: rgb(40, 40, 60);
background: $bg40;
}
.green.button {
background: rgb(80, 80, 120);
background: $bg80;
box-shadow: none;
color: rgb(245, 245, 255);
color: $white;
&:hover {
background: rgb(70, 70, 105);
background: $bg70;
}
}
}
@ -232,12 +232,12 @@
border: 0;
color: $white-light;
&.active {
background: rgb(50, 50, 75);
background: $bg50;
color: $white-light;
}
.label {
background: $white;
color: rgb(60, 60, 90);
color: $bg60;
}
}
}