2023-11-22 17:51:09 +00:00
: root {
2024-06-13 15:26:14 +00:00
--is-dark-theme : true ;
2023-11-22 17:51:09 +00:00
--border-radius : 6px ;
2024-06-13 15:26:14 +00:00
--color-white : # e6edf3 ;
--color-red : # da3633 ;
--color-orange : # c9510c ;
--color-yellow : # d29922 ;
--color-blue : # 4493f8 ;
--color-purple : # 8957e5 ;
--color-green : # 238636 ;
--color-green-light : # 16ab39 ;
--color-primary : var ( --color-green ) ;
--color-primary-hover : # 29903b ;
--color-primary-active : # 2e9a40 ;
--color-primary-light-4 : # 0e4429 ;
--color-primary-light-2 : # 006d32 ;
--color-primary-dark-2 : # 26a641 ;
--color-primary-dark-4 : # 39d353 ;
--color-primary-contrast : # ffffff ;
--color-secondary : # 30363d ;
--color-secondary-alpha-60 : # 161b22 ;
--color-secondary-alpha-40 : rgba ( 48 , 54 , 61 , 0 . 4 ) ;
--color-secondary-bg : # 30363d ;
--color-light-border : var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
--color-body : # 0d1117 ;
2024-06-13 15:26:14 +00:00
--color-card : var ( --color-body ) ;
--color-navbar : # 010409 ;
2023-11-22 17:51:09 +00:00
--color-footer : # 161b22 ;
2024-06-13 15:26:14 +00:00
--color-text : # bbc0ca ;
--color-text-dark : # bbc0ca ;
2023-11-22 17:51:09 +00:00
--color-text-light : # a6aab5 ;
2024-06-13 15:26:14 +00:00
--color-text-light-1 : # 848d97 ;
--color-text-light-2 : # a6aab5 ;
--color-timeline : # 21262d ;
2023-11-22 17:51:09 +00:00
--color-grey-light : var ( --color-text-light ) ;
--color-box-body : # 22272e ;
--color-markup-code-block : # 636e7b66 ;
--color-light : # 22272e ;
--color-button : # 22272e ;
2024-06-13 15:26:14 +00:00
--color-expand-button : var ( --color-body ) ;
2023-11-22 17:51:09 +00:00
--color-input-background : # 22272e ;
2024-06-13 15:26:14 +00:00
--color-input-border-hover : var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
--color-input-text : # adbac7 ;
--color-box-header : # 22272e ;
--color-active : # 22272e ;
2024-06-13 15:26:14 +00:00
--color-active-line : # 272114 ;
--color-menu : # 161b22 ;
2023-11-22 17:51:09 +00:00
--color-caret : var ( --color-text ) ;
2024-06-13 15:26:14 +00:00
--color-box-body : var ( --color-body ) ;
2023-11-22 17:51:09 +00:00
--color-box-header : # 161b22 ;
2024-06-13 15:26:14 +00:00
--color-nav-bg : # 010409 ;
--color-header-wrapper : # 010409 ;
--color-nav-hover-bg : rgba ( 177 , 186 , 196 , 0 . 12 ) ;
--color-hover : # 292e36 ;
--color-label-bg : rgba ( 56 , 139 , 253 , 0 . 1 ) ;
--color-label-hover-bg : # 1f6feb ;
--color-label-text : var ( --color-blue ) ;
--color-error-bg : # b62324 ;
--color-error-border : # f8514966 ;
--color-error-text : var ( --color-white ) ;
--color-success-bg : # 122117 ;
--color-success-border : # 2ea04366 ;
--color-success-text : var ( --color-green ) ;
--color-info-bg : rgba ( 56 , 139 , 253 , 0 . 1 ) ;
--color-info-border : rgba ( 56 , 139 , 253 , 0 . 4 ) ;
--color-info-text : var ( --color-blue ) ;
--color-warning-bg : rgba ( 187 , 128 , 9 , 0 . 1 ) ;
--color-warning-border : rgba ( 187 , 128 , 9 , 0 . 4 ) ;
--color-warning-text : var ( --color-yellow ) ;
2023-11-22 17:51:09 +00:00
/* code editor colors are set in https://github.com/go-gitea/gitea/blob/f5b300ea77081a1b78ac044cb1c0f9225538d091/web_src/js/features/codeeditor.js#L82-L97. */
/* monaco editor dark theme is toggled via variable `--is-dark-theme` */
--color-primary-light-3 : # 71798e ;
2024-06-13 15:26:14 +00:00
--color-editor-line-highlight : var ( --color-body ) ;
--color-code-bg : var ( --color-body ) ;
--color-diff-removed-row-bg : rgba ( 248 , 81 , 73 , 0 . 15 ) ;
--color-diff-removed-row-border : rgba ( 248 , 81 , 73 , 0 . 3 ) ;
--color-diff-removed-word-bg : rgba ( 248 , 81 , 73 , 0 . 4 ) ;
--color-diff-added-row-bg : rgba ( 46 , 160 , 67 , 0 . 15 ) ;
--color-diff-added-row-border : rgba ( 46 , 160 , 67 , 0 . 3 ) ;
--color-diff-added-word-bg : rgba ( 46 , 160 , 67 , 0 . 4 ) ;
--color-diff-inactive : var ( --color-secondary-alpha-60 ) ;
}
. text . primary ,
. flex-item a : not ( . label , . button ) : hover {
color : var ( --color-blue ) ! important ;
}
. svg : not ( . text ) {
fill : var ( --color-text-light-1 ) ;
}
. label > . svg ,
. btn > . svg ,
. button > . svg ,
. badge . gt-text-white > . svg ,
. card > . svg ,
a : not ( . item ) : hover > . svg ,
. dropdown : hover . svg ,
. ui . attached . menu : not ( . new-menu ) . item . svg {
fill : currentColor ;
}
. markdown-toolbar-button : hover {
background-color : var ( --color-secondary ) ;
border-radius : var ( --border-radius ) ;
}
. page-content . dashboard ,
. page-content . explore ,
. page-content . repository : not ( . new ) ,
. page-content . signin {
margin-top : 10px ;
2023-11-22 17:51:09 +00:00
}
. ui . list . list > . item > . content ,
. ui . list > . item > . content {
color : unset ;
}
. ui . list . list > . item . description ,
. ui . list > . item . description {
color : var ( --color-text ) ;
}
. ui . repository . list ,
. ui . user . list {
2024-06-13 15:26:14 +00:00
background : var ( --color-box-header ) ;
2023-11-22 17:51:09 +00:00
padding : 1em ;
border-radius : 0 . 75em ;
}
2024-06-13 15:26:14 +00:00
. ui . avatar : not ( . org-avatar ) {
border-radius : 50 % ! important ;
box-shadow : 0 0 0 1px var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . header . sub . header {
color : # 636e7b ;
2023-11-22 17:51:09 +00:00
}
. ui . modal > . actions {
2024-06-13 15:26:14 +00:00
background : var ( --color-body ) ! important ;
2023-11-22 17:51:09 +00:00
}
. ui . green . buttons . button ,
. ui . green . button {
background-color : # 347d39 ;
color : # cdd9e5 ! important ;
border-radius : 2em ;
padding : 5px 10px ;
}
a ,
. ui . breadcrumb a {
color : var ( --color-blue ) ;
}
2024-06-13 15:26:14 +00:00
a [ href = "#" ] {
color : var ( --color-text ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
a : hover ,
a . muted : hover ,
. ui . breadcrumb a : hover ,
. ui . floating . jump . select-label . dropdown : hover ,
. ui . floating . jump . select-milestone . dropdown : hover ,
. ui . floating . jump . select-project . dropdown : hover ,
. ui . floating . jump . select-assignees . dropdown : hover ,
. muted-links a : hover {
color : var ( --color-blue ) ;
}
a . text : not ( . primary ) : hover ,
a . muted . text : hover ,
. ui . breadcrumb a . text : hover ,
. muted-links a : hover {
text-decoration : none ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. flex-item . flex-item-title a ,
. repo-title a {
color : var ( --color-white ) ;
2023-11-22 17:51:09 +00:00
}
. repo-icon {
display : inline-block ;
transform : scale ( 0 . 75 ) ;
margin-right : -0 . 05rem ! important ;
}
2024-06-13 15:26:14 +00:00
. interact-fg : hover {
color : var ( --color-blue ) ! important ;
}
. repository . file . list . file-actions . btn-octicon : hover {
color : var ( --color-blue ) ! important ;
}
2023-11-22 17:51:09 +00:00
. repository . file . list # file-buttons . ui . button {
color : # cdd9e5 ! important ;
}
. ui . basic . green . button ,
. ui . basic . green . buttons . button ,
. ui . basic . primary . button ,
. ui . basic . primary . buttons . button {
2024-06-13 15:26:14 +00:00
background-color : var ( --color-button ) ;
2023-11-22 17:51:09 +00:00
}
. ui . basic . green . button : hover ,
. ui . basic . green . buttons . button : hover ,
. ui . basic . primary . button : hover ,
. ui . basic . primary . buttons . button : hover {
2024-06-13 15:26:14 +00:00
background-color : var ( --color-hover ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . basic . red . buttons . button ,
. ui . basic . red . button ,
. ui . basic . red . buttons . button : focus ,
. ui . basic . red . button : focus {
color : # f85149 ;
background : var ( --color-button ) ;
border-color : var ( --color-light-border ) ;
}
. ui . basic . red . buttons . button : hover ,
. ui . basic . red . button : hover {
color : # ffffff ;
background : # b62324 ;
border-color : # f0f6fc1a ;
}
. ui . basic . red . buttons . button : active ,
. ui . basic . red . button : active {
color : # ffffff ;
background : # d03533 ;
border-color : # f0f6fc1a ;
2023-11-22 17:51:09 +00:00
}
. issue . list {
list-style : none ;
margin-top : 1rem ;
background-color : # 22272e ;
border-radius : 6px ;
padding : 3px 10px 3px 10px ;
2024-06-13 15:26:14 +00:00
border : 1px solid var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. issue-state-label {
border-radius : 2em ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. issue-content-right {
border : 0 ! important ;
padding : 8px 0 0 8px ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. issue-content-right . ui . button ,
. issue-content-right . ui . input ,
. issue-content-right . ui . input input ,
. issue-content-right . ui . dropdown input ,
. issue-content-right . ui . search . selection . dropdown ,
. issue-content-right . ui . search . selection . dropdown > input . search {
padding : 0 8px ! important ;
min-height : 28px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. issue-content-right . ui . button ~ . ui . button ,
. issue-content-right > form ~ . ui . button {
margin-top : . 5rem ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . top . attached . header {
border-radius : var ( --border-radius ) var ( --border-radius ) 0 0 ;
}
. ui . top . attached . header + . ui . attached . segment : not ( . grid ) : not ( . repos-search ) : not ( . teams ) {
border-radius : 0 0 var ( --border-radius ) var ( --border-radius ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . attached . header {
border-radius : 6px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . attached . table {
background-color : var ( --color-body ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. markup ,
. markup code ,
. markup tt ,
# org-info a ,
. repo-description ,
. repository-menu . item {
color : var ( --color-white ) ;
2023-11-22 17:51:09 +00:00
}
. repo-list-link {
color : var ( --color-blue ) ! important ;
}
2024-06-13 15:26:14 +00:00
. ui . label : not ( . basic ) {
border-radius : 2em ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . label . sha {
color : var ( --color-text ) ;
background : unset ! important ;
2023-11-22 17:51:09 +00:00
border-color : var ( --color-secondary ) ! important ;
2024-06-13 15:26:14 +00:00
border-radius : 0 . 375rem ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . labels a . label : hover ,
a . ui . label : hover {
color : var ( --color-white ) ;
2023-11-22 17:51:09 +00:00
}
/* repo list dashboard */
. feeds . list ul li . private {
background-color : # 22272e ;
}
2024-06-13 15:26:14 +00:00
/* due date boxes */
. repository . metas # deadlineForm input {
border-color : var ( --color-secondary ) ;
}
/* default border radius */
. ui . button ,
. ui . basic . buttons . button ,
. ui . basic . button ,
. ui . dropdown . menu ,
2023-11-22 17:51:09 +00:00
. ui . form input : not ( [ type ] ) ,
. ui . form input [ type = "date" ] ,
. ui . form input [ type = "datetime-local" ] ,
. ui . form input [ type = "email" ] ,
. ui . form input [ type = "number" ] ,
. ui . form input [ type = "password" ] ,
. ui . form input [ type = "search" ] ,
. ui . form input [ type = "tel" ] ,
. ui . form input [ type = "time" ] ,
2024-06-13 15:26:14 +00:00
. ui . form input [ type = "text" ] ,
. ui . form input [ type = "file" ] ,
2023-11-22 17:51:09 +00:00
. ui . form input [ type = "url" ] ,
2024-06-13 15:26:14 +00:00
. ui . form textarea ,
. ui . input textarea ,
. ui . label ,
. ui . menu ,
. ui . segment ,
. ui . segments ,
. ui . segments : not ( . horizontal ) > . segment : only-child ,
. ui . secondary . menu . dropdown . item > . menu ,
2023-11-22 17:51:09 +00:00
. ui . selection . dropdown ,
2024-06-13 15:26:14 +00:00
. ui . selection . dropdown . menu ,
. ui . table ,
. ui . text . menu . dropdown . item > . menu {
border-radius : var ( --border-radius ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . floating . dropdown > . menu {
border-radius : var ( --border-radius ) ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
/* no border radius between connected buttons */
. ui . buttons . button {
border-radius : 0 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
/* default left border radius */
. ui . action . input > . dropdown : first-child ,
. ui . action . input > . button : first-child ,
. ui . action . input > . buttons : first-child > . button ,
. ui . compact . menu : not ( . secondary ) . item : first-child ,
. ui . horizontal . segments > . segment : first-child {
border-radius : var ( --border-radius ) 0 0 var ( --border-radius ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
/* default right border radius */
. ui . action . input > . dropdown : last-child ,
. ui . action . input > . button : last-child ,
. ui . action . input > . buttons : last-child > . button ,
. ui . compact . menu : not ( . secondary ) . item : last-child ,
. ui . horizontal . segments > . segment : last-child {
border-radius : 0 var ( --border-radius ) var ( --border-radius ) 0 ;
}
/* default top border radius */
. ui . secondary . pointing . menu . active . item ,
. ui . secondary . pointing . menu . item : hover {
border-radius : var ( --border-radius ) var ( --border-radius ) 0 0 ;
}
. ui . tabular . menu . active . item ,
. repository . view . issue . comment-list . comment > . content > div : first-child {
border-top-left-radius : var ( --border-radius ) ! important ;
border-top-right-radius : var ( --border-radius ) ! important ;
}
/* default bottom border radius */
. ui . segment [ class * = "bottom attached" ] {
border-radius : 0 0 var ( --border-radius ) var ( --border-radius ) ;
}
. repository . view . issue . comment-list . comment > . content > div : last-child {
border-bottom-right-radius : var ( --border-radius ) ;
border-bottom-left-radius : var ( --border-radius ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . table > thead > tr : first-child > th : first-child {
border-radius : var ( --border-radius ) 0 0 ;
}
. ui . table > thead > tr : first-child > th : last-child {
border-radius : 0 var ( --border-radius ) 0 0 ;
}
/* border color form fields */
2023-11-22 17:51:09 +00:00
input ,
textarea ,
. ui . input > input ,
. ui . form input : not ( [ type ] ) ,
. ui . form select ,
. ui . form textarea ,
. ui . form input [ type = "date" ] ,
. ui . form input [ type = "datetime-local" ] ,
. ui . form input [ type = "email" ] ,
. ui . form input [ type = "file" ] ,
. ui . form input [ type = "number" ] ,
. ui . form input [ type = "password" ] ,
. ui . form input [ type = "search" ] ,
. ui . form input [ type = "tel" ] ,
. ui . form input [ type = "text" ] ,
. ui . form input [ type = "time" ] ,
. ui . form input [ type = "url" ] ,
. ui . selection . dropdown ,
. ui . checkbox label : before ,
. ui . checkbox input : checked ~ label : before ,
. ui . checkbox input : not ( [ type = "radio" ] ) : indeterminate ~ label : before {
border-color : var ( --color-secondary ) ;
}
2024-06-13 15:26:14 +00:00
. ui . input > input {
transition : none ;
2023-11-22 17:51:09 +00:00
}
. tag-code ,
. tag-code td {
background-color : var ( --color-body ) ;
}
2024-06-13 15:26:14 +00:00
/* code highlighting dark theme */
. chroma . cm , /* block comments */
. chroma . c1 /* line comments */ {
color : # 8b949e ;
}
/* strings */
. chroma . s ,
. chroma . cpf {
color : # a5d6ff ;
}
2023-11-22 17:51:09 +00:00
. chroma . s2 {
color : # 8ddb8c ;
}
2024-06-13 15:26:14 +00:00
/* keywords */
. chroma . k ,
. chroma . kc ,
. chroma . kd ,
. chroma . kn ,
. chroma . kt {
color : # ff7b72 ;
2023-11-22 17:51:09 +00:00
}
. chroma . m {
color : # 6cb6ff ;
}
2024-06-13 15:26:14 +00:00
/* method names */
. chroma . na ,
2023-11-22 17:51:09 +00:00
. chroma . nf {
2024-06-13 15:26:14 +00:00
color : # d2a8ff ;
2023-11-22 17:51:09 +00:00
}
. chroma . nb {
color : var ( --color-blue ) ;
}
. chroma . nx {
color : var ( --color-text ) ;
}
. chroma . nv {
color : # 08dddd ;
}
. chroma . si {
color : # 8ddb8c ;
}
. chroma . nt {
color : # 50eb75 ;
}
. chroma . nd {
color : # c4cfcf ;
}
2024-06-13 15:26:14 +00:00
. chroma . n , /* variable & referenced class names */
. chroma . nc , /* class names */
. chroma . nn /* import names */ {
color : # c9d1d9 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
/* operators */
. chroma . o {
color : # c9d1d9 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repository . file . list # repo-files-table thead tr th {
padding : 12px 12px 12px 20px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repository . file . list # repo-files-table tbody tr {
background : var ( --color-body ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repository . file . list # repo-files-table tbody tr : hover {
background : var ( --color-box-header ) ;
2023-11-22 17:51:09 +00:00
}
/* text color repo files */
2024-06-13 15:26:14 +00:00
. repository . file . list # repo-files-table td . name a ,
. repository . file . list # repo-files-table td a : not ( . muted ) {
color : var ( --color-white ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repository . file . list # repo-files-table td a : hover {
color : var ( --color-blue ) ;
}
. repository # commits-table . ui . basic . striped . table tbody tr : nth-child ( 2n ) {
background-color : var ( --color-body ) ! important ;
}
. repository # commits-table . author a {
color : var ( --color-text ) ;
2023-11-22 17:51:09 +00:00
}
/* gpg commit label */
. repository # commits-table td . sha . sha . label . isSigned . isVerified ,
. repository # repo-files-table . sha . label . isSigned . isVerified ,
. repository # rev-list . sha . label . isSigned . isVerified ,
2024-06-13 15:26:14 +00:00
. repository . timeline-item . commits-list . singular-commit . sha . label . isSigned . isVerified {
2023-11-22 17:51:09 +00:00
border : 1 . 5px solid # 21ba45 ! important ;
background : transparent ;
border-radius : 6px ;
}
2024-06-13 15:26:14 +00:00
. ui . container . ui . tabular . menu . active . item ,
. ui . container . ui . tabular . menu . active . item : hover {
color : var ( --color-white ) ;
margin-top : 0 ;
}
. header-wrapper . ui . tabular . menu ,
. ui . secondary . menu : not ( . filter ) {
gap : 0 . 5rem ;
}
. header-wrapper . ui . tabular . menu {
min-height : 48px ;
align-items : center ;
}
. header-wrapper . ui . menu . item ,
. page-content > . ui . menu . item {
color : var ( --color-white ) ! important ;
}
. page-content . ui . menu . item . svg {
margin-right : 0 . 5rem ! important ;
}
. header-wrapper . ui . tabular . menu : not ( . new-menu ) . item ,
. header-wrapper . ui . tabular . menu : not ( . new-menu ) . active . item ,
. ui . secondary . menu : not ( . new-menu ) . item
. ui . secondary . menu : not ( . new-menu ) . active . item {
border : 0 ;
border-radius : var ( --border-radius ) ! important ;
align-items : center ;
line-height : 30px ;
padding : 0 8px ;
margin-top : 0 ! important ;
margin-bottom : 0 ! important ;
}
. header-wrapper . ui . tabular . menu . item : hover ,
. ui . secondary . menu . item : hover {
background : var ( --color-nav-hover-bg ) ! important ;
}
. header-wrapper . ui . tabular . menu : not ( . new-menu ) . active . item {
background : unset ;
}
. header-wrapper . ui . tabular . menu : not ( . new-menu ) . active . item :: after {
background : # f78166 ;
bottom : calc ( 50 % - 25px ) ;
content : "" ;
height : 2px ;
position : absolute ;
right : 50 % ;
transform : translate ( 50 % , -50 % ) ;
width : 100 % ;
z-index : 1 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . secondary . pointing . menu . active . item ,
. ui . secondary . pointing . menu . active . item : hover {
border-color : # f78166 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . menu . new-menu . item : last-child {
padding-right : 16px ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . basic . label {
color : var ( --color-text-light-1 ) ;
border-radius : 2em ;
background : transparent ;
font-weight : 4 00 ;
padding : 0 7px ! important ;
line-height : 18px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . menu . item > . label : not ( . floating ) {
padding : 4px 7px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
/* repo watch and fork counters */
. repo-buttons . ui . labeled . button > . label ,
. repo-buttons . ui . labeled . button > . label : hover {
color : var ( --color-white ) ;
border-top-right-radius : var ( --border-radius ) ;
border-bottom-right-radius : var ( --border-radius ) ;
background : # 21262d ;
padding : 0 10px ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repo-buttons . ui . labeled . button . disabled > . label {
color : # adbac7 ;
2023-11-22 17:51:09 +00:00
}
/* background emoji reactions */
. repository . segment . reactions . ui . label . basic . blue {
background-color : transparent ;
}
2024-06-13 15:26:14 +00:00
. diff-toggle-file-tree-button : hover {
color : var ( --color-blue ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. diff-file-body . file-body . code-diff table tbody tr td {
line-height : 16px ;
2023-11-22 17:51:09 +00:00
}
a . blob-excerpt {
background : var ( --color-body ) ;
}
. comment-code-cloud {
background-color : var ( --color-navbar ) ;
}
/* hover font color */
. ui . secondary . pointing . menu . active . item ,
. ui . secondary . pointing . menu . active . item : hover ,
. ui . secondary . pointing . menu . dropdown . item : hover ,
. ui . secondary . pointing . menu . link . item : hover ,
. ui . secondary . pointing . menu a . item : hover {
color : var ( --color-text ) ;
}
. ui . selection . active . dropdown ,
. ui . selection . active . dropdown : hover ,
. ui . selection . active . dropdown . menu ,
. ui . selection . active . dropdown : hover . menu {
2024-06-13 15:26:14 +00:00
border-color : var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . cards > . card ,
. ui . card ,
. ui . cards a . card : hover ,
a . ui . card : hover {
border : 0 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . cards > . card > . extra , . ui . card > . extra {
border-top-color : var ( --color-secondary ) ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . cards > . card > . extra a : not ( . ui ) : hover ,
. ui . card > . extra a : not ( . ui ) : hover {
color : var ( --color-blue ) ;
2023-11-22 17:51:09 +00:00
}
. ui . action . input : not ( [ class * = "left action" ] ) > input : focus {
2024-06-13 15:26:14 +00:00
border-right : none ;
2023-11-22 17:51:09 +00:00
}
/* font color line numbers */
. lines-num span : after {
color : var ( --color-text ) ;
}
/* gpg key signed message */
. repository . ui . attached . isSigned . isVerified . message {
background-color : var ( --color-primary ) ;
color : black ;
}
. repository . ui . attached . isSigned . isVerified . message . ui . text {
color : var ( --color-active ) ;
}
. ui . info . segment . top {
background-color : var ( --color-navbar ) ! important ;
}
. repository . ui . attached . isSigned . isVerified . top ,
. repository . ui . attached . isSigned . isVerified . message {
border-top : 0px solid var ( --color-text ) ;
}
. repository . ui . attached . isSigned . isVerified {
border-left : 0px solid var ( --color-text ) ;
border-right : 0px solid var ( --color-text ) ;
}
. repository . ui . attached . isSigned . isVerified : last-child ,
. repository . ui . attached . isSigned . isVerified . bottom {
border-bottom : 0px solid # a3c293 ;
}
/* PR timelines colors */
. repository . view . issue . comment-list . timeline-item . badge {
width : 30px ;
height : 30px ;
margin-left : -31px ;
}
2024-06-13 15:26:14 +00:00
. repository . view . issue . pull-desc code {
color : var ( --color-text-light-1 ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. repository . view . issue . pull-desc code a {
background-color : var ( --color-label-bg ) ;
padding : 0 4px ;
border-radius : var ( --border-radius ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . top . attached . header . comment-header {
padding : 0 16px ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. comment : target . header : before {
border-right-color : var ( --color-info-border ) ! important ;
box-shadow : none ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. comment : target . comment-container {
border-color : var ( --color-info-border ) ! important ;
box-shadow : none ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. comment : target . comment-container {
background : var ( --color-body ) ;
}
. comment : target . comment-container . comment-header {
background : var ( --color-info-bg ) ;
border-bottom-color : var ( --color-info-border ) ! important ;
2023-11-22 17:51:09 +00:00
}
/* review - pending label */
. ui . basic . labels . yellow . label ,
. ui . ui . ui . basic . yellow . label {
background : var ( --color-project-board-bg ) ;
color : # 333 ! important ;
}
/* green checkmark background when approving PRs */
. bg-green {
background : var ( --color-primary ) ! important ;
}
i . green . icon . icon . icon . icon {
color : var ( --color-primary ) ;
}
. following . bar # navbar {
width : 100vw ;
2024-06-13 15:26:14 +00:00
border-bottom : 1px solid var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
/* default 52px */
min-height : 40px ;
padding : 0 0 . 5rem ;
background : var ( --color-navbar ) ;
}
2024-06-13 15:26:14 +00:00
* {
scrollbar-color : unset ;
}
2023-11-22 17:51:09 +00:00
:: -webkit-scrollbar-thumb {
box-shadow : inset 0 0 0 6px var ( --color-navbar ) ;
}
:: -webkit-scrollbar-thumb : hover {
box-shadow : inset 0 0 0 6px var ( --color-text ) ;
}
. following . bar # navbar . brand {
margin-top : -2px ;
}
. ui . radio . checkbox label : after ,
. ui . radio . checkbox input : focus ~ label : before ,
. ui . radio . checkbox input : checked ~ label : before {
border-color : var ( --color-secondary ) ;
}
2024-06-13 15:26:14 +00:00
. input > input ~ button ,
. input > input ~ . button {
border-left-width : 0 ! important ;
}
. input > input : focus ~ button ,
. input > input : focus ~ . button {
border-color : var ( --color-blue ) ! important ;
2023-11-22 17:51:09 +00:00
}
input : focus ,
textarea : focus ,
. ui . input input : focus ,
. ui . form input : not ( [ type ] ) : focus ,
. ui . form select : focus ,
. ui . form textarea : focus ,
. ui . form input [ type = "date" ] : focus ,
. ui . form input [ type = "datetime-local" ] : focus ,
. ui . form input [ type = "email" ] : focus ,
. ui . form input [ type = "file" ] : focus ,
. ui . form input [ type = "number" ] : focus ,
. ui . form input [ type = "password" ] : focus ,
. ui . form input [ type = "search" ] : focus ,
. ui . form input [ type = "tel" ] : focus ,
. ui . form input [ type = "text" ] : focus ,
. ui . form input [ type = "time" ] : focus ,
. ui . form input [ type = "url" ] : focus ,
2024-06-13 15:26:14 +00:00
. ui . selection . dropdown : focus {
border-color : var ( --color-blue ) ;
border-radius : var ( --border-radius ) ;
}
2023-11-22 17:51:09 +00:00
. ui . checkbox input : focus ~ label : before ,
2024-06-13 15:26:14 +00:00
. ui . checkbox input : focus ~ label :: before ,
2023-11-22 17:51:09 +00:00
. ui . checkbox input : not ( [ type = "radio" ] ) : indeterminate : focus ~ label : before ,
2024-06-13 15:26:14 +00:00
. ui . checkbox input : not ( [ type = "radio" ] ) : indeterminate : focus ~ label :: before ,
2023-11-22 17:51:09 +00:00
. ui . checkbox input : checked : focus ~ label : before ,
2024-06-13 15:26:14 +00:00
. ui . checkbox input : checked : focus ~ label :: before ,
. ui . radio . checkbox input : focus : checked ~ label : before ,
. ui . radio . checkbox input : focus : checked ~ label :: before {
border-color : var ( --color-blue ) ;
2023-11-22 17:51:09 +00:00
}
. repo-icon {
display : none ;
}
. ui . green . button {
padding : 5px 16px ;
line-height : 20px ;
}
. ui . secondary . pointing . menu . item > . circular . label {
line-height : 10px ;
}
. ui . grey . labels . label ,
. ui . ui . ui . grey . label {
line-height : 10px ;
}
. ui . primary . label ,
. ui . primary . labels . label {
2024-06-13 15:26:14 +00:00
background-color : var ( --color-secondary ) ! important ;
2023-11-22 17:51:09 +00:00
}
/* borders -------------------------------------------------------------------*/
. following . bar . light {
border-bottom : 0px solid var ( --color-secondary ) ;
}
. ui . table {
border-width : inherit ;
}
. repo-buttons . ui . labeled . button > . label {
border-width : inherit ;
2024-06-13 15:26:14 +00:00
border : 1px solid var ( --color-secondary ) ! important ;
2023-11-22 17:51:09 +00:00
}
. repo-button-row . button {
2024-06-13 15:26:14 +00:00
min-height : 30px ;
2023-11-22 17:51:09 +00:00
}
. ui . table [ class * = "single line" ] ,
. ui . table [ class * = "single line" ] {
white-space : nowrap ;
2024-06-13 15:26:14 +00:00
border : 1px solid var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
}
. ui . basic . secondary . buttons . button ,
. ui . basic . secondary . button {
color : var ( --color-text ) ! important ;
2024-06-13 15:26:14 +00:00
border : 1px solid var ( --color-secondary ) ! important ;
2023-11-22 17:51:09 +00:00
}
. ui . table > tr > td ,
. ui . table > tbody > tr > td {
2024-06-13 15:26:14 +00:00
border-top-color : var ( --color-secondary ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . labeled . button . disabled > . button ,
. ui . basic . buttons . button ,
. ui . basic . button ,
. ui . basic . buttons . button : focus ,
. ui . basic . button : focus {
color : var ( --color-text ) ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . vertical . menu {
background : var ( --color-body ) ;
border : 0 ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. ui . vertical . menu . header . item {
font-weight : 600 ;
background : unset ;
}
. ui . vertical . menu . menu . item : hover {
background : var ( --color-hover ) ;
2023-11-22 17:51:09 +00:00
}
. ui . vertical . menu . active . item ,
. ui . vertical . menu . active . item : hover {
2024-06-13 15:26:14 +00:00
background : # b1bac414 ! important ;
2023-11-22 17:51:09 +00:00
font-weight : 500 ;
2024-06-13 15:26:14 +00:00
}
. ui . vertical . menu . item ,
. ui . vertical . menu . item > summary {
background : unset ;
padding : 8px ;
color : var ( --color-white ) ! important ;
}
. ui . vertical . menu . item ,
. ui . vertical . menu . item . active ,
. ui . vertical . menu . item : hover ,
. ui . vertical . menu . item > summary {
border-radius : 6px ;
}
. ui . vertical . menu . item :: before {
background : unset ;
2023-11-22 17:51:09 +00:00
}
. ui . primary . labels . label ,
. ui . ui . ui . primary . label {
color : # a6aab5 ;
}
. issue . list a : not ( . label ) : hover {
color : var ( --color-blue ) ! important ;
}
. tag-code ,
. tag-code td ,
. tag-code . blob-excerpt {
background-color : var ( --color-body ) ;
}
/* issue \& PR count labels */
. ui . menu . item > . label {
background : rgba ( 99 , 110 , 123 , 0 . 4 ) ;
color : # cdd9e5 ;
}
# navbar a . item . notification_count {
color : var ( --color-text ) ;
}
. ui . secondary . menu . dropdown . item : hover ,
. ui . secondary . menu a . item : hover {
color : # e3e3e3 ;
}
. ui . secondary . menu . active . item ,
. ui . secondary . menu . active . item : hover {
2024-06-13 15:26:14 +00:00
color : var ( --color-white ) ! important ;
2023-11-22 17:51:09 +00:00
}
2024-06-13 15:26:14 +00:00
. vch__day__square ,
. vch__legend__wrapper rect {
rx : 2px ;
ry : 2px ;
}