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/repository.scss

1720 lines
42 KiB
SCSS
Raw Normal View History

2020-09-27 21:09:15 +02:00
/* repository: code / main */
.repository {
.header-wrapper {
2020-10-20 19:24:47 +02:00
background-color: $bg70;
2020-09-27 21:09:15 +02:00
.repo-header {
.repo-title {
a {
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
color: $red;
2020-09-28 20:59:54 +02:00
}
2020-09-27 21:09:15 +02:00
}
.divider {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-09-27 21:09:15 +02:00
}
2020-09-28 20:59:54 +02:00
.svg.octicon-repo {
display: none;
}
2020-09-27 21:09:15 +02:00
}
.repo-buttons {
@if $singleuser == true {
display: none;
}
2020-09-27 21:09:15 +02:00
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
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
transition: background .2s, color .2s;
font-family: $font-family;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
.label {
2020-10-20 19:24:47 +02:00
background: $bg50;
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
transition: background .2s, color .2s;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg40;
color: $white-light;
2020-09-27 21:09:15 +02:00
}
}
}
}
.tabs {
&.container {
.menu.navbar {
.item {
border-bottom: 2px solid transparent;
border-radius: $border-radius $border-radius 0 0;
2020-10-20 19:24:47 +02:00
color: $white-dark;
transition: background .2s, color .2s;
font-family: $font-family;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60 !important;
color: $white-light;
}
&.active {
background: transparent;
border: 0;
border-bottom: 2px solid;
2020-10-20 19:24:47 +02:00
color: $white;
}
svg {
@if $nojavascript == true {
display: none;
}
}
span.label {
2020-10-20 19:24:47 +02:00
background: $white;
color: $bg60;
}
2020-09-27 21:09:15 +02:00
}
}
}
&.divider {}
2020-09-27 21:09:15 +02:00
}
}
.container {
.repo-description {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
a {
2020-10-20 19:24:47 +02:00
color: $white-dark;
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
}
}
}
#repo-topics {
.repo-topic.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;
2020-09-27 21:09:15 +02:00
}
}
}
.repo-topic-edit {
display: none !important;
&.success,
&.error {
display: flex !important;
}
}
.repository-summary {
border: 0;
box-shadow: none;
@if $nojavascript == true {
height: initial;
overflow: auto;
}
2020-09-27 21:09:15 +02:00
.repository-menu {
2020-10-20 19:24:47 +02:00
background: $bg60 !important;
border-radius: $border-radius;
padding: 0;
2020-09-27 21:09:15 +02:00
.item {
border-bottom: 2px solid transparent;
border-radius: 0 !important;
border-top: 2px solid transparent;
margin: 0;
padding: 0;
transition: background .2s;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
&.active {
background: initial;
2020-10-20 19:24:47 +02:00
border-bottom: 2px solid $white;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
}
a {
2020-10-20 19:24:47 +02:00
color: $white !important;
display: block;
padding: 8px;
svg {
@if $nojavascript == true {
display: none;
}
}
2020-09-27 21:09:15 +02:00
}
}
}
.language-stats-details {
2020-10-20 19:24:47 +02:00
background: $bg50;
@if $nojavascript == true {
padding: 0;
}
.horizontal.list {
.item {
@if $nojavascript == true {
border-radius: 0;
padding: 10px;
}
&:first-of-type {
@if $nojavascript == true {
2020-10-20 19:24:47 +02:00
border-right: 1px dashed $bg70;
}
}
.color-icon {
@if $nojavascript == true {
display: none;
}
}
span {
2020-10-20 19:24:47 +02:00
color: $white;
@if $nojavascript == true {
display: flex;
margin: 0 auto;
width: min-content;
}
b {
@if $nojavascript == true {
font-weight: 400;
margin-left: 10px;
order: 2;
}
}
}
}
}
}
.language-stats {
2020-10-20 19:24:47 +02:00
background: $bg60;
@if $nojavascript == true {
display: none;
}
2020-09-27 21:09:15 +02:00
}
}
.secondary.menu {
.item {
&.choose.reference {
@if $nojavascript == true {
display: none;
}
}
2020-09-28 20:29:14 +02:00
.blue.buttons {
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-28 20:29:14 +02:00
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:29:14 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-28 20:29:14 +02:00
}
}
}
2020-09-27 21:09:15 +02:00
#clone-panel {
#repo-clone-https,
#repo-clone-ssh {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
box-shadow: none !important;
font-family: $font-family;
2020-09-27 21:09:15 +02:00
&:not(.blue) {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
}
&.blue {
2020-10-20 19:24:47 +02:00
box-shadow: inset 0 0 0 1px $red !important;
color: $red !important;
2020-09-27 21:09:15 +02:00
}
}
input#repo-clone-url {
2020-10-20 19:24:47 +02:00
background: $bg40;
border: 2px solid $bg60;
color: $white;
font-family: $font-family;
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;
2020-09-27 21:09:15 +02:00
}
}
}
#clipboard-btn {
2020-10-20 19:24:47 +02:00
background: $bg60;
@if $nojavascript == true {
display: none;
}
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
.svg {
fill: rgb(245, 245, 245);
}
}
div.dropdown.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-28 20:29:14 +02:00
.menu {
2020-10-20 19:24:47 +02:00
background: $bg60;
border: 1px solid $bg50;
2020-09-28 20:29:14 +02:00
box-shadow: none;
@if $nojavascript == true {
display: block !important;
}
2020-09-28 20:29:14 +02:00
.item {
2020-10-20 19:24:47 +02:00
color: $white !important;
2020-09-28 20:29:14 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-28 20:29:14 +02:00
}
}
}
2020-09-27 21:09:15 +02:00
}
.download.icon {
2020-10-20 19:24:47 +02:00
color: $white;
}
2020-09-27 21:09:15 +02:00
}
}
}
.header {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-27 21:09:15 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
}
.table {
2020-10-20 19:24:47 +02:00
background: $bg30;
border: 0;
2020-09-27 21:09:15 +02:00
border-radius: 5px;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
thead {
tr {
&:hover {
background: transparent !important;
}
th {
2020-10-20 19:24:47 +02:00
background: $bg50;
color: $white;
2020-09-27 21:09:15 +02:00
.time-since {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
}
}
}
}
> thead > tr > th {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
tbody {
tr {
2020-10-20 19:24:47 +02:00
background: $bg30;
2020-09-27 21:09:15 +02:00
border: 0;
&:hover {
2020-10-20 19:24:47 +02:00
background-color: $bg40 !important;
2020-09-27 21:09:15 +02:00
}
.svg {
&.octicon-file-directory,
&.octicon-file-submodule {
2020-10-20 19:24:47 +02:00
fill: $red;
@if $nojavascript == true {
2020-10-20 19:24:47 +02:00
background: $red;
border-radius: 0 1px 2px 2px;
2020-10-20 19:24:47 +02:00
box-shadow: -4px -7px 0px -4px $red;
height: 10px;
margin-left: 5px !important;
margin-top: 4px;
width: 14px;
}
2020-09-27 21:09:15 +02:00
}
&.octicon-file {
2020-10-20 19:24:47 +02:00
fill: $white-dark;
@if $nojavascript == true {
2020-10-20 19:24:47 +02:00
border: 1px solid $white-dark;
border-radius: 0 5px 0 0;
height: 13px;
margin-left: 7px !important;
margin-right: 6px !important;
width: 10px;
}
2020-09-27 21:09:15 +02:00
}
}
.jumpable-path {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-27 21:09:15 +02:00
}
}
}
.commit-list {
2020-10-09 14:31:22 +02:00
th {
.sha.label {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-09 14:31:22 +02:00
border: 0 !important;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-09 14:31:22 +02:00
transition: background .2s, color .2s;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
2020-10-09 14:31:22 +02:00
}
}
.commit-summary {
.commit-button {
@if $nojavascript == true {
display: none;
}
}
2020-09-27 21:09:15 +02:00
}
}
}
}
.non-diff-file-content {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
.header {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
font-family: $font-family;
2020-09-27 21:09:15 +02:00
}
.table {
2020-10-20 19:24:47 +02:00
background: $bg30;
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
}
}
}
}
/* repository: issues */
.repository {
.container {
.grid {
.column {
.left.small.menu {
background: transparent;
border: 0;
.item {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
&:first-child {
border-radius: $border-radius 0 0 $border-radius;
}
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
&:last-child {
border-radius: 0 $border-radius $border-radius 0;
}
}
}
form.form {
.input {
input {
2020-10-20 19:24:47 +02:00
background: $bg40;
border: 2px solid $bg60;
color: $white;
&:focus {
2020-10-20 19:24:47 +02:00
background: $bg50;
border: 2px solid $bg60;
color: $white;
}
}
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
border: 0;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
}
}
}
.green.button {
2020-10-20 19:24:47 +02:00
background: $green;
box-shadow: none;
2020-10-20 22:35:00 +02:00
color: $white-light;
&:hover {
2020-10-20 19:24:47 +02:00
background: $green-dark;
}
&[href*="issues/new"] {
@if $type == frontend {
display: none;
}
}
}
}
}
.ui.divider {
border: 0;
2020-10-20 19:24:47 +02:00
border-top: 1px solid $bg60;
}
.grid {
.column {
.basic.button {
&:not(.active) {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
}
&.red {
2020-10-20 19:24:47 +02:00
background: $red;
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
&:hover {
2020-10-20 19:24:47 +02:00
background: $red-dark;
}
}
.svg {
@if $nojavascript == true {
display: none;
}
}
}
.filter.menu {
.item {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
&:first-of-type {
margin-left: auto;
}
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
.menu {
@if $nojavascript == true {
display: block;
}
}
}
&.label-filter {
.menu {
.info {
@if $nojavascript == true {
display: none;
}
}
.item {
&.label-filter-item {
@if $nojavascript == true {
padding-left: 25px !important;
}
}
.label.color {
@if $nojavascript == true {
display: none;
}
}
}
}
}
.menu {
2020-10-20 19:24:47 +02:00
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
margin-top: 0;
.item {
2020-10-20 19:24:47 +02:00
color: $white !important;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
}
}
}
}
}
}
.issue.list {
.item {
2020-10-20 19:24:47 +02:00
border-bottom: 1px dashed $bg70;
.label {
2020-10-20 19:24:47 +02:00
background: $white;
color: $bg60;
}
.title {
border-bottom: 1px solid transparent;
2020-10-20 19:24:47 +02:00
color: $white;
transition: border .2s, color .2s;
&:hover {
2020-10-20 19:24:47 +02:00
border-bottom: 1px solid $red;
color: $red;
}
}
.desc {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-10-15 11:34:17 +02:00
a.milestone {
2020-10-20 19:24:47 +02:00
color: $white !important;
2020-10-15 11:34:17 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $red !important;
2020-10-15 11:34:17 +02:00
}
}
}
}
}
}
}
2020-10-25 18:22:16 +01:00
/* repository: labels */
.repository.labels {
.container {
.navbar {
.left.small.menu {
background: transparent;
border: 0;
.item {
background: $bg60;
color: $white;
font-family: "Lucida Console", monospace;
&:first-child {
border-radius: $border-radius 0 0 $border-radius;
}
&:hover {
background: $bg50;
}
&:last-child {
border-radius: 0 $border-radius $border-radius 0;
}
&.active {
background: $bg50;
}
}
}
.right {
.green.new-label.button {
background: $green;
&:hover {
background: $green-dark;
}
}
}
}
h4.attached.header {
font-family: $font-family;
.right {
.right.filter.menu {
font-family: $font-family;
.dropdown.item {
color: $white;
background: $bg60;
&:hover {
background: $bg50;
.menu {
@if $nojavascript == true {
display: block !important;
}
}
}
.menu {
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
margin-top: 0;
.item {
color: $white !important;
&:hover {
background: $bg50;
}
}
}
}
}
}
}
.attached.segment {
background: $bg30;
border: 0;
.labelspage {
li.item {
border-color: $bg50;
.grid {
.four.wide.column {
.label {
@if $nojavascript == true {
background: $bg60;
color: $white;
}
svg.octicon-tag {
@if $nojavascript == true {
display: none;
}
}
}
}
.six.wide.column {
@if $nojavascript == true {
width: 56.25% !important;
}
}
.three.wide.column {
&:last-of-type {
@if $nojavascript == true {
display: none;
}
}
a {
color: $white-light;
&:hover {
color: $red;
}
}
}
}
}
}
}
}
}
2020-10-20 22:35:00 +02:00
/* repository: milestones */
.repository.milestones {
.container {
.navbar {
.left.small.menu {
background: transparent;
border: 0;
.item {
background: $bg60;
color: $white;
&:first-child {
border-radius: $border-radius 0 0 $border-radius;
}
&:hover {
background: $bg50;
}
&:last-child {
border-radius: 0 $border-radius $border-radius 0;
}
&.active {
background: $bg50;
}
}
}
}
.divider {
border-top: 1px solid $bg60;
}
.basic.button {
&:not(.active) {
background: $bg60;
color: $white;
&:hover {
background: $bg50;
}
}
&.green {
background: $green;
box-shadow: none;
color: $white-light;
&:hover {
background: $green-dark;
}
}
&.red {
background: $red;
box-shadow: none;
color: $white-light;
&:hover {
background: $red-dark;
}
}
.svg {
@if $nojavascript == true {
display: none;
}
}
}
.filter.menu {
.item {
background: $bg60;
color: $white;
&:first-of-type {
margin-left: auto;
}
&:hover {
background: $bg50;
.menu {
@if $nojavascript == true {
display: block;
}
}
}
&.label-filter {
.menu {
.info {
@if $nojavascript == true {
display: none;
}
}
.item {
&.label-filter-item {
@if $nojavascript == true {
padding-left: 25px !important;
}
}
.label.color {
@if $nojavascript == true {
display: none;
}
}
}
}
}
.menu {
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
margin-top: 0;
.item {
color: $white !important;
&:hover {
background: $bg50;
}
}
}
}
}
.milestone.list {
.item {
border-bottom: 1px dashed $bg70;
svg.octicon-milestone {
@if $nojavascript == true {
display: none;
}
}
a {
color: $white-light;
&:hover {
color: $red;
}
}
.green.progress {
background: $bg50;
.bar {
background: $green;
}
@if $nojavascript == true {
@for $i from 1 through 100 {
&[data-percent*="#{$i}"] {
.bar {
width: $i + 0%;
.progress::before {
content: "#{$i}%";
}
}
}
}
}
}
2020-10-25 17:18:27 +01:00
.meta {
color: $white-dark;
}
2020-10-20 22:35:00 +02:00
}
}
}
}
/* repository: milestones view */
.repository {
.container {
div {
.column {
svg.octicon-calendar {
@if $nojavascript == true {
display: none;
}
}
}
}
}
}
/* repository: issues view issue */
.repository.view.issue {
.container {
div {
.grid {
.column {
&.title {
.grid {
h1 {
.index {
2020-10-20 19:24:47 +02:00
color: $white-dark;
}
#issue-title {
2020-10-20 19:24:47 +02:00
color: $white;
}
#edit-title-input {
@if $nojavascript == true {
display: none;
}
2020-10-14 21:35:41 +02:00
input {
2020-10-20 19:24:47 +02:00
background: $bg50;
color: $white;
2020-10-14 21:35:41 +02:00
}
}
}
div {
.edit-zone {
.in-edit.button {
box-shadow: none !important;
2020-10-20 19:24:47 +02:00
color: $white !important;
2020-10-14 21:35:41 +02:00
}
}
}
}
2020-10-14 11:46:04 +02:00
.label {
&.green {
2020-10-20 19:24:47 +02:00
background: $green;
2020-10-14 11:46:04 +02:00
.svg {
@if $nojavascript == true {
display: none;
}
}
}
&.red {
2020-10-20 19:24:47 +02:00
background: $red;
2020-10-14 11:46:04 +02:00
.svg {
@if $nojavascript == true {
display: none;
}
}
}
}
}
&.comment-list {
.timeline {
&::before {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 20:32:15 +02:00
@if $nologin == true {
margin-bottom: 40px;
}
2020-10-14 11:46:04 +02:00
}
.timeline-item {
.content {
.header {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 11:46:04 +02:00
&::after {
2020-10-20 19:24:47 +02:00
border-right-color: $bg60;
2020-10-14 11:46:04 +02:00
}
&::before {
border-right-color: transparent;
}
.text.grey {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-10-14 11:46:04 +02:00
a {
2020-10-20 19:24:47 +02:00
color: $white !important;
2020-10-14 12:01:45 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $red !important;
2020-10-14 12:01:45 +02:00
}
2020-10-14 11:46:04 +02:00
}
}
2020-10-14 21:35:41 +02:00
.right.actions {
.item.action {
a.add-reaction,
a.context-menu {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 21:35:41 +02:00
}
.menu {
&::after {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 21:35:41 +02:00
}
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 21:35:41 +02:00
.header {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 21:35:41 +02:00
}
.divider {
2020-10-20 19:24:47 +02:00
border-color: $bg80;
2020-10-14 21:35:41 +02:00
}
.item.reaction,
.item.context {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 21:35:41 +02:00
}
}
}
}
2020-10-14 11:46:04 +02:00
}
2020-10-20 19:00:46 +02:00
.attached.segment {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-10-14 11:46:04 +02:00
border: 0;
2020-10-20 19:00:46 +02:00
.render-content {
pre {
background: $bg30;
border-radius: $border-radius;
}
}
2020-10-14 11:46:04 +02:00
}
}
2020-10-14 12:01:45 +02:00
&.event {
.badge {
2020-10-20 19:24:47 +02:00
background: $bg60;
border-color: $bg60;
2020-10-14 12:01:45 +02:00
.svg {
2020-10-20 19:24:47 +02:00
fill: $white;
2020-10-14 12:01:45 +02:00
}
}
.text.grey {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-10-14 12:01:45 +02:00
a {
2020-10-20 19:24:47 +02:00
color: $white !important;
2020-10-14 12:01:45 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $red !important;
2020-10-14 12:01:45 +02:00
}
}
}
}
2020-10-14 20:32:15 +02:00
&.comment.form {
.content {
form.form {
&::after {
2020-10-20 19:24:47 +02:00
border-right-color: $bg50;
2020-10-14 20:32:15 +02:00
}
&::before {
border-right-color: transparent;
}
.tabular.menu {
2020-10-20 19:24:47 +02:00
border-color: $bg60;
2020-10-14 20:32:15 +02:00
.item {
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 20:32:15 +02:00
&.active {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white;
2020-10-14 20:32:15 +02:00
}
}
}
.field { // Editor
.tab.active {
textarea.edit_area {
2020-10-20 19:24:47 +02:00
background: $bg40;
color: $white;
2020-10-14 20:32:15 +02:00
}
.editor-toolbar {
border: 0;
a {
&::after,
&::before {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 20:32:15 +02:00
}
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-14 20:32:15 +02:00
border-color: transparent;
}
}
i.separator {
2020-10-20 19:24:47 +02:00
border-color: $bg70;
2020-10-14 20:32:15 +02:00
}
}
.CodeMirror {
2020-10-20 19:24:47 +02:00
background: $bg40;
2020-10-14 20:32:15 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 20:32:15 +02:00
}
.editor-statusbar {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-10-14 20:32:15 +02:00
}
}
}
.field { // "Drop files or click here to upload"
.dropzone {
2020-10-20 19:24:47 +02:00
background: $bg40;
border-color: $red;
2020-10-14 20:32:15 +02:00
.dz-default,
.dz-message {
.dz-button {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 20:32:15 +02:00
}
}
.dz-preview {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-10-14 20:32:15 +02:00
border-radius: 4px;
.dz-image {
img {
transition: filter .2s;
}
}
.dz-details {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-14 20:32:15 +02:00
.dz-size {
span {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-14 20:32:15 +02:00
padding: 4px 8px;
border-radius: 8px;
}
}
.dz-filename {
border-radius: 4px;
padding: 4px 8px;
span {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-14 20:32:15 +02:00
border: 0;
border-radius: 8px;
padding: 4px 8px;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 20:32:15 +02:00
}
}
}
}
.dz-progress {
.dz-upload {
2020-10-20 19:24:47 +02:00
background: $bg40;
2020-10-14 20:32:15 +02:00
}
}
.dz-success-mark {
svg {
g {
path {
2020-10-20 19:24:47 +02:00
fill: $green;
2020-10-14 20:32:15 +02:00
}
}
}
}
.dz-error-mark {
svg {
g {
g {
path {
2020-10-20 19:24:47 +02:00
fill: $green;
2020-10-14 20:32:15 +02:00
}
}
}
}
}
.dz-remove {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 20:32:15 +02:00
padding: 8px 0 4px 0;
transition: background .2s;
&:hover {
2020-10-20 19:24:47 +02:00
background: $red;
color: $white;
2020-10-14 20:32:15 +02:00
text-decoration: none;
}
}
}
}
}
}
}
}
}
.warning.message {
@if $nologin == true {
display: none;
}
}
}
}
& {
.metas {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-10-14 20:32:15 +02:00
.disabled {
&.select-label,
&.select-milestone,
&.select-assignees-modify {
opacity: 1;
}
}
2020-10-14 21:35:41 +02:00
.watching { // Notifications: "Subscribe" / "Unsubscribe"
2020-10-14 20:32:15 +02:00
@if $nologin == true {
display: none;
}
2020-10-14 21:35:41 +02:00
div {
form {
button {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white;
2020-10-14 21:35:41 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 21:35:41 +02:00
}
}
}
}
2020-10-14 20:32:15 +02:00
}
2020-10-14 21:35:41 +02:00
.timetrack {
div {
.start-add {
button.start {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white;
2020-10-14 21:35:41 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 21:35:41 +02:00
}
}
}
}
}
#deadline-loader { // Time Tracker
2020-10-14 20:32:15 +02:00
.negative.message {
@if $nojavascript == true {
display: none;
}
}
2020-10-14 21:35:41 +02:00
#deadlineForm {
form#update-issue-deadline-form {
input#deadlineDate {
2020-10-20 19:24:47 +02:00
background: $bg40;
color: $white;
2020-10-14 21:35:41 +02:00
&:focus {
2020-10-20 19:24:47 +02:00
border-color: $bg70;
2020-10-14 21:35:41 +02:00
}
}
}
}
}
.depending {
div {
form#addDependencyForm {
.action.input {
#new-dependency-drop-list {
2020-10-20 19:24:47 +02:00
background: $bg40;
color: $white;
2020-10-14 21:35:41 +02:00
&.active {
2020-10-20 19:24:47 +02:00
border-color: $bg70;
2020-10-14 21:35:41 +02:00
}
.text {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-10-14 21:35:41 +02:00
}
.menu {
2020-10-20 19:24:47 +02:00
background: $bg50 none repeat scroll 0% 0%;
border-color: $bg70;
2020-10-14 21:35:41 +02:00
box-shadow: none;
.item {
2020-10-20 19:24:47 +02:00
border-color: $bg70;
color: $white;
2020-10-14 21:35:41 +02:00
}
}
}
}
}
}
}
.watching { // "Lock conversation"
div {
button.show-modal {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white;
2020-10-14 21:35:41 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-14 21:35:41 +02:00
}
}
}
}
}
}
}
}
}
}
}
2020-09-27 21:09:15 +02:00
/* repository: releases */
.repository.release {
.container {
.header {
background: transparent;
font-family: $font-family;
2020-09-27 21:09:15 +02:00
}
#release-list {
2020-10-20 19:24:47 +02:00
border-top: 1px solid $bg60;
2020-09-27 21:09:15 +02:00
}
}
}
/* repository: activity */
.repository.commits {
.container {
h2.header {
font-family: $font-family;
2020-09-27 21:09:15 +02:00
background: transparent;
.filter {
&:hover {
.menu {
@if $nojavascript == true {
display: block;
}
}
}
2020-09-27 21:09:15 +02:00
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
font-family: $font-family;
2020-09-27 21:09:15 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
}
}
2020-09-28 20:29:14 +02:00
.menu {
2020-10-20 19:24:47 +02:00
background: $bg60;
border: 1px solid $bg50;
2020-09-28 20:29:14 +02:00
box-shadow: none;
.item {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:29:14 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-28 20:29:14 +02:00
}
}
}
2020-09-27 21:09:15 +02:00
}
}
2020-09-28 20:29:14 +02:00
.segment {
2020-10-20 19:24:47 +02:00
background: $bg30;
2020-09-27 21:09:15 +02:00
border: 0;
h4.header { // »There has not been any commit activity in this period.«
2020-10-20 19:24:47 +02:00
background: $bg30;
}
#app {
@if $nojavascript == true {
display: none;
}
}
2020-10-09 18:18:56 +02:00
.text {
2020-10-20 19:24:47 +02:00
background: $bg30;
2020-10-09 18:18:56 +02:00
.green.text {
color: $green !important;
.svg.octicon-issue-opened {
fill: $green;
}
}
.red.text {
color: $red !important;
.svg.octicon-issue-closed {
fill: $red;
}
}
}
}
.divider.header {
background: initial;
border: 0;
display: flex;
&::after,
&::before {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-09 18:18:56 +02:00
height: 1px;
top: 7px;
}
&::after {
margin-left: 10px;
}
&::before {
margin-right: 10px;
}
span.text {
margin: 0 5px 0 0;
@if $nojavascript == true {
display: none;
}
}
}
.list {
.green.label {
background: $green;
}
.red.label {
background: $red;
}
2020-09-27 21:09:15 +02:00
}
}
}
/* repository: commits */
.repository.commits {
.container {
.secondary.menu {
@if $nojavascript == false {
margin-left: -15px;
2020-09-27 21:09:15 +02:00
}
.item {
.button {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg50;
}
.text {
@if $nojavascript == true {
display: none;
}
2020-09-27 21:09:15 +02:00
}
}
}
}
.header {
form {
.search.input {
input {
2020-10-20 19:24:47 +02:00
background: $bg40;
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
&:focus {
2020-10-20 19:24:47 +02:00
background: $bg50;
color: $white;
}
}
}
.checkbox {
label {
2020-10-20 19:24:47 +02:00
color: $white;
}
2020-09-27 21:09:15 +02:00
}
}
}
2020-10-09 14:31:22 +02:00
.table {
.very.basic.table {
.commit-list {
tr {
.sha.label {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-09 14:31:22 +02:00
border: 0 !important;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-09 14:31:22 +02:00
transition: background .2s, color .2s;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
2020-10-09 14:31:22 +02:00
}
}
.message {
.commit-button {
@if $nojavascript == true {
display: none;
}
}
}
}
}
}
}
2020-09-27 21:09:15 +02:00
}
}
/* repository: branches */
.repository.branches {
.container {
.table {
tbody {
tr {
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg30;
2020-09-27 21:09:15 +02:00
}
td {
.info {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
.svg {
2020-10-20 19:24:47 +02:00
fill: $white;
2020-09-27 21:09:15 +02:00
}
}
.dropdown.button {
.download.icon {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-27 21:09:15 +02:00
}
}
}
}
}
}
}
}
/* repository: diff */
.repository.diff {
.container {
.top.info {
2020-10-20 19:24:47 +02:00
background: $bg60 !important;
2020-09-27 21:09:15 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 15:53:56 +02:00
.button {
2020-10-20 19:24:47 +02:00
background: $bg80;
2020-09-28 15:53:56 +02:00
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 15:53:56 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-09-28 15:53:56 +02:00
}
}
.text.grey {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-28 15:53:56 +02:00
}
2020-09-27 21:09:15 +02:00
}
.info {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-09-27 21:09:15 +02:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 15:53:56 +02:00
.text.grey {
.time-since {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-28 15:53:56 +02:00
}
}
.sha.label {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-09-28 15:53:56 +02:00
border: 0 !important;
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 15:53:56 +02:00
transition: background .2s, color .2s;
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
color: $white;
2020-09-28 15:53:56 +02:00
}
}
}
2020-10-06 22:15:18 +02:00
div {
.diff-detail-box {
2020-10-20 19:24:47 +02:00
background: $bg50;
color: $white;
2020-10-06 22:15:18 +02:00
padding: 10px;
.button {
2020-10-20 19:24:47 +02:00
background: $bg70;
color: $white;
2020-10-06 22:15:18 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-06 22:15:18 +02:00
.menu {
@if $nojavascript == true {
display: block;
}
}
}
&.dropdown {
@if $nojavascript == true {
2020-10-06 22:15:18 +02:00
padding-right: 37px;
&::after {
content: '';
position: absolute;
right: 17px;
top: 10px;
font-size: 11px;
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-10-06 22:15:18 +02:00
}
}
}
2020-10-06 22:15:18 +02:00
.dropdown.icon {
@if $nojavascript == true {
display: none;
}
}
.menu {
2020-10-20 19:24:47 +02:00
background: $bg70;
border: 1px solid $bg60;
2020-10-06 22:15:18 +02:00
box-shadow: none;
.item {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-06 22:15:18 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-10-06 22:15:18 +02:00
}
&[data-target*="#diff-files"] {
@if $nojavascript == true {
display: none;
}
}
}
}
}
2020-10-06 22:15:18 +02:00
&.diff-stats {
@if $nojavascript == true {
2020-10-06 22:15:18 +02:00
display: block;
}
2020-09-28 15:53:56 +02:00
}
2020-10-06 22:15:18 +02:00
}
.diff-stats.detail-files {
2020-10-20 19:24:47 +02:00
background: $bg30;
2020-10-06 22:15:18 +02:00
border-radius: 0 0 5px 5px;
margin: 0 0 10px 0;
li {
2020-10-20 19:24:47 +02:00
border-bottom: 1px dashed $bg60;
2020-10-06 22:15:18 +02:00
&:last-of-type {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
.diff-counter {
.add {
2020-10-20 19:24:47 +02:00
color: $green;
2020-10-06 22:15:18 +02:00
}
.del {
2020-10-20 19:24:47 +02:00
color: $red;
}
2020-09-28 15:53:56 +02:00
}
}
}
2020-10-06 22:15:18 +02:00
.diff-file-box {
.diff-file-header {
.fold-code {
@if $nojavascript == true {
display: none;
}
}
2020-10-06 22:15:18 +02:00
.diff-counter {
.add {
@if $nojavascript == true {
2020-10-20 19:24:47 +02:00
color: $green;
margin-right: 10px;
}
}
2020-10-06 22:15:18 +02:00
.bar {
2020-10-20 19:24:47 +02:00
background: $red;
@if $nojavascript == true {
display: none;
}
2020-10-06 22:15:18 +02:00
.pull-left.add {
2020-10-20 19:24:47 +02:00
background: $green;
2020-10-06 22:15:18 +02:00
}
}
.del {
@if $nojavascript == true {
2020-10-20 19:24:47 +02:00
color: $red;
}
}
2020-09-28 15:53:56 +02:00
}
2020-10-06 22:15:18 +02:00
.file {
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-06 22:15:18 +02:00
}
.button {
2020-10-20 19:24:47 +02:00
background: $bg80;
2020-10-06 22:15:18 +02:00
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
2020-10-06 22:15:18 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-10-06 22:15:18 +02:00
}
2020-09-28 15:53:56 +02:00
}
}
2020-10-06 22:15:18 +02:00
.diff-file-body {
.file-body {
table {
tbody {
.tag-code {
td {
2020-10-20 19:24:47 +02:00
background: $bg30 !important;
border-color: $bg60 !important;
color: $white;
2020-10-06 22:15:18 +02:00
}
2020-09-28 15:53:56 +02:00
}
2020-10-06 22:15:18 +02:00
.same-code {
td {
2020-10-20 19:24:47 +02:00
background: $bg30 !important;
border-color: $bg60 !important;
color: $white;
2020-10-06 22:15:18 +02:00
}
2020-09-28 15:53:56 +02:00
}
2020-10-06 22:15:18 +02:00
.del-code {
td {
2020-10-20 19:24:47 +02:00
background: $red !important;
border-color: $red-light !important;
color: $white;
2020-10-06 22:15:18 +02:00
.removed-code {
2020-10-20 19:24:47 +02:00
background: $red-dark;
2020-10-06 22:15:18 +02:00
}
2020-09-28 15:53:56 +02:00
}
}
2020-10-06 22:15:18 +02:00
.add-code {
td {
2020-10-20 19:24:47 +02:00
background: $green !important;
border-color: $green-light !important;
color: $white;
2020-10-06 22:15:18 +02:00
.added-code {
2020-10-20 19:24:47 +02:00
background: $green-dark;
2020-10-06 22:15:18 +02:00
}
2020-09-28 15:53:56 +02:00
}
}
}
}
}
}
}
2020-09-27 21:09:15 +02:00
}
}
}
2020-09-28 15:53:56 +02:00
/* repository: files */
.repository.file {
2020-09-28 20:29:14 +02:00
.container {
.secondary.menu {
.item {
.repo-path {
a {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-09-28 20:29:14 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
color: $red;
2020-09-28 20:29:14 +02:00
}
}
.divider {
2020-10-20 19:24:47 +02:00
color: $white-dark;
2020-09-28 20:29:14 +02:00
}
.active.section {
2020-10-20 19:24:47 +02:00
color: $white;
2020-09-28 20:29:14 +02:00
}
}
}
}
.non-diff-file-content {
.file-header {
.file-header-left {
.file-info {
2020-10-20 19:24:47 +02:00
color: $white-dark !important;
2020-09-28 20:29:14 +02:00
}
}
.file-header-right {
.file-actions {
a {
.btn-octicon {
.svg {
2020-10-20 19:24:47 +02:00
fill: $white-dark;
2020-09-28 20:29:14 +02:00
transition: fill .2s;
&:hover {
2020-10-20 19:24:47 +02:00
fill: $white;
2020-09-28 20:29:14 +02:00
}
}
}
}
.buttons {
.button {
2020-10-20 19:24:47 +02:00
background: $bg70;
2020-09-28 20:29:14 +02:00
box-shadow: none;
2020-10-20 19:24:47 +02:00
color: $white;
font-family: $font-family;
2020-09-28 20:29:14 +02:00
&:hover {
2020-10-20 19:24:47 +02:00
background: $bg60;
2020-09-28 20:29:14 +02:00
}
}
}
}
}
}
.table {
.file-view {
&.code-view {
table {
tbody {
tr {
td,
td pre code .linenums {
2020-10-20 19:24:47 +02:00
background: $bg30 !important;
border-color: $bg60 !important;
color: $white;
}
2020-09-28 20:29:14 +02:00
}
}
}
}
&.markdown {
a {
border-bottom: 1px solid;
padding: 0 2px;
margin: 0 -2px;
}
&:not(code) {
h1,
h2 {
2020-10-20 19:24:47 +02:00
border-bottom: 1px solid $bg60;
}
pre {
2020-10-20 19:24:47 +02:00
background: $bg40;
border-radius: $border-radius;
}
}
}
2020-09-28 20:29:14 +02:00
}
}
}
}
2020-09-28 15:53:56 +02:00
}