diff options
Diffstat (limited to 'web_src/css/repository.css')
-rw-r--r-- | web_src/css/repository.css | 94 |
1 files changed, 46 insertions, 48 deletions
diff --git a/web_src/css/repository.css b/web_src/css/repository.css index d724dc400a..6709b127db 100644 --- a/web_src/css/repository.css +++ b/web_src/css/repository.css @@ -591,85 +591,81 @@ display: inline-block; } -.repository.view.issue .title { - padding-bottom: 0 !important; -} - -.repository.view.issue .title .issue-title { - margin-bottom: 0.5rem; +.issue-title-header { + width: 100%; + padding-bottom: 4px; + margin-bottom: 1rem; } -.repository.view.issue .title .issue-title.edit-active { +.issue-title-meta { display: flex; align-items: center; } -.repository.view.issue .title .issue-title.edit-active h1 { +.repository.view.issue .issue-title-buttons, +.repository.view.issue .edit-buttons { display: flex; - width: 100%; } @media (max-width: 767px) { - .repository.view.issue .title .issue-title.edit-active { + .repository.view.issue .issue-title { flex-direction: column; } - .repository.view.issue .title .issue-title.edit-active h1 { - margin-right: 0; - margin-bottom: 1rem; - padding-right: 0; - } - .repository.view.issue .title .issue-title.edit-active h1 .ui.input input { - width: calc(100% - 2rem); - } - .repository.view.issue .title .issue-title.edit-active .edit-buttons { - padding-bottom: 1rem; - width: 100%; - } - .repository.view.issue .title .issue-title.edit-active .edit-buttons .button { - width: 100%; - margin-right: 0.5rem; - } - .repository.view.issue .title .issue-title.edit-active .edit-buttons .button:last-child { - margin-right: 0; + .repository.view.issue .edit-buttons { + margin-top: .5rem; } } -.repository.view.issue .title .issue-title h1 { +.repository.view.issue .issue-title { + display: flex; + align-items: center; + margin-bottom: 8px; +} + +.repository.view.issue .issue-title h1 { + display: flex; + align-items: center; + flex: 1; + width: 100%; font-weight: 300; - font-size: 2.3rem; + font-size: 32px; + line-height: 40px; margin: 0; - padding-right: 0.5rem; + padding-right: 0.25rem; + min-height: 41px; /* avoid layout shift on edit */ } -.repository.view.issue .title .issue-title h1 .ui.input { +.repository.view.issue .issue-title h1 .ui.input { font-size: 0.5em; - width: 100%; } -.repository.view.issue .title .issue-title h1 .ui.input input { +.repository.view.issue .issue-title h1 .ui.input input { font-size: 1.5em; - padding: 6px 1rem; + padding: 2px .5rem; } -.repository.view.issue .title .issue-title .edit-button { - float: right; - padding-left: 1rem; +.repository.view.issue .issue-title .index { + color: var(--color-text-light-2); } -.repository.view.issue .title .issue-title .edit-buttons { - display: flex; +.repository.view.issue .issue-title .label { + margin-right: 10px; } -.repository.view.issue .title .issue-title .index { - color: var(--color-text-light-2); +.repository.view.issue .issue-title .edit-zone { + margin-top: 10px; } -.repository.view.issue .title .issue-title .label { - margin-right: 10px; +.issue-state-label { + display: flex !important; + align-items: center !important; + font-size: 14px !important; + padding: 7px 10px !important; + border-radius: 6px !important; } -.repository.view.issue .title .issue-title .edit-zone { - margin-top: 10px; +.issue-state-label .svg { + margin-right: 4px; } .repository.view.issue .pull-desc code { @@ -1193,13 +1189,15 @@ .repository .milestone.list { list-style: none; - padding-top: 15px; } .repository .milestone.list > .item { padding-top: 10px; padding-bottom: 10px; - border-bottom: 1px dashed var(--color-secondary); +} + +.repository .milestone.list > .item + .item { + border-top: 1px solid var(--color-secondary); } .repository .milestone.list > .item progress { |