vrifox/gitea-theme
Archived
1
0
Fork 0
This repository has been archived on 2022-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
gitea-theme/source/partials/user.scss

218 lines
5 KiB
SCSS
Raw Normal View History

2020-09-27 21:09:15 +02:00
2020-09-28 20:59:54 +02:00
/* user: profile repositories / main */
2020-09-27 21:09:15 +02:00
2020-09-28 20:59:54 +02:00
.user {
2020-09-27 21:09:15 +02:00
.container {
.grid {
.card {
background: rgb(50, 50, 75);
box-shadow: none;
2020-09-27 21:09:15 +02:00
color: rgb(245, 245, 255);
.content {
.header {
color: rgb(245, 245, 255);
}
}
.extra.content {
ul {
color: rgb(245, 245, 255);
li:not(:last-child) {
border-bottom: 1px solid rgb(60, 60, 90);
}
a {
color: rgb(255, 255, 255);
&:hover {
color: rgb(255, 130, 130);
}
}
}
}
}
.secondary.pointing.menu {
background: rgb(70, 70, 105);
border: 0;
border-radius: 5px 5px 0 0;
margin-top: -15px;
overflow-x: auto;
overflow-y: hidden;
padding: 0 20px;
position: sticky;
scrollbar-color: rgb(215, 215, 225) rgb(70, 70, 105);
top: 0;
transform: rotateX(180deg);
z-index: 100;
2020-09-27 21:09:15 +02:00
.item {
border-bottom: 2px solid transparent;
border-radius: 5px 5px 0 0;
color: rgb(245, 245, 255);
font-family: $font-family;
margin-bottom: 10px;
transform: rotateX(180deg);
transition: background .2s, color .2s;
2020-09-27 21:09:15 +02:00
&:hover {
background: rgb(60, 60, 90);
2020-09-27 21:09:15 +02:00
color: rgb(255, 255, 255);
}
&.active {
border-bottom: 2px solid rgb(245, 245, 255);
2020-09-27 21:09:15 +02:00
color: rgb(245, 245, 255);
&:hover {
color: rgb(255, 255, 255);
}
}
@if $nojavascript == true {
svg {
display: none;
}
}
2020-09-27 21:09:15 +02:00
.label {
background: rgb(245, 245, 255);
color: rgb(70, 70, 105);
2020-09-27 21:09:15 +02:00
}
@if $singleuser == true {
&[href*="stars"],
&[href*="following"],
&[href*="followers"] {
display: none;
}
}
2020-09-27 21:09:15 +02:00
}
}
@if $nojavascript == true {
.filter.menu {
display: none;
}
2020-09-27 21:09:15 +02:00
}
form.form {
.input {
input {
background: rgb(40, 40, 60);
border: 2px solid rgb(60, 60, 90);
color: rgb(245, 245, 255);
&:focus {
background: rgb(50, 50, 75);
border: 2px solid rgb(60, 60, 90);
color: rgb(255, 255, 255);
}
}
.button {
background: rgb(60, 60, 90);
border: 0;
&:hover {
background: rgb(50, 50, 75);
}
}
}
}
.divider {
border-bottom: 1px solid rgb(60, 60, 90);
}
.repository.list {
.item {
&:not(:first-child) {
border-top: 1px solid rgb(60, 60, 90);
}
.header {
a.name {
font-family: $font-family;
2020-09-27 21:09:15 +02:00
i.archive.icon {
color: rgb(215, 215, 225) !important;
}
}
.metas {
@if $singleuser == true {
display: none;
}
2020-09-27 21:09:15 +02:00
span {
color: rgb(215, 215, 225) !important;
}
}
}
.description {
p {
color: rgb(245, 245, 255);
&.time {
color: rgb(215, 215, 225);
}
}
.tags {
a .label {
background: rgb(60, 60, 90);
color: rgb(245, 245, 255);
&:hover {
background: rgb(70, 70, 105);
color: rgb(255, 255, 255);
}
}
}
}
}
}
}
}
}
2020-09-28 20:59:54 +02:00
/* user: profile public activity */
2020-09-27 21:09:15 +02:00
.user.profile {
.container {
.grid {
.feeds {
.news {
.content {
span {
color: rgb(215, 215, 225) !important;
}
}
p.grey {
span {
color: rgb(215, 215, 225);
}
}
.svg {
fill: rgb(215, 215, 225);
}
}
}
}
}
}
2020-09-28 20:59:54 +02:00
/* user: signin */
.user.signin {
.container {
.header {
background: rgb(60, 60, 90);
border: 0;
color: rgb(245, 245, 255);
}
.segment {
background: rgb(50, 50, 75);
border: 0;
color: rgb(245, 245, 255);
.form {
.field {
label {
color: rgb(245, 245, 255);
&::after {
color: rgb(255, 130, 130);
}
}
input {
background: rgb(40, 40, 60);
}
.green.button {
background: rgb(80, 80, 120);
box-shadow: none;
color: rgb(245, 245, 255);
&:hover {
background: rgb(70, 70, 105);
}
}
}
}
}
}
}