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

1736 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;
}
span.label {
2020-10-20 19:24:47 +02:00
background: $white;
color: $bg60;
}
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 {
2020-11-02 16:01:11 +01:00
background: $bg50;
@if $nojavascript == true {
display: none !important;
}
2020-09-27 21:09:15 +02:00
&.success,
&.error {
2020-11-02 16:01:11 +01:00
@if $nojavascript == true {
display: flex !important;
}
}
.column.fourteen {
.field {
.search.dropdown {
background: $bg30;
border-radius: $border-radius;
&.active {
border-color: transparent;
}
.label {
background: $bg50;
color: $white;
i.delete.icon {
color: $white-dark;
}
}
.menu {
background: $bg60;
border: 0;
.item {
border-color: $bg80;
color: $white;
&:hover {
background: $bg50;
}
}
}
}
}
}
.column.two {
a.button {
background: $bg70;
color: $white;
&:hover {
background: $bg60;
}
}
2020-09-27 21:09:15 +02:00
}
}
.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-radius: 0 !important;
margin: 0;
padding: 0;
&.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,
span {
2020-10-20 19:24:47 +02:00
color: $white !important;
display: block;
padding: 10px;
}
a {
transition: background .2s;
&:hover {
background: $bg50;
}
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 {
2020-11-02 19:01:59 +01:00
.dropdown.floating.filter {
2020-11-03 18:00:16 +01:00
@if $nojavascript == true {
cursor: default;
2020-11-02 20:59:48 +01:00
}
2020-11-02 19:01:59 +01:00
.button {
background: $bg60;
border-radius: $border-radius;
color: $white;
transition: background .2s;
2020-11-03 18:00:16 +01:00
@if $nojavascript == true {
cursor: default;
}
2020-11-02 19:01:59 +01:00
&:hover {
2020-11-03 18:00:16 +01:00
@if $nojavascript == false {
background: $bg50;
}
}
i.dropdown.icon {
@if $nojavascript == true {
display: none;
}
2020-11-02 19:01:59 +01:00
}
}
2020-11-02 20:59:48 +01:00
.data {
@if $nojavascript == true {
display: none;
}
}
2020-11-02 19:01:59 +01:00
.menu {
background: $bg50;
border: 0;
2020-11-02 20:59:48 +01:00
margin-top: 0 !important;
2020-11-02 19:01:59 +01:00
.search {
color: $white;
i.filter.icon {
opacity: 1;
}
input {
background: $bg30;
border: 0;
color: $white;
&::placeholder {
color: $white-dark;
opacity: 1
}
&::selection {
background: $bg50;
color: $white;
}
}
}
.header {
background: $bg50;
.grid {
.column.two {
a.column.reference {
&:hover {
color: $white;
}
span.text {
padding: 10px 14px;
&:hover {
color: $white;
}
&.black {
color: $white;
border-bottom: 2px solid $white;
}
i.reference.tags.icon {
&::before {
font-size: 13px;
}
}
}
}
}
}
}
.scrolling.menu {
.item {
color: $white !important;
transition: background .2s;
&:hover {
background: $bg40 !important;
}
&.selected {
background: $bg40 !important;
}
}
}
.message {
color: $white;
}
}
}
}
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-11-03 18:00:16 +01:00
background: $red;
color: $white !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-11-02 19:01:59 +01:00
&::selection {
color: $white-dark;
background: $bg60;
opacity: 1
}
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 {
@if $nojavascript == true {
display: block !important;
}
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-11-03 18:00:16 +01:00
.menu {
background: $bg60;
border: 1px solid $bg50;
box-shadow: none;
.item {
color: $white !important;
&:hover {
background: $bg50;
}
}
}
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
}
2020-12-10 20:13:32 +01:00
.table,
#repo-files-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;
2020-09-27 21:09:15 +02:00
}
&.octicon-file {
2020-10-20 19:24:47 +02:00
fill: $white-dark;
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 {
2020-12-10 20:13:32 +01:00
@include sha-label;
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 {
2020-10-30 21:28:13 +01:00
@include label-milestone-menu;
@include search-issues;
.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"] {
2020-11-15 19:36:47 +01:00
@if $type == static {
display: none;
}
}
}
}
}
.ui.divider {
border: 0;
2020-10-20 19:24:47 +02:00
border-top: 1px solid $bg60;
}
.grid {
.column {
2020-10-30 21:28:13 +01:00
@include open-closed-buttons;
.filter.menu {
2020-10-30 22:54:19 +01:00
@include dropdown;
.dropdown.label-filter {
.menu {
.info {
@if $nojavascript == true {
2020-10-30 22:54:19 +01:00
display: none;
}
}
2020-10-30 22:54:19 +01:00
.item {
&.label-filter-item {
@if $nojavascript == true {
2020-10-30 22:54:19 +01:00
padding-left: 25px !important;
}
}
2020-10-30 22:54:19 +01:00
.label.color {
@if $nojavascript == true {
display: none;
}
}
}
}
2020-10-15 11:34:17 +02:00
}
}
}
}
2020-10-30 22:54:19 +01:00
@include issue-list;
}
}
2020-10-25 18:22:16 +01:00
/* repository: labels */
.repository.labels {
.container {
.navbar {
2020-10-30 21:28:13 +01:00
@include label-milestone-menu;
2020-10-25 18:22:16 +01:00
.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 {
2020-10-30 21:28:13 +01:00
@include label-milestone-menu;
2020-10-20 22:35:00 +02:00
}
.divider {
border-top: 1px solid $bg60;
}
2020-10-30 21:28:13 +01:00
@include open-closed-buttons;
2020-10-20 22:35:00 +02:00
.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 {
2020-11-02 15:41:53 +01:00
background: $bg50;
2020-10-14 20:32:15 +02:00
&::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-10-25 19:52:09 +01:00
border-color: $bg50;
border-left: 0;
border-right: 0;
&.horizontal.segments:last-of-type {
border-bottom: 0;
}
2020-12-10 20:13:32 +01: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;
2020-10-25 19:52:09 +01:00
@if $nojavascript == true {
display: none;
}
2020-10-09 18:18:56 +02:00
.svg.octicon-issue-opened {
fill: $green;
}
}
.red.text {
color: $red !important;
2020-10-25 19:52:09 +01:00
@if $nojavascript == true {
display: none;
}
2020-10-09 18:18:56 +02:00
.svg.octicon-issue-closed {
fill: $red;
}
}
}
2020-12-10 20:13:32 +01:00
h4.header { // »There has not been any commit activity in this period.«
background: $bg30;
}
#app {
@if $nojavascript == true {
display: none;
}
}
2020-10-09 18:18:56 +02:00
}
.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
}
}
}
2020-11-08 19:50:40 +01:00
/* repository: settings */
.repository.settings {
@include secondary-menu_new-menu;
.secondary.menu.new-menu {
margin-top: -21px !important;
}
2020-11-08 20:09:41 +01:00
@include settings;
2020-11-08 19:50:40 +01:00
}
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 {
2020-11-03 18:00:16 +01:00
svg {
@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 {
2020-12-10 20:13:32 +01:00
#commits-table {
2020-10-09 14:31:22 +02:00
.commit-list {
tr {
2020-12-10 20:13:32 +01:00
&:nth-child(2n) {
background: unset;
2020-10-09 14:31:22 +02:00
}
2020-12-10 20:13:32 +01:00
@include sha-label;
2020-10-09 14:31:22 +02:00
.message {
.commit-button {
@if $nojavascript == true {
display: none;
}
}
}
}
}
}
}
2020-09-27 21:09:15 +02:00
}
}
2020-10-25 19:25:41 +01:00
/* repository: files */
.repository.commits {
.container {
#git-graph-container {
#rel-container {
@if $nojavascript == true {
display: none;
}
}
#rev-container {
ul#rev-list {
li {
code {
a {
color: $white;
&:hover {
color: $red;
}
}
}
span {
a {
color: $white;
&:hover {
color: $red;
}
}
&.author {
color: $white;
}
&.time {
color: $white-dark;
}
}
}
}
}
}
}
}
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
}
2020-12-08 20:27:05 +01:00
.attached.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-12-08 20:27:05 +01:00
&.isSigned.isVerified {
border: 0;
}
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
}
}
2020-12-10 20:13:32 +01:00
@include sha-label;
2020-09-28 15:53:56 +02:00
}
2020-12-08 20:27:05 +01:00
.attached.message.isSigned.isVerified {
background: $bg50;
border: 0;
border-top: 2px solid $green;
color: $green;
span.text {
color: $white;
}
span.pull-right {
color: $green;
}
}
2020-10-06 22:15:18 +02:00
div {
.diff-detail-box {
2020-10-20 19:24:47 +02:00
background: $bg50;
2020-12-08 21:14:44 +01:00
border: 0;
2020-10-20 19:24:47 +02:00
color: $white;
2020-12-08 21:14:44 +01:00
margin: 0;
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 {
2020-12-08 21:14:44 +01:00
@if $nojavascript == true {
tr {
td {
a.blob-excerpt {
display: none;
}
}
}
}
2020-10-06 22:15:18 +02:00
.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-12-08 21:14:44 +01:00
background: $bg50 !important;
&:not(:last-of-type) {
background: $red !important;
color: $white-light;
}
2020-10-06 22:15:18 +02:00
.removed-code {
2020-12-08 21:14:44 +01:00
background: transparent;
border-bottom: 2px solid $red;
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-12-08 21:14:44 +01:00
background: $bg50 !important;
&:not(:last-of-type) {
background: $green !important;
color: $white-light;
}
2020-10-06 22:15:18 +02:00
.added-code {
2020-12-08 21:14:44 +01:00
background: transparent;
border-bottom: 2px solid $green;
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;
}
2020-11-02 19:01:59 +01:00
}
pre {
background: $bg40;
border-radius: $border-radius;
code {
color: $white;
}
}
}
2020-09-28 20:29:14 +02:00
}
}
}
}
2020-09-28 15:53:56 +02:00
}