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

338 lines
7.4 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 {
2020-10-30 16:01:19 +01:00
.five.column {
.card {
background: $bg50;
box-shadow: none;
color: $white;
position: sticky;
top: 20px;
.content {
.header {
color: $white;
2020-09-27 21:09:15 +02:00
}
2020-10-30 16:01:19 +01:00
}
.extra.content {
ul.text.black {
color: $white;
li {
@if $nojavascript == true {
padding: 10px 20px;
}
&:not(:last-child) {
border-bottom: 1px solid $bg60;
}
svg {
@if $nojavascript == true {
display: none;
}
}
}
a {
color: $white-light;
&:hover {
color: $red;
}
2020-09-27 21:09:15 +02:00
}
}
}
}
}
2020-10-30 16:01:19 +01:00
.eleven.column {
.secondary.pointing.menu {
background: $bg70;
border: 0;
border-radius: 5px 5px 0 0;
2020-10-30 16:01:19 +01:00
margin-top: -15px;
overflow-x: auto;
overflow-y: hidden;
padding: 0 20px;
scrollbar-color: $white-dark $bg70;
top: 0;
transform: rotateX(180deg);
2020-10-30 16:01:19 +01:00
z-index: 100;
.item {
border-bottom: 2px solid transparent;
border-radius: 5px 5px 0 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-30 16:01:19 +01:00
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-30 16:01:19 +01:00
background: $bg60;
2020-10-20 19:24:47 +02:00
color: $white-light;
2020-09-27 21:09:15 +02:00
}
2020-10-30 16:01:19 +01:00
&.active {
border-bottom: 2px solid $white;
color: $white;
&:hover {
color: $white-light;
}
}
2020-10-30 16:01:19 +01:00
@if $nojavascript == true {
svg {
display: none;
}
}
2020-10-30 16:01:19 +01:00
.label {
background: $white;
color: $bg70;
2020-09-27 21:09:15 +02:00
}
2020-10-30 16:01:19 +01:00
@if $singleuser == true {
&[href*="stars"],
&[href*="following"],
&[href*="followers"] {
display: none;
}
2020-09-27 21:09:15 +02:00
}
}
}
2020-10-30 16:01:19 +01:00
@if $nojavascript == true {
.filter.menu {
display: none;
2020-09-27 21:09:15 +02:00
}
2020-10-30 16:01:19 +01:00
}
form.form {
.input {
input {
background: $bg40;
border: 2px solid $bg60;
color: $white;
&:focus {
background: $bg50;
border: 2px solid $bg60;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
2020-10-30 16:01:19 +01:00
.button {
background: $bg60;
border: 0;
&:hover {
background: $bg50;
2020-09-27 21:09:15 +02:00
}
}
}
2020-10-30 16:01:19 +01:00
}
.divider {
border-bottom: 1px solid $bg60;
}
.repository.list {
.item {
&:not(:first-child) {
border-top: 1px solid $bg60;
}
.header {
a.name {
font-family: $font-family;
i.archive.icon {
color: $white-dark !important;
}
}
.metas {
@if $singleuser == true {
display: none;
}
span {
color: $white-dark !important;
}
2020-09-27 21:09:15 +02:00
}
}
2020-10-30 16:01:19 +01:00
.description {
p {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-30 16:01:19 +01:00
&.time {
color: $white-dark;
}
}
.tags {
a .label {
background: $bg60;
color: $white;
&:hover {
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 {
2020-10-30 16:01:19 +01:00
.eleven.column {
2020-10-30 18:05:31 +01:00
@if $nojavascript == true {
#user-heatmap {
2020-10-30 16:01:19 +01:00
display: none;
2020-09-27 21:09:15 +02:00
}
2020-10-30 16:01:19 +01:00
}
2020-10-30 18:05:31 +01:00
@if $nojavascript == false {
@include contribution-heatmap;
}
2020-10-30 16:01:19 +01:00
.feeds {
.news {
.content {
span {
color: $white-dark !important;
}
}
p.grey {
span {
color: $white-dark;
}
}
.svg {
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;
}
}
}
}
}
}