2015-07-24 02:20:05 +05:30
|
|
|
.repository {
|
2021-10-28 07:04:18 +05:30
|
|
|
.popup.commit-statuses {
|
|
|
|
// we had better limit the max size of the popup, and add scroll bars if the content size is too large.
|
|
|
|
// otherwise some part of the popup will be hidden by viewport boundary
|
|
|
|
max-height: 45vh;
|
|
|
|
max-width: 60vw;
|
2022-02-04 20:51:51 +05:30
|
|
|
|
2022-02-04 21:23:43 +05:30
|
|
|
&.ui.right {
|
2022-02-04 20:51:51 +05:30
|
|
|
// Override `.ui.attached.header .right:not(.dropdown) height: 30px;` which would otherwise lead to
|
|
|
|
// the status popup box having its height fixed at 30px. See https://github.com/go-gitea/gitea/issues/18498
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2021-10-28 07:04:18 +05:30
|
|
|
overflow: auto;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.list {
|
|
|
|
padding: .8em; // to make the scrollbar align to the border, we move the padding from outer `.popup` to this inside `.list`
|
|
|
|
|
|
|
|
> .item {
|
|
|
|
line-height: 2;
|
|
|
|
}
|
|
|
|
}
|
2020-12-20 08:43:12 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.repo-header {
|
|
|
|
.ui.compact.menu {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.header {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.fork-flag {
|
|
|
|
font-size: 12px;
|
2020-12-08 09:44:28 +05:30
|
|
|
margin-top: 2px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.repo-buttons .svg {
|
|
|
|
margin: 0 .42857143em 0 -.21428571em;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-12-01 07:15:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.button {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-08-14 04:19:38 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tabs {
|
2017-10-27 10:00:54 +05:30
|
|
|
.navbar {
|
2020-08-26 01:18:53 +05:30
|
|
|
justify-content: initial;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.navbar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.ui.label {
|
|
|
|
margin-left: 7px;
|
|
|
|
padding: 3px 5px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-08-14 04:19:38 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.owner.dropdown {
|
|
|
|
min-width: 40% !important;
|
|
|
|
}
|
|
|
|
|
2022-01-07 06:48:52 +05:30
|
|
|
.unicode-escaped .escaped-code-point {
|
|
|
|
&[data-escaped]::before {
|
|
|
|
visibility: visible;
|
|
|
|
content: attr(data-escaped);
|
|
|
|
font-family: var(--fonts-monospace);
|
|
|
|
color: var(--color-red);
|
|
|
|
}
|
|
|
|
|
|
|
|
.char {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.broken-code-point {
|
|
|
|
font-family: var(--fonts-monospace);
|
2022-08-14 00:02:34 +05:30
|
|
|
color: var(--color-blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.unicode-escaped .ambiguous-code-point {
|
|
|
|
border: 1px var(--color-yellow) solid;
|
2022-01-07 06:48:52 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.metas {
|
|
|
|
.menu {
|
|
|
|
overflow-x: auto;
|
|
|
|
max-height: 300px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.list {
|
|
|
|
&.assignees .icon {
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
2020-10-13 01:25:13 +05:30
|
|
|
&.assignees .teamavatar {
|
|
|
|
margin-top: .125rem;
|
|
|
|
margin-left: 6.75px;
|
|
|
|
margin-right: 8.75px;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.hide {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2020-11-14 06:46:46 +05:30
|
|
|
.dependency {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 0;
|
2020-11-10 23:58:07 +05:30
|
|
|
white-space: nowrap;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
.title {
|
|
|
|
max-width: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaLgAndDown {
|
2020-11-10 23:58:07 +05:30
|
|
|
.title {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
@media (max-width: 1000px) {
|
|
|
|
.title {
|
|
|
|
max-width: 100px;
|
2017-12-31 06:17:52 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-12-31 06:17:52 +05:30
|
|
|
}
|
2015-11-14 15:04:01 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#deadlineForm input {
|
|
|
|
width: 12.8rem;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.header-wrapper {
|
2020-11-27 01:03:28 +05:30
|
|
|
background-color: var(--color-navbar);
|
2020-06-15 22:56:10 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.tabs.divider {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.tabular .svg {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.filter.menu {
|
|
|
|
.label.color {
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 15px;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.labels {
|
|
|
|
.label-filter .menu .info {
|
|
|
|
display: inline-block;
|
|
|
|
padding: .5rem .25rem;
|
2020-11-29 11:52:04 +05:30
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
2018-07-16 18:13:00 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
code {
|
2020-11-29 11:52:04 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-radius: 3px;
|
|
|
|
padding: 1px 2px;
|
|
|
|
font-size: 11px;
|
2018-07-16 18:13:00 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.menu {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-x: auto;
|
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.select-label {
|
|
|
|
.desc {
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.tabs {
|
|
|
|
&.container {
|
|
|
|
margin-top: 14px;
|
|
|
|
margin-bottom: 0;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.menu {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.divider {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
2019-10-23 21:59:14 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#clone-panel {
|
2022-08-08 04:45:11 +05:30
|
|
|
#repo-clone-url {
|
|
|
|
width: 320px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2022-08-08 04:45:11 +05:30
|
|
|
@media @mediaMd {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
@media @mediaSm {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2018-03-13 07:33:55 +05:30
|
|
|
}
|
|
|
|
|
2020-11-29 21:22:11 +05:30
|
|
|
#repo-clone-https,
|
2021-04-13 05:40:57 +05:30
|
|
|
#repo-clone-ssh {
|
2020-11-29 21:22:11 +05:30
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2021-04-13 05:40:57 +05:30
|
|
|
#download-btn {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:first-of-type {
|
|
|
|
border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:last-of-type {
|
|
|
|
border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.dropdown .menu {
|
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.file.list {
|
|
|
|
.repo-description {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-11-14 15:04:01 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#repo-desc {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2015-11-14 15:04:01 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.choose.reference {
|
|
|
|
.header .icon {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.repo-path {
|
2015-11-14 15:04:01 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.section,
|
|
|
|
.divider {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#repo-files-table {
|
|
|
|
thead {
|
|
|
|
th {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
font-weight: normal;
|
2017-10-27 11:40:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.avatar {
|
|
|
|
margin-bottom: 5px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2016-08-15 14:12:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
tbody {
|
|
|
|
.svg {
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 5px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.octicon-reply {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2022-04-01 05:45:46 +05:30
|
|
|
&.octicon-file-directory-fill,
|
2020-08-26 01:18:53 +05:30
|
|
|
&.octicon-file-submodule {
|
2020-10-31 09:22:10 +05:30
|
|
|
color: var(--color-primary);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2021-12-04 18:47:22 +05:30
|
|
|
|
|
|
|
&.octicon-file,
|
|
|
|
&.octicon-file-symlink-file {
|
|
|
|
color: var(--color-secondary-dark-7);
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2016-08-15 14:12:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
td {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
overflow: initial;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.name {
|
2022-07-05 17:03:05 +05:30
|
|
|
@media @mediaXl {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
@media @mediaLg {
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
@media @mediaMd {
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
|
|
|
width: 33%;
|
|
|
|
|
|
|
|
max-width: calc(100vw - 140px);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.message {
|
2022-07-22 16:19:24 +05:30
|
|
|
color: var(--color-text-light-1);
|
|
|
|
|
2022-07-05 17:03:05 +05:30
|
|
|
@media @mediaXl {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
@media @mediaLg {
|
|
|
|
max-width: 350px;
|
|
|
|
}
|
|
|
|
@media @mediaMd {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
width: 66%;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2016-08-15 14:12:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.age {
|
|
|
|
width: 120px;
|
2022-07-22 16:19:24 +05:30
|
|
|
color: var(--color-text-light-1);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 21:22:44 +05:30
|
|
|
.truncate {
|
2020-08-28 02:15:37 +05:30
|
|
|
display: inline-block;
|
2020-08-26 01:18:53 +05:30
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2020-08-26 21:22:44 +05:30
|
|
|
width: 100%;
|
2020-08-28 02:15:37 +05:30
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2020-08-26 21:22:44 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.at {
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 3px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-09-10 14:33:30 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2019-09-10 14:33:30 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
td.message .isSigned {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2019-09-10 14:33:30 +05:30
|
|
|
|
2021-03-18 23:35:26 +05:30
|
|
|
tr:last-of-type {
|
|
|
|
td:first-child {
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
td:last-child {
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
tr:hover {
|
2022-09-23 08:30:29 +05:30
|
|
|
background-color: var(--color-hover);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-09-10 14:33:30 +05:30
|
|
|
|
2020-10-19 03:29:18 +05:30
|
|
|
tr.has-parent a {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
width: calc(100% - 1.25rem);
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.non-diff-file-content {
|
|
|
|
.header {
|
|
|
|
.icon {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.small.icon {
|
|
|
|
font-size: .75em;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tiny.icon {
|
|
|
|
font-size: .5em;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-02 01:34:26 +05:30
|
|
|
.file-actions {
|
2020-08-26 01:18:53 +05:30
|
|
|
.btn-octicon {
|
|
|
|
line-height: 1;
|
2021-04-23 03:13:44 +05:30
|
|
|
padding: 10px 8px;
|
2020-08-26 01:18:53 +05:30
|
|
|
vertical-align: middle;
|
2021-04-23 03:13:44 +05:30
|
|
|
color: var(--color-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.btn-octicon:hover {
|
2020-11-16 02:28:16 +05:30
|
|
|
color: var(--color-primary);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.btn-octicon-danger:hover {
|
2021-04-23 03:13:44 +05:30
|
|
|
color: var(--color-red);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.btn-octicon.disabled {
|
2021-02-25 18:05:43 +05:30
|
|
|
color: inherit;
|
|
|
|
opacity: var(--opacity-disabled);
|
2020-08-26 01:18:53 +05:30
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.view-raw {
|
|
|
|
padding: 5px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-04-23 03:13:44 +05:30
|
|
|
> * {
|
2020-08-26 01:18:53 +05:30
|
|
|
max-width: 100%;
|
2021-04-23 03:13:44 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
img {
|
2021-04-23 03:13:44 +05:30
|
|
|
margin: 1rem 0;
|
2020-08-26 01:18:53 +05:30
|
|
|
border-radius: 0;
|
2021-04-23 03:13:44 +05:30
|
|
|
object-fit: contain;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2021-04-23 03:13:44 +05:30
|
|
|
|
2022-07-20 21:18:06 +05:30
|
|
|
img[src$='.svg' i] {
|
|
|
|
max-height: 600px !important;
|
|
|
|
max-width: 600px !important;
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2016-08-15 14:12:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.plain-text {
|
|
|
|
padding: 1em 2em;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
pre {
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
}
|
2020-02-22 04:34:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.csv {
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2020-02-22 04:34:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
pre {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.sidebar {
|
|
|
|
padding-left: 0;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.svg {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.file.editor {
|
|
|
|
.treepath {
|
|
|
|
width: 100%;
|
2016-08-15 14:12:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
input {
|
|
|
|
vertical-align: middle;
|
|
|
|
box-shadow: rgba(0, 0, 0, .0745098) 0 1px 2px inset;
|
|
|
|
width: inherit;
|
|
|
|
padding: 7px 8px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-14 09:41:22 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tabular.menu {
|
|
|
|
.svg {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-04-30 01:38:04 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.commit-form-wrapper {
|
|
|
|
padding-left: 64px;
|
2019-08-16 03:39:50 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.commit-avatar {
|
|
|
|
float: left;
|
|
|
|
margin-left: -64px;
|
|
|
|
width: 3em;
|
|
|
|
height: auto;
|
|
|
|
}
|
2015-08-12 16:14:09 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.commit-form {
|
|
|
|
position: relative;
|
|
|
|
padding: 15px;
|
|
|
|
margin-bottom: 10px;
|
2020-11-16 19:23:04 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
2020-11-27 01:03:28 +05:30
|
|
|
background: var(--color-box-body);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-radius: 3px;
|
2020-12-27 19:54:27 +05:30
|
|
|
#avatar-arrow();
|
2015-08-12 16:14:09 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-11-27 01:03:28 +05:30
|
|
|
border-right-color: var(--color-box-body);
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-08-20 02:01:28 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.quick-pull-choice {
|
|
|
|
.branch-name {
|
|
|
|
display: inline-block;
|
2020-11-27 01:03:28 +05:30
|
|
|
padding: 2px 4px;
|
2020-10-20 01:31:06 +05:30
|
|
|
font: 12px var(--fonts-monospace);
|
2020-11-27 01:03:28 +05:30
|
|
|
color: var(--color-text);
|
|
|
|
background: var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-radius: 3px;
|
2020-11-27 01:03:28 +05:30
|
|
|
margin: 0 2px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.new-branch-name-input {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 25px;
|
2016-02-02 07:25:12 +05:30
|
|
|
|
2017-10-27 10:00:54 +05:30
|
|
|
input {
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 240px !important;
|
|
|
|
padding-left: 26px !important;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-08-03 15:12:09 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.octicon-git-branch {
|
|
|
|
position: absolute;
|
|
|
|
top: 9px;
|
|
|
|
left: 10px;
|
|
|
|
color: #b0c4ce;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-03 15:12:09 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.options {
|
|
|
|
#interval {
|
|
|
|
width: 100px !important;
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.danger {
|
|
|
|
.item {
|
|
|
|
padding: 20px 15px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
@comment-avatar-width: 3em;
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment textarea {
|
|
|
|
max-height: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new.issue {
|
|
|
|
.comment.form {
|
|
|
|
.comment {
|
|
|
|
.avatar {
|
|
|
|
width: @comment-avatar-width;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
margin-left: 4em;
|
2020-12-27 19:54:27 +05:30
|
|
|
#avatar-arrow();
|
2015-08-08 20:13:14 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-11-16 19:23:04 +05:30
|
|
|
border-right-color: var(--color-box-body);
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-05-07 14:13:41 +05:30
|
|
|
.markup {
|
2020-08-26 01:18:53 +05:30
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.metas {
|
|
|
|
min-width: 220px;
|
|
|
|
|
|
|
|
.filter.menu {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-x: auto;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-08-08 20:13:14 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.view.issue {
|
2020-12-15 11:39:24 +05:30
|
|
|
.instruct-toggle {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.title {
|
|
|
|
padding-bottom: 0 !important;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
.issue-title {
|
|
|
|
margin-bottom: .5rem;
|
2019-09-17 21:24:35 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
&.edit-active {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
h1 {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaSm {
|
2020-10-24 22:18:08 +05:30
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
.ui.input input {
|
|
|
|
width: calc(100% - 2rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-buttons {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: .5rem;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
h1 {
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 2.3rem;
|
|
|
|
margin: 0;
|
|
|
|
padding-right: .5rem;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
.ui.input {
|
|
|
|
font-size: .5em;
|
|
|
|
width: 100%;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-24 22:18:08 +05:30
|
|
|
input {
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 6px 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-button {
|
|
|
|
float: right;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-buttons {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.index {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text-light-2);
|
2020-10-24 22:18:08 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-zone {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.pull-desc {
|
|
|
|
code {
|
2020-10-31 09:22:10 +05:30
|
|
|
color: var(--color-primary);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2021-10-19 23:02:11 +05:30
|
|
|
a[data-clipboard-text] {
|
|
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
right: 1px;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-08-20 17:48:49 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.pull {
|
|
|
|
&.tabular.menu {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
|
|
|
.svg {
|
|
|
|
margin-right: 5px;
|
2017-05-05 12:45:36 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.merge.box {
|
|
|
|
.avatar {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.branch-update.grid {
|
|
|
|
.row {
|
|
|
|
padding-bottom: 1rem;
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.icon {
|
|
|
|
margin-top: 1.1rem;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.review-item {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.review-item-left,
|
|
|
|
.review-item-right {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.text {
|
|
|
|
margin: .3em 0 .5em .5em;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.type-icon {
|
|
|
|
align-self: flex-start;
|
|
|
|
margin-right: 1em;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
i {
|
|
|
|
line-height: 1.8em;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.divider {
|
|
|
|
margin: .5rem 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.review-content {
|
|
|
|
padding: 1em 0 1em 3.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-15 13:07:00 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment-list {
|
2020-11-10 23:58:07 +05:30
|
|
|
&:not(.prevent-before-timeline)::before {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 96px;
|
|
|
|
width: 2px;
|
2020-11-08 21:59:18 +05:30
|
|
|
background-color: var(--color-timeline);
|
2020-08-26 01:18:53 +05:30
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
margin-left: 40px;
|
|
|
|
padding-left: 16px;
|
2018-11-22 18:47:36 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::before { //ciara
|
2020-08-26 01:18:53 +05:30
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 30px;
|
|
|
|
width: 2px;
|
2020-11-08 21:59:18 +05:30
|
|
|
background-color: var(--color-timeline);
|
2020-08-26 01:18:53 +05:30
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
}
|
2018-11-22 18:47:36 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.timeline-item,
|
|
|
|
.timeline-item-group {
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
2018-11-22 18:47:36 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.timeline-item-group {
|
|
|
|
.timeline-item {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-15 13:07:00 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.timeline-item {
|
|
|
|
margin-left: 16px;
|
|
|
|
position: relative;
|
2018-11-22 18:47:36 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.timeline-avatar {
|
|
|
|
position: absolute;
|
|
|
|
left: -72px;
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
img {
|
2020-12-04 00:16:11 +05:30
|
|
|
width: 40px !important;
|
|
|
|
height: 40px !important;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2018-11-22 18:47:36 +05:30
|
|
|
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
/* Don't show the mobile oriented avatar ".inline-timeline-avatar" on desktop. Desktop uses the avatar with class ".timeline-avatar" */
|
|
|
|
.inline-timeline-avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-09-12 14:38:46 +05:30
|
|
|
img.avatar,
|
|
|
|
.avatar img {
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2021-05-17 01:48:18 +05:30
|
|
|
margin: 0 .25rem;
|
2021-10-26 17:59:48 +05:30
|
|
|
vertical-align: middle;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:first-child:not(.commit) {
|
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child:not(.commit) {
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge.badge-commit {
|
|
|
|
border-color: transparent;
|
2020-11-08 21:59:18 +05:30
|
|
|
background: radial-gradient(var(--color-body) 40%, transparent 40%) no-repeat;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
2020-11-16 02:28:16 +05:30
|
|
|
width: 34px;
|
|
|
|
height: 34px;
|
2020-11-08 21:59:18 +05:30
|
|
|
background-color: var(--color-timeline);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
|
|
float: left;
|
2020-11-23 15:12:24 +05:30
|
|
|
margin-left: -33px;
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-right: 8px;
|
2020-12-17 21:22:58 +05:30
|
|
|
color: var(--color-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.svg {
|
2020-11-01 03:45:11 +05:30
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 3px;
|
|
|
|
|
|
|
|
&.octicon-comment {
|
|
|
|
margin-top: 2px;
|
2020-04-11 03:31:41 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.comment > .content {
|
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.event > .text {
|
|
|
|
line-height: 32px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.commits-list {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
.singular-commit {
|
2020-11-23 15:12:24 +05:30
|
|
|
line-height: 34px; /* this must be same as .badge height, to avoid overflow */
|
2022-08-19 12:31:06 +05:30
|
|
|
clear: both; // reset the "float right shabox", in the future, use flexbox instead
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2022-09-12 14:38:46 +05:30
|
|
|
> img.avatar,
|
|
|
|
> .avatar img {
|
2020-11-30 21:41:17 +05:30
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shabox {
|
|
|
|
.sha.label {
|
|
|
|
margin: 0;
|
2020-12-27 16:23:53 +05:30
|
|
|
border: 1px solid var(--color-light-border);
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isWarning {
|
|
|
|
border: 1px solid #db2828;
|
|
|
|
background: fade(#db2828, 10%);
|
2020-06-07 02:00:10 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#db2828, 30%) !important;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerified {
|
|
|
|
border: 1px solid #21ba45;
|
|
|
|
background: fade(#21ba45, 10%);
|
2020-05-20 18:17:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#21ba45, 30%) !important;
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerifiedUntrusted {
|
|
|
|
border: 1px solid #fbbd08;
|
|
|
|
background: fade(#fbbd08, 10%);
|
2020-04-19 05:45:07 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-05-20 18:17:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#fbbd08, 30%) !important;
|
|
|
|
}
|
2020-05-20 18:17:24 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerifiedUnmatched {
|
|
|
|
border: 1px solid #f2711c;
|
|
|
|
background: fade(#f2711c, 10%);
|
2020-05-18 11:03:47 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#f2711c, 30%) !important;
|
|
|
|
}
|
2020-05-18 11:03:47 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.event > .commit-status-link {
|
|
|
|
float: right;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
2020-12-05 16:30:36 +05:30
|
|
|
font-weight: 600;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment-form-reply .footer {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
2022-10-12 02:12:31 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
.ui.segments {
|
|
|
|
margin-left: -2rem;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-01-17 22:59:10 +05:30
|
|
|
.ui.comments {
|
|
|
|
max-width: 100%;
|
2021-10-16 07:52:24 +05:30
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-right: .5rem;
|
|
|
|
}
|
2021-01-17 22:59:10 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment {
|
|
|
|
> .content {
|
|
|
|
> div:first-child {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
2019-11-25 17:20:46 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> div:last-child {
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
2020-01-06 00:55:27 +05:30
|
|
|
|
2020-11-08 04:45:09 +05:30
|
|
|
.comment-container {
|
2020-11-06 01:04:04 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
border-radius: var(--border-radius);
|
2020-11-10 07:13:08 +05:30
|
|
|
}
|
2020-11-06 01:04:04 +05:30
|
|
|
|
2020-11-10 07:13:08 +05:30
|
|
|
.content {
|
2021-10-16 08:25:06 +05:30
|
|
|
@media @mediaSm {
|
|
|
|
.form .button {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2020-06-16 01:20:12 +05:30
|
|
|
|
2021-10-16 08:25:06 +05:30
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2020-04-11 03:31:41 +05:30
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
}
|
|
|
|
}
|
2015-08-20 21:48:30 +05:30
|
|
|
|
2021-11-09 17:26:15 +05:30
|
|
|
.merge-section {
|
2021-10-16 08:25:06 +05:30
|
|
|
background-color: var(--color-box-body);
|
2018-09-07 08:02:46 +05:30
|
|
|
|
2021-10-16 08:25:06 +05:30
|
|
|
.item-section {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: -.25rem;
|
|
|
|
margin-bottom: -.25rem;
|
|
|
|
}
|
2020-11-16 19:23:04 +05:30
|
|
|
|
2021-11-09 17:26:15 +05:30
|
|
|
@media @mediaSm {
|
|
|
|
.item-section {
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-16 08:25:06 +05:30
|
|
|
.divider {
|
|
|
|
margin-left: -1rem;
|
|
|
|
margin-right: -1rem;
|
|
|
|
}
|
2020-10-06 05:01:25 +05:30
|
|
|
|
2021-10-16 08:25:06 +05:30
|
|
|
&.no-header {
|
|
|
|
#avatar-arrow();
|
2020-10-06 05:01:25 +05:30
|
|
|
|
2021-10-16 08:25:06 +05:30
|
|
|
&::after {
|
|
|
|
border-right-color: var(--color-box-body);
|
2020-10-06 05:01:25 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2021-11-09 17:26:15 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-11-09 17:26:15 +05:30
|
|
|
.markup {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
|
2021-11-09 17:26:15 +05:30
|
|
|
.no-content {
|
|
|
|
color: var(--color-text-light-2);
|
|
|
|
font-style: italic;
|
2017-05-05 12:45:36 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.form {
|
|
|
|
.field {
|
|
|
|
&:first-child {
|
|
|
|
clear: none;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.footer {
|
|
|
|
overflow: hidden;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-05-07 14:13:41 +05:30
|
|
|
.tab.markup {
|
2020-08-26 01:18:53 +05:30
|
|
|
min-height: 5rem;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 200px;
|
2020-10-20 01:31:06 +05:30
|
|
|
font-family: var(--fonts-monospace);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
Add Organization Wide Labels (#10814)
* Add organization wide labels
Implement organization wide labels similar to organization wide
webhooks. This lets you create individual labels for organizations that can be used
for all repos under that organization (so being able to reuse the same
label across multiple repos).
This makes it possible for small organizations with many repos to use
labels effectively.
Fixes #7406
* Add migration
* remove comments
* fix tests
* Update options/locale/locale_en-US.ini
Removed unused translation string
* show org labels in issue search label filter
* Use more clear var name
* rename migration after merge from master
* comment typo
* update migration again after rebase with master
* check for orgID <=0 per guillep2k review
* fmt
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* remove unused code
* Make sure RepoID is 0 when searching orgID per code review
* more changes/code review requests
* More descriptive translation var per code review
* func description/delete comment when issue label deleted instead of hiding it
* remove comment
* only use issues in that repo when calculating number of open issues for org label on repo label page
* Add integration test for IssuesSearch API with labels
* remove unused function
* Update models/issue_label.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Use subquery in GetLabelIDsInReposByNames
* Fix tests to use correct orgID
* fix more tests
* IssuesSearch api now uses new BuildLabelNamesIssueIDsCondition. Add a few more tests as well
* update comment for clarity
* Revert previous code change now that we can use the new BuildLabelNamesIssueIDsCondition
* Don't sort repos by date in IssuesSearch API
After much debugging I've found a strange issue where in some cases MySQL will return a different result than other enigines if a query is sorted by a null collumn. For example with our integration test data where we don't set updated_unix in repository fixtures:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 45
Returns different results for MySQL than other engines. However, the similar query:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 30
Returns the same results.
This causes integration tests to fail on MySQL in certain cases but would never show up in a real installation. Since this API call always returns issues based on the optionally provided repo_priority_id or the issueID itself, there is no change to results by changing the repo sorting method used to get ids earlier in the function.
* linter is back!
* code review
* remove now unused option
* Fix newline at end of files
* more unused code
* update to master
* check for matching ids before query
* Update models/issue_label.go
Co-Authored-By: 6543 <6543@obermui.de>
* Update models/issue_label.go
* update comments
* Update routers/org/setting.go
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2020-04-01 09:44:46 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.edit.buttons {
|
|
|
|
margin-top: 10px;
|
Add Organization Wide Labels (#10814)
* Add organization wide labels
Implement organization wide labels similar to organization wide
webhooks. This lets you create individual labels for organizations that can be used
for all repos under that organization (so being able to reuse the same
label across multiple repos).
This makes it possible for small organizations with many repos to use
labels effectively.
Fixes #7406
* Add migration
* remove comments
* fix tests
* Update options/locale/locale_en-US.ini
Removed unused translation string
* show org labels in issue search label filter
* Use more clear var name
* rename migration after merge from master
* comment typo
* update migration again after rebase with master
* check for orgID <=0 per guillep2k review
* fmt
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* remove unused code
* Make sure RepoID is 0 when searching orgID per code review
* more changes/code review requests
* More descriptive translation var per code review
* func description/delete comment when issue label deleted instead of hiding it
* remove comment
* only use issues in that repo when calculating number of open issues for org label on repo label page
* Add integration test for IssuesSearch API with labels
* remove unused function
* Update models/issue_label.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Use subquery in GetLabelIDsInReposByNames
* Fix tests to use correct orgID
* fix more tests
* IssuesSearch api now uses new BuildLabelNamesIssueIDsCondition. Add a few more tests as well
* update comment for clarity
* Revert previous code change now that we can use the new BuildLabelNamesIssueIDsCondition
* Don't sort repos by date in IssuesSearch API
After much debugging I've found a strange issue where in some cases MySQL will return a different result than other enigines if a query is sorted by a null collumn. For example with our integration test data where we don't set updated_unix in repository fixtures:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 45
Returns different results for MySQL than other engines. However, the similar query:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 30
Returns the same results.
This causes integration tests to fail on MySQL in certain cases but would never show up in a real installation. Since this API call always returns issues based on the optionally provided repo_priority_id or the issueID itself, there is no change to results by changing the repo sorting method used to get ids earlier in the function.
* linter is back!
* code review
* remove now unused option
* Fix newline at end of files
* more unused code
* update to master
* check for matching ids before query
* Update models/issue_label.go
Co-Authored-By: 6543 <6543@obermui.de>
* Update models/issue_label.go
* update comments
* Update routers/org/setting.go
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2020-04-01 09:44:46 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
Add Organization Wide Labels (#10814)
* Add organization wide labels
Implement organization wide labels similar to organization wide
webhooks. This lets you create individual labels for organizations that can be used
for all repos under that organization (so being able to reuse the same
label across multiple repos).
This makes it possible for small organizations with many repos to use
labels effectively.
Fixes #7406
* Add migration
* remove comments
* fix tests
* Update options/locale/locale_en-US.ini
Removed unused translation string
* show org labels in issue search label filter
* Use more clear var name
* rename migration after merge from master
* comment typo
* update migration again after rebase with master
* check for orgID <=0 per guillep2k review
* fmt
* Apply suggestions from code review
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* remove unused code
* Make sure RepoID is 0 when searching orgID per code review
* more changes/code review requests
* More descriptive translation var per code review
* func description/delete comment when issue label deleted instead of hiding it
* remove comment
* only use issues in that repo when calculating number of open issues for org label on repo label page
* Add integration test for IssuesSearch API with labels
* remove unused function
* Update models/issue_label.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Use subquery in GetLabelIDsInReposByNames
* Fix tests to use correct orgID
* fix more tests
* IssuesSearch api now uses new BuildLabelNamesIssueIDsCondition. Add a few more tests as well
* update comment for clarity
* Revert previous code change now that we can use the new BuildLabelNamesIssueIDsCondition
* Don't sort repos by date in IssuesSearch API
After much debugging I've found a strange issue where in some cases MySQL will return a different result than other enigines if a query is sorted by a null collumn. For example with our integration test data where we don't set updated_unix in repository fixtures:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 45
Returns different results for MySQL than other engines. However, the similar query:
SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` ORDER BY updated_unix DESC LIMIT 15 OFFSET 30
Returns the same results.
This causes integration tests to fail on MySQL in certain cases but would never show up in a real installation. Since this API call always returns issues based on the optionally provided repo_priority_id or the issueID itself, there is no change to results by changing the repo sorting method used to get ids earlier in the function.
* linter is back!
* code review
* remove now unused option
* Fix newline at end of files
* more unused code
* update to master
* check for matching ids before query
* Update models/issue_label.go
Co-Authored-By: 6543 <6543@obermui.de>
* Update models/issue_label.go
* update comments
* Update routers/org/setting.go
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
2020-04-01 09:44:46 +05:30
|
|
|
|
2020-11-06 01:04:04 +05:30
|
|
|
.code-comment {
|
|
|
|
border: 1px solid transparent;
|
2021-05-08 20:58:25 +05:30
|
|
|
padding: .25rem .5rem;
|
2020-12-17 21:22:58 +05:30
|
|
|
margin: 0;
|
2020-11-06 01:04:04 +05:30
|
|
|
|
|
|
|
.content {
|
|
|
|
border: none !important;
|
|
|
|
}
|
2020-12-17 21:22:58 +05:30
|
|
|
|
2021-01-17 22:59:10 +05:30
|
|
|
.comment-header {
|
|
|
|
background: transparent;
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
|
|
|
|
&::after,
|
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-08 20:58:25 +05:30
|
|
|
.comment-content {
|
|
|
|
margin-left: 36px;
|
|
|
|
}
|
|
|
|
|
2022-09-12 14:38:46 +05:30
|
|
|
img.avatar {
|
2020-12-17 21:22:58 +05:30
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
2020-11-06 01:04:04 +05:30
|
|
|
}
|
|
|
|
|
2021-01-17 22:59:10 +05:30
|
|
|
.comment-code-cloud {
|
|
|
|
.segment.reactions {
|
2021-05-12 11:46:22 +05:30
|
|
|
margin-top: 16px !important;
|
|
|
|
margin-bottom: -8px !important;
|
2021-01-17 22:59:10 +05:30
|
|
|
border-top: none !important;
|
|
|
|
|
|
|
|
.ui.label {
|
|
|
|
border: 1px solid;
|
2021-05-12 11:46:22 +05:30
|
|
|
padding: 6px 10px !important;
|
|
|
|
margin: 0 2px;
|
2021-01-17 22:59:10 +05:30
|
|
|
border-radius: var(--border-radius);
|
2021-05-12 11:46:22 +05:30
|
|
|
border-color: var(--color-secondary-dark-1) !important;
|
|
|
|
}
|
|
|
|
|
2022-05-20 03:38:08 +05:30
|
|
|
.ui.label.basic.primary {
|
2021-05-12 11:46:22 +05:30
|
|
|
background-color: var(--color-reaction-active-bg) !important;
|
|
|
|
border-color: var(--color-primary-alpha-80) !important;
|
2021-01-17 22:59:10 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.comment-form-reply {
|
2021-05-08 20:58:25 +05:30
|
|
|
margin: 0;
|
2021-01-17 22:59:10 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.event {
|
|
|
|
padding-left: 15px;
|
|
|
|
|
|
|
|
.detail {
|
|
|
|
font-size: .9rem;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segments {
|
|
|
|
box-shadow: none;
|
2020-10-15 13:47:48 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2022-10-12 02:12:31 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
padding: 1rem 0 !important; // Important is required here to override existing fomantic styles.
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.depending {
|
|
|
|
.item.is-closed {
|
|
|
|
.title {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment.form {
|
|
|
|
.ui.comments {
|
|
|
|
margin-top: -12px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.content {
|
|
|
|
.field:first-child {
|
|
|
|
clear: none;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.form {
|
2020-12-27 19:54:27 +05:30
|
|
|
#avatar-arrow();
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-11-16 19:23:04 +05:30
|
|
|
border-right-color: var(--color-box-body);
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 200px;
|
2020-10-20 01:31:06 +05:30
|
|
|
font-family: var(--fonts-monospace);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
Limit max-height of CodeMirror editors for issue comment and wiki (#18271)
* Make the wiki editor bar sticky for longer wiki edits
On codeberg community it was requested to make the wiki editor toolbar sticky for longer wiki posts, so one wouldn't have to scroll to the top to use it. (Reference; https://codeberg.org/Codeberg/Community/issues/533).
In order to make this happen, the .editor-toolbar class needs to become position: sticky, and we need to fix it's transparent background and border-bottom. Because the bottom disappears, we add it. This makes the border become a double border, because the CodeMirror area defines borders for all. As such I've added a border-top: none, on the wiki write tab for the CodeMirror class.
* Make the issue bar in the issue view sticky for issue #10675
In issue #10675 it's requested to make the issue bar sticky upon scrolling in the issue view. The proposed change changes inline html, which is not desirable. As such I've added the position sticky option to it's container, and fix the background upon scrolling.
* Make linter happy on _repository.less
Fix 0px -> 0 to make the linter happy.
* Make linter happy on _editor.less
Fix 0px -> 0 to make the linter happy.
* Change z-index to the lowest boundary of 1
As per review of @silverwind change the z-index to it's lowest requirement of 1.
* Change z-index to the lowest boundary of 1
As per review of @silverwind change the z-index to it's lowest requirement of 1.
* Revert changes made to wiki editor (unsticky) and add max-height
Fixes the max-height to 85vh, on the proposed 90vh it just came out just slightly too large.
Unstickies the changes from the sticky commits.
* Revert changes for the sticky title editor
Removes the changes as done by the sticky title editor.
* Add max-height definition to CodeMirror-scroll
Add the max-height definition for the CodeMirror-scroll class in order to generalize the changes spoken about in PR #18271
* Remove CodeMirror-scroll definition
Remove the max-height in CodeMirror-scroll definition, in order to generalize it in the CodeMirror less file. As per discussion in #18271.
* fine tune CodeMirror min-height/max-height
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-05 13:39:50 +05:30
|
|
|
|
|
|
|
.CodeMirror-scroll {
|
|
|
|
max-height: 85vh;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.milestone.list {
|
|
|
|
list-style: none;
|
|
|
|
padding-top: 15px;
|
|
|
|
|
|
|
|
> .item {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2020-11-29 11:52:04 +05:30
|
|
|
border-bottom: 1px dashed var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
2022-05-20 08:34:45 +05:30
|
|
|
progress {
|
|
|
|
width: 200px;
|
|
|
|
height: 16px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.meta {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text-light-2);
|
2020-08-26 01:18:53 +05:30
|
|
|
padding-top: 5px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.issue-stats .svg {
|
|
|
|
padding-left: 5px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-05-24 23:23:37 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.overdue {
|
2020-11-16 02:28:16 +05:30
|
|
|
color: var(--color-red);
|
2020-05-25 15:34:02 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-05-25 15:34:02 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.operate {
|
|
|
|
margin-top: -15px;
|
|
|
|
|
|
|
|
> a {
|
|
|
|
font-size: 15px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-right: 10px;
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text-light-2);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
&:hover {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-05-24 23:23:37 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-01-05 07:34:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.new.milestone {
|
|
|
|
textarea {
|
|
|
|
height: 200px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-01-05 07:34:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.compare.pull {
|
|
|
|
.show-form-container {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.choose.branch {
|
|
|
|
.svg {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.comment.form {
|
|
|
|
.content {
|
2020-12-27 19:54:27 +05:30
|
|
|
#avatar-arrow();
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-11-16 19:23:04 +05:30
|
|
|
border-right-color: var(--color-box-body);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.pullrequest-form {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
2019-05-05 21:55:25 +05:30
|
|
|
|
2021-05-07 14:13:41 +05:30
|
|
|
.markup {
|
2020-08-26 01:18:53 +05:30
|
|
|
font-size: 14px;
|
|
|
|
}
|
2021-12-24 17:44:42 +05:30
|
|
|
|
|
|
|
.title {
|
|
|
|
.issue-title {
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
.index {
|
|
|
|
color: var(--color-text-light-2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.filter.dropdown .menu {
|
|
|
|
margin-top: 1px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.branches {
|
|
|
|
.commit-divergence {
|
|
|
|
.bar-group {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
padding-bottom: 6px;
|
2020-10-03 04:40:43 +05:30
|
|
|
width: 50%;
|
|
|
|
max-width: 90px;
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
&:last-child {
|
2021-04-03 14:07:32 +05:30
|
|
|
border-left: 1px solid var(--color-secondary-dark-2);
|
2019-05-05 21:55:25 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-05 21:55:25 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.count {
|
|
|
|
margin: 0 3px;
|
|
|
|
|
|
|
|
&.count-ahead {
|
|
|
|
text-align: left;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.count-behind {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.bar {
|
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
2021-04-03 14:07:32 +05:30
|
|
|
background-color: var(--color-secondary-dark-2);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.bar-behind {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bar-ahead {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.commits {
|
|
|
|
.header {
|
|
|
|
.search {
|
|
|
|
input {
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 5px 10px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#commits-table {
|
|
|
|
thead {
|
|
|
|
th:first-of-type {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sha {
|
|
|
|
&td {
|
|
|
|
text-align: center;
|
2018-08-06 10:13:22 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-11-23 08:14:10 +05:30
|
|
|
width: 200px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td.sha .sha.label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.message {
|
|
|
|
text-overflow: unset;
|
|
|
|
}
|
2019-08-09 18:27:29 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.ui.basic.striped.table tbody tr:nth-child(2n) {
|
|
|
|
background-color: rgba(0, 0, 0, .02) !important;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-10-03 05:28:36 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#commits-table td.sha .sha.label,
|
|
|
|
#repo-files-table .sha.label,
|
2020-11-08 22:51:54 +05:30
|
|
|
#rev-list .sha.label,
|
2020-08-26 01:18:53 +05:30
|
|
|
.timeline-item.commits-list .singular-commit .sha.label {
|
2020-12-27 16:23:53 +05:30
|
|
|
border: 1px solid var(--color-light-border);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.signature.avatar {
|
|
|
|
height: 16px;
|
|
|
|
margin-bottom: 0;
|
2020-09-29 02:09:22 +05:30
|
|
|
width: 16px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail.icon {
|
2020-12-27 16:23:53 +05:30
|
|
|
background: var(--color-light);
|
2020-08-26 01:18:53 +05:30
|
|
|
margin: -6px -10px -4px 0;
|
|
|
|
padding: 5px 4px 5px 6px;
|
2020-12-27 16:23:53 +05:30
|
|
|
border-left: 1px solid var(--color-light-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-top: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.svg {
|
|
|
|
margin: 0 .25em 0 0;
|
|
|
|
}
|
2020-06-28 09:35:50 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isWarning {
|
|
|
|
border: 1px solid #db2828;
|
|
|
|
background: fade(#db2828, 10%);
|
2019-10-16 19:12:42 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #db2828;
|
|
|
|
color: #db2828;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#db2828, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
2019-10-16 19:12:42 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerified {
|
|
|
|
border: 1px solid #21ba45;
|
|
|
|
background: fade(#21ba45, 10%);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #21ba45;
|
|
|
|
color: #21ba45;
|
|
|
|
}
|
2019-08-04 18:25:20 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#21ba45, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerifiedUntrusted {
|
|
|
|
border: 1px solid #fbbd08;
|
|
|
|
background: fade(#fbbd08, 10%);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #fbbd08;
|
|
|
|
color: #fbbd08;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#fbbd08, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.isSigned.isVerifiedUnmatched {
|
|
|
|
border: 1px solid #f2711c;
|
|
|
|
background: fade(#f2711c, 10%);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #f2711c;
|
|
|
|
color: #f2711c;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
|
|
|
background: fade(#f2711c, 30%) !important;
|
|
|
|
}
|
2018-08-06 10:13:22 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-11-16 10:22:46 +05:30
|
|
|
|
2021-03-30 02:14:28 +05:30
|
|
|
.data-table {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
tr {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 5px !important;
|
|
|
|
overflow: hidden;
|
|
|
|
font-size: 12px;
|
|
|
|
text-align: left;
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: 600;
|
|
|
|
background: var(--color-box-header);
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.added,
|
|
|
|
th.added,
|
|
|
|
tr.added {
|
|
|
|
background-color: var(--color-diff-added-row-bg) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.removed,
|
|
|
|
th.removed,
|
|
|
|
tr.removed {
|
|
|
|
background-color: var(--color-diff-removed-row-bg) !important;
|
|
|
|
}
|
|
|
|
|
Prevent NPE in CSV diff rendering when column removed (#17018)
Fixes #16837 if a column is deleted.
We were clobbering the columns that were added by looping through the aline (base) and then when bline (head) was looped through, it clobbered what was in the "cells" array that is show in the diff, and then left a nil cell because nothing was shifted.
This fix properly shifts the cells, and properly puts the b cell either at its location or after, according to what the aline placed in the cells.
This includes test, adding a new test function since adding/removing cells works best with three columns, not two, which results in 4 columns of the resulting cells because it has a deleted column and an added column. If you try this locally, you can try those cases and others, such as adding a column.
There was no need to do anything special for the rows when `aline == 0 || bline == 0` so that was removed. This allows the same code to be used for removed or added lines, with the bcell text always being the RightCell, acell text being the LeftCell.
I still added the patch zeripath gave at https://github.com/go-gitea/gitea/issues/16837#issuecomment-913007382 so that just in case for some reason a cell is nil (which shouldn't happen now) it doesn't throw a 500 error, so the user can at least view the raw diff.
Also fixes in the [view.go](https://github.com/go-gitea/gitea/pull/17018/files#diff-43a7f4747c7ba8bff888c9be11affaafd595fd55d27f3333840eb19df9fad393L521) file how if a CSV file is empty (either created empty or if you edit it and remove all contents) it throws a huge 500 error when you then save it (when you view the file). Since we allow creating, saving and pushing empty files, we shouldn't throw an error on an empty CSV file, but just show its empty contents. This doesn't happen if it is a Markdown file or other type of file that is empty.
EDIT: Now handled in the markup/csv renderer code
2021-10-21 00:40:03 +05:30
|
|
|
td.moved,
|
|
|
|
th.moved,
|
|
|
|
tr.moved {
|
|
|
|
background-color: var(--color-diff-moved-row-bg) !important;
|
|
|
|
}
|
|
|
|
|
2021-03-30 02:14:28 +05:30
|
|
|
tbody.section {
|
|
|
|
border-top: 2px solid var(--color-secondary);
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-num {
|
2022-04-14 14:27:19 +05:30
|
|
|
&:extend(.unselectable);
|
2021-03-30 02:14:28 +05:30
|
|
|
width: 1%;
|
|
|
|
min-width: 50px;
|
|
|
|
font-family: monospace;
|
|
|
|
line-height: 20px;
|
|
|
|
color: var(--color-secondary-dark-2);
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: top;
|
|
|
|
cursor: pointer;
|
|
|
|
text-align: right;
|
|
|
|
background: var(--color-body);
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.diff-detail-box {
|
|
|
|
padding: 7px 0;
|
2020-12-20 23:30:03 +05:30
|
|
|
background: var(--color-body);
|
2020-08-26 01:18:53 +05:30
|
|
|
line-height: 30px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaMdAndDown {
|
2020-11-02 01:34:26 +05:30
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2021-02-11 23:58:51 +05:30
|
|
|
@media (max-width: 480px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.sticky {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 8;
|
2020-11-02 01:34:26 +05:30
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2020-10-31 17:47:32 +05:30
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 2px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-06-23 00:32:27 +05:30
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
> div::after {
|
2020-08-26 01:18:53 +05:30
|
|
|
clear: both;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-10-31 17:47:32 +05:30
|
|
|
.diff-detail-stats strong {
|
|
|
|
margin-left: .25rem;
|
|
|
|
margin-right: .25rem;
|
|
|
|
}
|
|
|
|
|
2021-02-11 23:58:51 +05:30
|
|
|
.diff-detail-stats {
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
font-size: 0;
|
|
|
|
line-height: 1.6rem;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-20 23:30:03 +05:30
|
|
|
.diff-detail-actions > * {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-detail-actions > * + * {
|
|
|
|
margin-left: .25rem;
|
2020-10-31 17:47:32 +05:30
|
|
|
}
|
|
|
|
|
2021-02-11 23:58:51 +05:30
|
|
|
.diff-detail-actions {
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
padding-top: .25rem;
|
|
|
|
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
.ui.button:not(.btn-submit) {
|
2021-02-11 23:58:51 +05:30
|
|
|
padding-left: .5rem;
|
|
|
|
padding-right: .5rem;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
span.status {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: middle;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.modify {
|
2020-12-20 23:30:03 +05:30
|
|
|
background-color: var(--color-yellow);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.add {
|
2020-12-20 23:30:03 +05:30
|
|
|
background-color: var(--color-green);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.del {
|
2020-12-20 23:30:03 +05:30
|
|
|
background-color: var(--color-red);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.rename {
|
2020-12-20 23:30:03 +05:30
|
|
|
background-color: var(--color-teal);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-01-04 17:48:12 +05:30
|
|
|
.diff-box .header:not(.resolved-placeholder) {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.file {
|
|
|
|
flex: 1;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2015-11-16 10:22:46 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.button {
|
2020-12-20 23:30:03 +05:30
|
|
|
padding: 8px 12px;
|
2020-08-26 01:18:53 +05:30
|
|
|
flex: 0 0 auto;
|
2020-12-20 23:30:03 +05:30
|
|
|
margin-top: -8px;
|
|
|
|
margin-bottom: -8px;
|
|
|
|
margin-right: 0;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-01-04 17:48:12 +05:30
|
|
|
.diff-box .resolved-placeholder {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.diff-file-box {
|
|
|
|
.header {
|
2020-11-08 21:59:18 +05:30
|
|
|
background-color: var(--color-box-header);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.file-body.file-code {
|
2020-12-17 21:22:58 +05:30
|
|
|
background: var(--color-code-bg);
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.lines-num {
|
2022-04-14 14:27:19 +05:30
|
|
|
&:extend(.unselectable);
|
2020-08-26 01:18:53 +05:30
|
|
|
text-align: right;
|
2020-12-17 21:22:58 +05:30
|
|
|
color: var(--color-text-light);
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 1%;
|
|
|
|
min-width: 50px;
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
span.fold {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.code-diff {
|
|
|
|
font-size: 12px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
td {
|
|
|
|
padding: 0 0 0 10px !important;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.lines-num {
|
|
|
|
padding: 0 5px !important;
|
|
|
|
}
|
2020-07-13 18:51:19 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tag-code .lines-num,
|
|
|
|
.tag-code td {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
td.halfwidth {
|
|
|
|
// halfwidth is used in split view - and in that case, 1% of each
|
|
|
|
width: 49%;
|
|
|
|
}
|
2015-12-08 01:50:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
td.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-07-13 18:51:19 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
[data-line-num]::before {
|
|
|
|
content: attr(data-line-num);
|
|
|
|
text-align: right;
|
|
|
|
}
|
2020-07-01 03:04:03 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.lines-type-marker {
|
2022-04-14 14:27:19 +05:30
|
|
|
&:extend(.unselectable);
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 10px;
|
|
|
|
min-width: 10px;
|
|
|
|
}
|
2020-07-01 03:04:03 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
[data-type-marker]::before {
|
|
|
|
content: attr(data-type-marker);
|
|
|
|
text-align: right;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.code-diff-split {
|
2021-09-18 23:29:21 +05:30
|
|
|
.tag-code .lines-code code.code-inner {
|
|
|
|
padding-left: 10px !important;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
table,
|
|
|
|
tbody {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-10-21 13:21:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.file-content {
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
img.emoji {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-10-21 13:21:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
clear: right;
|
2019-10-21 13:21:24 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.bottom.attached.table.segment {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.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;
|
|
|
|
padding-left: 6px;
|
2017-10-27 11:40:54 +05:30
|
|
|
}
|
2020-12-20 23:30:03 +05:30
|
|
|
|
|
|
|
li + li {
|
|
|
|
border-top: 1px solid var(--color-secondary);
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.repo-search-result {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.lines-num a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.quickstart {
|
|
|
|
.guide {
|
|
|
|
.item {
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
small {
|
|
|
|
font-weight: normal;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-11-17 09:58:46 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.clone.button:first-child {
|
2020-10-25 00:45:29 +05:30
|
|
|
border-radius: var(--border-radius) 0 0 var(--border-radius);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.action.small.input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#repo-clone-url {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-size: 1.2em;
|
2021-01-02 00:35:40 +05:30
|
|
|
line-height: 1.4;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.release {
|
|
|
|
#release-list {
|
2020-11-16 02:28:16 +05:30
|
|
|
border-top: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-top: 20px;
|
|
|
|
padding-top: 15px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-03 04:40:22 +05:30
|
|
|
.release-list-title {
|
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: normal;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> li {
|
|
|
|
list-style: none;
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.meta,
|
|
|
|
.detail {
|
|
|
|
padding-top: 30px;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.meta {
|
|
|
|
text-align: right;
|
|
|
|
position: relative;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2021-05-03 22:57:48 +05:30
|
|
|
.label {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tag:not(.icon) {
|
|
|
|
display: block;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2021-05-03 22:57:48 +05:30
|
|
|
|
|
|
|
.choose {
|
|
|
|
margin-top: 15px;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.detail {
|
2020-11-16 02:28:16 +05:30
|
|
|
border-left: 2px solid var(--color-secondary);
|
2015-11-17 12:48:05 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.author {
|
|
|
|
img {
|
|
|
|
margin-bottom: -3px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.download {
|
|
|
|
> a {
|
|
|
|
.svg {
|
|
|
|
margin-left: 5px;
|
2017-10-27 10:00:54 +05:30
|
|
|
margin-right: 5px;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.list {
|
|
|
|
padding-left: 0;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
display: block;
|
2021-05-23 06:15:39 +05:30
|
|
|
padding: 8px;
|
|
|
|
border: 1px solid var(--color-secondary);
|
|
|
|
background: var(--color-light);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
a > .text.right {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2021-05-23 06:15:39 +05:30
|
|
|
|
|
|
|
li + li {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:first-of-type {
|
|
|
|
border-radius: var(--border-radius) 0 0 var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
li:last-of-type {
|
|
|
|
border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.dot {
|
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
2020-11-03 04:40:22 +05:30
|
|
|
background-color: #ddd;
|
2021-05-03 22:57:48 +05:30
|
|
|
z-index: 9;
|
2020-08-26 01:18:53 +05:30
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
left: -5px;
|
|
|
|
top: 40px;
|
|
|
|
border-radius: 6px;
|
|
|
|
border: 1px solid #ffffff;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-11-03 04:40:22 +05:30
|
|
|
|
|
|
|
#tags-table {
|
2022-01-17 18:56:35 +05:30
|
|
|
.tag {
|
|
|
|
padding: 8px 12px;
|
|
|
|
}
|
|
|
|
|
2020-11-03 04:40:22 +05:30
|
|
|
.release-tag-name {
|
2022-01-17 18:56:35 +05:30
|
|
|
font-size: 20px;
|
2020-11-03 04:40:22 +05:30
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.new.release {
|
|
|
|
.target {
|
|
|
|
min-width: 500px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#tag-name {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.at {
|
|
|
|
margin-left: -5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selection.dropdown {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-11-26 06:40:25 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.prerelease.field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.field {
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
button,
|
|
|
|
input {
|
2020-11-17 11:03:19 +05:30
|
|
|
@media (max-width: 438px) {
|
2020-08-26 01:18:53 +05:30
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
button {
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaSm {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-bottom: 1em;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2021-03-22 21:39:51 +05:30
|
|
|
|
|
|
|
.wrap_remove {
|
|
|
|
height: 38px;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2021-03-22 21:39:51 +05:30
|
|
|
.attachment_edit {
|
|
|
|
width: 450px !important;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-11-26 06:40:25 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.forks {
|
|
|
|
.list {
|
|
|
|
margin-top: 0;
|
2015-11-27 10:54:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.item {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2020-11-16 02:28:16 +05:30
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
.ui.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-12-01 07:15:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.link {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2022-03-30 14:12:47 +05:30
|
|
|
&.packages {
|
|
|
|
.empty {
|
|
|
|
padding-top: 70px;
|
|
|
|
padding-bottom: 100px;
|
|
|
|
|
|
|
|
.svg {
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-size {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.wiki {
|
|
|
|
&.start {
|
|
|
|
.ui.segment {
|
|
|
|
padding-top: 70px;
|
|
|
|
padding-bottom: 100px;
|
2015-11-27 10:54:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.svg {
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-11-18 01:12:44 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.new {
|
|
|
|
.ui.attached.tabular.menu.previewtabs {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2015-11-17 12:48:05 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.view {
|
2021-05-07 14:13:41 +05:30
|
|
|
> .markup {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 15px 30px;
|
2016-08-14 16:02:24 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 13:46:22 +05:30
|
|
|
|
Limit max-height of CodeMirror editors for issue comment and wiki (#18271)
* Make the wiki editor bar sticky for longer wiki edits
On codeberg community it was requested to make the wiki editor toolbar sticky for longer wiki posts, so one wouldn't have to scroll to the top to use it. (Reference; https://codeberg.org/Codeberg/Community/issues/533).
In order to make this happen, the .editor-toolbar class needs to become position: sticky, and we need to fix it's transparent background and border-bottom. Because the bottom disappears, we add it. This makes the border become a double border, because the CodeMirror area defines borders for all. As such I've added a border-top: none, on the wiki write tab for the CodeMirror class.
* Make the issue bar in the issue view sticky for issue #10675
In issue #10675 it's requested to make the issue bar sticky upon scrolling in the issue view. The proposed change changes inline html, which is not desirable. As such I've added the position sticky option to it's container, and fix the background upon scrolling.
* Make linter happy on _repository.less
Fix 0px -> 0 to make the linter happy.
* Make linter happy on _editor.less
Fix 0px -> 0 to make the linter happy.
* Change z-index to the lowest boundary of 1
As per review of @silverwind change the z-index to it's lowest requirement of 1.
* Change z-index to the lowest boundary of 1
As per review of @silverwind change the z-index to it's lowest requirement of 1.
* Revert changes made to wiki editor (unsticky) and add max-height
Fixes the max-height to 85vh, on the proposed 90vh it just came out just slightly too large.
Unstickies the changes from the sticky commits.
* Revert changes for the sticky title editor
Removes the changes as done by the sticky title editor.
* Add max-height definition to CodeMirror-scroll
Add the max-height definition for the CodeMirror-scroll class in order to generalize the changes spoken about in PR #18271
* Remove CodeMirror-scroll definition
Remove the max-height in CodeMirror-scroll definition, in order to generalize it in the CodeMirror less file. As per discussion in #18271.
* fine tune CodeMirror min-height/max-height
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-06-05 13:39:50 +05:30
|
|
|
.form .CodeMirror-scroll {
|
|
|
|
max-height: 85vh;
|
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaSm {
|
2020-08-26 01:18:53 +05:30
|
|
|
.dividing.header .stackable.grid .button {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
2022-08-08 04:45:11 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
#clone-panel #repo-clone-url {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.settings {
|
|
|
|
&.collaboration {
|
|
|
|
.collaborator.list {
|
|
|
|
padding: 0;
|
2019-09-24 01:38:03 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> .item {
|
|
|
|
margin: 0;
|
|
|
|
line-height: 2em;
|
2019-09-24 01:38:03 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:not(:last-child) {
|
2020-11-16 02:28:16 +05:30
|
|
|
border-bottom: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-09-14 13:46:22 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#repo-collab-form {
|
|
|
|
#search-user-box {
|
|
|
|
.results {
|
|
|
|
left: 7px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.button {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
#repo-collab-team-form {
|
|
|
|
#search-team-box {
|
|
|
|
.results {
|
|
|
|
left: 7px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.button {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.branches {
|
|
|
|
.protected-branches {
|
|
|
|
.selection.dropdown {
|
|
|
|
width: 300px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.item {
|
2020-11-13 07:01:25 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 10px 15px;
|
2017-10-27 10:00:54 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-09-14 13:46:22 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.branch-protection {
|
|
|
|
.help {
|
|
|
|
margin-left: 26px;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.fields {
|
|
|
|
margin-left: 20px;
|
|
|
|
display: block;
|
2017-03-22 16:13:54 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.whitelist {
|
|
|
|
margin-left: 26px;
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.dropdown img {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.webhook {
|
|
|
|
.events {
|
|
|
|
.column {
|
|
|
|
padding-bottom: 0;
|
2019-05-07 00:13:40 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.help {
|
|
|
|
font-size: 13px;
|
|
|
|
margin-left: 26px;
|
|
|
|
padding-top: 0;
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.attached.isSigned.isWarning {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-left: 1px solid var(--color-error-border);
|
|
|
|
border-right: 1px solid var(--color-error-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
&.top,
|
|
|
|
&.message {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-top: 1px solid var(--color-error-border);
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
2021-12-01 05:10:17 +05:30
|
|
|
background-color: var(--color-error-bg);
|
|
|
|
color: var(--color-error-text);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.text {
|
2021-12-01 05:10:17 +05:30
|
|
|
color: var(--color-error-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-bottom: 1px solid var(--color-error-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.attached.isSigned.isVerified {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-left: 1px solid var(--color-success-border);
|
|
|
|
border-right: 1px solid var(--color-success-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
|
|
|
|
&.top,
|
|
|
|
&.message {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-top: 1px solid var(--color-success-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
2021-12-01 05:10:17 +05:30
|
|
|
background-color: var(--color-success-bg);
|
|
|
|
color: var(--color-success-text);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.pull-right {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.text {
|
2021-12-01 05:10:17 +05:30
|
|
|
color: var(--color-success-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-bottom: 1px solid var(--color-success-border);
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2021-12-01 05:10:17 +05:30
|
|
|
.ui.attached.isSigned.isVerifiedUntrusted,
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.attached.isSigned.isVerifiedUnmatched {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-left: 1px solid var(--color-warning-border);
|
|
|
|
border-right: 1px solid var(--color-warning-border);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.top,
|
|
|
|
&.message {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-top: 1px solid var(--color-warning-border);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
2021-12-01 05:10:17 +05:30
|
|
|
background-color: var(--color-warning-bg);
|
|
|
|
color: var(--color-warning-text);
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.text {
|
2021-12-01 05:10:17 +05:30
|
|
|
color: var(--color-warning-text);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
2021-12-01 05:10:17 +05:30
|
|
|
border-bottom: 1px solid var(--color-warning-border);
|
2020-02-28 00:50:55 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-28 00:50:55 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.segment.sub-menu {
|
|
|
|
padding: 7px;
|
|
|
|
line-height: 0;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.list {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2021-10-17 19:35:32 +05:30
|
|
|
align-items: center;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.item {
|
|
|
|
width: 100%;
|
2021-03-15 01:57:58 +05:30
|
|
|
color: var(--color-text);
|
2020-10-25 00:45:29 +05:30
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
border-radius: var(--border-radius) 0 0 var(--border-radius);
|
2021-10-17 19:35:32 +05:30
|
|
|
padding-left: .25rem;
|
2020-10-25 00:45:29 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
2021-10-17 19:35:32 +05:30
|
|
|
padding-right: .25rem;
|
2020-10-25 00:45:29 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
a {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover {
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-primary-light-2);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.active {
|
2020-11-29 11:52:04 +05:30
|
|
|
background: var(--color-secondary);
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-27 10:00:54 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segment.reactions,
|
|
|
|
.select-reaction {
|
|
|
|
&.dropdown .menu {
|
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
|
|
|
min-width: 15em;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> .header {
|
|
|
|
margin: .75rem 0 .5rem;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> .item {
|
|
|
|
float: left;
|
|
|
|
padding: .25rem !important;
|
|
|
|
margin: .25rem;
|
|
|
|
font-size: 1.5em;
|
|
|
|
width: 39px;
|
|
|
|
left: 13px;
|
2020-08-28 23:09:41 +05:30
|
|
|
border-radius: 6px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
img.emoji {
|
|
|
|
margin-right: 0;
|
2017-12-04 04:44:26 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-08-28 23:09:41 +05:30
|
|
|
|
|
|
|
> .item:hover {
|
2020-10-31 17:47:32 +05:30
|
|
|
background: var(--color-primary);
|
2020-08-28 23:09:41 +05:30
|
|
|
}
|
2017-12-04 04:44:26 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segment.reactions {
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
2020-11-06 01:04:04 +05:30
|
|
|
border: none !important;
|
|
|
|
border-top: 1px solid var(--color-secondary) !important;
|
|
|
|
width: 100% !important;
|
|
|
|
max-width: 100% !important;
|
|
|
|
margin: 0 !important;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.label {
|
|
|
|
max-height: 40px;
|
2020-10-31 17:47:32 +05:30
|
|
|
padding: 10px 18px !important;
|
2020-08-26 01:18:53 +05:30
|
|
|
display: flex !important;
|
|
|
|
align-items: center;
|
|
|
|
border: 0;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
2020-11-06 01:04:04 +05:30
|
|
|
border-color: var(--color-secondary) !important;
|
2021-05-12 11:46:22 +05:30
|
|
|
background: var(--color-reaction-bg);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.disabled {
|
|
|
|
cursor: default;
|
2020-11-01 03:45:11 +05:30
|
|
|
opacity: 1;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-11-01 03:45:11 +05:30
|
|
|
.ui.label.basic {
|
|
|
|
color: var(--color-primary) !important;
|
|
|
|
}
|
|
|
|
|
2022-05-20 03:38:08 +05:30
|
|
|
.ui.label.basic.primary {
|
2021-05-12 11:46:22 +05:30
|
|
|
background-color: var(--color-reaction-active-bg) !important;
|
2020-11-06 01:04:04 +05:30
|
|
|
border-color: var(--color-secondary) !important;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-11-16 03:17:04 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.reaction-count {
|
|
|
|
margin-left: .5rem;
|
|
|
|
}
|
2020-04-28 23:35:39 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.select-reaction {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 14px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:not(.active) a {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&:hover .select-reaction a {
|
|
|
|
display: block;
|
2017-12-04 04:44:26 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-10-29 05:49:18 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.fluid.action.input {
|
|
|
|
.ui.search.action.input {
|
|
|
|
flex: auto;
|
2019-10-29 05:49:18 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-02-11 15:04:17 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.repository-summary {
|
2020-10-25 00:45:29 +05:30
|
|
|
box-shadow: none !important;
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segment.language-stats-details,
|
|
|
|
.segment.repository-summary {
|
|
|
|
border-top: none;
|
|
|
|
background: none;
|
|
|
|
}
|
2020-02-27 02:14:14 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segment.language-stats-details .item {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-03-20 07:40:02 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.segment.language-stats {
|
2022-04-14 14:27:19 +05:30
|
|
|
&:extend(.unselectable);
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 0;
|
|
|
|
height: 11px;
|
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 0;
|
2020-02-27 02:14:14 +05:30
|
|
|
|
2021-10-17 19:35:32 +05:30
|
|
|
@media @mediaSm {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.bar {
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-06-03 08:10:08 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-06-03 08:10:08 +05:30
|
|
|
|
2020-10-25 00:45:29 +05:30
|
|
|
.repository-menu {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository-menu .item {
|
|
|
|
padding-top: 9px !important;
|
|
|
|
padding-bottom: 9px !important;
|
|
|
|
}
|
2015-08-06 20:18:11 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2015-10-03 05:28:36 +05:30
|
|
|
// End of .repository
|
2015-08-06 20:18:11 +05:30
|
|
|
|
2015-12-21 17:54:11 +05:30
|
|
|
&.user-cards {
|
2020-08-26 01:18:53 +05:30
|
|
|
.list {
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-12-03 01:18:43 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.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;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.name {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.meta {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-12-21 17:54:11 +05:30
|
|
|
}
|
|
|
|
|
2015-11-22 12:02:09 +05:30
|
|
|
#search-repo-box,
|
2015-11-17 12:48:05 +05:30
|
|
|
#search-user-box {
|
2020-08-26 01:18:53 +05:30
|
|
|
.results {
|
|
|
|
.result {
|
2022-09-12 14:38:46 +05:30
|
|
|
img {
|
2020-08-26 01:18:53 +05:30
|
|
|
float: left;
|
|
|
|
margin-right: 8px;
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.content {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-11-17 12:48:05 +05:30
|
|
|
}
|
|
|
|
|
2019-09-24 01:38:03 +05:30
|
|
|
#search-team-box {
|
2020-08-26 01:18:53 +05:30
|
|
|
.results {
|
|
|
|
.result {
|
|
|
|
.content {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
2019-09-24 01:38:03 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-09-24 01:38:03 +05:30
|
|
|
}
|
|
|
|
|
2019-02-20 04:39:47 +05:30
|
|
|
#issue-filters.hide {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: none;
|
2017-03-15 06:40:35 +05:30
|
|
|
}
|
|
|
|
|
2019-02-27 22:54:21 +05:30
|
|
|
#issue-actions {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-top: -1rem !important; // counteract padding from Semantic
|
2019-02-27 22:54:21 +05:30
|
|
|
}
|
|
|
|
|
2019-02-20 04:39:47 +05:30
|
|
|
#issue-actions.hide {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: none;
|
2019-02-20 04:39:47 +05:30
|
|
|
}
|
|
|
|
|
2020-02-12 02:55:41 +05:30
|
|
|
.ui.menu .item > img:not(.ui) {
|
2020-08-26 01:18:53 +05:30
|
|
|
width: auto;
|
2020-02-12 02:55:41 +05:30
|
|
|
}
|
|
|
|
|
2015-08-25 20:28:34 +05:30
|
|
|
.page.buttons {
|
2020-08-26 01:18:53 +05:30
|
|
|
padding-top: 15px;
|
2015-08-25 20:28:34 +05:30
|
|
|
}
|
|
|
|
|
2021-12-01 05:10:17 +05:30
|
|
|
.commit-header-row {
|
|
|
|
min-height: 50px !important;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-08-15 18:25:03 +05:30
|
|
|
.settings {
|
2020-08-26 01:18:53 +05:30
|
|
|
.content {
|
|
|
|
> .header,
|
|
|
|
.segment {
|
2020-11-08 21:59:18 +05:30
|
|
|
box-shadow: 0 1px 2px 0 var(--color-box-header);
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.list {
|
|
|
|
> .item {
|
|
|
|
&:not(:first-child) {
|
2020-11-13 07:01:25 +05:30
|
|
|
border-top: 1px solid var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
padding: 1rem;
|
|
|
|
margin: 15px -1rem -1rem;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> .svg {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
> .svg + .content {
|
|
|
|
display: table-cell;
|
|
|
|
padding: 0 0 0 .5em;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.info {
|
|
|
|
margin-top: 10px;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.tab.segment {
|
|
|
|
border: 0;
|
|
|
|
padding: 10px 0 0;
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.key {
|
|
|
|
.meta {
|
|
|
|
padding-top: 5px;
|
2020-11-29 11:52:04 +05:30
|
|
|
color: var(--color-text-light-2);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.email {
|
|
|
|
> .item:not(:first-child) {
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.collaborator {
|
|
|
|
> .item {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-07-24 20:43:42 +05:30
|
|
|
}
|
|
|
|
|
2015-08-09 21:53:20 +05:30
|
|
|
.ui.vertical.menu {
|
2020-08-26 01:18:53 +05:30
|
|
|
.header.item {
|
|
|
|
font-size: 1.1em;
|
2020-11-08 21:59:18 +05:30
|
|
|
background: var(--color-box-header);
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2015-08-09 21:53:20 +05:30
|
|
|
}
|
2015-07-24 20:43:42 +05:30
|
|
|
|
2020-11-08 04:45:09 +05:30
|
|
|
.comment:target .comment-container {
|
2020-11-06 01:04:04 +05:30
|
|
|
border-color: var(--color-primary) !important;
|
|
|
|
box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
|
|
|
|
}
|
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
.comment:target .header::before {
|
2020-11-06 01:04:04 +05:30
|
|
|
border-right-color: var(--color-primary) !important;
|
|
|
|
filter: drop-shadow(-3px 0 0 var(--color-primary-alpha-30)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-comment:target {
|
|
|
|
border-color: var(--color-primary) !important;
|
|
|
|
border-radius: var(--border-radius) !important;
|
|
|
|
box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-comment:target .content {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
2020-11-02 01:34:26 +05:30
|
|
|
.comment-header {
|
2020-12-27 19:54:27 +05:30
|
|
|
#avatar-arrow();
|
2020-11-06 01:04:04 +05:30
|
|
|
border: none !important;
|
2020-12-17 21:22:58 +05:30
|
|
|
background: var(--color-box-header);
|
2020-11-06 01:04:04 +05:30
|
|
|
border-bottom: 1px solid var(--color-secondary) !important;
|
2020-11-02 01:34:26 +05:30
|
|
|
font-weight: normal !important;
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
padding: .5rem 1rem;
|
2020-11-02 01:34:26 +05:30
|
|
|
margin: 0 !important;
|
|
|
|
position: relative;
|
2020-12-17 21:22:58 +05:30
|
|
|
color: var(--color-text-light-2);
|
2020-11-08 21:59:18 +05:30
|
|
|
min-height: 41px;
|
|
|
|
background-color: var(--color-box-header);
|
2020-11-02 01:34:26 +05:30
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&.arrow-top::before,
|
|
|
|
&.arrow-top::after {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-top::before {
|
|
|
|
top: -9px;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-top::after {
|
|
|
|
top: -8px;
|
|
|
|
left: 7px;
|
|
|
|
}
|
2020-12-17 21:22:58 +05:30
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--color-text);
|
2022-01-18 22:58:38 +05:30
|
|
|
text-decoration: none;
|
2020-12-17 21:22:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: var(--color-primary);
|
2022-01-18 22:58:38 +05:30
|
|
|
text-decoration: none;
|
2020-12-17 21:22:58 +05:30
|
|
|
}
|
2020-11-02 01:34:26 +05:30
|
|
|
}
|
|
|
|
|
2020-11-01 03:45:11 +05:30
|
|
|
.comment-header .actions a {
|
|
|
|
margin-right: 0 !important;
|
|
|
|
padding: .5rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-header-left > * + *,
|
|
|
|
.comment-header-right > * + * {
|
|
|
|
margin-left: .25rem;
|
|
|
|
}
|
|
|
|
|
2020-11-06 01:04:04 +05:30
|
|
|
.comment-body {
|
2020-12-17 21:22:58 +05:30
|
|
|
background: var(--color-box-body);
|
2020-11-06 01:04:04 +05:30
|
|
|
border: none !important;
|
|
|
|
width: 100% !important;
|
|
|
|
max-width: 100% !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2015-08-09 20:15:38 +05:30
|
|
|
.edit-label.modal,
|
|
|
|
.new-label.segment {
|
2020-08-26 01:18:53 +05:30
|
|
|
.form {
|
|
|
|
.column {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.buttons {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.color.picker.column {
|
|
|
|
width: auto;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.color-picker {
|
|
|
|
height: 35px;
|
|
|
|
width: auto;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.minicolors-swatch.minicolors-sprite {
|
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-30 00:51:59 +05:30
|
|
|
}
|
|
|
|
|
2016-02-07 22:11:11 +05:30
|
|
|
#avatar-arrow {
|
2020-11-10 23:58:07 +05:30
|
|
|
&::before,
|
|
|
|
&::after {
|
2020-08-26 01:18:53 +05:30
|
|
|
right: 100%;
|
|
|
|
top: 20px;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::before {
|
2020-11-02 01:34:26 +05:30
|
|
|
border-right-color: var(--color-secondary);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-width: 9px;
|
|
|
|
margin-top: -9px;
|
|
|
|
}
|
|
|
|
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-11-08 21:59:18 +05:30
|
|
|
border-right-color: var(--color-box-header);
|
2020-08-26 01:18:53 +05:30
|
|
|
border-width: 8px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
2016-02-07 09:50:11 +05:30
|
|
|
}
|
|
|
|
|
2015-08-30 00:51:59 +05:30
|
|
|
#transfer-repo-modal,
|
2020-07-02 19:39:09 +05:30
|
|
|
#delete-repo-modal,
|
|
|
|
#delete-wiki-modal,
|
|
|
|
#convert-fork-repo-modal,
|
2021-12-13 07:29:09 +05:30
|
|
|
#convert-mirror-repo-modal,
|
|
|
|
#fork-repo-modal {
|
2020-08-26 01:18:53 +05:30
|
|
|
.ui.message {
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
2015-12-08 01:50:54 +05:30
|
|
|
}
|
2016-08-12 05:37:09 +05:30
|
|
|
|
|
|
|
// generate .tab-size-{i} from 1 to 16
|
|
|
|
.generate-tab-size(16);
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2016-08-12 05:37:09 +05:30
|
|
|
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
|
2020-08-26 01:18:53 +05:30
|
|
|
.tab-size-@{i} {
|
|
|
|
tab-size: @i !important;
|
2020-11-16 06:38:43 +05:30
|
|
|
-moz-tab-size: @i !important;
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.generate-tab-size(@n, (@i + 1));
|
2016-08-12 05:37:09 +05:30
|
|
|
}
|
2017-10-15 04:47:39 +05:30
|
|
|
|
2017-10-22 01:37:06 +05:30
|
|
|
.stats-table {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: table;
|
|
|
|
width: 100%;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.table-cell {
|
|
|
|
display: table-cell;
|
2019-05-07 00:13:40 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
&.tiny {
|
|
|
|
height: .5em;
|
2017-12-03 01:18:43 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2017-10-15 04:47:39 +05:30
|
|
|
}
|
2017-11-30 10:38:40 +05:30
|
|
|
|
2020-11-29 08:56:03 +05:30
|
|
|
.labels-list .label {
|
2020-12-30 05:18:28 +05:30
|
|
|
margin: 2px 0;
|
2020-11-29 08:56:03 +05:30
|
|
|
display: inline-block !important;
|
2021-10-26 17:59:48 +05:30
|
|
|
line-height: 1.3em; // there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly
|
2020-11-25 16:50:40 +05:30
|
|
|
}
|
|
|
|
|
2022-08-08 04:45:11 +05:30
|
|
|
.repo-button-row {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repo-button-row > * {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki .repo-button-row {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki .repo-button-row > * {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repo-button-row .button {
|
|
|
|
padding: 6px 10px !important;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repo-button-row input {
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
2017-12-02 22:50:52 +05:30
|
|
|
tbody.commit-list {
|
2020-08-26 01:18:53 +05:30
|
|
|
vertical-align: baseline;
|
2017-11-30 10:38:40 +05:30
|
|
|
}
|
|
|
|
|
2020-02-17 23:15:55 +05:30
|
|
|
.message-wrapper {
|
2020-08-26 01:18:53 +05:30
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: calc(100% - 50px);
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2019-06-14 07:02:14 +05:30
|
|
|
}
|
|
|
|
|
2022-09-10 02:33:18 +05:30
|
|
|
// in the commit list, messages can wrap so we can use inline
|
|
|
|
.commit-list .message-wrapper {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaSm {
|
2020-08-26 01:18:53 +05:30
|
|
|
tr.commit-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
th .message-wrapper {
|
|
|
|
display: block;
|
|
|
|
max-width: calc(100vw - 70px);
|
|
|
|
}
|
2020-02-17 23:15:55 +05:30
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaMd {
|
2020-08-26 01:18:53 +05:30
|
|
|
tr.commit-list {
|
|
|
|
width: 723px;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 280px;
|
|
|
|
}
|
2020-02-17 23:15:55 +05:30
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaLg {
|
2020-08-26 01:18:53 +05:30
|
|
|
tr.commit-list {
|
|
|
|
width: 933px;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 490px;
|
|
|
|
}
|
2020-02-17 23:15:55 +05:30
|
|
|
}
|
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaXl {
|
2020-08-26 01:18:53 +05:30
|
|
|
tr.commit-list {
|
|
|
|
width: 1127px;
|
|
|
|
}
|
2021-10-16 08:25:06 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 680px;
|
|
|
|
}
|
2020-02-17 23:15:55 +05:30
|
|
|
}
|
|
|
|
|
2019-08-09 18:27:29 +05:30
|
|
|
.commit-list .commit-status-link {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2019-06-14 07:02:14 +05:30
|
|
|
}
|
|
|
|
|
2017-11-30 10:38:40 +05:30
|
|
|
.commit-body {
|
2020-08-26 01:18:53 +05:30
|
|
|
white-space: pre-wrap;
|
2021-03-08 23:25:37 +05:30
|
|
|
line-height: initial;
|
2021-01-04 17:48:12 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.repository:not(.diff) {
|
2021-03-08 23:25:37 +05:30
|
|
|
.commit-body { // commit history list
|
2021-01-04 17:48:12 +05:30
|
|
|
margin: 0;
|
|
|
|
}
|
2021-03-08 23:25:37 +05:30
|
|
|
|
|
|
|
.timeline-item .commit-body { // PR-comment
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
2017-11-30 10:38:40 +05:30
|
|
|
}
|
2017-12-31 06:17:52 +05:30
|
|
|
|
2020-12-19 01:30:07 +05:30
|
|
|
.git-notes.top {
|
|
|
|
text-align: left;
|
2019-05-24 13:22:05 +05:30
|
|
|
}
|
|
|
|
|
2018-04-11 08:21:44 +05:30
|
|
|
#topic_edit {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-top: 5px;
|
2018-04-11 08:21:44 +05:30
|
|
|
}
|
|
|
|
|
2019-02-06 03:29:26 +05:30
|
|
|
#repo-topics {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-top: 5px;
|
2020-11-29 11:52:04 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2018-05-09 21:59:04 +05:30
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
|
2019-02-06 03:29:26 +05:30
|
|
|
.repo-topic {
|
2020-11-29 11:52:04 +05:30
|
|
|
font-weight: normal !important;
|
2020-08-26 01:18:53 +05:30
|
|
|
cursor: pointer;
|
2020-11-29 11:52:04 +05:30
|
|
|
margin: 2px !important;
|
2019-02-06 03:29:26 +05:30
|
|
|
}
|
|
|
|
|
2019-05-12 16:40:12 +05:30
|
|
|
#new-dependency-drop-list {
|
2020-08-26 01:18:53 +05:30
|
|
|
&.ui.selection.dropdown {
|
|
|
|
min-width: 0;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-05-12 16:40:12 +05:30
|
|
|
|
2020-08-26 01:18:53 +05:30
|
|
|
.text {
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-02-06 03:29:26 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
#manage_topic {
|
2020-08-26 01:18:53 +05:30
|
|
|
font-size: 12px;
|
2019-02-06 03:29:26 +05:30
|
|
|
}
|
|
|
|
|
2019-05-13 11:56:32 +05:30
|
|
|
.label + #manage_topic {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-left: 5px;
|
2019-02-06 03:29:26 +05:30
|
|
|
}
|
|
|
|
|
2019-12-04 09:40:40 +05:30
|
|
|
.ui.small.label.topic {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-bottom: 4px;
|
2019-12-04 09:40:40 +05:30
|
|
|
}
|
|
|
|
|
2019-02-06 03:29:26 +05:30
|
|
|
.repo-header {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
2020-12-30 05:18:28 +05:30
|
|
|
word-break: break-word;
|
2022-04-23 22:26:33 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
+ .container {
|
|
|
|
margin-top: 7px;
|
|
|
|
}
|
|
|
|
}
|
2019-02-06 03:29:26 +05:30
|
|
|
}
|
|
|
|
|
2020-12-27 16:23:53 +05:30
|
|
|
.repo-buttons {
|
2020-08-26 01:18:53 +05:30
|
|
|
align-items: center;
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
word-break: keep-all;
|
2022-04-23 22:26:33 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2018-07-26 20:55:41 +05:30
|
|
|
}
|
2019-03-06 06:18:30 +05:30
|
|
|
|
2021-06-28 13:51:43 +05:30
|
|
|
.repo-buttons .ui.labeled.button > .label:hover {
|
|
|
|
color: var(--color-primary-light-2);
|
|
|
|
background: var(--color-light);
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-mimic-enabled() {
|
|
|
|
color: var(--color-text-dark);
|
|
|
|
background: var(--color-light-mimic-enabled) !important;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary-dark-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-27 16:23:53 +05:30
|
|
|
.repo-buttons button[disabled] ~ .label {
|
|
|
|
opacity: var(--opacity-disabled);
|
2021-06-28 13:51:43 +05:30
|
|
|
.label-mimic-enabled();
|
2019-03-06 06:18:30 +05:30
|
|
|
}
|
|
|
|
|
2021-03-14 20:18:28 +05:30
|
|
|
.repo-buttons .ui.labeled.button {
|
|
|
|
cursor: initial;
|
|
|
|
|
|
|
|
> .label {
|
|
|
|
border-left: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
pointer-events: inherit !important;
|
|
|
|
|
2021-06-28 13:51:43 +05:30
|
|
|
> .label {
|
|
|
|
.label-mimic-enabled();
|
|
|
|
}
|
|
|
|
|
2021-03-14 20:18:28 +05:30
|
|
|
> .button {
|
|
|
|
pointer-events: none !important;
|
|
|
|
}
|
|
|
|
}
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
@media @mediaSm {
|
|
|
|
.svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-03-06 06:18:30 +05:30
|
|
|
}
|
2019-08-08 20:16:03 +05:30
|
|
|
|
2020-07-13 18:51:19 +05:30
|
|
|
.tag-code {
|
2020-08-26 01:18:53 +05:30
|
|
|
height: 28px;
|
2020-07-13 18:51:19 +05:30
|
|
|
}
|
|
|
|
|
2019-08-08 20:16:03 +05:30
|
|
|
.tag-code,
|
2022-09-23 08:30:29 +05:30
|
|
|
.tag-code td,
|
|
|
|
.tag-code .blob-excerpt {
|
|
|
|
background-color: var(--color-box-body-highlight);
|
2020-08-26 01:18:53 +05:30
|
|
|
vertical-align: middle;
|
2019-11-15 08:22:59 +05:30
|
|
|
}
|
|
|
|
|
2020-11-02 01:34:26 +05:30
|
|
|
.resolved-placeholder {
|
|
|
|
font-weight: normal !important;
|
|
|
|
border: 1px solid var(--color-secondary) !important;
|
|
|
|
border-radius: var(--border-radius) !important;
|
|
|
|
margin: 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resolved-placeholder + .comment-code-cloud {
|
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-08-17 08:37:38 +05:30
|
|
|
td.blob-excerpt {
|
2022-09-23 08:30:29 +05:30
|
|
|
background-color: var(--color-secondary-alpha-30);
|
2020-08-17 08:37:38 +05:30
|
|
|
}
|
|
|
|
|
2021-12-18 10:59:00 +05:30
|
|
|
.issue-keyword {
|
|
|
|
border-bottom: 1px dotted var(--color-text-light-3) !important;
|
2020-12-19 01:30:07 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.issue-keyword:hover {
|
2021-12-18 10:59:00 +05:30
|
|
|
border-bottom: none !important;
|
2019-10-14 03:59:10 +05:30
|
|
|
}
|
|
|
|
|
2019-10-07 10:29:17 +05:30
|
|
|
.file-header {
|
2022-06-12 15:00:22 +05:30
|
|
|
align-items: center;
|
2020-08-26 01:18:53 +05:30
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-06-27 18:04:20 +05:30
|
|
|
overflow-x: auto;
|
2022-09-16 02:27:42 +05:30
|
|
|
padding: 6px 12px !important;
|
|
|
|
font-size: 13px !important;
|
2019-10-07 10:29:17 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.file-info {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-10-07 10:29:17 +05:30
|
|
|
}
|
|
|
|
|
2020-09-08 22:47:56 +05:30
|
|
|
.file-info-entry {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-06-12 15:00:22 +05:30
|
|
|
width: max-content;
|
2020-09-08 22:47:56 +05:30
|
|
|
}
|
|
|
|
|
2019-10-07 10:29:17 +05:30
|
|
|
.file-info-entry + .file-info-entry {
|
2022-02-01 23:51:08 +05:30
|
|
|
border-left: 1px solid currentcolor;
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 8px;
|
2019-10-07 10:29:17 +05:30
|
|
|
}
|
2019-10-29 19:59:39 +05:30
|
|
|
|
2022-09-27 10:52:19 +05:30
|
|
|
#diff-container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
#diff-file-boxes {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#diff-file-tree {
|
|
|
|
width: 20%;
|
|
|
|
max-width: 380px;
|
|
|
|
line-height: inherit;
|
|
|
|
position: sticky;
|
|
|
|
padding-top: 0;
|
|
|
|
top: 47px;
|
|
|
|
max-height: calc(100vh - 50px);
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @mediaMdAndDown {
|
|
|
|
#diff-file-tree {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-toggle-file-tree-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-07 06:48:52 +05:30
|
|
|
.ui.message.unicode-escape-prompt {
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wiki-content-sidebar .ui.message.unicode-escape-prompt,
|
|
|
|
.wiki-content-footer .ui.message.unicode-escape-prompt {
|
|
|
|
p {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-08 14:29:16 +05:30
|
|
|
.wiki-content-toc {
|
|
|
|
> ul > li {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-07 06:48:52 +05:30
|
|
|
/* fomantic's last-child selector does not work with hidden last child */
|
|
|
|
.ui.buttons .unescape-button {
|
|
|
|
border-top-right-radius: .28571429rem;
|
|
|
|
border-bottom-right-radius: .28571429rem;
|
|
|
|
}
|
|
|
|
|
2020-11-04 12:44:07 +05:30
|
|
|
.webhook-info {
|
|
|
|
padding: 7px 12px;
|
|
|
|
margin: 10px 0;
|
2021-05-07 14:13:41 +05:30
|
|
|
background-color: var(--color-markup-code-block);
|
2021-03-30 11:32:41 +05:30
|
|
|
border: 1px solid var(--color-secondary);
|
2020-11-04 12:44:07 +05:30
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2019-10-29 19:59:39 +05:30
|
|
|
.title_wip_desc {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-top: 1em;
|
2019-10-29 19:59:39 +05:30
|
|
|
}
|
2020-01-26 13:47:25 +05:30
|
|
|
|
2020-11-29 11:52:04 +05:30
|
|
|
.sidebar-item-link {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-01-26 13:47:25 +05:30
|
|
|
.diff-file-box[data-folded="true"] .diff-file-body {
|
2020-08-26 01:18:53 +05:30
|
|
|
display: none;
|
2020-01-26 13:47:25 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.diff-file-box[data-folded="true"] .diff-file-header {
|
2020-10-25 00:45:29 +05:30
|
|
|
border-radius: var(--border-radius) !important;
|
2020-01-26 13:47:25 +05:30
|
|
|
}
|
2020-03-26 04:28:25 +05:30
|
|
|
|
2020-12-20 23:30:03 +05:30
|
|
|
.diff-file-header-actions > * + * {
|
|
|
|
margin-left: .5rem !important;
|
2020-12-12 06:36:22 +05:30
|
|
|
}
|
|
|
|
|
2021-02-11 23:58:51 +05:30
|
|
|
.ui.attached.header.diff-file-header {
|
|
|
|
&.sticky-2nd-row {
|
|
|
|
position: sticky;
|
|
|
|
top: 46px;
|
|
|
|
z-index: 7;
|
|
|
|
|
|
|
|
@media @mediaMd {
|
|
|
|
top: 77px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
top: 77px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-12 06:36:22 +05:30
|
|
|
.diff-stats-bar {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: var(--color-red);
|
|
|
|
height: 12px;
|
|
|
|
width: 40px;
|
|
|
|
|
|
|
|
.diff-stats-add-bar {
|
|
|
|
background-color: var(--color-green);
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-26 04:28:25 +05:30
|
|
|
/* prevent page shaking on language bar click */
|
2020-10-25 00:45:29 +05:30
|
|
|
.repository-summary-language-stats {
|
2020-08-26 01:18:53 +05:30
|
|
|
height: 48px;
|
|
|
|
overflow: hidden;
|
2021-10-17 19:35:32 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
height: auto;
|
|
|
|
}
|
2020-03-26 04:28:25 +05:30
|
|
|
}
|
2020-05-14 21:36:01 +05:30
|
|
|
|
2020-05-16 23:15:44 +05:30
|
|
|
.ui.form .right .ui.button {
|
2020-08-26 01:18:53 +05:30
|
|
|
margin-left: .25em;
|
|
|
|
margin-right: 0;
|
2020-05-15 00:45:21 +05:30
|
|
|
}
|
|
|
|
|
2020-05-14 21:36:01 +05:30
|
|
|
.removed-code {
|
2020-12-17 21:22:58 +05:30
|
|
|
background: var(--color-diff-removed-word-bg);
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.added-code {
|
2020-12-17 21:22:58 +05:30
|
|
|
background: var(--color-diff-added-word-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-diff-unified .del-code,
|
|
|
|
.code-diff-unified .del-code td,
|
|
|
|
.code-diff-split .del-code .lines-num-old,
|
2022-01-07 06:48:52 +05:30
|
|
|
.code-diff-split .del-code .lines-escape-old,
|
2020-12-17 21:22:58 +05:30
|
|
|
.code-diff-split .del-code .lines-type-marker-old,
|
|
|
|
.code-diff-split .del-code .lines-code-old {
|
|
|
|
background: var(--color-diff-removed-row-bg);
|
|
|
|
border-color: var(--color-diff-removed-row-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-diff-unified .add-code,
|
|
|
|
.code-diff-unified .add-code td,
|
|
|
|
.code-diff-split .add-code .lines-num-new,
|
|
|
|
.code-diff-split .add-code .lines-type-marker-new,
|
2022-01-07 06:48:52 +05:30
|
|
|
.code-diff-split .add-code .lines-escape-new,
|
2020-12-17 21:22:58 +05:30
|
|
|
.code-diff-split .add-code .lines-code-new,
|
|
|
|
.code-diff-split .del-code .add-code.lines-num-new,
|
|
|
|
.code-diff-split .del-code .add-code.lines-type-marker-new,
|
2022-01-07 06:48:52 +05:30
|
|
|
.code-diff-split .del-code .add-code.lines-escape-new,
|
2020-12-17 21:22:58 +05:30
|
|
|
.code-diff-split .del-code .add-code.lines-code-new {
|
|
|
|
background: var(--color-diff-added-row-bg);
|
|
|
|
border-color: var(--color-diff-added-row-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
.code-diff-split .del-code .lines-num-new,
|
|
|
|
.code-diff-split .del-code .lines-type-marker-new,
|
|
|
|
.code-diff-split .del-code .lines-code-new,
|
2022-01-07 06:48:52 +05:30
|
|
|
.code-diff-split .del-code .lines-escape-new,
|
2020-12-17 21:22:58 +05:30
|
|
|
.code-diff-split .add-code .lines-num-old,
|
2022-01-07 06:48:52 +05:30
|
|
|
.code-diff-split .add-code .lines-escape-old,
|
2020-12-17 21:22:58 +05:30
|
|
|
.code-diff-split .add-code .lines-type-marker-old,
|
|
|
|
.code-diff-split .add-code .lines-code-old {
|
|
|
|
background: var(--color-diff-inactive);
|
|
|
|
}
|
|
|
|
|
2022-02-02 00:38:33 +05:30
|
|
|
.code-diff-split tbody tr td:nth-child(5) {
|
2020-12-17 21:22:58 +05:30
|
|
|
border-left: 1px solid var(--color-secondary);
|
2020-05-14 21:36:01 +05:30
|
|
|
}
|
2020-06-22 22:14:06 +05:30
|
|
|
|
|
|
|
.repository .ui.menu.new-menu {
|
2020-08-26 01:18:53 +05:30
|
|
|
background: none !important;
|
2020-06-22 22:14:06 +05:30
|
|
|
|
2020-11-17 11:03:19 +05:30
|
|
|
@media @mediaLgAndDown {
|
2020-11-10 23:58:07 +05:30
|
|
|
&::after {
|
2020-08-26 01:18:53 +05:30
|
|
|
background: none !important;
|
2020-06-22 22:14:06 +05:30
|
|
|
}
|
2020-08-26 01:18:53 +05:30
|
|
|
}
|
2020-06-22 22:14:06 +05:30
|
|
|
}
|
2020-08-17 08:37:38 +05:30
|
|
|
|
2020-12-05 15:39:09 +05:30
|
|
|
.repository.migrate .card {
|
|
|
|
transition: all .1s ease-in-out;
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: 1px solid var(--color-secondary);
|
2021-08-18 21:37:52 +05:30
|
|
|
color: var(--color-text);
|
2020-12-05 15:39:09 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.repository.migrate .card:hover {
|
|
|
|
transform: scale(105%);
|
|
|
|
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
|
2020-09-09 23:59:10 +05:30
|
|
|
}
|
2022-04-28 07:29:49 +05:30
|
|
|
|
|
|
|
@media @mediaSm {
|
|
|
|
.repository.file.list {
|
|
|
|
#repo-files-table {
|
|
|
|
.entry,
|
|
|
|
.commit-list {
|
|
|
|
align-items: center;
|
|
|
|
display: flex !important;
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
td.age,
|
|
|
|
th.age {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.message,
|
|
|
|
span.commit-summary {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
.issue-list-headers.ui[class].grid {
|
|
|
|
> div:nth-child(1) {
|
|
|
|
order: 1;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div:nth-child(2) {
|
|
|
|
order: 3;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div.column:not(.row):nth-child(3) {
|
|
|
|
order: 2;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository.view.issue .comment-list {
|
|
|
|
.timeline,
|
|
|
|
.timeline-item {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline {
|
|
|
|
&::before {
|
|
|
|
left: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inline-timeline-avatar {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: auto;
|
|
|
|
|
2022-09-12 14:38:46 +05:30
|
|
|
img.avatar {
|
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.
- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 21:41:21 +05:30
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-header {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Don't show the general avatar, we show the inline avatar on mobile.
|
|
|
|
* And don't show the role labels, there's no place for that. */
|
|
|
|
.timeline-avatar,
|
|
|
|
.comment-header-right .role-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-05-16 22:15:12 +05:30
|
|
|
.commit-header-row {
|
|
|
|
.ui.horizontal.list {
|
|
|
|
width: 100%;
|
2022-07-10 18:28:26 +05:30
|
|
|
overflow-x: auto;
|
2022-05-16 22:15:12 +05:30
|
|
|
margin-top: 2px;
|
|
|
|
|
|
|
|
.item {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
|
|
|
padding: 3px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-header h3 {
|
|
|
|
flex-basis: auto !important;
|
|
|
|
margin-bottom: .5rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commits-table {
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.commits-table-left {
|
|
|
|
align-items: initial !important;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commits-table-right form {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
> div:nth-child(1) {
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div:nth-child(2) {
|
|
|
|
order: 3;
|
|
|
|
margin-left: .5rem;
|
|
|
|
margin-top: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
> button:nth-child(3) {
|
|
|
|
order: 2;
|
|
|
|
margin-left: .25rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-table {
|
2022-07-10 18:28:26 +05:30
|
|
|
overflow-x: auto;
|
2022-05-16 22:15:12 +05:30
|
|
|
|
|
|
|
td.sha,
|
|
|
|
th.sha {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-list {
|
|
|
|
span.message-wrapper {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr td:last-child {
|
|
|
|
display: block;
|
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.author {
|
|
|
|
display: block;
|
|
|
|
width: calc(100% + .5rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
.copy-commit-sha {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-14 21:32:59 +05:30
|
|
|
|
|
|
|
.comment-header {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.comment-header-left {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-header-right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
2022-04-28 07:29:49 +05:30
|
|
|
}
|
2022-08-08 04:45:11 +05:30
|
|
|
|
|
|
|
.branch-dropdown-button {
|
|
|
|
max-width: 340px;
|
|
|
|
vertical-align: bottom !important;
|
|
|
|
|
|
|
|
@media @mediaMd {
|
|
|
|
max-width: 185px;
|
|
|
|
}
|
|
|
|
@media @mediaSm {
|
|
|
|
max-width: 165px;
|
|
|
|
}
|
|
|
|
}
|