$mob-max: 1000px; $link-color: #4078c0; $gray: #dfdfdf; $gray-light: #f3f3f3; $gray-dark: #777; // 888 $font-size: 14px; $black: #24292e; $white: #ffffff; $header-height: 50px; $medium-radius: 5px; $small-radius: 3px; @mixin mobile { @media (max-width: $mob-max) { @content; } } @mixin desktop { @media (min-width: $mob-max) { @content; } } .hl_table * { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12px; } body, html, * { font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, Oxygen, Fira Sans, Droid Sans, Helvetica Neue; line-height: 1.5em; padding: 0; margin: 0; } body { font-size: 14px; min-width: 300px; } a { color: $link-color; font-size: 14px; text-decoration: none; } h2 { padding:10px; } code { background-color: #f7f7f7; } .form-error { color: red; } pre > code { background-color: #eff0f1; display: block; } .no_select { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .content { max-width: $mob-max; margin: 0 auto; margin-bottom: 200px; min-height: calc(100vh - 300px); } .clone-status { margin-top: 25%; text-align: center; img { margin-top: 10px; } } .clone-status-url { color: $gray-dark; margin: 10px auto 0; overflow-wrap: anywhere; padding: 0 10px; code { border-radius: $small-radius; padding: 2px 5px; } } .clone-status-log { margin: 20px auto 0; max-width: 720px; padding: 12px 16px; background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: $small-radius; color: $gray-dark; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; text-align: left; white-space: pre-wrap; word-break: break-word; } #top_right_div { float:right; display: flex; align-items: center; height: 50px; } .search-input { //position: absolute; //top: 10px; //right: 200px; display: inline-block; background-color: #000; color: #fff; margin-right:30px; } .search-input::placeholder { color: rgba(255, 255, 255, 0.6); } .user { //display: flex; //position: absolute; //top: 0; //right: 0; display: inline-block; position: relative; padding-right: 10px; } .user:focus { outline: none; } .user:hover .header-dropdown, .header-dropdown:hover, .user:focus .header-dropdown { transform: scale(1) translateY(0px); opacity: 1; pointer-events: all; } .user .header-dropdown * { z-index: 10; position: relative; } .user .header-dropdown .dropdown-hoverzone { z-index: 5; position: absolute; top: -54px; height: calc(100% + 54px + 4px); width: calc(100% + 8px); right: -4px; } .user .header-dropdown { position: absolute; color: $black; border: 1px solid $gray; border-radius: $medium-radius; background: $white; right: 4px; top: 54px; min-width: 145px; transform: scale(0.95) translateY(-3px); opacity: 0; transform-origin: top; pointer-events: none; transition: transform 0.1s, opacity 0.1s; } .user .header-dropdown .username { padding: 6px 12px; span { opacity: 0.9; font-size: 13px; } a { display: block; padding: 0px; font-size: 17px; line-height: 1; color: $black; } } .user .header-dropdown .links { border-top: 1px solid $gray; padding: 4px 0px; } .user .header-dropdown .links a { padding: 3px 12px; display: block; background-color: $white; color: $black; transition: background-color 0.07s, color 0.07s; } .user .header-dropdown .link:hover { color: $white; background-color: #1a7be9; } .avatar { height: 40px; width: 40px; text-align: center; border-radius: 100%; border: 1px solid #24292e; background-color: #fff; margin-top: 5px; overflow: hidden; z-index: 15; cursor: pointer; span { line-height: 40px; font-size: 25px; margin: 0; } img { height: 40px; width: 40px; margin: 0; object-fit: cover; } } .new { margin-right: 20px; } .new a { line-height: 50px; font-size: 16px !important; color: $white; } header { .login-button { color: $white; line-height: 50px; } } a.repo-author, a.repo-name { line-height: 50px; font-size: 20px !important; font-weight: 600; } .repo-visibility { font-size: 12px; font-weight: 500; padding: 2px 10px; border: 1px solid $gray; border-radius: 2em; color: $gray-dark; background-color: $white; line-height: 1.6; margin-left: 8px; vertical-align: middle; } .repo-visibility--private { color: #9a6700; border-color: #d4a72c; background-color: #fff8c5; } .slash { display: inline; line-height: 50px; font-size: 16px !important; color: $black; } header { background-color: $black; height: $header-height; color: white; } footer { max-width: $mob-max; margin: 0 auto; color: #777; margin-bottom:30px; } footer a { color: #777; text-decoration: underline; } #mainlogo { line-height: 50px; font-size: 20px !important; margin-left: 10px; float: left; color: white; } textarea, input { background: none; color: $black; border: 1px solid $gray; padding: 5px 8px; border-radius: $small-radius; transition: border-color 0.07s; } textarea:focus, input:focus { outline: none; border: 1px solid #4392eb; } .button, button, input[type="submit"] { cursor: pointer; background: none; color: $black; border: 1px solid $gray; padding: 5px 8px; border-radius: $small-radius; transition: background-color 0.07s, border-color 0.07s, color 0.07s; width: 50% !important; } .button:hover, button:hover, input[type="submit"]:hover { border: 1px solid #0366d6; background-color: #1a7be9; color: $white; } .button.disabled, button.disabled, input[type="submit"].disabled, button:disabled, input[type="submit"]:disabled { color: rgba(0, 0, 0, 0.6); border: 1px solid $gray-light; pointer-events: none; } form.vertical-form * { display: block; margin-bottom: 5px; } form.vertical-form *:last-child { margin-bottom: 0px; } form { .field { margin-top: 10px; } input[type="submit"] { margin-top: 10px; } } .form { max-width: 400px; //margin: 0 auto; input:not([type="checkbox"]):not([type="radio"]) { box-sizing: border-box; width: 100%; } textarea { box-sizing: border-box; width: 100%; } } .block { margin: auto; max-width: 700px; padding: 20px 10px 0 10px; } .list { margin-left: 20px; } .gitly-screenshot { width: 100%; } .table-features { border-collapse: collapse; border: 1px solid #dfdfdf; width: 100%; td { border-collapse: collapse; border: 1px solid #dfdfdf; padding: 5px; } } @keyframes alert-show { 0% { right: -100px; } 100% { right: 20px; } } .alert { position: absolute; top: 60px; right: 20px; padding: 20px; background-color: #d94338; color: #fff; cursor: pointer; border-radius: $small-radius; animation-name: alert-show; animation-duration: 1s; } .list-item { border: 1px solid #dfdfdf; border-radius: 3px; padding: 5px 0 5px 10px; margin-top: 10px; width: 100%; } .repos-header { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; .avatar { margin-top: 0; flex-shrink: 0; } h1 { margin: 0; font-size: 22px; line-height: 1.2; } } .repo-list { display: flex; flex-direction: column; gap: 10px; } .repo-card { border: 1px solid $gray; border-radius: $medium-radius; padding: 14px 18px; background-color: $white; color: $black; transition: border-color 0.1s, box-shadow 0.1s; &:hover { border-color: #b8c7d8; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); } } .repo-card__header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; } .repo-card__title { font-size: 17px; font-weight: 600; color: $link-color; &:hover { text-decoration: underline; } } .repo-card__footer { display: flex; align-items: center; gap: 12px; margin-top: 8px; } .repo-card__footer-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: $gray-dark; flex: 1; min-width: 0; } .repo-card__lang { display: inline-flex; align-items: center; gap: 5px; } .repo-card__lang-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.08); } .repo-card__updated { color: $gray-dark; } .repo-card__activity { flex-shrink: 0; width: 120px; height: 28px; overflow: visible; } .repo-card__badge { font-size: 11px; font-weight: 500; padding: 1px 8px; border: 1px solid $gray; border-radius: 2em; color: $gray-dark; background-color: $white; line-height: 1.6; } .repo-card__badge--private { color: #9a6700; border-color: #d4a72c; background-color: #fff8c5; } .repo-card__desc { margin: 4px 0 10px; color: $gray-dark; font-size: 14px; line-height: 1.4; } .repo-card__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: $gray-dark; } .repos-empty { color: $gray-dark; margin: 30px 0; font-size: 15px; } .settings-title { font-size: 24px; margin: 24px 0 18px; padding: 0; } .settings-section { border: 1px solid $gray; border-radius: $medium-radius; padding: 18px 20px; margin-bottom: 18px; background-color: $white; } .settings-section__title { font-size: 17px; font-weight: 600; margin: 0 0 4px; padding: 0; } .settings-section__desc { margin: 0 0 14px; color: $gray-dark; font-size: 13px; } .settings-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; input[type="text"], input[type="password"] { flex: 1; min-width: 200px; box-sizing: border-box; &::placeholder { color: $gray-dark; } } .settings-form__submit { width: auto !important; flex-shrink: 0; padding: 6px 14px; } } .features-form { flex-direction: column; align-items: flex-start; gap: 10px; } .features-form__option { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; input[type="checkbox"] { margin: 0; cursor: pointer; } } .settings-form__submit--danger { color: #cf222e !important; border-color: rgba(207, 34, 46, 0.4) !important; &:hover:not(:disabled) { color: $white !important; background-color: #cf222e !important; border-color: #cf222e !important; } &:disabled { color: rgba(207, 34, 46, 0.5) !important; border-color: rgba(207, 34, 46, 0.2) !important; background-color: transparent !important; cursor: not-allowed; } } .settings-section--danger { border-color: rgba(207, 34, 46, 0.4); .settings-section__title { color: #cf222e; } } .danger-action { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid rgba(207, 34, 46, 0.2); &:first-of-type { border-top: none; padding-top: 4px; } &:last-of-type { padding-bottom: 0; } } .danger-action__info { flex: 1; min-width: 220px; } .danger-action__title { font-size: 14px; font-weight: 600; margin: 0 0 2px; padding: 0; } .danger-action__desc { margin: 0; color: $gray-dark; font-size: 13px; } .danger-action__form { flex: 1; min-width: 280px; } .confirm-modal { position: fixed; inset: 0; background-color: rgba(15, 17, 21, 0.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; &[hidden] { display: none; } } .confirm-modal__dialog { background-color: #cf222e; color: $white; border-radius: $small-radius; max-width: 480px; width: 100%; padding: 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); } .confirm-modal__alert { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 1.35; } .confirm-modal__intro, .confirm-modal__outro, .confirm-modal__question { margin: 0 0 10px; font-size: 14px; color: $white; } .confirm-modal__question { margin-top: 16px; font-weight: 600; } .confirm-modal__stats { margin: 0 0 10px; padding-left: 20px; font-size: 14px; color: $white; li { margin: 2px 0; } } .confirm-modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; } .confirm-modal__btn { padding: 7px 16px; font-size: 14px; font-weight: 600; border-radius: $small-radius; border: 1px solid $white; background-color: transparent; color: $white; cursor: pointer; transition: background-color 0.12s, color 0.12s; &:hover { background-color: $white; color: #cf222e; } } .confirm-modal__btn--danger { background-color: $white; color: #cf222e; border-color: $white; &:hover { background-color: #b51d28; color: $white; border-color: $white; } } .new-repo { max-width: 640px; } .new-repo__header { margin: 24px 0 24px; h1 { font-size: 24px; margin: 0 0 4px; padding: 0; } } .new-repo__subtitle { margin: 0; color: $gray-dark; font-size: 13px; } .new-repo__form { display: flex; flex-direction: column; gap: 18px; } .new-repo__field { display: flex; flex-direction: column; gap: 6px; input[type="text"] { box-sizing: border-box; width: 100%; padding: 7px 10px; font-size: 14px; } } .new-repo__field--inline { gap: 0; } .new-repo__label { font-weight: 600; font-size: 13px; margin: 0; padding: 0; color: $black; } .new-repo__req { color: #cf222e; margin-left: 2px; } .new-repo__optional { color: $gray-dark; font-weight: normal; font-style: italic; margin-left: 4px; } .new-repo__name-row { display: flex; align-items: stretch; border: 1px solid $gray; border-radius: $small-radius; overflow: hidden; transition: border-color 0.07s; &:focus-within { border-color: #4392eb; } } .new-repo__owner { background-color: $gray-light; color: $gray-dark; padding: 7px 10px; border-right: 1px solid $gray; font-size: 14px; white-space: nowrap; display: flex; align-items: center; } .new-repo__name-input { flex: 1; border: none !important; border-radius: 0 !important; padding: 7px 10px !important; &:focus { border: none !important; outline: none; } } .new-repo__hint { margin: 0; color: $gray-dark; font-size: 12px; } .new-repo__checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; input[type="checkbox"] { margin: 0; } } .new-repo__option { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid $gray; border-radius: $small-radius; cursor: pointer; transition: border-color 0.07s, background-color 0.07s; margin-top: 6px; &:hover { border-color: #b8c7d8; background-color: #fafbfc; } input[type="radio"] { margin-top: 3px; } } .new-repo__option-body { display: flex; flex-direction: column; gap: 2px; } .new-repo__option-title { font-weight: 600; font-size: 14px; color: $black; } .new-repo__option-desc { color: $gray-dark; font-size: 12px; line-height: 1.4; } .new-repo__actions { padding-top: 18px; display: flex; justify-content: flex-start; } .new-repo__submit { width: auto !important; padding: 7px 18px; background-color: #1f883d; color: $white; border: 1px solid rgba(31, 136, 61, 0.6); font-weight: 500; &:hover { background-color: #1a7f37; border-color: rgba(27, 31, 36, 0.15); color: $white; } } .new-discussion { max-width: 720px; } .new-discussion__header { margin: 24px 0 20px; h1 { font-size: 24px; margin: 0; padding: 0; } } .new-discussion__form { display: flex; flex-direction: column; gap: 18px; } .new-discussion__field { display: flex; flex-direction: column; gap: 6px; } .new-discussion__label { font-weight: 600; font-size: 13px; margin: 0; padding: 0; color: $black; } .new-discussion__req { color: #cf222e; margin-left: 2px; } .new-discussion__title-input { box-sizing: border-box; width: 100%; padding: 8px 12px; font-size: 15px; } .new-discussion__textarea { box-sizing: border-box; width: 100%; padding: 10px 12px; font-size: 14px; font-family: inherit; line-height: 1.5; min-height: 180px; resize: vertical; } .new-discussion__option { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid $gray; border-radius: $small-radius; cursor: pointer; transition: border-color 0.07s, background-color 0.07s; margin-top: 6px; &:hover { border-color: #b8c7d8; background-color: #fafbfc; } input[type="radio"] { margin: 0; } } .new-discussion__option-body { display: flex; flex-direction: column; gap: 2px; } .new-discussion__option-title { font-weight: 600; font-size: 13px; color: $black; } .new-discussion__actions { padding-top: 6px; display: flex; justify-content: flex-start; } .new-discussion__submit { width: auto !important; padding: 7px 18px; background-color: #1f883d; color: $white; border: 1px solid rgba(31, 136, 61, 0.6); font-weight: 500; &:hover { background-color: #1a7f37; border-color: rgba(27, 31, 36, 0.15); color: $white; } } .issues-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 16px; .issues-header__title { font-size: 22px; margin: 0; padding: 0; } } .issues-header__actions { display: flex; align-items: center; gap: 12px; } .issues-header__milestones { color: $gray-dark; font-size: 13px; font-weight: 500; &:hover { text-decoration: underline; } } .issues-header__new { background-color: #1f883d; color: $white !important; padding: 6px 14px; border-radius: $small-radius; font-size: 13px; font-weight: 500; transition: background-color 0.07s; &:hover { background-color: #1a7f37; text-decoration: none; } } .issues-empty { color: $gray-dark; border: 1px solid $gray; border-radius: $medium-radius; padding: 30px; text-align: center; background-color: #fafbfc; } .issue-list { list-style: none; margin: 0; padding: 0; border: 1px solid $gray; border-radius: $medium-radius; overflow: hidden; background-color: $white; } .issue-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border-top: 1px solid $gray; transition: background-color 0.07s; &:first-child { border-top: none; } &:hover { background-color: #fafbfc; } } .issue-row__icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; } .issue-row__body { flex: 1; min-width: 0; } .issue-row__title { font-weight: 600; font-size: 15px; color: $black !important; line-height: 1.4; display: inline; &:hover { color: $link-color !important; text-decoration: none; } code { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; background-color: rgba(175, 184, 193, 0.2); padding: 1px 5px; border-radius: 4px; font-weight: 500; } } .issue-row__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .issue-row__labels { display: inline-flex; flex-wrap: wrap; gap: 4px; } .issue-label { display: inline-block; padding: 0 8px; font-size: 11px; font-weight: 600; line-height: 18px; border-radius: 10px; color: #fff; text-shadow: 0 0 1px rgba(0, 0, 0, 0.35); white-space: nowrap; } .issue-row__meta { display: flex; flex-wrap: wrap; gap: 6px; color: $gray-dark; font-size: 12px; margin-top: 4px; line-height: 1.4; } .issue-row__author { color: $gray-dark !important; font-size: 12px !important; &:hover { color: $link-color !important; text-decoration: underline; } } .issue-row__comments { display: flex; align-items: center; gap: 4px; color: $gray-dark !important; font-size: 12px !important; flex-shrink: 0; margin-top: 4px; svg { width: 14px; height: 14px; } &:hover { color: $link-color !important; text-decoration: none; } } .issue-pager { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 13px; color: $gray-dark; } .issue-pager__btn { padding: 4px 12px; border: 1px solid $gray; border-radius: $small-radius; color: $link-color; background-color: $white; &:hover { text-decoration: none; border-color: $link-color; } } .issue-pager__btn--disabled { color: $gray-dark; pointer-events: none; background-color: $gray-light; } .issue-pager__info { color: $gray-dark; } .issue-row__repo { color: $link-color !important; font-size: 12px !important; &:hover { text-decoration: underline; } } .user-issues-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 16px; @include mobile { grid-template-columns: 1fr; gap: 12px; } } .user-issues-sidebar { display: flex; flex-direction: column; gap: 2px; } .user-issues-sidebar__heading { display: flex; align-items: center; gap: 8px; padding: 8px 10px 12px; font-size: 16px; font-weight: 600; color: $black; border-bottom: 1px solid $gray; margin-bottom: 8px; } .user-issues-sidebar__heading-icon { width: 20px; height: 20px; color: $black; } .user-issues-sidebar__item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: $small-radius; color: $black !important; font-size: 14px; transition: background-color 0.07s; &:hover { background-color: $gray-light; text-decoration: none; } } .user-issues-sidebar__item--active { background-color: $gray-light; font-weight: 600; box-shadow: inset 2px 0 0 $link-color; } .user-issues-sidebar__icon { width: 16px; height: 16px; flex-shrink: 0; color: $gray-dark; } .user-issues-main { min-width: 0; } .lang_select { margin-right: 16px; display: inline-flex; } #select_lang { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-color: transparent; color: $white; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: $small-radius; padding: 5px 26px 5px 10px; font-size: 13px; line-height: 1.4; cursor: pointer; background-image: url("data:image/svg+xml;utf8,"); background-repeat: no-repeat; background-position: right 8px center; background-size: 9px 6px; transition: border-color 120ms ease, background-color 120ms ease; &:hover { border-color: rgba(255, 255, 255, 0.4); background-color: rgba(255, 255, 255, 0.06); } &:focus { outline: none; border-color: rgba(255, 255, 255, 0.6); } option { color: $black; background-color: $white; } } /* Pull request UI */ .pr-tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid $gray; } .pr-tab { padding: 6px 14px; color: $gray-dark !important; font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; &:hover { color: $link-color !important; text-decoration: none; } } .pr-tab--active { color: $black !important; border-bottom-color: #fd8c73; font-weight: 600; } .pr-status-badge { display: inline-block; padding: 1px 8px; font-size: 11px; font-weight: 600; border-radius: 2em; color: #fff; line-height: 1.6; text-transform: capitalize; } .pr-status--open { background-color: #1f883d; } .pr-status--closed { background-color: #cf222e; } .pr-status--merged { background-color: #8250df; } .pr-header { border-bottom: 1px solid $gray; padding-bottom: 14px; margin: 20px 0 18px; .pr-header__title { font-size: 24px; margin: 0; padding: 0; } .pr-header__num { color: $gray-dark; font-weight: 400; } .pr-header__meta { margin-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: $gray-dark; font-size: 13px; code { background-color: rgba(175, 184, 193, 0.2); padding: 1px 6px; border-radius: 4px; font-size: 12px; } } .pr-header__actions { margin-top: 12px; display: flex; gap: 6px; } } .pr-tab-link { padding: 5px 12px; border: 1px solid $gray; border-radius: $small-radius; color: $link-color !important; font-size: 13px; background: $white; &:hover { text-decoration: none; border-color: $link-color; } } .pr-tab-link--active { background-color: $gray-light; color: $black !important; font-weight: 600; } .pr-tab-link--info { color: $gray-dark !important; cursor: default; &:hover { border-color: $gray; } } .pr-body { border: 1px solid $gray; border-radius: $medium-radius; padding: 12px 14px; margin-bottom: 14px; } .pr-review-block { border: 1px solid $gray; border-radius: $medium-radius; padding: 12px 14px; margin-top: 14px; border-left-width: 4px; } .pr-review--approved { border-left-color: #1f883d; } .pr-review--changes { border-left-color: #cf222e; } .pr-review--comment { border-left-color: $gray; } .pr-review-header { display: flex; gap: 8px; align-items: center; img { height: 24px; width: 24px; border-radius: 100%; } } .pr-review-body { margin: 8px 0 0; } .pr-review-comments { list-style: none; padding: 0; margin: 10px 0 0; } .pr-review-comment { background-color: #f6f8fa; border-radius: $small-radius; padding: 6px 10px; margin-bottom: 6px; font-size: 13px; code { font-size: 12px; } p { margin: 4px 0 0; } } .pr-actions { display: flex; gap: 10px; margin-top: 16px; border-top: 1px solid $gray; padding-top: 14px; } .pr-action-form { margin: 0; } .pr-action { width: auto !important; padding: 6px 14px; font-weight: 500; font-size: 13px; } .pr-action--merge { background-color: #8250df; color: $white !important; border-color: rgba(130, 80, 223, 0.4); &:hover { background-color: #6f3fc4; border-color: rgba(130, 80, 223, 0.6); } } .pr-action--close { color: #cf222e !important; border-color: rgba(207, 34, 46, 0.4); &:hover { background-color: #cf222e; color: $white !important; border-color: #cf222e; } } .pr-action--review { background-color: #1f883d; color: $white !important; border-color: rgba(31, 136, 61, 0.4); &:hover { background-color: #1a7f37; } } .pr-compare-desc { color: $gray-dark; margin-bottom: 16px; font-size: 13px; } .pr-compare-form { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid $gray; border-radius: $medium-radius; background-color: #fafbfc; flex-wrap: wrap; } .pr-compare-label { display: flex; gap: 6px; align-items: center; font-size: 13px; color: $gray-dark; select { min-width: 160px; padding: 4px 8px; } } .pr-compare-arrow { color: $gray-dark; } .pr-compare-btn { width: auto !important; padding: 5px 12px; } .pr-compare-summary { margin: 14px 0; color: $gray-dark; font-size: 13px; } .pr-new-form { border: 1px solid $gray; border-radius: $medium-radius; padding: 14px; margin-bottom: 18px; background-color: $white; input[type="text"], textarea { width: 100%; box-sizing: border-box; } } .pr-new-submit { background-color: #1f883d; color: $white !important; width: auto !important; padding: 7px 18px; font-weight: 500; &:hover { background-color: #1a7f37; } } .pr-commits { list-style: none; padding: 0; border: 1px solid $gray; border-radius: $medium-radius; margin: 8px 0 18px; } .pr-commit { display: flex; gap: 10px; padding: 8px 12px; border-top: 1px solid $gray; font-size: 13px; &:first-child { border-top: none; } } .pr-commit__hash { color: $gray-dark; font-size: 12px; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; } .pr-commit__msg { flex: 1; } .pr-commit__author { color: $gray-dark; font-size: 12px; } .pr-files-summary { list-style: none; padding: 0; border: 1px solid $gray; border-radius: $medium-radius; margin: 8px 0 18px; } .pr-file-summary { display: flex; gap: 10px; padding: 6px 12px; border-top: 1px solid $gray; font-size: 13px; &:first-child { border-top: none; } a { flex: 1; } } .pr-file-summary__add { color: #1f883d; } .pr-file-summary__del { color: #cf222e; } .pr-diff { border: 1px solid $gray; border-radius: $medium-radius; margin-bottom: 18px; overflow: hidden; } .pr-diff__header { display: flex; justify-content: space-between; background-color: #f6f8fa; padding: 8px 12px; border-bottom: 1px solid $gray; font-size: 13px; } .pr-diff__path { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 600; } .pr-diff__counts { display: flex; gap: 8px; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; } .pr-diff__add { color: #1f883d; } .pr-diff__del { color: #cf222e; } .pr-diff__binary { padding: 14px; color: $gray-dark; text-align: center; font-style: italic; } .pr-diff__table { width: 100%; border-collapse: collapse; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; background-color: $white; } .pr-diff__hunk-header td, .pr-diff__hunk-header td code { background-color: #ddf4ff; color: #57606a; padding: 4px 12px; font-size: 12px; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; } .pr-diff__row td { padding: 0 8px; white-space: pre; vertical-align: top; line-height: 1.5; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; } .pr-diff__row--context td { background-color: $white; } .pr-diff__row--add td { background-color: #e6ffec; } .pr-diff__row--del td { background-color: #ffebe9; } .pr-diff__lineno { color: rgba(36, 41, 46, 0.4); text-align: right; width: 1%; user-select: none; min-width: 40px; border-right: 1px solid rgba(0, 0, 0, 0.04); } .pr-diff__sign { width: 1%; user-select: none; } .pr-diff__content { width: 100%; pre { margin: 0; font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; white-space: pre; } b { font-weight: 600; color: #cf222e; } u { text-decoration: none; color: #0a3069; } i { font-style: normal; color: #6e7781; } } .pr-diff__commentrow td { background-color: $white; padding: 4px 8px; } .pr-diff__commentbox { width: 100%; box-sizing: border-box; font-family: system-ui, sans-serif; font-size: 13px; } .pr-diff__inline-comment td { background-color: #fffbea; padding: 8px 12px; } .pr-inline-comment { font-family: system-ui, sans-serif; p { margin: 4px 0 0; } } .pr-inline-comment__meta { color: $gray-dark; font-size: 12px; } .pr-review-form { margin: 0; } .pr-review-submit { border: 1px solid $gray; border-radius: $medium-radius; padding: 12px; margin-bottom: 18px; background-color: #f6f8fa; textarea { width: 100%; box-sizing: border-box; margin-bottom: 10px; } } .pr-review-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 13px; } .inline-form { display: inline-block; margin: 0; } .link-button { font-size: 13px; padding: 5px 12px; background-color: $white; color: $black; border: 1px solid $gray; border-radius: $small-radius; cursor: pointer; font-family: inherit; line-height: 1.4; transition: background-color 0.07s, border-color 0.07s; &:hover { background-color: #f3f4f6; text-decoration: none; } } .link-button--danger { color: #cf222e; border-color: rgba(207, 34, 46, 0.3); &:hover { background-color: #cf222e; color: $white; border-color: #cf222e; } } .project-desc { color: $gray-dark; margin: -8px 0 20px; font-size: 14px; line-height: 1.5; } .kanban-board { display: flex; gap: 14px; align-items: flex-start; overflow-x: auto; padding: 4px 0 16px; margin: 0 -4px; } .kanban-column { flex: 0 0 280px; background-color: #f6f8fa; border: 1px solid $gray; border-radius: $medium-radius; display: flex; flex-direction: column; max-height: calc(100vh - 220px); } .kanban-column--add { background-color: transparent; border: 1px dashed $gray; .kanban-card-form { border-top: none; padding: 12px; } } .kanban-column__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid $gray; h3 { margin: 0; font-size: 13px; font-weight: 600; color: $black; text-transform: uppercase; letter-spacing: 0.4px; } .inline-form { display: inline; margin: 0; } .link-button--danger { color: $gray-dark; font-size: 18px; line-height: 1; background: none; border: none; cursor: pointer; padding: 0 4px; opacity: 0; transition: opacity 0.1s, color 0.1s, background-color 0.1s; &:hover { color: #cf222e; background: none; } } } .kanban-column:hover .kanban-column__header .link-button--danger { opacity: 1; } .kanban-cards { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; } .kanban-cards__empty { color: $gray-dark; font-size: 13px; text-align: center; padding: 16px 8px; border: 1px dashed $gray; border-radius: $small-radius; background-color: $white; } .kanban-card { background-color: $white; border: 1px solid $gray; border-radius: $small-radius; padding: 10px 12px; box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04); transition: box-shadow 0.07s, border-color 0.07s; &:hover { border-color: #b8b8b8; box-shadow: 0 1px 3px rgba(27, 31, 36, 0.08); .kanban-card__actions { opacity: 1; } } } .kanban-card__title { font-weight: 500; font-size: 14px; color: $black; line-height: 1.4; } .kanban-card__note { color: $gray-dark; font-size: 12px; margin: 6px 0 0; line-height: 1.45; white-space: pre-wrap; } .kanban-card__actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid $gray-light; opacity: 0; transition: opacity 0.1s; .inline-form { display: inline-flex; gap: 4px; margin: 0; align-items: center; } select { font-size: 12px; padding: 3px 6px; border: 1px solid $gray; border-radius: $small-radius; background-color: $white; color: $black; max-width: 130px; } .link-button { font-size: 12px; padding: 3px 8px; background-color: $white; border: 1px solid $gray; border-radius: $small-radius; color: $black; cursor: pointer; &:hover { background-color: #f3f4f6; } } .link-button--danger { color: #cf222e; margin-left: auto; border-color: transparent; background: none; padding: 3px 4px; &:hover { background-color: rgba(207, 34, 46, 0.08); } } } .kanban-card-form { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-top: 1px solid $gray; background-color: $white; border-bottom-left-radius: $medium-radius; border-bottom-right-radius: $medium-radius; input[type="text"], textarea { font-size: 13px; padding: 6px 8px; border: 1px solid $gray; border-radius: $small-radius; font-family: inherit; color: $black; background-color: $white; box-sizing: border-box; width: 100%; resize: vertical; &:focus { outline: none; border-color: #0969da; box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.18); } } textarea { min-height: 38px; } .link-button { align-self: flex-start; font-size: 12px; padding: 5px 12px; background-color: #1f883d; color: $white; border: 1px solid rgba(31, 136, 61, 0.6); border-radius: $small-radius; font-weight: 500; cursor: pointer; &:hover { background-color: #1a7f37; } } } .kanban-column--add .kanban-card-form .link-button { background-color: $white; color: $black; border-color: $gray; &:hover { background-color: #f3f4f6; } } @import "files.scss", "langs.scss", "tree.scss", "commits.scss", "hl_table.scss", "branches.scss", "admin.scss", "blob.scss", "contributors.scss", "issues.scss", "user.scss", "releases.scss", "feed.scss", "search.scss";