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/scss/import/user.scss

314 lines
6.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 {
2020-10-20 19:24:47 +02:00
background: $bg50;
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-11 20:10:00 +02:00
position: sticky;
top: 20px;
2020-09-27 21:09:15 +02:00
.content {
.header {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
}
}
.extra.content {
ul {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
li:not(:last-child) {
2020-10-20 19:24:47 +02:00
border-bottom: 1px solid $bg60;
2020-09-27 21:09:15 +02:00
}
a {
2020-10-20 19:24:47 +02:00
color: $white-light;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $red;
2020-09-27 21:09:15 +02:00
}
}
}
}
}
.secondary.pointing.menu {
2020-10-20 19:24:47 +02:00
background: $bg70;
border: 0;
border-radius: 5px 5px 0 0;
margin-top: -15px;
overflow-x: auto;
overflow-y: hidden;
padding: 0 20px;
2020-10-20 19:24:47 +02:00
scrollbar-color: $white-dark $bg70;
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;
2020-10-20 19:24:47 +02:00
color: $white;
font-family: $font-family;
margin-bottom: 10px;
transform: rotateX(180deg);
transition: background .2s, color .2s;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
&.active {
2020-10-20 19:24:47 +02:00
border-bottom: 2px solid $white;
color: $white;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
@if $nojavascript == true {
svg {
display: none;
}
}
2020-09-27 21:09:15 +02:00
.label {
2020-10-20 19:24:47 +02:00
background: $white;
color: $bg70;
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 {
2020-10-20 19:24:47 +02:00
background: $bg40;
border: 2px solid $bg60;
color: $white;
2020-09-27 21:09:15 +02:00
&:focus {
2020-10-20 19:24:47 +02:00
background: $bg50;
border: 2px solid $bg60;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-27 21:09:15 +02:00
border: 0;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
}
}
}
.divider {
2020-10-20 19:24:47 +02:00
border-bottom: 1px solid $bg60;
2020-09-27 21:09:15 +02:00
}
.repository.list {
.item {
&:not(:first-child) {
2020-10-20 19:24:47 +02:00
border-top: 1px solid $bg60;
2020-09-27 21:09:15 +02:00
}
.header {
a.name {
font-family: $font-family;
2020-09-27 21:09:15 +02:00
i.archive.icon {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-27 21:09:15 +02:00
}
}
.metas {
@if $singleuser == true {
display: none;
}
2020-09-27 21:09:15 +02:00
span {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-27 21:09:15 +02:00
}
}
}
.description {
p {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
&.time {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-09-27 21:09:15 +02:00
}
}
.tags {
a .label {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
}
}
}
}
}
}
}
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 {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-27 21:09:15 +02:00
}
}
p.grey {
span {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-09-27 21:09:15 +02:00
}
}
.svg {
2020-10-20 19:24:47 +02:00
fill: $white-dark;
2020-09-27 21:09:15 +02:00
}
}
}
}
}
}
2020-09-28 20:59:54 +02:00
/* user: signin */
.user.signin {
.container {
.header {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-28 20:59:54 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:59:54 +02:00
}
.segment {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-28 20:59:54 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:59:54 +02:00
.form {
.field {
label {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:59:54 +02:00
&::after {
2020-10-20 19:24:47 +02:00
color: $red;
2020-09-28 20:59:54 +02:00
}
}
input {
2020-10-20 19:24:47 +02:00
background: $bg40;
2020-09-28 20:59:54 +02:00
}
.green.button {
2020-10-20 19:24:47 +02:00
background: $bg80;
2020-09-28 20:59:54 +02:00
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:59:54 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-09-28 20:59:54 +02:00
}
}
}
}
}
}
}
2020-10-20 18:55:47 +02:00
/* user: notification */
.user.notification {
.container {
h1.dividing.header {
border: 0;
color: $white;
}
.top.attached.tabular.menu {
border: 0;
.item {
border: 0;
color: $white-light;
&.active {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-10-20 18:55:47 +02:00
color: $white-light;
}
.label {
background: $white;
2020-10-20 19:24:47 +02:00
color: $bg60;
2020-10-20 18:55:47 +02:00
}
}
}
.bottom.attached.tab.segment {
background: $bg50;
border: 0;
table#notification_table {
background: $bg50;
tbody {
tr {
transition: background .2s;
&:hover {
background: $bg40;
}
td { // 1st row
span {
&.blue {
svg.octicon-pin {
fill: $white;
}
}
&.green {
svg.octicon-issue-opened {
fill: $green;
}
}
&.red {
svg.octicon-issue-closed {
fill: $red;
}
}
}
}
td { // 4th row
form {
button.mini.button {
background: $bg70;
transition: background .2s;
&:hover {
background: $bg60;
}
svg {
fill: $white-light;
}
}
}
}
}
}
}
}
.page.buttons {
.pagination.menu {
background: $bg60;
border: 0;
.item {
color: $white;
transition: background .2s;
&:hover {
background: $bg50;
}
&.active {
background: $bg50;
color: $white-light;
}
&.disabled {
color: $white-disabled;
}
}
}
}
}
}