diff options
author | silverwind <me@silverwind.io> | 2020-08-25 21:48:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 22:48:53 +0300 |
commit | eb4db0445bea4a8dff370d80a270765840fcb8ef (patch) | |
tree | 7cde26f9a5cad63b724afc2f4bc541562548e432 /web_src/less/_repository.less | |
parent | e90e122b395f2dc0aff9ee917a7377078c774d31 (diff) | |
download | gitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.tar.gz gitea-eb4db0445bea4a8dff370d80a270765840fcb8ef.zip |
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 4808 |
1 files changed, 2404 insertions, 2404 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 0d994c565c..c149cc4fe4 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -1,2822 +1,2822 @@ .repository { - padding-top: 15px; + padding-top: 15px; - .repo-header { - .ui.compact.menu { - margin-left: 1rem; - } + .repo-header { + .ui.compact.menu { + margin-left: 1rem; + } - .ui.header { - margin-top: 0; - } + .ui.header { + margin-top: 0; + } - .ui.huge.breadcrumb { - font-weight: 400; - font-size: 1.5rem; + .ui.huge.breadcrumb { + font-weight: 400; + font-size: 1.5rem; - .label { - vertical-align: middle; - margin-top: -.29165em; - } + .label { + vertical-align: middle; + margin-top: -.29165em; + } - &.repo-title .repo-header-icon { - display: inline-block; - position: relative; - - .avatar { - position: absolute; - right: 0; - bottom: 0; - width: 16px; - height: 16px; - color: #fafafa; - box-shadow: 0 0 0 2px; - margin: 0; - } - } - } + &.repo-title .repo-header-icon { + display: inline-block; + position: relative; - .fork-flag { - margin-left: 36px; - margin-top: 3px; - display: block; - font-size: 12px; - white-space: nowrap; + .avatar { + position: absolute; + right: 0; + bottom: 0; + width: 16px; + height: 16px; + color: #fafafa; + box-shadow: 0 0 0 2px; + margin: 0; } + } + } - .repo-buttons .svg { - margin: 0 .42857143em 0 -.21428571em; - } + .fork-flag { + margin-left: 36px; + margin-top: 3px; + display: block; + font-size: 12px; + white-space: nowrap; + } - .button { - margin-top: 2px; - margin-bottom: 2px; - } + .repo-buttons .svg { + margin: 0 .42857143em 0 -.21428571em; } - .tabs { - .navbar { - justify-content: initial; - } + .button { + margin-top: 2px; + margin-bottom: 2px; } + } + .tabs { .navbar { - display: flex; - justify-content: space-between; - - .ui.label { - margin-left: 7px; - padding: 3px 5px; - } + justify-content: initial; } + } - .owner.dropdown { - min-width: 40% !important; + .navbar { + display: flex; + justify-content: space-between; + + .ui.label { + margin-left: 7px; + padding: 3px 5px; } + } - #file-buttons { - /* The reason for the !important is that Semantic itself has - margin-left: 0 !important on right items on mobile, which is mostly - to make sure elements which on menus would otherwise be on the right - align correctly with other elements when stacked. - Unfortunately, this brings some weird alignment on this particular - element, so we need to override it. */ - margin-left: auto !important; - font-weight: normal; + .owner.dropdown { + min-width: 40% !important; + } - .ui.button { - padding: 8px 10px; - font-weight: normal; - } + #file-buttons { + /* The reason for the !important is that Semantic itself has + margin-left: 0 !important on right items on mobile, which is mostly + to make sure elements which on menus would otherwise be on the right + align correctly with other elements when stacked. + Unfortunately, this brings some weird alignment on this particular + element, so we need to override it. */ + margin-left: auto !important; + font-weight: normal; + + .ui.button { + padding: 8px 10px; + font-weight: normal; } + } - .metas { - .menu { - overflow-x: auto; - max-height: 300px; - } + .metas { + .menu { + overflow-x: auto; + max-height: 300px; + } - .ui.list { - &.assignees .icon { - line-height: 2em; - } + .ui.list { + &.assignees .icon { + line-height: 2em; + } - .hide { - display: none !important; - } + .hide { + display: none !important; + } - .item { - padding: 0; - } + .item { + padding: 0; + } - .label.color { - padding: 0 8px; - margin-right: 5px; - } + .label.color { + padding: 0 8px; + margin-right: 5px; + } - a { - margin: 2px 0; + a { + margin: 2px 0; - .text { - color: #444444; + .text { + color: #444444; - &:hover { - color: #000000; - } - } - } + &:hover { + color: #000000; + } } + } + } - #deadlineForm input { - width: 12.8rem; - border-radius: 4px 0 0 4px; - border-right: 0; - white-space: nowrap; - } + #deadlineForm input { + width: 12.8rem; + border-radius: 4px 0 0 4px; + border-right: 0; + white-space: nowrap; } + } - .header-wrapper { - background-color: #fafafa; - margin-top: -15px; - padding-top: 15px; + .header-wrapper { + background-color: #fafafa; + margin-top: -15px; + padding-top: 15px; - .ui.tabs.divider { - border-bottom: 0; - } + .ui.tabs.divider { + border-bottom: 0; + } - .ui.tabular .svg { - margin-right: 5px; - } + .ui.tabular .svg { + margin-right: 5px; } + } - .filter.menu { - .label.color { - border-radius: 3px; - margin-left: 15px; - padding: 0 8px; - } + .filter.menu { + .label.color { + border-radius: 3px; + margin-left: 15px; + padding: 0 8px; + } - .svg { - float: left; - margin: 0 -7px 0 -5px; - width: 16px; - } + .svg { + float: left; + margin: 0 -7px 0 -5px; + width: 16px; + } - &.labels .svg { - margin: -2px -7px 0 -5px; - } + &.labels .svg { + margin: -2px -7px 0 -5px; + } - &.labels { - .label-filter .menu .info { - display: inline-block; - padding: .5rem .25rem; - border-bottom: 1px solid #cccccc; - font-size: 12px; - width: 100%; - white-space: nowrap; - text-align: center; - - code { - border: 1px solid #cccccc; - border-radius: 3px; - padding: 1px 2px; - font-size: 11px; - } - } - } + &.labels { + .label-filter .menu .info { + display: inline-block; + padding: .5rem .25rem; + border-bottom: 1px solid #cccccc; + font-size: 12px; + width: 100%; + white-space: nowrap; + text-align: center; - .text { - margin-left: .9em; + code { + border: 1px solid #cccccc; + border-radius: 3px; + padding: 1px 2px; + font-size: 11px; } + } + } - .menu { - max-height: 300px; - overflow-x: auto; - right: 0 !important; - left: auto !important; - } + .text { + margin-left: .9em; + } - .dropdown.item { - margin: 1px; - padding-right: 0; - } + .menu { + max-height: 300px; + overflow-x: auto; + right: 0 !important; + left: auto !important; } - .select-label { - .desc { - padding-left: 16px; - } + .dropdown.item { + margin: 1px; + padding-right: 0; } + } - .ui.tabs { - &.container { - margin-top: 14px; - margin-bottom: 0; + .select-label { + .desc { + padding-left: 16px; + } + } - .ui.menu { - border-bottom: 0; - } - } + .ui.tabs { + &.container { + margin-top: 14px; + margin-bottom: 0; - &.divider { - margin-top: 0; - margin-bottom: 20px; - } + .ui.menu { + border-bottom: 0; + } } - #clone-panel { - width: 350px; + &.divider { + margin-top: 0; + margin-bottom: 20px; + } + } - @media only screen and (max-width: 768px) { - width: 100%; - } + #clone-panel { + width: 350px; - input { - border-radius: 0; - padding: 5px 10px; - width: 50%; - } + @media only screen and (max-width: 768px) { + width: 100%; + } - .clone.button { - font-size: 13px; - padding: 0 5px; + input { + border-radius: 0; + padding: 5px 10px; + width: 50%; + } - &:first-child { - border-radius: .28571429rem 0 0 .28571429rem; - } - } + .clone.button { + font-size: 13px; + padding: 0 5px; - .icon.button { - padding: 0 10px; - } + &:first-child { + border-radius: .28571429rem 0 0 .28571429rem; + } + } - .dropdown .menu { - right: 0 !important; - left: auto !important; - } + .icon.button { + padding: 0 10px; } - &.file.list { - .repo-description { - display: flex; - justify-content: space-between; - align-items: center; - } + .dropdown .menu { + right: 0 !important; + left: auto !important; + } + } - #repo-desc { - font-size: 1.2em; - } + &.file.list { + .repo-description { + display: flex; + justify-content: space-between; + align-items: center; + } - .choose.reference { - .header .icon { - font-size: 1.4em; - } - } + #repo-desc { + font-size: 1.2em; + } - .repo-path { + .choose.reference { + .header .icon { + font-size: 1.4em; + } + } - .section, - .divider { - display: inline; - } - } + .repo-path { - #file-buttons { - font-weight: normal; + .section, + .divider { + display: inline; + } + } - .ui.button { - padding: 8px 10px; - font-weight: normal; - } + #file-buttons { + font-weight: normal; - .ui.tiny.blue.buttons { - @media only screen and (max-width: 768px) { - width: 100%; - } - } + .ui.button { + padding: 8px 10px; + font-weight: normal; + } + + .ui.tiny.blue.buttons { + @media only screen and (max-width: 768px) { + width: 100%; } + } + } - #repo-files-table { - thead { - th { - padding-top: 8px; - padding-bottom: 5px; - font-weight: normal; - } + #repo-files-table { + thead { + th { + padding-top: 8px; + padding-bottom: 5px; + font-weight: normal; + } - .ui.avatar { - margin-bottom: 5px; - } + .ui.avatar { + margin-bottom: 5px; + } - .commit-summary a { - text-decoration: underline; - text-decoration-style: dashed; + .commit-summary a { + text-decoration: underline; + text-decoration-style: dashed; - &:hover { - text-decoration-style: solid; - } + &:hover { + text-decoration-style: solid; + } - &.default-link { - text-decoration: none; + &.default-link { + text-decoration: none; - &:hover { - text-decoration: underline; - text-decoration-style: solid; - } - } - } + &:hover { + text-decoration: underline; + text-decoration-style: solid; } + } + } + } - tbody { - .svg { - margin-left: 3px; - margin-right: 5px; - color: #777777; + tbody { + .svg { + margin-left: 3px; + margin-right: 5px; + color: #777777; - &.octicon-reply { - margin-right: 10px; - } + &.octicon-reply { + margin-right: 10px; + } - &.octicon-file-directory, - &.octicon-file-submodule { - color: #1e70bf; - } - } - } + &.octicon-file-directory, + &.octicon-file-submodule { + color: #1e70bf; + } + } + } - td { - padding-top: 0; - padding-bottom: 0; - overflow: initial; + td { + padding-top: 0; + padding-bottom: 0; + overflow: initial; - &.name { - max-width: 150px; - } + &.name { + max-width: 150px; + } - &.message { - max-width: 400px; - } + &.message { + max-width: 400px; + } - &.age { - width: 120px; - } + &.age { + width: 120px; + } - > a { - width: calc(100% - 8px); /* prevent overflow into adjacant cell */ - display: inline-block; - padding-top: 8px; - padding-bottom: 8px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } + > a { + width: calc(100% - 8px); /* prevent overflow into adjacant cell */ + display: inline-block; + padding-top: 8px; + padding-bottom: 8px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } - > * { - vertical-align: middle; - } - } + > * { + vertical-align: middle; + } + } - td.message .isSigned { - cursor: default; - } + td.message .isSigned { + cursor: default; + } - tr:hover { - background-color: #ffffee; - } + tr:hover { + background-color: #ffffee; + } - .jumpable-path { - color: #888888; - } + .jumpable-path { + color: #888888; + } + } + + .non-diff-file-content { + .header { + .icon { + font-size: 1em; } - .non-diff-file-content { - .header { - .icon { - font-size: 1em; - } + .small.icon { + font-size: .75em; + } - .small.icon { - font-size: .75em; - } + .tiny.icon { + font-size: .5em; + } - .tiny.icon { - font-size: .5em; - } + .file-actions { + margin-bottom: -5px; - .file-actions { - margin-bottom: -5px; - - .btn-octicon { - display: inline-block; - padding: 5px; - margin-left: 5px; - line-height: 1; - color: #767676; - vertical-align: middle; - background: transparent; - border: 0; - outline: none; - } - - .btn-octicon:hover { - color: #4078c0; - } - - .btn-octicon-danger:hover { - color: #bd2c00; - } - - .btn-octicon.disabled { - color: #bbbbbb; - cursor: default; - } - - #delete-file-form { - display: inline-block; - } - } - } + .btn-octicon { + display: inline-block; + padding: 5px; + margin-left: 5px; + line-height: 1; + color: #767676; + vertical-align: middle; + background: transparent; + border: 0; + outline: none; + } - .view-raw { - padding: 5px; + .btn-octicon:hover { + color: #4078c0; + } - * { - max-width: 100%; - } + .btn-octicon-danger:hover { + color: #bd2c00; + } - img { - border-radius: 0; - } - } + .btn-octicon.disabled { + color: #bbbbbb; + cursor: default; + } - .plain-text { - padding: 1em 2em; + #delete-file-form { + display: inline-block; + } + } + } - pre { - word-break: break-word; - white-space: pre-wrap; - } - } + .view-raw { + padding: 5px; - .csv { - overflow-x: auto; - padding: 0 !important; - } + * { + max-width: 100%; + } - pre { - overflow: auto; - } + img { + border-radius: 0; } + } - .sidebar { - padding-left: 0; + .plain-text { + padding: 1em 2em; - .svg { - width: 16px; - } + pre { + word-break: break-word; + white-space: pre-wrap; } + } + + .csv { + overflow-x: auto; + padding: 0 !important; + } + + pre { + overflow: auto; + } } - &.file.editor { - .treepath { - width: 100%; + .sidebar { + padding-left: 0; - input { - vertical-align: middle; - box-shadow: rgba(0, 0, 0, .0745098) 0 1px 2px inset; - width: inherit; - padding: 7px 8px; - margin-right: 5px; - } - } + .svg { + width: 16px; + } + } + } - .tabular.menu { - .svg { - margin-right: 5px; - } - } + &.file.editor { + .treepath { + width: 100%; - .commit-form-wrapper { - padding-left: 64px; + input { + vertical-align: middle; + box-shadow: rgba(0, 0, 0, .0745098) 0 1px 2px inset; + width: inherit; + padding: 7px 8px; + margin-right: 5px; + } + } - .commit-avatar { - float: left; - margin-left: -64px; - width: 3em; - height: auto; - } + .tabular.menu { + .svg { + margin-right: 5px; + } + } - .commit-form { - position: relative; - padding: 15px; - margin-bottom: 10px; - border: 1px solid #dddddd; - border-radius: 3px; - #avatar-arrow; + .commit-form-wrapper { + padding-left: 64px; - &:after { - border-right-color: #ffffff; - } + .commit-avatar { + float: left; + margin-left: -64px; + width: 3em; + height: auto; + } - .quick-pull-choice { - .branch-name { - display: inline-block; - padding: 3px 6px; - font: 12px @monospaced-fonts, monospace; - color: rgba(0, 0, 0, .65); - background-color: rgba(209, 227, 237, .45); - border-radius: 3px; - } - - .new-branch-name-input { - position: relative; - margin-left: 25px; - - input { - width: 240px !important; - padding-left: 26px !important; - } - } - - .octicon-git-branch { - position: absolute; - top: 9px; - left: 10px; - color: #b0c4ce; - } - } - } - } - } + .commit-form { + position: relative; + padding: 15px; + margin-bottom: 10px; + border: 1px solid #dddddd; + border-radius: 3px; + #avatar-arrow; - &.options { - #interval { - width: 100px !important; - min-width: 100px; + &:after { + border-right-color: #ffffff; } - .danger { - .item { - padding: 20px 15px; - } + .quick-pull-choice { + .branch-name { + display: inline-block; + padding: 3px 6px; + font: 12px @monospaced-fonts, monospace; + color: rgba(0, 0, 0, .65); + background-color: rgba(209, 227, 237, .45); + border-radius: 3px; + } - .ui.divider { - margin: 0; + .new-branch-name-input { + position: relative; + margin-left: 25px; + + input { + width: 240px !important; + padding-left: 26px !important; } + } + + .octicon-git-branch { + position: absolute; + top: 9px; + left: 10px; + color: #b0c4ce; + } } + } } + } - @comment-avatar-width: 3em; + &.options { + #interval { + width: 100px !important; + min-width: 100px; + } + + .danger { + .item { + padding: 20px 15px; + } - .comment textarea { - max-height: none !important; + .ui.divider { + margin: 0; + } } + } - &.new.issue { - .comment.form { - .comment { - .avatar { - width: @comment-avatar-width; - } - } + @comment-avatar-width: 3em; - .content { - margin-left: 4em; - #avatar-arrow; + .comment textarea { + max-height: none !important; + } - &:after { - border-right-color: #ffffff; - } + &.new.issue { + .comment.form { + .comment { + .avatar { + width: @comment-avatar-width; + } + } - .markdown { - font-size: 14px; - } - } + .content { + margin-left: 4em; + #avatar-arrow; - .metas { - min-width: 220px; + &:after { + border-right-color: #ffffff; + } - .filter.menu { - max-height: 300px; - overflow-x: auto; - } - } + .markdown { + font-size: 14px; + } + } + + .metas { + min-width: 220px; + .filter.menu { + max-height: 300px; + overflow-x: auto; } + } + } + } - &.view.issue { - .title { - padding-bottom: 0 !important; - - h1 { - font-weight: 300; - font-size: 2.3rem; - margin-bottom: 5px; - - .ui.input { - font-size: .5em; - vertical-align: top; - width: 50%; - min-width: 600px; - - input { - font-size: 1.5em; - padding: 6px 10px; - } - } - } + &.view.issue { + .title { + padding-bottom: 0 !important; - .index { - font-weight: 300; - color: #aaaaaa; - letter-spacing: -1px; - } + h1 { + font-weight: 300; + font-size: 2.3rem; + margin-bottom: 5px; - .label { - margin-right: 10px; - } + .ui.input { + font-size: .5em; + vertical-align: top; + width: 50%; + min-width: 600px; - .edit-zone { - margin-top: 10px; - } + input { + font-size: 1.5em; + padding: 6px 10px; + } } + } - .pull-desc { - code { - color: #0166e6; - } - } + .index { + font-weight: 300; + color: #aaaaaa; + letter-spacing: -1px; + } - .pull { - &.tabular.menu { - margin-bottom: 1rem; + .label { + margin-right: 10px; + } - .svg { - margin-right: 5px; - } - } + .edit-zone { + margin-top: 10px; + } + } - .merge.box { - .avatar { - margin-left: 10px; - margin-top: 10px; - } - .branch-update.grid { - .row { - padding-bottom: 1rem; - .icon { - margin-top: 1.1rem; - } - } - } - } + .pull-desc { + code { + color: #0166e6; + } + } - .review-item { - display: flex; - justify-content: space-between; - align-items: center; + .pull { + &.tabular.menu { + margin-bottom: 1rem; - .review-item-left, - .review-item-right { - display: flex; - align-items: center; - } + .svg { + margin-right: 5px; + } + } - .avatar, - .type-icon { - .svg { - width: 23px; - height: 23px; - } - } + .merge.box { + .avatar { + margin-left: 10px; + margin-top: 10px; + } + .branch-update.grid { + .row { + padding-bottom: 1rem; + .icon { + margin-top: 1.1rem; + } + } + } + } - .text { - margin: .3em 0 .5em .5em; - } + .review-item { + display: flex; + justify-content: space-between; + align-items: center; - .type-icon { - align-self: flex-start; - margin-right: 1em; + .review-item-left, + .review-item-right { + display: flex; + align-items: center; + } - i { - line-height: 1.8em; - } - } + .avatar, + .type-icon { + .svg { + width: 23px; + height: 23px; + } + } - .divider { - margin: .5rem 0; - } + .text { + margin: .3em 0 .5em .5em; + } - .review-content { - padding: 1em 0 1em 3.8em; - } - } + .type-icon { + align-self: flex-start; + margin-right: 1em; + + i { + line-height: 1.8em; + } } - .comment-list { - &:not(.prevent-before-timeline):before { - display: block; - content: ""; - position: absolute; - margin-top: 12px; - margin-bottom: 14px; - top: 0; - bottom: 0; - left: 96px; - width: 2px; - background-color: #f3f3f3; - z-index: -1; - } + .divider { + margin: .5rem 0; + } - .timeline { - position: relative; - display: block; - margin-left: 40px; - padding-left: 16px; - - &:before { //ciara - display: block; - content: ""; - position: absolute; - margin-top: 12px; - margin-bottom: 14px; - top: 0; - bottom: 0; - left: 30px; - width: 2px; - background-color: #f3f3f3; - z-index: -1; - } - } + .review-content { + padding: 1em 0 1em 3.8em; + } + } + } - .timeline-item, - .timeline-item-group { - padding: 12px 0; - } + .comment-list { + &:not(.prevent-before-timeline):before { + display: block; + content: ""; + position: absolute; + margin-top: 12px; + margin-bottom: 14px; + top: 0; + bottom: 0; + left: 96px; + width: 2px; + background-color: #f3f3f3; + z-index: -1; + } + + .timeline { + position: relative; + display: block; + margin-left: 40px; + padding-left: 16px; - .timeline-item-group { - .timeline-item { - padding-top: 8px; - padding-bottom: 8px; - } - } + &:before { //ciara + display: block; + content: ""; + position: absolute; + margin-top: 12px; + margin-bottom: 14px; + top: 0; + bottom: 0; + left: 30px; + width: 2px; + background-color: #f3f3f3; + z-index: -1; + } + } - .timeline-item { - margin-left: 16px; - position: relative; - - .timeline-avatar { - position: absolute; - left: -72px; - img { - width: 40px; - height: 40px; - } - } + .timeline-item, + .timeline-item-group { + padding: 12px 0; + } - .avatar.image, - .avatar.image img { - width: 20px; - height: 20px; - margin-right: .15em; - } + .timeline-item-group { + .timeline-item { + padding-top: 8px; + padding-bottom: 8px; + } + } - &:first-child:not(.commit) { - padding-top: 0 !important; - } + .timeline-item { + margin-left: 16px; + position: relative; - &:last-child:not(.commit) { - padding-bottom: 0 !important; - } + .timeline-avatar { + position: absolute; + left: -72px; + img { + width: 40px; + height: 40px; + } + } - .badge.badge-commit { - border-color: transparent; - background: radial-gradient(white 40%, transparent 40%) no-repeat; - } + .avatar.image, + .avatar.image img { + width: 20px; + height: 20px; + margin-right: .15em; + } - .badge { - width: 32px; - height: 32px; - background-color: #fff; - border: 2px solid #eee; - border-radius: 50%; - display: flex; - float: left; - margin-left: -32px; - margin-right: 8px; - color: #444; - align-items: center; - justify-content: center; - - .svg { - width: 24px; - height: 24px; - padding: 3px; - - &.octicon-circle-slash { - color: #bd2c00; - } - - &.octicon-dot-fill { - color: #6cc644; - } - - &.octicon-comment { - margin-top: 2px; - } - } - } + &:first-child:not(.commit) { + padding-top: 0 !important; + } - &.comment > .content { - margin-left: -16px; - } + &:last-child:not(.commit) { + padding-bottom: 0 !important; + } - &.event > .text { - line-height: 32px; - vertical-align: middle; - } + .badge.badge-commit { + border-color: transparent; + background: radial-gradient(white 40%, transparent 40%) no-repeat; + } - &.commits-list { - padding-left: 15px; - padding-top: 0; - - .singular-commit { - line-height: 30px; - - &:not(:last-child) { - padding-bottom: 2px; - } - - .shabox { - .sha.label { - margin: 0; - border: 1px solid #bbbbbb; - - &.isSigned.isWarning { - border: 1px solid #db2828; - background: fade(#db2828, 10%); - - .shortsha { - display: inline-block; - padding-top: 1px; - } - - &:hover { - background: fade(#db2828, 30%) !important; - } - } - - &.isSigned.isVerified { - border: 1px solid #21ba45; - background: fade(#21ba45, 10%); - - .shortsha { - display: inline-block; - padding-top: 1px; - } - - &:hover { - background: fade(#21ba45, 30%) !important; - } - } - - &.isSigned.isVerifiedUntrusted { - border: 1px solid #fbbd08; - background: fade(#fbbd08, 10%); - - .shortsha { - display: inline-block; - padding-top: 1px; - } - - &:hover { - background: fade(#fbbd08, 30%) !important; - } - } - - &.isSigned.isVerifiedUnmatched { - border: 1px solid #f2711c; - background: fade(#f2711c, 10%); - - .shortsha { - display: inline-block; - padding-top: 1px; - } - - &:hover { - background: fade(#f2711c, 30%) !important; - } - } - } - } - } - } + .badge { + width: 32px; + height: 32px; + background-color: #fff; + border: 2px solid #eee; + border-radius: 50%; + display: flex; + float: left; + margin-left: -32px; + margin-right: 8px; + color: #444; + align-items: center; + justify-content: center; - &.event > .commit-status-link { - float: right; - margin-right: 8px; - margin-top: 4px; - } + .svg { + width: 24px; + height: 24px; + padding: 3px; - .author { - font-weight: 700; - } + &.octicon-circle-slash { + color: #bd2c00; + } - .comment-form-reply .footer { - padding-bottom: 1em; - } + &.octicon-dot-fill { + color: #6cc644; } - .comment { - - .tag { - color: #767676; - margin-top: 3px; - padding: 2px 5px; - font-size: 12px; - border: 1px solid rgba(0, 0, 0, .1); - border-radius: 3px; - &.review { - margin-left: 5px; - &.pending { - color: black; - background-color: #fffbb2; - } - } - } + &.octicon-comment { + margin-top: 2px; + } + } + } - .actions { - .item { - float: left; + &.comment > .content { + margin-left: -16px; + } - &.context { - float: none; - } + &.event > .text { + line-height: 32px; + vertical-align: middle; + } - &.tag { - margin-right: 5px; - } + &.commits-list { + padding-left: 15px; + padding-top: 0; - &.action { - margin-top: 6px; - padding-left: 10px; - padding-right: 3px; - } - } - } + .singular-commit { + line-height: 30px; - > .content { - > div:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; - } + &:not(:last-child) { + padding-bottom: 2px; + } - > div:last-child { - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - } - } + .shabox { + .sha.label { + margin: 0; + border: 1px solid #bbbbbb; - .content { - > .header { - #avatar-arrow; - font-weight: normal; - padding: auto 15px; - position: relative; - color: #767676; - background-color: #f7f7f7; - - .text { - padding-top: 10px; - padding-bottom: 10px; - } - - &.arrow-top::before, - &.arrow-top::after { - transform: rotate(90deg); - } - - &.arrow-top::before { - top: -9px; - left: 6px; - } - - &.arrow-top::after { - top: -8px; - left: 7px; - } - - .actions a { - color: rgba(0, 0, 0, .4); - - &:hover { - color: rgba(0, 0, 0, .8); - } - } - } - - > .merge-section { - background-color: #f7f7f7; - - .item { - padding: .25rem 0; - } - - .item-section { - display: flex; - align-items: center; - justify-content: space-between; - padding: 0; - margin-top: -.25rem; - margin-bottom: -.25rem; - } - - .divider { - margin-left: -1rem; - margin-right: -1rem; - } - - &.no-header { - #avatar-arrow; - } - } - - .markdown { - font-size: 14px; - } - - .no-content { - color: #767676; - font-style: italic; - } - - > .bottom.segment { - background: #f3f4f5; - - .ui.images::after { - clear: both; - content: ' '; - display: block; - } - - a { - display: block; - float: left; - margin: 5px; - padding: 5px; - height: 150px; - border: solid 1px #eeeeee; - border-radius: 3px; - max-width: 150px; - background-color: #ffffff; - - &:before { - content: ' '; - display: inline-block; - height: 100%; - vertical-align: middle; - } - } - - .ui.image { - max-height: 100%; - width: auto; - margin: 0; - vertical-align: middle; - } - - span.ui.image { - font-size: 128px; - color: #000000; - } - - span.ui.image:hover { - color: #000000; - } - } - } + &.isSigned.isWarning { + border: 1px solid #db2828; + background: fade(#db2828, 10%); - &:target > .content { - box-shadow: 0 0 10px #8c8c8c; - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - &:target > .content > .code-comment-content { - padding: 4px; + &:hover { + background: fade(#db2828, 30%) !important; + } } - &:target > .content > .code-comment-content > .text { - margin-bottom: 0; - } + &.isSigned.isVerified { + border: 1px solid #21ba45; + background: fade(#21ba45, 10%); - .ui.form { - .field { - &:first-child { - clear: none; - } - - &.footer { - overflow: hidden; - } - - .tab.markdown { - min-height: 5rem; - } - } - - textarea { - height: 200px; - font-family: @monospaced-fonts, monospace; - } - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - .edit.buttons { - margin-top: 10px; + &:hover { + background: fade(#21ba45, 30%) !important; + } } - } - .event { - padding-left: 15px; + &.isSigned.isVerifiedUntrusted { + border: 1px solid #fbbd08; + background: fade(#fbbd08, 10%); - & > .svg:not(.issue-symbol) { - text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff; - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - & > .svg.issue-symbol { - font-size: 20px; - margin-left: -35px; - margin-right: -1px; - margin-top: 0 !important; - height: 28px; - width: 28px; - border-radius: 50%; - text-align: center; - line-height: 28px; - background: #eee; - - &::before { - width: 15px; - display: inline-block; - } - - &.octicon-key::before { - width: 18px; - } - - &.octicon-circle-slash::before { - width: 17px; - } - - &.octicon-comment { - font-size: 21px; - line-height: 33px; - - &::before { - width: 20px; - } - } + &:hover { + background: fade(#fbbd08, 30%) !important; + } } - .detail { - font-size: .9rem; - margin-top: 5px; - margin-left: 8px; - } + &.isSigned.isVerifiedUnmatched { + border: 1px solid #f2711c; + background: fade(#f2711c, 10%); - .segments { - box-shadow: none; + .shortsha { + display: inline-block; + padding-top: 1px; + } - .show-outdated, - .hide-outdated { - display: block; - } + &:hover { + background: fade(#f2711c, 30%) !important; + } } + } } + } } - .ui.participants { - img { - margin-top: 5px; - margin-right: 5px; - } + &.event > .commit-status-link { + float: right; + margin-right: 8px; + margin-top: 4px; } - .ui.depending { - .item.is-closed { - .title { - text-decoration: line-through; - } - } + .author { + font-weight: 700; } - } - .comment.form { - .ui.comments { - margin-top: -12px; - max-width: 100%; + .comment-form-reply .footer { + padding-bottom: 1em; } + } - .content { - .field:first-child { - clear: none; + .comment { + + .tag { + color: #767676; + margin-top: 3px; + padding: 2px 5px; + font-size: 12px; + border: 1px solid rgba(0, 0, 0, .1); + border-radius: 3px; + &.review { + margin-left: 5px; + &.pending { + color: black; + background-color: #fffbb2; } + } + } - .form { - #avatar-arrow; + .actions { + .item { + float: left; - &:after { - border-right-color: #ffffff; - } + &.context { + float: none; } - textarea { - height: 200px; - font-family: @monospaced-fonts, monospace; + &.tag { + margin-right: 5px; } - } - } - .labelspage { - list-style: none; - padding-top: 0; + &.action { + margin-top: 6px; + padding-left: 10px; + padding-right: 3px; + } + } + } - .item { - margin-top: 0; - margin-right: -14px; - margin-left: -14px; - padding: 10px; - border-bottom: 1px solid #e1e4e8; - border-top: none; + > .content { + > div:first-child { + border-top-left-radius: 4px; + border-top-right-radius: 4px; + } - a { - font-size: 15px; - padding-top: 5px; - padding-right: 10px; - color: #666666; + > div:last-child { + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + } + } - &:hover { - color: #000000; - } + .content { + > .header { + #avatar-arrow; + font-weight: normal; + padding: auto 15px; + position: relative; + color: #767676; + background-color: #f7f7f7; - &.open-issues { - margin-right: 30px; - } + .text { + padding-top: 10px; + padding-bottom: 10px; } - .ui.label { - font-size: 1em; + &.arrow-top::before, + &.arrow-top::after { + transform: rotate(90deg); } - } - .item:last-child { - border-bottom: none; - padding-bottom: 0; - } + &.arrow-top::before { + top: -9px; + left: 6px; + } - .orglabel { - opacity: .7; - } + &.arrow-top::after { + top: -8px; + left: 7px; + } - } + .actions a { + color: rgba(0, 0, 0, .4); - .milestone.list { - list-style: none; - padding-top: 15px; + &:hover { + color: rgba(0, 0, 0, .8); + } + } + } - > .item { - padding-top: 10px; - padding-bottom: 10px; - border-bottom: 1px dashed #aaaaaa; + > .merge-section { + background-color: #f7f7f7; - > a { - padding-top: 5px; - padding-right: 10px; - color: #000000; + .item { + padding: .25rem 0; + } - &:hover { - color: #4078c0; - } + .item-section { + display: flex; + align-items: center; + justify-content: space-between; + padding: 0; + margin-top: -.25rem; + margin-bottom: -.25rem; } - .ui.progress { - width: 40%; - padding: 0; - border: 0; - margin: 0; + .divider { + margin-left: -1rem; + margin-right: -1rem; + } - .bar { - height: 20px; - } + &.no-header { + #avatar-arrow; } + } - .meta { - color: #999999; - padding-top: 5px; + .markdown { + font-size: 14px; + } - .issue-stats .svg { - padding-left: 5px; - } + .no-content { + color: #767676; + font-style: italic; + } - .overdue { - color: red; - } + > .bottom.segment { + background: #f3f4f5; + + .ui.images::after { + clear: both; + content: ' '; + display: block; } - .operate { - margin-top: -15px; + a { + display: block; + float: left; + margin: 5px; + padding: 5px; + height: 150px; + border: solid 1px #eeeeee; + border-radius: 3px; + max-width: 150px; + background-color: #ffffff; + + &:before { + content: ' '; + display: inline-block; + height: 100%; + vertical-align: middle; + } + } - > a { - font-size: 15px; - padding-top: 5px; - padding-right: 10px; - color: #666666; + .ui.image { + max-height: 100%; + width: auto; + margin: 0; + vertical-align: middle; + } - &:hover { - color: #000000; - } - } + span.ui.image { + font-size: 128px; + color: #000000; } - .content { - padding-top: 10px; + span.ui.image:hover { + color: #000000; } + } } - } - &.new.milestone { - textarea { - height: 200px; + &:target > .content { + box-shadow: 0 0 10px #8c8c8c; } - } - &.compare.pull { - .show-form-container { - text-align: left; + &:target > .content > .code-comment-content { + padding: 4px; } - .choose.branch { - .svg { - margin-right: 10px; - } + &:target > .content > .code-comment-content > .text { + margin-bottom: 0; } - .comment.form { - .content { - #avatar-arrow; + .ui.form { + .field { + &:first-child { + clear: none; + } - &:after { - border-right-color: #ffffff; - } + &.footer { + overflow: hidden; } + + .tab.markdown { + min-height: 5rem; + } + } + + textarea { + height: 200px; + font-family: @monospaced-fonts, monospace; + } } - .pullrequest-form { - margin-bottom: 1.5rem; + .edit.buttons { + margin-top: 10px; } + } - .markdown { - font-size: 14px; + .event { + padding-left: 15px; + + & > .svg:not(.issue-symbol) { + text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff; } - } - .filter.dropdown .menu { - margin-top: 1px !important; - } + & > .svg.issue-symbol { + font-size: 20px; + margin-left: -35px; + margin-right: -1px; + margin-top: 0 !important; + height: 28px; + width: 28px; + border-radius: 50%; + text-align: center; + line-height: 28px; + background: #eee; - &.branches { - .commit-divergence { - .bar-group { - position: relative; - float: left; - padding-bottom: 6px; - width: 90px; - - &:last-child { - border-left: 1px solid #b4b4b4; - } - } + &::before { + width: 15px; + display: inline-block; + } - .count { - margin: 0 3px; + &.octicon-key::before { + width: 18px; + } - &.count-ahead { - text-align: left; - } + &.octicon-circle-slash::before { + width: 17px; + } - &.count-behind { - text-align: right; - } + &.octicon-comment { + font-size: 21px; + line-height: 33px; + + &::before { + width: 20px; } + } + } - .bar { - height: 4px; - position: absolute; - background-color: #d4d4d5; + .detail { + font-size: .9rem; + margin-top: 5px; + margin-left: 8px; + } - &.bar-behind { - right: 0; - } + .segments { + box-shadow: none; - &.bar-ahead { - left: 0; - } - } + .show-outdated, + .hide-outdated { + display: block; + } } + } } - &.commits { - .header { - .search { - input { - font-weight: normal; - padding: 5px 10px; - } - } + .ui.participants { + img { + margin-top: 5px; + margin-right: 5px; + } + } + + .ui.depending { + .item.is-closed { + .title { + text-decoration: line-through; } + } } + } - #commits-table { - thead { - th:first-of-type { - padding-left: 15px; - } + .comment.form { + .ui.comments { + margin-top: -12px; + max-width: 100%; + } - .sha { - &td { - text-align: center; - } + .content { + .field:first-child { + clear: none; + } - width: 175px; - } - } + .form { + #avatar-arrow; - td.sha .sha.label { - margin: 0; + &:after { + border-right-color: #ffffff; } + } - td.message { - text-overflow: unset; + textarea { + height: 200px; + font-family: @monospaced-fonts, monospace; + } + } + } + + .labelspage { + list-style: none; + padding-top: 0; + + .item { + margin-top: 0; + margin-right: -14px; + margin-left: -14px; + padding: 10px; + border-bottom: 1px solid #e1e4e8; + border-top: none; + + a { + font-size: 15px; + padding-top: 5px; + padding-right: 10px; + color: #666666; + + &:hover { + color: #000000; } - &.ui.basic.striped.table tbody tr:nth-child(2n) { - background-color: rgba(0, 0, 0, .02) !important; + &.open-issues { + margin-right: 30px; } + } + + .ui.label { + font-size: 1em; + } } - #commits-table td.sha .sha.label, - #repo-files-table .sha.label, - .timeline-item.commits-list .singular-commit .sha.label { - border: 1px solid #bbbbbb; + .item:last-child { + border-bottom: none; + padding-bottom: 0; + } - .ui.signature.avatar { - height: 16px; - margin-bottom: 0; - width: auto; - } + .orglabel { + opacity: .7; + } - .detail.icon { - background: #fafafa; - margin: -6px -10px -4px 0; - padding: 5px 4px 5px 6px; - border-left: 1px solid #bbbbbb; - border-top: 0; - border-right: 0; - border-bottom: 0; - border-top-left-radius: 0; - border-bottom-left-radius: 0; + } - img { - margin-right: 0; - } + .milestone.list { + list-style: none; + padding-top: 15px; - .svg { - margin: 0 .25em 0 0; - } + > .item { + padding-top: 10px; + padding-bottom: 10px; + border-bottom: 1px dashed #aaaaaa; - > div { - display: flex; - align-items: center; - } + > a { + padding-top: 5px; + padding-right: 10px; + color: #000000; + + &:hover { + color: #4078c0; } + } - &.isSigned.isWarning { - border: 1px solid #db2828; - background: fade(#db2828, 10%); + .ui.progress { + width: 40%; + padding: 0; + border: 0; + margin: 0; - .shortsha { - display: inline-block; - padding-top: 1px; - } + .bar { + height: 20px; + } + } - .detail.icon { - border-left: 1px solid #db2828; - color: #db2828; - } + .meta { + color: #999999; + padding-top: 5px; - &:hover { - background: fade(#db2828, 30%) !important; - } + .issue-stats .svg { + padding-left: 5px; } - &.isSigned.isVerified { - border: 1px solid #21ba45; - background: fade(#21ba45, 10%); + .overdue { + color: red; + } + } - .shortsha { - display: inline-block; - padding-top: 1px; - } + .operate { + margin-top: -15px; - .detail.icon { - border-left: 1px solid #21ba45; - color: #21ba45; - } + > a { + font-size: 15px; + padding-top: 5px; + padding-right: 10px; + color: #666666; - &:hover { - background: fade(#21ba45, 30%) !important; - } + &:hover { + color: #000000; + } } + } - &.isSigned.isVerifiedUntrusted { - border: 1px solid #fbbd08; - background: fade(#fbbd08, 10%); + .content { + padding-top: 10px; + } + } + } - .shortsha { - display: inline-block; - padding-top: 1px; - } + &.new.milestone { + textarea { + height: 200px; + } + } - .detail.icon { - border-left: 1px solid #fbbd08; - color: #fbbd08; - } + &.compare.pull { + .show-form-container { + text-align: left; + } - &:hover { - background: fade(#fbbd08, 30%) !important; - } - } + .choose.branch { + .svg { + margin-right: 10px; + } + } - &.isSigned.isVerifiedUnmatched { - border: 1px solid #f2711c; - background: fade(#f2711c, 10%); + .comment.form { + .content { + #avatar-arrow; - .shortsha { - display: inline-block; - padding-top: 1px; - } + &:after { + border-right-color: #ffffff; + } + } + } - .detail.icon { - border-left: 1px solid #f2711c; - color: #f2711c; - } + .pullrequest-form { + margin-bottom: 1.5rem; + } - &:hover { - background: fade(#f2711c, 30%) !important; - } - } + .markdown { + font-size: 14px; } + } - .diff-detail-box { - padding: 7px 0; - background: #ffffff; - line-height: 30px; + .filter.dropdown .menu { + margin-top: 1px !important; + } - &.sticky { - position: sticky; - top: 0; - z-index: 8; - margin-bottom: 10px; - border-bottom: 1px solid #d4d4d5; - padding-left: 5px; - padding-right: 5px; - } + &.branches { + .commit-divergence { + .bar-group { + position: relative; + float: left; + padding-bottom: 6px; + width: 90px; - > div:after { - clear: both; - content: ""; - display: block; + &:last-child { + border-left: 1px solid #b4b4b4; } + } - span.status { - display: inline-block; - width: 12px; - height: 12px; - margin-right: 8px; - vertical-align: middle; + .count { + margin: 0 3px; - &.modify { - background-color: #f0db88; - } + &.count-ahead { + text-align: left; + } - &.add { - background-color: #b4e2b4; - } + &.count-behind { + text-align: right; + } + } - &.del { - background-color: #e9aeae; - } + .bar { + height: 4px; + position: absolute; + background-color: #d4d4d5; - &.rename { - background-color: #dad8ff; - } + &.bar-behind { + right: 0; } - .detail-files { - background: #ffffff; - margin: 0; + &.bar-ahead { + left: 0; } + } } + } - .diff-box .header { - display: flex; - align-items: center; - - .count { - margin-right: 12px; - font-size: 13px; - flex: 0 0 auto; + &.commits { + .header { + .search { + input { + font-weight: normal; + padding: 5px 10px; + } + } + } + } - .bar { - background-color: #bd2c00; - height: 12px; - width: 40px; - display: inline-block; - margin: 2px 4px 0; - vertical-align: text-top; + #commits-table { + thead { + th:first-of-type { + padding-left: 15px; + } - .add { - background-color: #55a532; - height: 12px; - } - } + .sha { + &td { + text-align: center; } - .file { - flex: 1; - color: #888888; - word-break: break-all; - } + width: 175px; + } + } - .button { - margin: -5px 0 -5px 12px; - padding: 8px 10px; - flex: 0 0 auto; - } + td.sha .sha.label { + margin: 0; } - .diff-file-box { - .header { - background-color: #f7f7f7; - } + td.message { + text-overflow: unset; + } - .file-body.file-code { - .lines-num { - text-align: right; - color: #a6a6a6; - width: 1%; - min-width: 50px; - user-select: none; + &.ui.basic.striped.table tbody tr:nth-child(2n) { + background-color: rgba(0, 0, 0, .02) !important; + } + } - span.fold { - display: block; - text-align: center; - } - } - } + #commits-table td.sha .sha.label, + #repo-files-table .sha.label, + .timeline-item.commits-list .singular-commit .sha.label { + border: 1px solid #bbbbbb; - .code-diff { - font-size: 12px; + .ui.signature.avatar { + height: 16px; + margin-bottom: 0; + width: auto; + } - td { - padding: 0 0 0 10px !important; - border-top: 0; - } + .detail.icon { + background: #fafafa; + margin: -6px -10px -4px 0; + padding: 5px 4px 5px 6px; + border-left: 1px solid #bbbbbb; + border-top: 0; + border-right: 0; + border-bottom: 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; - .lines-num { - padding: 0 5px !important; - } + img { + margin-right: 0; + } - .tag-code .lines-num, - .tag-code td { - padding: 0 !important; - } + .svg { + margin: 0 .25em 0 0; + } - tbody { - tr { - td.halfwidth { - // halfwidth is used in split view - and in that case, 1% of each - width: 49%; - } - - td.center { - text-align: center; - } - - [data-line-num]::before { - content: attr(data-line-num); - text-align: right; - } - - .lines-type-marker { - width: 10px; - min-width: 10px; - user-select: none; - } - - [data-type-marker]::before { - content: attr(data-type-marker); - text-align: right; - display: inline-block; - } - } - } - } + > div { + display: flex; + align-items: center; + } + } - .code-diff-unified tbody tr { - &.del-code td { - background-color: #ffeef0; - border-color: #f1c0c0; - } + &.isSigned.isWarning { + border: 1px solid #db2828; + background: fade(#db2828, 10%); - &.add-code td { - background-color: #e6ffed; - border-color: #bef5cb; - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - &.del-code td.lines-num { - background-color: #ffe5e4; - } + .detail.icon { + border-left: 1px solid #db2828; + color: #db2828; + } - &.add-code td.lines-num { - background-color: #cdffd8; - } + &:hover { + background: fade(#db2828, 30%) !important; + } + } - } + &.isSigned.isVerified { + border: 1px solid #21ba45; + background: fade(#21ba45, 10%); - .code-diff-split { + .shortsha { + display: inline-block; + padding-top: 1px; + } - table, - tbody { - width: 100%; - } + .detail.icon { + border-left: 1px solid #21ba45; + color: #21ba45; + } - tbody tr { - - // light gray for empty lines before / after commit - &.add-code td:nth-child(1), - &.add-code td:nth-child(2), - &.add-code td:nth-child(3), - &.del-code td:nth-child(4), - &.del-code td:nth-child(5), - &.del-code td:nth-child(6) { - background-color: #fafbfc; - border-right-color: #eaecef; - } + &:hover { + background: fade(#21ba45, 30%) !important; + } + } - &.del-code { - background-color: #ffeef0; - } + &.isSigned.isVerifiedUntrusted { + border: 1px solid #fbbd08; + background: fade(#fbbd08, 10%); - &.del-code td.add-code { - background-color: #e6ffed; - } - &.del-code td.lines-num-new.add-code { - background-color: #cdffd8; - border-color: #bef5cb; - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - &.add-code { - background-color: #e6ffed; - border-color: #bef5cb; - } + .detail.icon { + border-left: 1px solid #fbbd08; + color: #fbbd08; + } - &.add-code td.lines-num-new { - background-color: #cdffd8; - } + &:hover { + background: fade(#fbbd08, 30%) !important; + } + } - td:nth-child(4) { - border-left-width: 1px; - border-left-style: solid; - border-left-color: #f6f8fa; - } - } - } + &.isSigned.isVerifiedUnmatched { + border: 1px solid #f2711c; + background: fade(#f2711c, 10%); - &.file-content { - img { - max-width: 100%; - padding: 0; - border-radius: 0; - } - img.emoji { - padding: 0; - } + .shortsha { + display: inline-block; + padding-top: 1px; + } - clear: right; - } + .detail.icon { + border-left: 1px solid #f2711c; + color: #f2711c; + } - .ui.bottom.attached.table.segment { - padding-top: 5px; - padding-bottom: 5px; - } + &:hover { + background: fade(#f2711c, 30%) !important; + } } + } - .diff-stats { + .diff-detail-box { + padding: 7px 0; + background: #ffffff; + line-height: 30px; - clear: both; - margin-bottom: 5px; - max-height: 400px; - overflow: auto; - padding-left: 0; + &.sticky { + position: sticky; + top: 0; + z-index: 8; + margin-bottom: 10px; + border-bottom: 1px solid #d4d4d5; + padding-left: 5px; + padding-right: 5px; + } - li { - list-style: none; - padding-bottom: 4px; - margin-bottom: 4px; - border-bottom: 1px dashed #dddddd; - padding-left: 6px; - } + > div:after { + clear: both; + content: ""; + display: block; + } - .diff-counter { - margin-right: 15px; + span.status { + display: inline-block; + width: 12px; + height: 12px; + margin-right: 8px; + vertical-align: middle; - .del { - color: red; - } - .add { - color: green; - } - } + &.modify { + background-color: #f0db88; + } + + &.add { + background-color: #b4e2b4; + } + + &.del { + background-color: #e9aeae; + } + + &.rename { + background-color: #dad8ff; + } } - .repo-search-result { - padding-top: 10px; - padding-bottom: 10px; + .detail-files { + background: #ffffff; + margin: 0; + } + } + + .diff-box .header { + display: flex; + align-items: center; - .lines-num a { - color: inherit; + .count { + margin-right: 12px; + font-size: 13px; + flex: 0 0 auto; + + .bar { + background-color: #bd2c00; + height: 12px; + width: 40px; + display: inline-block; + margin: 2px 4px 0; + vertical-align: text-top; + + .add { + background-color: #55a532; + height: 12px; } + } } - &.quickstart { - .guide { - .item { - padding: 1em; + .file { + flex: 1; + color: #888888; + word-break: break-all; + } - small { - font-weight: normal; - } - } + .button { + margin: -5px 0 -5px 12px; + padding: 8px 10px; + flex: 0 0 auto; + } + } - .clone.button:first-child { - border-radius: .28571429rem 0 0 .28571429rem; - } + .diff-file-box { + .header { + background-color: #f7f7f7; + } - .ui.action.small.input { - width: 100%; - } + .file-body.file-code { + .lines-num { + text-align: right; + color: #a6a6a6; + width: 1%; + min-width: 50px; + user-select: none; - #repo-clone-url { - border-radius: 0; - padding: 5px 10px; - font-size: 1.2em; - } + span.fold { + display: block; + text-align: center; } + } } - &.release { - #release-list { - border-top: 1px solid #dddddd; - margin-top: 20px; - padding-top: 15px; + .code-diff { + font-size: 12px; - > li { - list-style: none; + td { + padding: 0 0 0 10px !important; + border-top: 0; + } - .meta, - .detail { - padding-top: 30px; - padding-bottom: 40px; - } + .lines-num { + padding: 0 5px !important; + } - .meta { - text-align: right; - position: relative; + .tag-code .lines-num, + .tag-code td { + padding: 0 !important; + } - .tag:not(.icon) { - display: block; - margin-top: 15px; - } + tbody { + tr { + td.halfwidth { + // halfwidth is used in split view - and in that case, 1% of each + width: 49%; + } - .commit { - display: block; - margin-top: 10px; - } - } + td.center { + text-align: center; + } - .detail { - border-left: 1px solid #dddddd; - - .author { - img { - margin-bottom: -3px; - } - } - - .download { - margin-top: 20px; - - > a { - .svg { - margin-left: 5px; - margin-right: 5px; - } - } - - .list { - padding-left: 0; - border-top: 1px solid #eeeeee; - - li { - list-style: none; - display: block; - padding-top: 8px; - padding-bottom: 8px; - border-bottom: 1px solid #eeeeee; - - a > .text.right { - margin-right: 5px; - } - } - } - } - - .dot { - width: 9px; - height: 9px; - background-color: #cccccc; - z-index: 999; - position: absolute; - display: block; - left: -5px; - top: 40px; - border-radius: 6px; - border: 1px solid #ffffff; - } - } - } + [data-line-num]::before { + content: attr(data-line-num); + text-align: right; + } + + .lines-type-marker { + width: 10px; + min-width: 10px; + user-select: none; + } + + [data-type-marker]::before { + content: attr(data-type-marker); + text-align: right; + display: inline-block; + } } + } } - &.new.release { - .target { - min-width: 500px; + .code-diff-unified tbody tr { + &.del-code td { + background-color: #ffeef0; + border-color: #f1c0c0; + } - #tag-name { - margin-top: -4px; - } + &.add-code td { + background-color: #e6ffed; + border-color: #bef5cb; + } - .at { - margin-left: -5px; - margin-right: 5px; - } + &.del-code td.lines-num { + background-color: #ffe5e4; + } - .dropdown.icon { - margin: 0; - padding-top: 3px; - } + &.add-code td.lines-num { + background-color: #cdffd8; + } - .selection.dropdown { - padding-top: 10px; - padding-bottom: 10px; - } + } + + .code-diff-split { + + table, + tbody { + width: 100%; + } + + tbody tr { + + // light gray for empty lines before / after commit + &.add-code td:nth-child(1), + &.add-code td:nth-child(2), + &.add-code td:nth-child(3), + &.del-code td:nth-child(4), + &.del-code td:nth-child(5), + &.del-code td:nth-child(6) { + background-color: #fafbfc; + border-right-color: #eaecef; } - .prerelease.field { - margin-bottom: 0; + &.del-code { + background-color: #ffeef0; } - .field { + &.del-code td.add-code { + background-color: #e6ffed; + } + &.del-code td.lines-num-new.add-code { + background-color: #cdffd8; + border-color: #bef5cb; + } - button, - input { - @media only screen and (max-width: 438px) { - width: 100%; - } - } + &.add-code { + background-color: #e6ffed; + border-color: #bef5cb; + } - button { - @media only screen and (max-width: 768px) { - margin-bottom: 1em; - } - } + &.add-code td.lines-num-new { + background-color: #cdffd8; } + + td:nth-child(4) { + border-left-width: 1px; + border-left-style: solid; + border-left-color: #f6f8fa; + } + } } - &.forks { - .list { - margin-top: 0; + &.file-content { + img { + max-width: 100%; + padding: 0; + border-radius: 0; + } + img.emoji { + padding: 0; + } - .item { - padding-top: 10px; - padding-bottom: 10px; - border-bottom: 1px solid #dddddd; + clear: right; + } - .ui.avatar { - float: left; - margin-right: 5px; - } + .ui.bottom.attached.table.segment { + padding-top: 5px; + padding-bottom: 5px; + } + } - .link { - padding-top: 5px; - } - } - } + .diff-stats { + + clear: both; + margin-bottom: 5px; + max-height: 400px; + overflow: auto; + padding-left: 0; + + li { + list-style: none; + padding-bottom: 4px; + margin-bottom: 4px; + border-bottom: 1px dashed #dddddd; + padding-left: 6px; } - &.wiki { - &.start { - .ui.segment { - padding-top: 70px; - padding-bottom: 100px; + .diff-counter { + margin-right: 15px; - .svg { - height: 48px; - } - } + .del { + color: red; + } + .add { + color: green; + } + } + } + + .repo-search-result { + padding-top: 10px; + padding-bottom: 10px; + + .lines-num a { + color: inherit; + } + } + + &.quickstart { + .guide { + .item { + padding: 1em; + + small { + font-weight: normal; } + } - &.new { - .CodeMirror { - .CodeMirror-code { - font-family: @monospaced-fonts, monospace; + .clone.button:first-child { + border-radius: .28571429rem 0 0 .28571429rem; + } - .cm-comment { - background: inherit; - } - } - } + .ui.action.small.input { + width: 100%; + } - .editor-preview { - background-color: white; - } + #repo-clone-url { + border-radius: 0; + padding: 5px 10px; + font-size: 1.2em; + } + } + } - .ui.attached.tabular.menu.previewtabs { - margin-bottom: 15px; + &.release { + #release-list { + border-top: 1px solid #dddddd; + margin-top: 20px; + padding-top: 15px; - & + .field .editor-toolbar:not(.fullscreen) a.fa-eye { - display: none; - } - } + > li { + list-style: none; + + .meta, + .detail { + padding-top: 30px; + padding-bottom: 40px; } - &.view { - .choose.page { - margin-top: -5px; - } + .meta { + text-align: right; + position: relative; - > .markdown { - padding: 15px 30px; - - h1, - h2, - h3, - h4, - h5, - h6 { - &:first-of-type { - margin-top: 0; - } - } - } - } + .tag:not(.icon) { + display: block; + margin-top: 15px; + } - @media only screen and (max-width: 767px) { - .dividing.header .stackable.grid .button { - margin-top: 2px; - margin-bottom: 2px; - } + .commit { + display: block; + margin-top: 10px; + } } - } - &.settings { - &.collaboration { - .collaborator.list { - padding: 0; + .detail { + border-left: 1px solid #dddddd; - > .item { - margin: 0; - line-height: 2em; - - &:not(:last-child) { - border-bottom: 1px solid #dddddd; - } - } + .author { + img { + margin-bottom: -3px; } + } - #repo-collab-form { - #search-user-box { - .results { - left: 7px; - } - } + .download { + margin-top: 20px; - .ui.button { - margin-left: 5px; - margin-top: -3px; - } + > a { + .svg { + margin-left: 5px; + margin-right: 5px; + } } - #repo-collab-team-form { - #search-team-box { - .results { - left: 7px; - } - } + .list { + padding-left: 0; + border-top: 1px solid #eeeeee; - .ui.button { - margin-left: 5px; - margin-top: -3px; + li { + list-style: none; + display: block; + padding-top: 8px; + padding-bottom: 8px; + border-bottom: 1px solid #eeeeee; + + a > .text.right { + margin-right: 5px; } + } } + } + + .dot { + width: 9px; + height: 9px; + background-color: #cccccc; + z-index: 999; + position: absolute; + display: block; + left: -5px; + top: 40px; + border-radius: 6px; + border: 1px solid #ffffff; + } } + } + } + } - &.branches { - .protected-branches { - .selection.dropdown { - width: 300px; - } + &.new.release { + .target { + min-width: 500px; - .item { - border: 1px solid #eaeaea; - padding: 10px 15px; + #tag-name { + margin-top: -4px; + } - &:not(:last-child) { - border-bottom: 0; - } - } - } + .at { + margin-left: -5px; + margin-right: 5px; + } - .branch-protection { - .help { - margin-left: 26px; - padding-top: 0; - } + .dropdown.icon { + margin: 0; + padding-top: 3px; + } - .fields { - margin-left: 20px; - display: block; - } + .selection.dropdown { + padding-top: 10px; + padding-bottom: 10px; + } + } - .whitelist { - margin-left: 26px; + .prerelease.field { + margin-bottom: 0; + } - .dropdown img { - display: inline-block; - } - } - } + .field { + + button, + input { + @media only screen and (max-width: 438px) { + width: 100%; } + } - &.webhook { - .events { - .column { - padding-bottom: 0; - } + button { + @media only screen and (max-width: 768px) { + margin-bottom: 1em; + } + } + } + } - .help { - font-size: 13px; - margin-left: 26px; - padding-top: 0; - } - } + &.forks { + .list { + margin-top: 0; + + .item { + padding-top: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #dddddd; + + .ui.avatar { + float: left; + margin-right: 5px; } + + .link { + padding-top: 5px; + } + } } + } - .ui.attached.isSigned.isWarning { - border-left: 1px solid #c29393; - border-right: 1px solid #c29393; + &.wiki { + &.start { + .ui.segment { + padding-top: 70px; + padding-bottom: 100px; - &.top, - &.message { - border-top: 1px solid #c29393; + .svg { + height: 48px; } + } + } - &.message { - box-shadow: none; - background-color: #fff5f5; - color: #d95c5c; + &.new { + .CodeMirror { + .CodeMirror-code { + font-family: @monospaced-fonts, monospace; - .ui.text { - color: #d64444; - } + .cm-comment { + background: inherit; + } } + } + + .editor-preview { + background-color: white; + } - &:last-child, - &.bottom { - border-bottom: 1px solid #c29393; + .ui.attached.tabular.menu.previewtabs { + margin-bottom: 15px; + + & + .field .editor-toolbar:not(.fullscreen) a.fa-eye { + display: none; } + } } - .ui.attached.isSigned:not(.isWarning) .pull-right { - padding-top: 5px; + &.view { + .choose.page { + margin-top: -5px; + } + + > .markdown { + padding: 15px 30px; + + h1, + h2, + h3, + h4, + h5, + h6 { + &:first-of-type { + margin-top: 0; + } + } + } } - .ui.attached.isSigned.isVerified { - border-left: 1px solid #a3c293; - border-right: 1px solid #a3c293; + @media only screen and (max-width: 767px) { + .dividing.header .stackable.grid .button { + margin-top: 2px; + margin-bottom: 2px; + } + } + } - &.top, - &.message { - border-top: 1px solid #a3c293; + &.settings { + &.collaboration { + .collaborator.list { + padding: 0; + + > .item { + margin: 0; + line-height: 2em; + + &:not(:last-child) { + border-bottom: 1px solid #dddddd; + } } + } - &.message { - box-shadow: none; - background-color: #fcfff5; - color: #6cc644; + #repo-collab-form { + #search-user-box { + .results { + left: 7px; + } + } - .pull-right { - color: #000; - } + .ui.button { + margin-left: 5px; + margin-top: -3px; + } + } - .ui.text { - color: #21ba45; - } + #repo-collab-team-form { + #search-team-box { + .results { + left: 7px; + } } - &:last-child, - &.bottom { - border-bottom: 1px solid #a3c293; + .ui.button { + margin-left: 5px; + margin-top: -3px; } + } } - .ui.attached.isSigned.isVerifiedUntrusted { - border-left: 1px solid #c2c193; - border-right: 1px solid #c2c193; + &.branches { + .protected-branches { + .selection.dropdown { + width: 300px; + } - &.top, - &.message { - border-top: 1px solid #c2c193; + .item { + border: 1px solid #eaeaea; + padding: 10px 15px; + + &:not(:last-child) { + border-bottom: 0; + } } + } - &.message { - box-shadow: none; - background-color: #fffff5; - color: #fbbd08; + .branch-protection { + .help { + margin-left: 26px; + padding-top: 0; + } - .ui.text { - color: #d2ab00; - } + .fields { + margin-left: 20px; + display: block; } - &:last-child, - &.bottom { - border-bottom: 1px solid #c2c193; + .whitelist { + margin-left: 26px; + + .dropdown img { + display: inline-block; + } } + } } - .ui.attached.isSigned.isVerifiedUnmatched { - border-left: 1px solid #c2a893; - border-right: 1px solid #c2a893; + &.webhook { + .events { + .column { + padding-bottom: 0; + } - &.top, - &.message { - border-top: 1px solid #c2a893; + .help { + font-size: 13px; + margin-left: 26px; + padding-top: 0; } + } + } + } - &.message { - box-shadow: none; - background-color: #fffaf5; - color: #f2711c; + .ui.attached.isSigned.isWarning { + border-left: 1px solid #c29393; + border-right: 1px solid #c29393; - .ui.text { - color: #ee5f00; - } - } + &.top, + &.message { + border-top: 1px solid #c29393; + } - &:last-child, - &.bottom { - border-bottom: 1px solid #c2a893; - } + &.message { + box-shadow: none; + background-color: #fff5f5; + color: #d95c5c; + + .ui.text { + color: #d64444; + } } - .ui.segment.sub-menu { - padding: 7px; - line-height: 0; + &:last-child, + &.bottom { + border-bottom: 1px solid #c29393; + } + } - .list { - width: 100%; - display: flex; + .ui.attached.isSigned:not(.isWarning) .pull-right { + padding-top: 5px; + } - .item { - width: 100%; - border-radius: 3px; + .ui.attached.isSigned.isVerified { + border-left: 1px solid #a3c293; + border-right: 1px solid #a3c293; - a { - color: black; + &.top, + &.message { + border-top: 1px solid #a3c293; + } - &:hover { - color: #666666; - } - } + &.message { + box-shadow: none; + background-color: #fcfff5; + color: #6cc644; - span.ui { - color: black; - } + .pull-right { + color: #000; + } - &.active { - background: rgba(0, 0, 0, .05); - } - } - } + .ui.text { + color: #21ba45; + } } - .segment.reactions, - .select-reaction { - &.dropdown .menu { - right: 0 !important; - left: auto !important; - min-width: 15em; + &:last-child, + &.bottom { + border-bottom: 1px solid #a3c293; + } + } - > .header { - margin: .75rem 0 .5rem; - } + .ui.attached.isSigned.isVerifiedUntrusted { + border-left: 1px solid #c2c193; + border-right: 1px solid #c2c193; - > .item { - float: left; - padding: .25rem !important; - margin: .25rem; - font-size: 1.5em; - width: 39px; - left: 13px; + &.top, + &.message { + border-top: 1px solid #c2c193; + } - img.emoji { - margin-right: 0; - } - } - } + &.message { + box-shadow: none; + background-color: #fffff5; + color: #fbbd08; + + .ui.text { + color: #d2ab00; + } } - .segment.reactions { - padding: 0; - display: flex; + &:last-child, + &.bottom { + border-bottom: 1px solid #c2c193; + } + } - .ui.label { - max-height: 40px; - padding: 7px 18px; - display: flex !important; - align-items: center; - border: 0; - border-right: 1px solid; - border-radius: 0; - margin: 0; - font-size: 14px; - font-weight: normal; - border-color: inherit !important; + .ui.attached.isSigned.isVerifiedUnmatched { + border-left: 1px solid #c2a893; + border-right: 1px solid #c2a893; - &.disabled { - cursor: default; - opacity: .5; - } + &.top, + &.message { + border-top: 1px solid #c2a893; + } + + &.message { + box-shadow: none; + background-color: #fffaf5; + color: #f2711c; + + .ui.text { + color: #ee5f00; + } + } + + &:last-child, + &.bottom { + border-bottom: 1px solid #c2a893; + } + } + + .ui.segment.sub-menu { + padding: 7px; + line-height: 0; + + .list { + width: 100%; + display: flex; + + .item { + width: 100%; + border-radius: 3px; + + a { + color: black; + + &:hover { + color: #666666; + } } - .ui.label.basic.blue { - background-color: #f1f8ff !important; - border-color: inherit !important; + span.ui { + color: black; } - .reaction-count { - margin-left: .5rem; + &.active { + background: rgba(0, 0, 0, .05); } + } + } + } - .select-reaction { - display: flex; - align-items: center; - padding: 0 14px; + .segment.reactions, + .select-reaction { + &.dropdown .menu { + right: 0 !important; + left: auto !important; + min-width: 15em; - &:not(.active) a { - display: none; - } + > .header { + margin: .75rem 0 .5rem; + } - .item { - border-radius: 6px; - display: flex; - justify-content: center; - align-items: center; - } + > .item { + float: left; + padding: .25rem !important; + margin: .25rem; + font-size: 1.5em; + width: 39px; + left: 13px; - .item:hover { - background: #4183c4; - } + img.emoji { + margin-right: 0; } + } + } + } - &:hover .select-reaction a { - display: block; - } + .segment.reactions { + padding: 0; + display: flex; + + .ui.label { + max-height: 40px; + padding: 7px 18px; + display: flex !important; + align-items: center; + border: 0; + border-right: 1px solid; + border-radius: 0; + margin: 0; + font-size: 14px; + font-weight: normal; + border-color: inherit !important; + + &.disabled { + cursor: default; + opacity: .5; + } } - .ui.fluid.action.input { - .ui.search.action.input { - flex: auto; - } + .ui.label.basic.blue { + background-color: #f1f8ff !important; + border-color: inherit !important; } - .repository-summary { - .segment.language-stats-details, - .segment.repository-summary { - border-top: none; - background: none; - } + .reaction-count { + margin-left: .5rem; + } - .segment.language-stats-details .item { - white-space: nowrap; - } + .select-reaction { + display: flex; + align-items: center; + padding: 0 14px; - .segment.language-stats { - padding: 0; - height: 11px; - display: flex; - white-space: nowrap; - width: 100%; - border-radius: 0; - user-select: none; + &:not(.active) a { + display: none; + } - .bar { - white-space: nowrap; - border: 0; - padding: 0; - margin: 0; - height: 100%; - } - } + .item { + border-radius: 6px; + display: flex; + justify-content: center; + align-items: center; + } + + .item:hover { + background: #4183c4; + } } - &.diff .committed-by { - padding-top: .5rem; + &:hover .select-reaction a { + display: block; + } + } - .ui.avatar { - width: 20px; - height: 20px; - } + .ui.fluid.action.input { + .ui.search.action.input { + flex: auto; + } + } - span { - margin-right: .25rem; + .repository-summary { + .segment.language-stats-details, + .segment.repository-summary { + border-top: none; + background: none; + } - svg { - vertical-align: text-bottom; - margin-right: 2px; - } - } + .segment.language-stats-details .item { + white-space: nowrap; + } + + .segment.language-stats { + padding: 0; + height: 11px; + display: flex; + white-space: nowrap; + width: 100%; + border-radius: 0; + user-select: none; + + .bar { + white-space: nowrap; + border: 0; + padding: 0; + margin: 0; + height: 100%; + } + } + } + + &.diff .committed-by { + padding-top: .5rem; + + .ui.avatar { + width: 20px; + height: 20px; + } + + span { + margin-right: .25rem; + + svg { + vertical-align: text-bottom; + margin-right: 2px; + } } + } } // End of .repository &.user-cards { - .list { - padding: 0; - display: flex; - flex-wrap: wrap; - - .item { - list-style: none; - width: 32%; - margin: 10px 10px 10px 0; - padding-bottom: 14px; - float: left; + .list { + padding: 0; + display: flex; + flex-wrap: wrap; - .avatar { - width: 48px; - height: 48px; - float: left; - display: block; - margin-right: 10px; - } + .item { + list-style: none; + width: 32%; + margin: 10px 10px 10px 0; + padding-bottom: 14px; + float: left; + + .avatar { + width: 48px; + height: 48px; + float: left; + display: block; + margin-right: 10px; + } - .name { - margin-top: 0; - margin-bottom: 0; - font-weight: normal; - } + .name { + margin-top: 0; + margin-bottom: 0; + font-weight: normal; + } - .meta { - margin-top: 5px; - } - } + .meta { + margin-top: 5px; + } } + } } #search-repo-box, #search-user-box { - .results { - .result { - .image { - float: left; - margin-right: 8px; - width: 2em; - height: 2em; - } + .results { + .result { + .image { + float: left; + margin-right: 8px; + width: 2em; + height: 2em; + } - .content { - margin: 6px 0; - } - } + .content { + margin: 6px 0; + } } + } } #search-team-box { - .results { - .result { - .content { - margin: 6px 0; - } - } + .results { + .result { + .content { + margin: 6px 0; + } } + } } #issue-filters.hide { - display: none; + display: none; } #issue-actions { - margin-top: -1rem !important; // counteract padding from Semantic + margin-top: -1rem !important; // counteract padding from Semantic } #issue-actions.hide { - display: none; + display: none; } .ui.checkbox.issue-checkbox { - vertical-align: middle; + vertical-align: middle; } .ui.menu .item > img:not(.ui) { - width: auto; + width: auto; } .issue.list { - list-style: none; - - > .item { - padding-top: 15px; - padding-bottom: 10px; - border-bottom: 1px dashed #aaaaaa; - - .title { - color: #444444; - font-size: 15px; - font-weight: bold; - margin: 0 6px; + list-style: none; - &:hover { - color: #000000; - } - } - - .comment { - padding-right: 10px; - color: #666666; + > .item { + padding-top: 15px; + padding-bottom: 10px; + border-bottom: 1px dashed #aaaaaa; + + .title { + color: #444444; + font-size: 15px; + font-weight: bold; + margin: 0 6px; + + &:hover { + color: #000000; + } + } + + .comment { + padding-right: 10px; + color: #666666; + } + + .desc { + padding-top: 5px; + color: #999999; + + .waiting, + .approvals, + .rejects { + padding-left: 5px; + } + + .checklist { + padding-left: 5px; + + .progress-bar { + margin-left: 2px; + width: 80px; + height: 6px; + display: inline-block; + background-color: #eeeeee; + overflow: hidden; + border-radius: 3px; + vertical-align: 2px !important; + + .progress { + background-color: #cccccc; + display: block; + height: 100%; + } } + } - .desc { - padding-top: 5px; - color: #999999; + .conflicting { + padding-left: 5px; + } - .waiting, - .approvals, - .rejects { - padding-left: 5px; - } - - .checklist { - padding-left: 5px; - - .progress-bar { - margin-left: 2px; - width: 80px; - height: 6px; - display: inline-block; - background-color: #eeeeee; - overflow: hidden; - border-radius: 3px; - vertical-align: 2px !important; - - .progress { - background-color: #cccccc; - display: block; - height: 100%; - } - } - } - - .conflicting { - padding-left: 5px; - } + .due-date { + padding-left: 5px; + } - .due-date { - padding-left: 5px; - } + a.milestone { + margin-left: 5px; + color: #999999 !important; - a.milestone { - margin-left: 5px; - color: #999999 !important; + &:hover { + color: #000000 !important; + } + } - &:hover { - color: #000000 !important; - } - } + a.ref { + margin-left: 8px; + color: #999999 !important; - a.ref { - margin-left: 8px; - color: #999999 !important; + &:hover { + color: #000000 !important; + } - &:hover { - color: #000000 !important; - } + span { + margin-right: -4px; + } + } - span { - margin-right: -4px; - } - } + .assignee { + margin-top: -5px; + margin-right: 5px; + } - .assignee { - margin-top: -5px; - margin-right: 5px; - } - - .overdue { - color: red; - } - } + .overdue { + color: red; + } } + } } .page.buttons { - padding-top: 15px; + padding-top: 15px; } .ui.form { - .dropzone { - border: 2px dashed #0087f5; - box-shadow: none !important; - padding: 0; - min-height: 5rem; - border-radius: 4px; + .dropzone { + border: 2px dashed #0087f5; + box-shadow: none !important; + padding: 0; + min-height: 5rem; + border-radius: 4px; - .dz-button { - color: rgba(0, 0, 0, .6); - } + .dz-button { + color: rgba(0, 0, 0, .6); + } - &:hover .dz-button { - color: rgba(0, 0, 0, .8); - } + &:hover .dz-button { + color: rgba(0, 0, 0, .8); + } - .dz-error-message { - top: 140px; - } + .dz-error-message { + top: 140px; } + } } .settings { - .content { - margin-top: 2px; + .content { + margin-top: 2px; - > .header, - .segment { - box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); - } + > .header, + .segment { + box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); } + } - .list { - > .item { - .green:not(.ui.button) { - color: #21ba45; - } + .list { + > .item { + .green:not(.ui.button) { + color: #21ba45; + } - &:not(:first-child) { - border-top: 1px solid #eaeaea; - padding: 1rem; - margin: 15px -1rem -1rem; - } + &:not(:first-child) { + border-top: 1px solid #eaeaea; + padding: 1rem; + margin: 15px -1rem -1rem; + } - > .svg { - display: table-cell; - } + > .svg { + display: table-cell; + } - > .svg + .content { - display: table-cell; - padding: 0 0 0 .5em; - vertical-align: top; - } + > .svg + .content { + display: table-cell; + padding: 0 0 0 .5em; + vertical-align: top; + } - .info { - margin-top: 10px; + .info { + margin-top: 10px; - .tab.segment { - border: 0; - padding: 10px 0 0; - } - } + .tab.segment { + border: 0; + padding: 10px 0 0; } + } + } - &.key { - .meta { - padding-top: 5px; - color: #666666; - } - } + &.key { + .meta { + padding-top: 5px; + color: #666666; + } + } - &.email { - > .item:not(:first-child) { - min-height: 60px; - } - } + &.email { + > .item:not(:first-child) { + min-height: 60px; + } + } - &.collaborator { - > .item { - padding: 0; - } - } + &.collaborator { + > .item { + padding: 0; + } } + } } .ui.vertical.menu { - .header.item { - font-size: 1.1em; - background: #f0f0f0; - } + .header.item { + font-size: 1.1em; + background: #f0f0f0; + } } .edit-label.modal, .new-label.segment { - .form { - .column { - padding-right: 0; - } + .form { + .column { + padding-right: 0; + } - .buttons { - margin-left: auto; - padding-top: 15px; - } + .buttons { + margin-left: auto; + padding-top: 15px; + } - .color.picker.column { - width: auto; + .color.picker.column { + width: auto; - .color-picker { - height: 35px; - width: auto; - padding-left: 30px; - } - } + .color-picker { + height: 35px; + width: auto; + padding-left: 30px; + } + } - .minicolors-swatch.minicolors-sprite { - top: 10px; - left: 10px; - width: 15px; - height: 15px; - } + .minicolors-swatch.minicolors-sprite { + top: 10px; + left: 10px; + width: 15px; + height: 15px; + } - .precolors { - padding-left: 0; - padding-right: 0; - margin: 3px 10px auto; - width: 120px; + .precolors { + padding-left: 0; + padding-right: 0; + margin: 3px 10px auto; + width: 120px; - .color { - float: left; - width: 15px; - height: 15px; - } - } + .color { + float: left; + width: 15px; + height: 15px; + } } + } } #avatar-arrow { - &:before, - &:after { - right: 100%; - top: 20px; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - } - - &:before { - border-right-color: #d3d3d4; - border-width: 9px; - margin-top: -9px; - } - - &:after { - border-right-color: #f7f7f7; - border-width: 8px; - margin-top: -8px; - } + &:before, + &:after { + right: 100%; + top: 20px; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + } + + &:before { + border-right-color: #d3d3d4; + border-width: 9px; + margin-top: -9px; + } + + &:after { + border-right-color: #f7f7f7; + border-width: 8px; + margin-top: -8px; + } } #transfer-repo-modal, @@ -2824,367 +2824,367 @@ #delete-wiki-modal, #convert-fork-repo-modal, #convert-mirror-repo-modal { - .ui.message { - width: 100% !important; - } + .ui.message { + width: 100% !important; + } } // generate .tab-size-{i} from 1 to 16 .generate-tab-size(16); .generate-tab-size(@n, @i: 1) when (@i =< @n) { - .tab-size-@{i} { - tab-size: @i !important; - } + .tab-size-@{i} { + tab-size: @i !important; + } - .generate-tab-size(@n, (@i + 1)); + .generate-tab-size(@n, (@i + 1)); } .stats-table { - display: table; - width: 100%; + display: table; + width: 100%; - .table-cell { - display: table-cell; + .table-cell { + display: table-cell; - &.tiny { - height: .5em; - } + &.tiny { + height: .5em; } + } } tbody.commit-list { - vertical-align: baseline; + vertical-align: baseline; } .message-wrapper { - overflow: hidden; - text-overflow: ellipsis; - max-width: calc(100% - 50px); - display: inline-block; - vertical-align: middle; + overflow: hidden; + text-overflow: ellipsis; + max-width: calc(100% - 50px); + display: inline-block; + vertical-align: middle; } @media only screen and (max-width: 767.98px) { - tr.commit-list { - width: 100%; - } - th .message-wrapper { - display: block; - max-width: calc(100vw - 70px); - } + tr.commit-list { + width: 100%; + } + th .message-wrapper { + display: block; + max-width: calc(100vw - 70px); + } } @media only screen and (min-width: 768px) and (max-width: 991.98px) { - tr.commit-list { - width: 723px; - } - th .message-wrapper { - max-width: 280px; - } + tr.commit-list { + width: 723px; + } + th .message-wrapper { + max-width: 280px; + } } @media only screen and (min-width: 992px) and (max-width: 1199.98px) { - tr.commit-list { - width: 933px; - } - th .message-wrapper { - max-width: 490px; - } + tr.commit-list { + width: 933px; + } + th .message-wrapper { + max-width: 490px; + } } @media only screen and (min-width: 1200px) { - tr.commit-list { - width: 1127px; - } - th .message-wrapper { - max-width: 680px; - } + tr.commit-list { + width: 1127px; + } + th .message-wrapper { + max-width: 680px; + } } .commit-list .commit-summary a { - text-decoration: underline; - text-decoration-style: dashed; + text-decoration: underline; + text-decoration-style: dashed; - &:hover { - text-decoration-style: solid; - } + &:hover { + text-decoration-style: solid; + } - &.default-link { - text-decoration: none; + &.default-link { + text-decoration: none; - &:hover { - text-decoration: underline; - text-decoration-style: solid; - } + &:hover { + text-decoration: underline; + text-decoration-style: solid; } + } } .commit-list .commit-status-link { - display: inline-block; - vertical-align: middle; + display: inline-block; + vertical-align: middle; } .commit-body { - white-space: pre-wrap; + white-space: pre-wrap; } .git-notes { - &.top { - text-align: left; - } + &.top { + text-align: left; + } - .commit-body { - margin: 0; - } + .commit-body { + margin: 0; + } } @media only screen and (max-width: 767px) { - .ui.stackable.menu { - &.mobile--margin-between-items > .item { - margin-top: 5px; - margin-bottom: 5px; - } + .ui.stackable.menu { + &.mobile--margin-between-items > .item { + margin-top: 5px; + margin-bottom: 5px; + } - &.mobile--no-negative-margins { - margin-left: 0; - margin-right: 0; - } + &.mobile--no-negative-margins { + margin-left: 0; + margin-right: 0; } + } } #topic_edit { - margin-top: 5px; + margin-top: 5px; } #repo-topics { - margin-top: 5px; + margin-top: 5px; } .repo-topic { - cursor: pointer; + cursor: pointer; } #new-dependency-drop-list { - &.ui.selection.dropdown { - min-width: 0; - width: 100%; - border-radius: 4px 0 0 4px; - border-right: 0; - white-space: nowrap; - } + &.ui.selection.dropdown { + min-width: 0; + width: 100%; + border-radius: 4px 0 0 4px; + border-right: 0; + white-space: nowrap; + } - .text { - width: 100%; - overflow: hidden; - } + .text { + width: 100%; + overflow: hidden; + } } #manage_topic { - font-size: 12px; + font-size: 12px; } .label + #manage_topic { - margin-left: 5px; + margin-left: 5px; } .ui.small.label.topic { - margin-bottom: 4px; + margin-bottom: 4px; } .repo-header { - display: flex; - align-items: center; - justify-content: space-between; - flex-wrap: wrap; + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; } .repo-header .repo-buttons { - display: flex; - align-items: center; + display: flex; + align-items: center; } .repo-buttons .disabled-repo-button .label { - opacity: .5; + opacity: .5; } .repo-buttons .disabled-repo-button a.button { - opacity: .5; - cursor: not-allowed; + opacity: .5; + cursor: not-allowed; } .repo-buttons .disabled-repo-button a.button:hover { - background: none !important; - color: rgba(0, 0, 0, .6) !important; - box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important; + background: none !important; + color: rgba(0, 0, 0, .6) !important; + box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important; } .repo-buttons .ui.labeled.button > .label { - border-left: 0 !important; - margin: 0 !important; + border-left: 0 !important; + margin: 0 !important; } .tag-code { - height: 28px; + height: 28px; } .tag-code, .tag-code td { - background-color: #f0f9ff; - border-color: #f1f8ff !important; - vertical-align: middle; + background-color: #f0f9ff; + border-color: #f1f8ff !important; + vertical-align: middle; } .board { - display: flex; - flex-direction: row; - flex-wrap: nowrap; - overflow-x: auto; - margin: 0 .5em; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + overflow-x: auto; + margin: 0 .5em; } .board-column { - background-color: rgba(0, 0, 0, .05) !important; - border: 1px solid rgba(34, 36, 38, .15) !important; - margin: 0 .5rem !important; - padding: .5rem !important; - width: 320px; - height: 60vh; - overflow-y: scroll; - flex: 0 0 auto; - overflow: visible; - display: flex; - flex-direction: column; + background-color: rgba(0, 0, 0, .05) !important; + border: 1px solid rgba(34, 36, 38, .15) !important; + margin: 0 .5rem !important; + padding: .5rem !important; + width: 320px; + height: 60vh; + overflow-y: scroll; + flex: 0 0 auto; + overflow: visible; + display: flex; + flex-direction: column; } .board-column-header { - display: flex; - justify-content: space-between; + display: flex; + justify-content: space-between; } .board-label { - background: none !important; - line-height: 1.25 !important; + background: none !important; + line-height: 1.25 !important; } .board-column > .cards { - flex: 1; - display: flex; - flex-direction: column; - margin: 0 !important; - padding: 0 !important; + flex: 1; + display: flex; + flex-direction: column; + margin: 0 !important; + padding: 0 !important; - .card .meta > a.milestone { - color: #999999; - } + .card .meta > a.milestone { + color: #999999; + } } .board-column > .divider { - margin: 5px 0; + margin: 5px 0; } .board-column:first-child { - margin-left: auto !important; + margin-left: auto !important; } .board-column:last-child { - margin-right: auto !important; + margin-right: auto !important; } .board-card { - margin: 3px !important; - width: auto !important; - background-color: #fff; - border-radius: 5px; - cursor: pointer; + margin: 3px !important; + width: auto !important; + background-color: #fff; + border-radius: 5px; + cursor: pointer; } .board-card .header { - font-size: 1.1em !important; + font-size: 1.1em !important; } .board-card .content { - padding: 5px 8px !important; + padding: 5px 8px !important; } .board-card .extra.content { - padding: 5px 8px !important; + padding: 5px 8px !important; } td.blob-excerpt { - background-color: #fafafa; + background-color: #fafafa; } .issue-keyword { - border-bottom: 1px dotted #959da5; - display: inline-block; + border-bottom: 1px dotted #959da5; + display: inline-block; } .file-header { - display: flex; - justify-content: space-between; - align-items: center; - padding: 8px 12px !important; + display: flex; + justify-content: space-between; + align-items: center; + padding: 8px 12px !important; } .file-info { - display: flex; - align-items: center; + display: flex; + align-items: center; } .file-info-entry + .file-info-entry { - border-left: 1px solid currentColor; - margin-left: 8px; - padding-left: 8px; + border-left: 1px solid currentColor; + margin-left: 8px; + padding-left: 8px; } .title_wip_desc { - margin-top: 1em; + margin-top: 1em; } .diff-file-box[data-folded="true"] .diff-file-body { - display: none; + display: none; } .diff-file-box[data-folded="true"] .diff-file-header { - border-radius: .28571429rem !important; + border-radius: .28571429rem !important; } /* prevent page shaking on language bar click */ .repository.file .repository-summary { - height: 48px; - overflow: hidden; + height: 48px; + overflow: hidden; } .ui.form .right .ui.button { - margin-left: .25em; - margin-right: 0; + margin-left: .25em; + margin-right: 0; } .removed-code { - background-color: #fdb8c0; + background-color: #fdb8c0; } .added-code { - background-color: #acf2bd; + background-color: #acf2bd; } .repository .ui.menu.new-menu { - background: none !important; + background: none !important; - @media only screen and (max-width: 1200px) { - &:after { - background: none !important; - } + @media only screen and (max-width: 1200px) { + &:after { + background: none !important; } + } } .select-project .item { - color: inherit; - display: inline-flex; - align-items: center; + color: inherit; + display: inline-flex; + align-items: center; } .select-project .item .svg { - margin-right: .5rem; + margin-right: .5rem; } |