vrifox/gitea-theme
Archived
1
0
Fork 0
This commit is contained in:
Vrifox 2020-11-08 19:50:40 +01:00
parent 487640d87c
commit a686590ef0
7 changed files with 54 additions and 28 deletions

View file

@ -26,9 +26,10 @@ $border-radius: 5px;
@import 'import/_main.scss';
@import 'import/_nav.scss';
@import 'import/repository.scss';
@import 'import/explore.scss';
@import 'import/user.scss';
@import 'import/admin.scss';
@import 'import/dashboard.scss';
@import 'import/explore.scss';
@import 'import/repository.scss';
@import 'import/user.scss';
@import 'import/_footer.scss';

View file

@ -26,8 +26,8 @@ $border-radius: 5px;
@import 'import/_main.scss';
@import 'import/_nav.scss';
@import 'import/repository.scss';
@import 'import/explore.scss';
@import 'import/repository.scss';
@import 'import/user.scss';
@import 'import/_footer.scss';

6
scss/import/admin.scss Normal file
View file

@ -0,0 +1,6 @@
/* admin: settings */
.admin {
@include secondary-menu_new-menu;
}

View file

@ -2,30 +2,7 @@
/* explore: repositories / main */
.explore {
.secondary.menu {
background-color: $bg70 !important;
border-radius: 0;
.item {
color: $white-dark;
&:hover {
color: $white-light !important;
}
&.active {
color: $white !important;
&:hover {
color: $white-light;
}
}
svg {
@if $nojavascript == true {
display: none;
}
}
.label {
background: $bg60;
}
}
}
@include secondary-menu_new-menu;
.container {
@if $nojavascript == true {
.filter.menu {

View file

@ -238,3 +238,30 @@
}
}
}
@mixin secondary-menu_new-menu {
.secondary.menu {
background-color: $bg70 !important;
border-radius: 0;
.item {
color: $white-dark;
&:hover {
color: $white-light !important;
}
&.active {
color: $white !important;
&:hover {
color: $white-light;
}
}
svg {
@if $nojavascript == true {
display: none;
}
}
.label {
background: $bg60;
}
}
}
}

View file

@ -1301,6 +1301,15 @@
}
}
/* repository: settings */
.repository.settings {
@include secondary-menu_new-menu;
.secondary.menu.new-menu {
margin-top: -21px !important;
}
}
/* repository: commits */
.repository.commits {

View file

@ -335,3 +335,9 @@
}
}
}
/* user: settings */
.user.settings {
@include secondary-menu_new-menu;
}