2021-08-30 18:20:52 +00:00
: root {
--color-primary : # 347d39 ;
2022-08-22 10:55:26 +00:00
--color-secondary : # 535865 ;
2021-08-30 18:20:52 +00:00
--border-radius : 6px ;
--color-body : # 373e47 ;
--color-navbar : # 22272e ;
--color-footer : # 22272e ;
2021-10-01 21:04:03 +00:00
--color-text-light : # a6aab5 ;
2021-08-30 18:20:52 +00:00
--color-text-light-2 : # adbac7 ;
2021-10-01 21:19:38 +00:00
--color-text : # bbc0ca ;
2021-08-30 18:20:52 +00:00
--color-box-body : # 22272e ;
--color-markup-code-block : # 636e7b66 ;
--color-light : # 22272e ;
--color-button : # 22272e ;
--color-input-background : # 22272e ;
2022-08-22 10:55:26 +00:00
--color-input-border-hover : # 8e8c8c ;
2021-10-01 21:04:03 +00:00
--color-input-text : # adbac7 ;
2021-08-30 18:20:52 +00:00
--color-box-header : # 22272e ;
--color-active : # 22272e ;
2021-10-01 21:04:03 +00:00
--color-menu : # 22272e ;
2021-10-23 15:27:17 +00:00
--color-caret : var ( --color-text ) ;
2022-08-21 14:56:11 +00:00
--is-dark-theme : true ;
2022-08-22 10:55:26 +00:00
--color-blue : # 539bf5 ;
--color-input-background : # 22272e ;
/* 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 ;
--color-editor-line-highlight : # 71798e ;
--color-code-bg : var ( --color-input-background ) ;
2021-08-30 18:20:52 +00:00
}
2021-10-01 21:04:03 +00:00
2021-10-02 06:24:01 +00:00
. ui . list . list > . item > . content ,
. ui . list > . item > . content {
2021-10-01 21:04:03 +00:00
color : unset ;
}
2021-10-02 06:24:01 +00:00
. ui . list . list > . item . description ,
. ui . list > . item . description {
2021-10-01 21:04:03 +00:00
color : var ( --color-text ) ;
}
2021-10-02 06:24:01 +00:00
. ui . repository . list ,
. ui . user . list {
2021-10-01 21:04:03 +00:00
background : var ( --color-box-body ) ;
padding : 1em ;
2021-10-02 06:24:01 +00:00
border-radius : 0 . 75em ;
2021-10-01 21:04:03 +00:00
}
2021-10-01 21:19:38 +00:00
. ui . header . sub . header {
color : # 636e7b ;
}
2021-10-01 21:04:03 +00:00
. ui . error . header {
border-color : var ( --color-red ) ! important ;
background-color : var ( --color-red ) ! important ;
color : # ffffff ! important ;
}
. ui . modal > . header {
background : var ( --color-secondary ) ;
color : # dbdbdb ;
}
. ui . modal > . actions {
background : var ( --color-secondary ) ;
border-color : var ( --color-secondary ) ;
}
. ui . modal > . content {
background : # 383c4a ;
}
2021-08-30 18:20:52 +00:00
. ui . green . buttons . button ,
. ui . green . button {
background-color : # 347d39 ;
2022-08-22 10:55:26 +00:00
color : # ffffffe6 ! important ;
2021-08-30 18:20:52 +00:00
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repository . file . list # repo-files-table tbody . svg . octicon-file-directory ,
. repository . file . list # repo-files-table tbody . svg . octicon-file-submodule {
color : # 768390 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
a ,
. ui . breadcrumb a {
2021-10-15 18:25:10 +00:00
/* color: var(--color-text); */
2022-08-22 10:55:26 +00:00
color : var ( --color-blue ) ;
2021-08-30 18:20:52 +00:00
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repo-title a {
2022-08-22 10:55:26 +00:00
color : var ( --color-blue ) ! important ;
2021-08-30 18:20:52 +00:00
}
. ui . table > thead > tr > th {
background : # 636e7b1a ;
color : # dbdbdb ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repository . file . list # repo-files-table tr {
background : # 22272e ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repo-icon {
display : inline-block ;
transform : scale ( 0 . 75 ) ;
margin-right : -0 . 05rem ! important ;
}
. repository . file . list # file-buttons . ui . button {
2022-08-22 10:55:26 +00:00
color : # ffffffe6 ! important ;
2021-08-30 18:20:52 +00:00
}
. ui . basic . green . button ,
. ui . basic . green . buttons . button ,
. ui . basic . primary . button ,
. ui . basic . primary . buttons . button {
background-color : # 22272e ! important ;
box-shadow : inset 0 0 0 1px rgba ( 34 , 36 , 38 , 0 . 15 ) ! important ;
color : # dbdbdb ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . basic . green . button : focus ,
. ui . basic . green . buttons . button : focus ,
. ui . basic . primary . button : focus ,
. ui . basic . primary . buttons . button : focus {
box-shadow : inset 0 0 0 0px # 808080 ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . basic . green . button : hover ,
. ui . basic . green . buttons . button : hover ,
. ui . basic . primary . button : hover ,
. ui . basic . primary . buttons . button : hover {
background-color : # 22272e ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . basic . green . button : hover ,
. ui . basic . green . buttons . button : hover ,
. ui . basic . primary . button : hover ,
. ui . basic . primary . buttons . button : hover {
box-shadow : inset 0 0 0 0px # 808080 ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. issue . list {
list-style : none ;
margin-top : 1rem ;
background-color : # 22272e ;
border-radius : 6px ;
padding : 3px 10px 3px 10px ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . menu . item {
background-color : # 22272e ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . horizontal . segments > . segment {
background-color : # 22272e ;
border-radius : 6px ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . attached . header {
border-radius : 6px ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repository . file . list . repo-description {
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. commit-summary a . default-link {
color : # adbac7 ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. markup h1 ,
. markup h2 ,
. markup h3 ,
. markup h4 ,
. markup h5 ,
. markup h6 {
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. markup code ,
. markup tt {
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. markup p ,
. markup blockquote ,
. markup details ,
. markup ul ,
. markup ol ,
. markup dl ,
. markup table ,
. markup pre {
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repo-list-link {
2022-08-22 10:55:26 +00:00
color : var ( --color-blue ) ! important ;
2021-08-30 18:20:52 +00:00
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . menu . two . item . item {
border : 1px solid var ( --color-secondary ) ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
a ,
. push . news {
2021-10-15 18:25:10 +00:00
color : null ;
2021-08-30 18:20:52 +00:00
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . header {
color : # a6aab5 ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. repo-description {
color : # a6aab5 ! important ;
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
a . ui . label {
2021-10-07 14:51:55 +00:00
/* color: #adbac7 !important; */
2021-10-02 06:57:11 +00:00
border-color : var ( --color-secondary ) ! important ;
}
2022-08-22 10:55:26 +00:00
2021-10-02 06:57:11 +00:00
. ui . label {
border-color : var ( --color-secondary ) ! important ;
2021-08-30 18:20:52 +00:00
}
2022-08-22 10:55:26 +00:00
2021-08-30 18:20:52 +00:00
. ui . menu . item {
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-09-20 10:25:01 +00:00
. ui . sha . label {
padding : 6px 10px 6px ;
}
2021-10-02 06:24:01 +00:00
/* repo list dashboard */
. feeds . list ul li . private {
background-color : # 22272e ;
}
/* ssh and search repository fields */
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-input-background ) ;
}
/* hover repository rows */
. repository . file . list # repo-files-table tr : hover {
background-color : var ( --color-hover ) ;
}
/* due date boxes */
. repository . metas # deadlineForm input {
border-color : var ( --color-secondary ) ;
}
/* border color dependencies block in issues */
# new-dependency-drop-list . ui . selection . dropdown {
border-color : var ( --color-secondary ) ;
}
. page-content . ui . button {
border-color : var ( --color-secondary ) ;
}
2021-10-02 06:41:18 +00:00
/* border color form fields settings page */
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 ) ;
}
2021-10-05 06:37:15 +00:00
/* background color of code display */
. lines-code {
background-color : # 22272e ;
}
2022-08-22 10:55:26 +00:00
2021-10-13 14:58:37 +00:00
. code-diff-unified . add-code ,
. code-diff-unified . add-code td ,
. code-diff-split . add-code . lines-num-new ,
. code-diff-split . add-code . lines-type-marker-new ,
. code-diff-split . add-code . lines-code-new ,
. code-diff-split . del-code . add-code . lines-num-new ,
. code-diff-split . del-code . add-code . lines-type-marker-new ,
. code-diff-split . del-code . add-code . lines-code-new {
2021-10-12 21:05:16 +00:00
background : # 224035 ;
2021-10-09 06:33:46 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-13 14:58:37 +00:00
. tag-code ,
. tag-code td {
2021-10-09 06:33:46 +00:00
background-color : var ( --color-body ) ;
}
2021-10-05 06:37:15 +00:00
/* green code color dark theme */
. chroma . s2 {
color : # 8ddb8c ;
}
. chroma . k {
color : # f47067 ;
}
. chroma . m {
color : # 6cb6ff ;
}
. chroma . nf {
color : # 96d0ff ;
}
2021-10-17 10:02:24 +00:00
. chroma . nb {
2022-08-22 10:55:26 +00:00
color : var ( --color-blue ) ;
2021-10-17 10:02:24 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-20 18:26:47 +00:00
. chroma . nx {
color : var ( --color-text ) ;
}
2021-10-17 10:02:24 +00:00
2021-11-18 11:01:30 +00:00
. chroma . nv {
color : # 08dddd ;
}
2022-08-22 10:55:26 +00:00
2021-11-18 11:01:30 +00:00
. chroma . si {
2021-11-23 22:39:05 +00:00
color : # 8ddb8c ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . nt {
color : # 50eb75 ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . nd {
color : # c4cfcf ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . o {
color : # eb3243 ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . nc {
color : # 16e9e9 ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . nn {
color : # 16e9e9 ;
}
2022-08-22 10:55:26 +00:00
2021-11-23 22:39:05 +00:00
. chroma . s {
color : # 8ddb8c ;
2021-11-18 11:01:30 +00:00
}
2021-10-05 06:37:15 +00:00
/* border color repo files */
. repository . file . list # repo-files-table td {
border-bottom : 1px solid # 373e47 ;
}
/* text color repo files */
. repository . file . list # repo-files-table td {
color : # 7f8699 ;
}
. repository . file . list # repo-files-table td a {
2022-08-22 10:55:26 +00:00
/* color: #7f8699 !important; */
color : var ( --color-blue ) ! important ;
2021-10-05 06:37:15 +00:00
}
2021-10-07 14:22:22 +00:00
/* gpg commit label */
2021-10-13 14:58:37 +00:00
. repository # commits-table td . sha . sha . label . isSigned . isVerified ,
. repository # repo-files-table . sha . label . isSigned . isVerified ,
. repository # rev-list . sha . label . isSigned . isVerified ,
. repository
. timeline-item . commits-list
. singular-commit
. sha . label . isSigned . isVerified {
2021-10-07 14:22:22 +00:00
border : 1px solid # 21ba45 ! important ;
background : transparent ;
border-radius : 6px ;
}
2021-10-07 14:28:17 +00:00
/* color of active tabular item, e.g. in PR view (conversations, commits, files changed) */
2021-10-13 14:58:37 +00:00
. ui . tabular . menu . active . item ,
. ui . tabular . menu . active . item : hover {
2021-10-07 14:28:17 +00:00
background : var ( --color-navbar ) ;
}
2021-10-07 14:51:55 +00:00
/* repo watch and fork counters */
2021-10-13 14:58:37 +00:00
. ui . basic . labels : not ( . tag ) : not ( . image ) : not ( . ribbon ) . label ,
. ui . basic . label : not ( . tag ) : not ( . image ) : not ( . ribbon ) {
2021-10-07 14:51:55 +00:00
color : # adbac7 ;
}
2022-08-22 10:55:26 +00:00
2021-10-13 14:58:37 +00:00
. repo-buttons . ui . labeled . button . disabled > . label {
2021-10-07 14:51:55 +00:00
color : # adbac7 ;
}
2021-10-09 06:29:32 +00:00
/* border color of warning message */
. ui . warning . message {
background-color : # 22272e ;
color : var ( --color-text ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-13 14:58:37 +00:00
. ui . warning . message ,
. ui . attached . warning . message {
2021-10-09 06:29:32 +00:00
box-shadow : null ;
}
2022-08-22 10:55:26 +00:00
2021-10-13 14:58:37 +00:00
. ui . warning . message ,
. ui . attached . warning . message {
2021-10-09 06:29:32 +00:00
box-shadow : 0 0 0 0px # c9ba9b inset , 0 0 # 0000 ;
}
/* repo svg icons */
. repository . view . issue . comment-list . timeline-item . badge . svg {
2022-08-21 14:56:11 +00:00
fill : var ( --color-text-light ) ! important ;
2021-10-09 06:29:32 +00:00
}
2021-10-09 20:02:48 +00:00
/* background emoji reactions */
. repository . segment . reactions . ui . label . basic . blue {
background-color : transparent ;
2021-10-09 06:29:32 +00:00
}
2021-10-11 16:15:45 +00:00
. ui . positive . message {
2021-10-15 18:12:51 +00:00
background-color : # 22272e ;
2022-08-22 10:55:26 +00:00
color : # ffffffe6 ;
2021-10-15 18:12:51 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-15 18:12:51 +00:00
. ui . positive . message ,
. ui . attached . positive . message {
2022-08-22 10:55:26 +00:00
box-shadow : 0 0 0 1px # 347d39 inset , 0 0 # 0000 ;
2021-10-11 16:15:45 +00:00
}
2021-10-12 21:05:16 +00:00
/* diff color deletion */
2021-10-13 14:58:37 +00:00
. code-diff-unified . del-code ,
. code-diff-unified . del-code td ,
. code-diff-split . del-code . lines-num-old ,
. code-diff-split . del-code . lines-type-marker-old ,
. code-diff-split . del-code . lines-code-old {
2021-10-12 21:05:16 +00:00
background : # 7a341e ;
}
/* diff color neutral */
2021-10-13 14:58:37 +00:00
. lines-num ,
. lines-code {
2021-10-12 21:05:16 +00:00
background-color : var ( --color-navbar ) ;
}
. lines-type-marker {
background-color : var ( --color-navbar ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-12 21:05:16 +00:00
a . blob-excerpt {
background : var ( --color-body ) ;
}
/* PR open label */
2021-10-13 14:58:37 +00:00
. ui . green . labels . label ,
. ui . ui . ui . green . label {
2021-10-12 21:05:16 +00:00
background-color : # 347d39 ;
}
2021-10-12 21:11:00 +00:00
/* bg color of PR comment form */
2021-10-13 14:58:37 +00:00
. ui . form ,
. ui . form . field . dropdown ,
. ui . form . field . dropdown . menu > . item {
2021-10-12 21:11:00 +00:00
background-color : var ( --color-navbar ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-12 21:11:00 +00:00
. comment-code-cloud {
background-color : var ( --color-navbar ) ;
}
2021-10-13 14:58:37 +00:00
/* remove border of "new file" button */
. ui . buttons . button : first-child {
2021-11-08 19:04:46 +00:00
border-left : 1px solid var ( --color-markup-code-block ) ;
2021-10-13 14:58:37 +00:00
}
2021-10-15 18:09:59 +00:00
/* border color of dropdown svg */
. ui . form ,
. ui . form . field . dropdown ,
. ui . form . field . dropdown . menu > . item {
background-color : var ( --color-border ) ;
}
2021-10-15 18:34:19 +00:00
/* hover font color */
2021-10-18 13:56:56 +00:00
. 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 {
2021-10-15 18:34:19 +00:00
color : var ( --color-text ) ;
}
/* user avatar background */
. user . profile . ui . card # profile-avatar {
background : var ( --color-navbar ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-18 13:56:56 +00:00
. ui . cards > . card > . content ,
. ui . card > . content {
2021-10-15 18:34:19 +00:00
background : var ( --color-navbar ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-15 18:34:19 +00:00
. user . profile . ui . card . extra . content ul li : not ( : last-child ) {
border-bottom : 1px solid var ( --color-secondary ) ;
background-color : var ( --color-navbar ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-15 18:34:19 +00:00
. user . profile . ui . card . extra . content ul li {
background-color : var ( --color-navbar ) ;
}
2021-10-15 18:34:37 +00:00
/* right border of profile search bar */
. ui . action . input : not ( [ class * = "left action" ] ) > input {
2022-08-22 10:55:26 +00:00
border-right-color : var ( --color-secondary ) ;
}
. ui . action . input : not ( [ class * = "left action" ] ) > input : focus {
border-right-color : var ( --color-secondary ) ;
2021-10-15 18:34:37 +00:00
}
2021-10-16 16:40:27 +00:00
/* font color line numbers */
. lines-num span : after {
color : var ( --color-text ) ;
}
2021-10-16 16:50:27 +00:00
/* 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 {
2021-10-18 13:56:56 +00:00
background-color : var ( --color-navbar ) ! important ;
2021-10-16 16:50:27 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-18 13:56:56 +00:00
. repository . ui . attached . isSigned . isVerified . top ,
. repository . ui . attached . isSigned . isVerified . message {
2021-10-16 16:50:27 +00:00
border-top : 0px solid var ( --color-text ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-16 16:50:27 +00:00
. repository . ui . attached . isSigned . isVerified {
border-left : 0px solid var ( --color-text ) ;
border-right : 0px solid var ( --color-text ) ;
}
2022-08-22 10:55:26 +00:00
2021-10-18 13:56:56 +00:00
. repository . ui . attached . isSigned . isVerified : last-child ,
. repository . ui . attached . isSigned . isVerified . bottom {
2021-10-16 16:50:27 +00:00
border-bottom : 0px solid # a3c293 ;
}
2021-10-18 07:31:43 +00:00
/* info message banner colors */
. ui . info . message {
background-color : var ( --color-navbar ) ;
color : var ( --color-text ) ;
}
2021-10-18 08:16:16 +00:00
/* PR timelines colors */
. repository . view . issue . comment-list . timeline-item . badge . svg {
fill : black ;
}
2022-08-22 10:55:26 +00:00
2021-10-18 08:16:16 +00:00
. repository . view . issue . comment-list . timeline-item . badge {
2021-11-23 22:39:05 +00:00
background-color : var ( --color-navbar ) ;
2021-10-18 08:16:16 +00:00
color : var ( --color-text ) ;
2021-10-18 13:56:56 +00:00
width : 30px ;
height : 30px ;
margin-left : -31px ;
}
2022-08-22 10:55:26 +00:00
2021-10-18 08:16:16 +00:00
. repository . view . issue . comment-list . timeline-item . badge . badge-commit {
2021-11-11 10:59:00 +00:00
border-color : var ( --color-navbar ) ;
background : var ( --color-navbar ) ;
2021-10-18 08:16:16 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-18 08:16:16 +00:00
. repository . view . issue . comment-list . timeline : before {
2021-10-20 18:32:41 +00:00
background-color : var ( --color-secondary ) ;
2021-10-18 08:16:16 +00:00
}
2022-08-22 10:55:26 +00:00
2021-10-18 13:56:56 +00:00
. repository . view . issue . comment-list . timeline-item . badge . svg {
2021-11-11 10:59:00 +00:00
width : 20px ;
height : 20px ;
2021-10-18 13:56:56 +00:00
padding : 3px ;
}
2021-11-03 08:21:10 +00:00
2021-11-03 08:22:07 +00:00
input {
caret-color : var ( --color-text ) ;
}
2021-11-03 08:21:10 +00:00
. removed-code {
background : # b70f22 ;
color : var ( --color-text ) ;
}
2022-08-22 10:55:26 +00:00
2021-11-03 08:21:10 +00:00
. added-code {
background : # 0d8b2c ;
color : var ( --color-text ) ;
}
2021-11-08 19:04:46 +00:00
/* review - pending label */
2022-08-21 14:56:11 +00:00
. ui . basic . labels . yellow . label ,
. ui . ui . ui . basic . yellow . label {
2021-11-08 19:04:46 +00:00
background : var ( --color-project-board-bg ) ;
color : # 333 ! important ;
}
2021-11-11 10:59:00 +00:00
/* green checkmark background when approving PRs */
. bg-green {
2022-08-21 14:56:11 +00:00
background : var ( --color-primary ) ! important ;
2021-11-11 10:59:00 +00:00
}
2022-08-22 10:55:26 +00:00
2021-11-11 10:59:00 +00:00
i . green . icon . icon . icon . icon {
color : var ( --color-primary ) ;
}
2022-08-22 10:55:26 +00:00
2021-11-11 10:59:00 +00:00
span . green . svg {
color : var ( --color-primary ) ;
}
2021-11-23 21:12:07 +00:00
/* highlight color bg for highlighted lines */
2022-08-21 14:56:11 +00:00
. lines-code . active ,
. lines-code . active {
2021-11-23 21:12:07 +00:00
border-radius : 6px ;
2022-08-21 14:56:11 +00:00
background : # 000000 ! important ;
2021-11-23 21:12:07 +00:00
}
2022-08-22 10:55:26 +00:00
2022-08-21 14:56:11 +00:00
. ui . ui . ui . ui . table tr . active ,
. ui . ui . table td . active {
2021-11-23 21:12:07 +00:00
box-shadow : 0 0 # 000000de inset ;
2022-08-21 14:56:11 +00:00
background : # e0e0e0 ;
2021-11-23 21:12:07 +00:00
color : --var ( --color-text ) ;
}
2022-08-22 10:55:26 +00:00
/* navbar font size */
. ui . secondary . menu . item {
font-size : 13px ;
}
# navbar . item {
margin : 0 ;
padding : 0 . 5em ;
font-size : 14px ;
}
. following . bar # navbar {
width : 100vw ;
/* default 52px */
min-height : 40px ;
padding : 0 0 . 5rem ;
}
:: -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 ;
}
/* border colors of search fields, e.g. "find repository" on main page */
input : hover ,
textarea : hover ,
. ui . input input : hover ,
. ui . form input : not ( [ type ] ) : hover ,
. ui . form select : hover ,
. ui . form textarea : hover ,
. ui . form input [ type = "date" ] : hover ,
. ui . form input [ type = "datetime-local" ] : hover ,
. ui . form input [ type = "email" ] : hover ,
. ui . form input [ type = "file" ] : hover ,
. ui . form input [ type = "number" ] : hover ,
. ui . form input [ type = "password" ] : hover ,
. ui . form input [ type = "search" ] : hover ,
. ui . form input [ type = "tel" ] : hover ,
. ui . form input [ type = "text" ] : hover ,
. ui . form input [ type = "time" ] : hover ,
. ui . form input [ type = "url" ] : hover ,
. ui . selection . dropdown : hover ,
. ui . checkbox label : hover : before ,
. ui . checkbox label : active : before ,
. ui . radio . checkbox label : after ,
. ui . radio . checkbox input : focus ~ label : before ,
. ui . radio . checkbox input : checked ~ label : before {
border-color : var ( --color-secondary ) ;
}
a : hover ,
a . muted : hover ,
. ui . breadcrumb a : hover {
color : var ( --color-blue ) ;
}
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 ,
. ui . selection . dropdown : focus ,
. ui . checkbox input : focus ~ label : before ,
. ui . checkbox input : not ( [ type = "radio" ] ) : indeterminate : focus ~ label : before ,
. ui . checkbox input : checked : focus ~ label : before ,
. ui . radio . checkbox input : focus : checked ~ label : before {
border-color : var ( --color-secondary ) ;
}
. repo-icon {
display : none ;
}
/* reduce navbar bottom margin */
. ui . ui . ui . container : not ( . fluid ) {
margin-bottom : -3px ;
}
. ui . green . button {
padding : 5px 16px ;
line-height : 20px ;
}
. ui . green . labels . label ,
. ui . ui . ui . green . label {
padding : 5px 16px ;
line-height : 20px ;
}
. ui . tabular . menu . active . item {
margin-bottom : 2px ;
}
/* repository icon for directories */
. repository . file . list # repo-files-table tbody . svg . octicon-file-directory-fill ,
. repository . file . list # repo-files-table tbody . svg . octicon-file-submodule {
color : # 768390 ;
}
. 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 {
background-color : # 768390 ! important ;
}
2022-09-01 21:55:24 +00:00
/ / timeline view icon color
. repository . view . issue . comment-list . timeline-item . badge . svg {
fill : # fff ! important ;
}