2015-07-23 23:50:05 +03:00
.repository {
2020-08-25 22:48:53 +03:00
.repo-header {
.ui.compact.menu {
margin-left: 1rem;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.header {
margin-top: 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.fork-flag {
font-size: 12px;
2020-12-08 07:14:28 +03:00
margin-top: 2px;
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.repo-buttons .svg {
margin: 0 .42857143em 0 -.21428571em;
2017-10-27 07:30:54 +03:00
}
2015-12-01 04:45:55 +03:00
2020-08-25 22:48:53 +03:00
.button {
margin-top: 2px;
margin-bottom: 2px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-08-14 01:49:38 +03:00
2020-08-25 22:48:53 +03:00
.tabs {
2017-10-27 07:30:54 +03:00
.navbar {
2020-08-25 22:48:53 +03:00
justify-content: initial;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.navbar {
display: flex;
justify-content: space-between;
.ui.label {
margin-left: 7px;
padding: 3px 5px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-08-14 01:49:38 +03:00
2020-08-25 22:48:53 +03:00
.owner.dropdown {
min-width: 40% !important;
}
#file-buttons {
/* The reason for the !important is that Semantic itself has
margin-left: 0 !important on right items on mobile, which is mostly
to make sure elements which on menus would otherwise be on the right
align correctly with other elements when stacked.
Unfortunately, this brings some weird alignment on this particular
element, so we need to override it. */
margin-left: auto !important;
font-weight: normal;
.ui.button {
padding: 8px 10px;
font-weight: normal;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.metas {
.menu {
overflow-x: auto;
max-height: 300px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.list {
&.assignees .icon {
line-height: 2em;
}
2020-10-12 22:55:13 +03:00
&.assignees .teamavatar {
margin-top: .125rem;
margin-left: 6.75px;
margin-right: 8.75px;
}
2020-08-25 22:48:53 +03:00
.hide {
display: none !important;
}
2020-11-14 04:16:46 +03:00
.dependency {
2020-08-25 22:48:53 +03:00
padding: 0;
2020-11-10 21:28:07 +03:00
white-space: nowrap;
2020-08-25 22:48:53 +03:00
}
2020-11-10 21:28:07 +03:00
.title {
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
2020-08-25 22:48:53 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaLgAndDown {
2020-11-10 21:28:07 +03:00
.title {
max-width: 150px;
}
}
2020-08-25 22:48:53 +03:00
2020-11-10 21:28:07 +03:00
@media (max-width: 1000px) {
.title {
max-width: 100px;
2017-12-31 03:47:52 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-12-31 03:47:52 +03:00
}
2015-11-14 12:34:01 +03:00
2020-08-25 22:48:53 +03:00
#deadlineForm input {
width: 12.8rem;
border-radius: 4px 0 0 4px;
border-right: 0;
white-space: nowrap;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.header-wrapper {
2020-11-26 22:33:28 +03:00
background-color: var(--color-navbar);
2020-06-15 20:26:10 +03:00
2020-08-25 22:48:53 +03:00
.ui.tabs.divider {
border-bottom: 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.tabular .svg {
margin-right: 5px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.filter.menu {
.label.color {
border-radius: 3px;
margin-left: 15px;
padding: 0 8px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.labels {
.label-filter .menu .info {
display: inline-block;
padding: .5rem .25rem;
2020-11-29 09:22:04 +03:00
border-bottom: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
font-size: 12px;
width: 100%;
white-space: nowrap;
text-align: center;
2018-07-16 15:43:00 +03:00
2020-08-25 22:48:53 +03:00
code {
2020-11-29 09:22:04 +03:00
border: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
border-radius: 3px;
padding: 1px 2px;
font-size: 11px;
2018-07-16 15:43:00 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.menu {
max-height: 300px;
overflow-x: auto;
right: 0 !important;
left: auto !important;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.select-label {
.desc {
padding-left: 16px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.tabs {
&.container {
margin-top: 14px;
margin-bottom: 0;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.menu {
border-bottom: 0;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.divider {
margin-top: 0;
margin-bottom: 20px;
}
}
2019-10-23 19:29:14 +03:00
2020-08-25 22:48:53 +03:00
#clone-panel {
width: 350px;
2019-05-06 21:43:40 +03:00
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
width: 100%;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
input {
border-radius: 0;
padding: 5px 10px;
width: 50%;
2017-10-27 07:30:54 +03:00
}
2017-10-17 02:17:22 +03:00
2020-08-25 22:48:53 +03:00
.clone.button {
font-size: 13px;
2020-11-29 18:52:11 +03:00
padding: 7.5px 5px;
2020-08-25 22:48:53 +03:00
&:first-child {
2020-10-24 22:15:29 +03:00
border-radius: var(--border-radius) 0 0 var(--border-radius);
2020-08-25 22:48:53 +03:00
}
2018-03-13 05:03:55 +03:00
}
2020-11-29 18:52:11 +03:00
#repo-clone-https,
#repo-clone-ssh,
#clipboard-btn {
border-right: none;
}
2020-08-25 22:48:53 +03:00
.icon.button {
padding: 0 10px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.dropdown .menu {
right: 0 !important;
left: auto !important;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.file.list {
.repo-description {
display: flex;
justify-content: space-between;
align-items: center;
2017-10-27 07:30:54 +03:00
}
2015-11-14 12:34:01 +03:00
2020-08-25 22:48:53 +03:00
#repo-desc {
font-size: 1.2em;
}
2015-11-14 12:34:01 +03:00
2020-08-25 22:48:53 +03:00
.choose.reference {
.header .icon {
font-size: 1.4em;
}
}
2018-07-26 18:25:41 +03:00
2020-08-25 22:48:53 +03:00
.repo-path {
2015-11-14 12:34:01 +03:00
2020-08-25 22:48:53 +03:00
.section,
.divider {
display: inline;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
#file-buttons {
font-weight: normal;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.button {
padding: 8px 10px;
font-weight: normal;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.tiny.blue.buttons {
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
width: 100%;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-11-29 18:52:11 +03:00
.button + .button {
border-left: none;
}
2017-10-27 07:30:54 +03:00
}
2015-12-07 23:20:54 +03:00
2020-08-25 22:48:53 +03:00
#repo-files-table {
thead {
th {
padding-top: 8px;
padding-bottom: 5px;
font-weight: normal;
2017-10-27 09:10:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.avatar {
margin-bottom: 5px;
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.commit-summary a {
text-decoration: underline;
text-decoration-style: dashed;
&:hover {
text-decoration-style: solid;
}
&.default-link {
text-decoration: none;
&:hover {
text-decoration: underline;
text-decoration-style: solid;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2016-08-15 11:42:20 +03:00
2020-08-25 22:48:53 +03:00
tbody {
.svg {
margin-left: 3px;
margin-right: 5px;
color: #777777;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.octicon-reply {
margin-right: 10px;
}
&.octicon-file-directory,
&.octicon-file-submodule {
2020-10-31 06:52:10 +03:00
color: var(--color-primary);
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2016-08-15 11:42:20 +03:00
2020-08-25 22:48:53 +03:00
td {
padding-top: 0;
padding-bottom: 0;
overflow: initial;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.name {
max-width: 150px;
}
2018-07-26 18:25:41 +03:00
2020-08-25 22:48:53 +03:00
&.message {
max-width: 400px;
2017-10-27 07:30:54 +03:00
}
2016-08-15 11:42:20 +03:00
2020-08-25 22:48:53 +03:00
&.age {
width: 120px;
}
2019-05-06 21:43:40 +03:00
2020-08-26 18:52:44 +03:00
.truncate {
2020-08-27 23:45:37 +03:00
display: inline-block;
2020-08-25 22:48:53 +03:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2020-08-26 18:52:44 +03:00
width: 100%;
2020-08-27 23:45:37 +03:00
padding-top: 8px;
padding-bottom: 8px;
2020-08-26 18:52:44 +03:00
}
a {
padding-top: 8px;
padding-bottom: 8px;
}
.at {
margin-left: 3px;
margin-right: 3px;
2020-08-25 22:48:53 +03:00
}
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
> * {
vertical-align: middle;
}
}
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
td.message .isSigned {
cursor: default;
}
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
tr:hover {
background-color: #ffffee;
}
2019-09-10 12:03:30 +03:00
2020-10-19 00:59:18 +03:00
tr.has-parent a {
display: inline-block;
padding-top: 8px;
padding-bottom: 8px;
width: calc(100% - 1.25rem);
}
2020-08-25 22:48:53 +03:00
.jumpable-path {
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.non-diff-file-content {
.header {
.icon {
font-size: 1em;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.small.icon {
font-size: .75em;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.tiny.icon {
font-size: .5em;
}
2019-05-06 21:43:40 +03:00
2020-11-01 23:04:26 +03:00
.file-info {
font-size: 13px;
}
2019-05-06 21:43:40 +03:00
2020-11-01 23:04:26 +03:00
.file-actions {
2020-08-25 22:48:53 +03:00
.btn-octicon {
display: inline-block;
padding: 5px;
margin-left: 5px;
line-height: 1;
color: #767676;
vertical-align: middle;
background: transparent;
border: 0;
outline: none;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.btn-octicon:hover {
2020-11-15 23:58:16 +03:00
color: var(--color-primary);
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.btn-octicon-danger:hover {
color: #bd2c00;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.btn-octicon.disabled {
color: #bbbbbb;
cursor: default;
}
2020-08-23 22:05:17 +03:00
2020-08-25 22:48:53 +03:00
#delete-file-form {
display: inline-block;
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.view-raw {
padding: 5px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
* {
max-width: 100%;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
img {
border-radius: 0;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2016-08-15 11:42:20 +03:00
2020-08-25 22:48:53 +03:00
.plain-text {
padding: 1em 2em;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
pre {
word-break: break-word;
white-space: pre-wrap;
}
}
2020-02-22 02:04:20 +03:00
2020-08-25 22:48:53 +03:00
.csv {
overflow-x: auto;
padding: 0 !important;
}
2020-02-22 02:04:20 +03:00
2020-08-25 22:48:53 +03:00
pre {
overflow: auto;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.sidebar {
padding-left: 0;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.svg {
width: 16px;
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.file.editor {
.treepath {
width: 100%;
2016-08-15 11:42:20 +03:00
2020-08-25 22:48:53 +03:00
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 07:11:22 +03:00
2020-08-25 22:48:53 +03:00
.tabular.menu {
.svg {
margin-right: 5px;
}
}
2019-04-29 23:08:04 +03:00
2020-08-25 22:48:53 +03:00
.commit-form-wrapper {
padding-left: 64px;
2019-08-16 01:09:50 +03:00
2020-08-25 22:48:53 +03:00
.commit-avatar {
float: left;
margin-left: -64px;
width: 3em;
height: auto;
}
2015-08-12 13:44:09 +03:00
2020-08-25 22:48:53 +03:00
.commit-form {
position: relative;
padding: 15px;
margin-bottom: 10px;
2020-11-16 16:53:04 +03:00
border: 1px solid var(--color-secondary);
2020-11-26 22:33:28 +03:00
background: var(--color-box-body);
2020-08-25 22:48:53 +03:00
border-radius: 3px;
#avatar-arrow;
2015-08-12 13:44:09 +03:00
2020-11-10 21:28:07 +03:00
&::after {
2020-11-26 22:33:28 +03:00
border-right-color: var(--color-box-body);
2017-10-27 07:30:54 +03:00
}
2015-08-19 23:31:28 +03:00
2020-08-25 22:48:53 +03:00
.quick-pull-choice {
.branch-name {
display: inline-block;
2020-11-26 22:33:28 +03:00
padding: 2px 4px;
2020-10-19 23:01:06 +03:00
font: 12px var(--fonts-monospace);
2020-11-26 22:33:28 +03:00
color: var(--color-text);
background: var(--color-secondary);
2020-08-25 22:48:53 +03:00
border-radius: 3px;
2020-11-26 22:33:28 +03:00
margin: 0 2px;
2020-08-25 22:48:53 +03:00
}
.new-branch-name-input {
position: relative;
margin-left: 25px;
2016-02-02 04:55:12 +03:00
2017-10-27 07:30:54 +03:00
input {
2020-08-25 22:48:53 +03:00
width: 240px !important;
padding-left: 26px !important;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-08-03 12:42:09 +03:00
2020-08-25 22:48:53 +03:00
.octicon-git-branch {
position: absolute;
top: 9px;
left: 10px;
color: #b0c4ce;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
}
2015-08-03 12:42:09 +03:00
2020-08-25 22:48:53 +03:00
&.options {
#interval {
width: 100px !important;
min-width: 100px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.danger {
.item {
padding: 20px 15px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.divider {
margin: 0;
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
@comment-avatar-width: 3em;
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
.comment textarea {
max-height: none !important;
}
&.new.issue {
.comment.form {
.comment {
.avatar {
width: @comment-avatar-width;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
.content {
margin-left: 4em;
#avatar-arrow;
2015-08-08 17:43:14 +03:00
2020-11-10 21:28:07 +03:00
&::after {
2020-11-16 16:53:04 +03:00
border-right-color: var(--color-box-body);
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.markdown {
font-size: 14px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.metas {
min-width: 220px;
.filter.menu {
max-height: 300px;
overflow-x: auto;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-08-08 17:43:14 +03:00
2020-08-25 22:48:53 +03:00
&.view.issue {
.title {
padding-bottom: 0 !important;
2019-05-06 21:43:40 +03:00
2020-10-24 19:48:08 +03:00
.issue-title {
margin-bottom: .5rem;
2019-09-17 18:54:35 +03:00
2020-10-24 19:48:08 +03:00
&.edit-active {
display: flex;
align-items: center;
2019-05-06 21:43:40 +03:00
2020-10-24 19:48:08 +03:00
h1 {
display: flex;
width: 100%;
}
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-10-24 19:48:08 +03:00
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-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-10-24 19:48:08 +03:00
h1 {
font-weight: 300;
font-size: 2.3rem;
margin: 0;
padding-right: .5rem;
2019-05-06 21:43:40 +03:00
2020-10-24 19:48:08 +03:00
.ui.input {
font-size: .5em;
width: 100%;
2019-05-06 21:43:40 +03:00
2020-10-24 19:48:08 +03:00
input {
font-size: 1.5em;
padding: 6px 1rem;
}
}
}
.edit-button {
float: right;
padding-left: 1rem;
}
.edit-buttons {
display: flex;
}
.index {
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-10-24 19:48:08 +03:00
}
.label {
margin-right: 10px;
}
.edit-zone {
margin-top: 10px;
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.pull-desc {
code {
2020-10-31 06:52:10 +03:00
color: var(--color-primary);
2020-08-25 22:48:53 +03:00
}
}
2015-08-20 15:18:49 +03:00
2020-08-25 22:48:53 +03:00
.pull {
&.tabular.menu {
margin-bottom: 1rem;
.svg {
margin-right: 5px;
2017-05-05 10:15:36 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.merge.box {
.avatar {
margin-left: 10px;
margin-top: 10px;
}
.branch-update.grid {
.row {
padding-bottom: 1rem;
.icon {
margin-top: 1.1rem;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.review-item {
display: flex;
justify-content: space-between;
align-items: center;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.review-item-left,
.review-item-right {
display: flex;
align-items: center;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.text {
margin: .3em 0 .5em .5em;
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.type-icon {
align-self: flex-start;
margin-right: 1em;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
i {
line-height: 1.8em;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.divider {
margin: .5rem 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.review-content {
padding: 1em 0 1em 3.8em;
}
}
}
2020-06-15 10:37:00 +03:00
2020-08-25 22:48:53 +03:00
.comment-list {
2020-11-10 21:28:07 +03:00
&:not(.prevent-before-timeline)::before {
2020-08-25 22:48:53 +03:00
display: block;
content: "";
position: absolute;
margin-top: 12px;
margin-bottom: 14px;
top: 0;
bottom: 0;
left: 96px;
width: 2px;
2020-11-08 19:29:18 +03:00
background-color: var(--color-timeline);
2020-08-25 22:48:53 +03:00
z-index: -1;
}
.timeline {
position: relative;
display: block;
margin-left: 40px;
padding-left: 16px;
2018-11-22 16:17:36 +03:00
2020-11-10 21:28:07 +03:00
&::before { //ciara
2020-08-25 22:48:53 +03:00
display: block;
content: "";
position: absolute;
margin-top: 12px;
margin-bottom: 14px;
top: 0;
bottom: 0;
left: 30px;
width: 2px;
2020-11-08 19:29:18 +03:00
background-color: var(--color-timeline);
2020-08-25 22:48:53 +03:00
z-index: -1;
}
}
2018-11-22 16:17:36 +03:00
2020-08-25 22:48:53 +03:00
.timeline-item,
.timeline-item-group {
padding: 12px 0;
}
2018-11-22 16:17:36 +03:00
2020-08-25 22:48:53 +03:00
.timeline-item-group {
.timeline-item {
padding-top: 8px;
padding-bottom: 8px;
}
}
2020-06-15 10:37:00 +03:00
2020-08-25 22:48:53 +03:00
.timeline-item {
margin-left: 16px;
position: relative;
2018-11-22 16:17:36 +03:00
2020-08-25 22:48:53 +03:00
.timeline-avatar {
position: absolute;
left: -72px;
img {
2020-12-03 21:46:11 +03:00
width: 40px !important;
height: 40px !important;
2020-08-25 22:48:53 +03:00
}
}
2018-11-22 16:17:36 +03:00
2020-08-25 22:48:53 +03:00
.avatar.image,
.avatar.image img {
width: 20px;
height: 20px;
2020-11-29 09:22:04 +03:00
margin-right: .5rem;
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&: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 19:29:18 +03:00
background: radial-gradient(var(--color-body) 40%, transparent 40%) no-repeat;
2020-08-25 22:48:53 +03:00
}
.badge {
2020-11-15 23:58:16 +03:00
width: 34px;
height: 34px;
2020-11-08 19:29:18 +03:00
background-color: var(--color-timeline);
2020-08-25 22:48:53 +03:00
border-radius: 50%;
display: flex;
float: left;
2020-11-23 12:42:24 +03:00
margin-left: -33px;
2020-08-25 22:48:53 +03:00
margin-right: 8px;
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-08-25 22:48:53 +03:00
align-items: center;
justify-content: center;
.svg {
2020-11-01 01:15:11 +03:00
width: 22px;
height: 22px;
2020-08-25 22:48:53 +03:00
padding: 3px;
&.octicon-comment {
margin-top: 2px;
2020-04-11 01:01:41 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2020-04-11 01:01:41 +03:00
2020-08-25 22:48:53 +03:00
&.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 12:42:24 +03:00
line-height: 34px; /* this must be same as .badge height, to avoid overflow */
2020-04-11 01:01:41 +03:00
2020-11-30 19:11:17 +03:00
> .avatar.image,
> .avatar.image img {
position: relative;
top: -2px;
}
2020-08-25 22:48:53 +03:00
.shabox {
.sha.label {
margin: 0;
border: 1px solid #bbbbbb;
2020-04-11 01:01:41 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isWarning {
border: 1px solid #db2828;
background: fade(#db2828, 10%);
2020-06-06 23:30:10 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-04-11 01:01:41 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#db2828, 30%) !important;
}
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isVerified {
border: 1px solid #21ba45;
background: fade(#21ba45, 10%);
2020-05-20 15:47:24 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-04-11 01:01:41 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#21ba45, 30%) !important;
}
2020-04-11 01:01:41 +03:00
}
2020-08-25 22:48:53 +03:00
&.isSigned.isVerifiedUntrusted {
border: 1px solid #fbbd08;
background: fade(#fbbd08, 10%);
2020-04-19 03:15:07 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-05-20 15:47:24 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#fbbd08, 30%) !important;
}
2020-05-20 15:47:24 +03:00
}
2020-08-25 22:48:53 +03:00
&.isSigned.isVerifiedUnmatched {
border: 1px solid #f2711c;
background: fade(#f2711c, 10%);
2020-05-18 08:33:47 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
&:hover {
background: fade(#f2711c, 30%) !important;
}
2020-05-18 08:33:47 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-04-11 01:01:41 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2020-04-11 01:01:41 +03:00
2020-08-25 22:48:53 +03:00
&.event > .commit-status-link {
float: right;
margin-right: 8px;
margin-top: 4px;
}
.author {
2020-12-05 14:00:36 +03:00
font-weight: 600;
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.comment-form-reply .footer {
padding-bottom: 1em;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.comment {
> .content {
> div:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
2019-11-25 14:50:46 +03:00
2020-08-25 22:48:53 +03:00
> div:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
}
2020-01-05 22:25:27 +03:00
2020-11-08 02:15:09 +03:00
.comment-container {
2020-11-05 22:34:04 +03:00
border: 1px solid var(--color-secondary);
border-radius: var(--border-radius);
2020-11-10 04:43:08 +03:00
}
2020-11-05 22:34:04 +03:00
2020-11-10 04:43:08 +03:00
.content {
2020-08-25 22:48:53 +03:00
> .merge-section {
2020-11-08 19:29:18 +03:00
background-color: var(--color-box-body);
2020-06-15 22:50:12 +03:00
2020-08-25 22:48:53 +03:00
.item {
padding: .25rem 0;
2020-04-11 01:01:41 +03:00
}
2015-08-20 19:18:30 +03:00
2020-08-25 22:48:53 +03:00
.item-section {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0;
margin-top: -.25rem;
margin-bottom: -.25rem;
2017-05-05 10:15:36 +03:00
}
2018-09-07 05:32:46 +03:00
2020-08-25 22:48:53 +03:00
.divider {
margin-left: -1rem;
margin-right: -1rem;
2018-09-07 05:32:46 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.no-header {
#avatar-arrow;
2020-11-16 16:53:04 +03:00
&::after {
border-right-color: var(--color-box-body);
}
2020-08-25 22:48:53 +03:00
}
2020-10-06 02:31:25 +03:00
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-10-06 02:31:25 +03:00
.form .button {
width: 100%;
&:not(:last-child) {
margin-bottom: 1rem;
}
}
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.markdown {
font-size: 14px;
}
.no-content {
color: #767676;
font-style: italic;
}
2020-12-13 22:12:27 +03:00
.dropzone-attachments .thumbnails .ui.image {
max-height: 150px;
2020-08-25 22:48:53 +03:00
}
2020-12-13 22:12:27 +03:00
2017-05-05 10:15:36 +03:00
}
2020-08-25 22:48:53 +03:00
.ui.form {
.field {
&:first-child {
clear: none;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.footer {
overflow: hidden;
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.tab.markdown {
min-height: 5rem;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
textarea {
height: 200px;
2020-10-19 23:01:06 +03:00
font-family: var(--fonts-monospace);
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
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 07:14:46 +03:00
2020-08-25 22:48:53 +03:00
.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 07:14:46 +03:00
}
2020-08-25 22:48:53 +03:00
}
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 07:14:46 +03:00
2020-11-05 22:34:04 +03:00
.code-comment {
border: 1px solid transparent;
padding: 6px 6px 3px;
.content {
border: none !important;
}
}
2020-08-25 22:48:53 +03:00
.event {
padding-left: 15px;
& > .svg:not(.issue-symbol) {
text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
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 07:14:46 +03:00
}
2020-08-25 22:48:53 +03:00
& > .svg.issue-symbol {
font-size: 20px;
margin-left: -35px;
margin-right: -1px;
margin-top: 0 !important;
height: 28px;
width: 28px;
border-radius: 50%;
text-align: center;
line-height: 28px;
background: #eee;
2015-12-07 23:20:54 +03:00
2020-08-25 22:48:53 +03:00
&::before {
width: 15px;
display: inline-block;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.octicon-key::before {
width: 18px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.octicon-circle-slash::before {
width: 17px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.octicon-comment {
font-size: 21px;
line-height: 33px;
&::before {
width: 20px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.detail {
font-size: .9rem;
margin-top: 5px;
margin-left: 8px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.segments {
box-shadow: none;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.show-outdated,
.hide-outdated {
display: block;
}
2020-10-15 11:17:48 +03:00
2020-10-22 02:47:16 +03:00
.label {
margin-left: 6px;
}
2020-10-15 11:17:48 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.depending {
.item.is-closed {
.title {
text-decoration: line-through;
}
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.comment.form {
.ui.comments {
margin-top: -12px;
max-width: 100%;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.content {
.field:first-child {
clear: none;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.form {
#avatar-arrow;
2019-05-06 21:43:40 +03:00
2020-11-10 21:28:07 +03:00
&::after {
2020-11-16 16:53:04 +03:00
border-right-color: var(--color-box-body);
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
textarea {
height: 200px;
2020-10-19 23:01:06 +03:00
font-family: var(--fonts-monospace);
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.milestone.list {
list-style: none;
padding-top: 15px;
> .item {
padding-top: 10px;
padding-bottom: 10px;
2020-11-29 09:22:04 +03:00
border-bottom: 1px dashed var(--color-secondary);
2020-08-25 22:48:53 +03:00
> a {
padding-top: 5px;
padding-right: 10px;
2020-11-29 09:22:04 +03:00
color: var(--color-text);
2020-08-25 22:48:53 +03:00
&:hover {
2020-11-15 23:58:16 +03:00
color: var(--color-primary);
2019-06-07 23:29:29 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-06-13 07:23:45 +03:00
2020-08-25 22:48:53 +03:00
.ui.progress {
width: 40%;
padding: 0;
border: 0;
margin: 0;
.bar {
height: 20px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.meta {
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-08-25 22:48:53 +03:00
padding-top: 5px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.issue-stats .svg {
padding-left: 5px;
2017-10-27 07:30:54 +03:00
}
2020-05-24 20:53:37 +03:00
2020-08-25 22:48:53 +03:00
.overdue {
2020-11-15 23:58:16 +03:00
color: var(--color-red);
2020-05-25 13:04:02 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-05-25 13:04:02 +03:00
2020-08-25 22:48:53 +03:00
.operate {
margin-top: -15px;
> a {
font-size: 15px;
padding-top: 5px;
padding-right: 10px;
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-08-25 22:48:53 +03:00
&:hover {
2020-11-29 09:22:04 +03:00
color: var(--color-text);
2020-08-25 22:48:53 +03:00
}
2020-05-24 20:53:37 +03:00
}
2020-08-25 22:48:53 +03:00
}
.content {
padding-top: 10px;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-01-05 05:04:41 +03:00
2020-08-25 22:48:53 +03:00
&.new.milestone {
textarea {
height: 200px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-01-05 05:04:41 +03:00
2020-08-25 22:48:53 +03:00
&.compare.pull {
.show-form-container {
text-align: left;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.choose.branch {
.svg {
margin-right: 10px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.comment.form {
.content {
#avatar-arrow;
2019-05-06 21:43:40 +03:00
2020-11-10 21:28:07 +03:00
&::after {
2020-11-16 16:53:04 +03:00
border-right-color: var(--color-box-body);
2020-08-25 22:48:53 +03:00
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.pullrequest-form {
margin-bottom: 1.5rem;
}
2019-05-05 19:25:25 +03:00
2020-08-25 22:48:53 +03:00
.markdown {
font-size: 14px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.filter.dropdown .menu {
margin-top: 1px !important;
}
&.branches {
.commit-divergence {
.bar-group {
position: relative;
float: left;
padding-bottom: 6px;
2020-10-03 02:10:43 +03:00
width: 50%;
max-width: 90px;
2020-08-25 22:48:53 +03:00
&:last-child {
2020-11-15 23:58:16 +03:00
border-left: 1px solid var(--color-secondary);
2019-05-05 19:25:25 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-05 19:25:25 +03:00
2020-08-25 22:48:53 +03:00
.count {
margin: 0 3px;
&.count-ahead {
text-align: left;
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.count-behind {
text-align: right;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.bar {
height: 4px;
position: absolute;
2020-11-01 23:04:26 +03:00
background-color: var(--color-secondary);
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.bar-behind {
right: 0;
}
&.bar-ahead {
left: 0;
}
}
}
}
&.commits {
.header {
.search {
input {
font-weight: normal;
padding: 5px 10px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
#commits-table {
thead {
th:first-of-type {
padding-left: 15px;
}
.sha {
&td {
text-align: center;
2018-08-06 07:43:22 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
width: 175px;
}
}
td.sha .sha.label {
margin: 0;
}
td.message {
text-overflow: unset;
}
2019-08-09 15:57:29 +03:00
2020-08-25 22:48:53 +03:00
&.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, .02) !important;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-10-03 02:58:36 +03:00
2020-08-25 22:48:53 +03:00
#commits-table td.sha .sha.label,
#repo-files-table .sha.label,
2020-11-08 20:21:54 +03:00
#rev-list .sha.label,
2020-08-25 22:48:53 +03:00
.timeline-item.commits-list .singular-commit .sha.label {
border: 1px solid #bbbbbb;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.signature.avatar {
height: 16px;
margin-bottom: 0;
2020-09-28 23:39:22 +03:00
width: 16px;
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.detail.icon {
background: #fafafa;
margin: -6px -10px -4px 0;
padding: 5px 4px 5px 6px;
border-left: 1px solid #bbbbbb;
border-top: 0;
border-right: 0;
border-bottom: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
img {
margin-right: 0;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.svg {
margin: 0 .25em 0 0;
}
2020-06-28 07:05:50 +03:00
2020-08-25 22:48:53 +03:00
> div {
display: flex;
align-items: center;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isWarning {
border: 1px solid #db2828;
background: fade(#db2828, 10%);
2019-10-16 16:42:42 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.detail.icon {
border-left: 1px solid #db2828;
color: #db2828;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#db2828, 30%) !important;
}
}
2019-10-16 16:42:42 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isVerified {
border: 1px solid #21ba45;
background: fade(#21ba45, 10%);
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.detail.icon {
border-left: 1px solid #21ba45;
color: #21ba45;
}
2019-08-04 15:55:20 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#21ba45, 30%) !important;
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isVerifiedUntrusted {
border: 1px solid #fbbd08;
background: fade(#fbbd08, 10%);
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.detail.icon {
border-left: 1px solid #fbbd08;
color: #fbbd08;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#fbbd08, 30%) !important;
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.isSigned.isVerifiedUnmatched {
border: 1px solid #f2711c;
background: fade(#f2711c, 10%);
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.shortsha {
display: inline-block;
padding-top: 1px;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.detail.icon {
border-left: 1px solid #f2711c;
color: #f2711c;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
background: fade(#f2711c, 30%) !important;
}
2018-08-06 07:43:22 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-11-16 07:52:46 +03:00
2020-08-25 22:48:53 +03:00
.diff-detail-box {
padding: 7px 0;
background: #ffffff;
line-height: 30px;
2019-05-06 21:43:40 +03:00
2020-11-17 08:33:19 +03:00
@media @mediaMdAndDown {
2020-11-01 23:04:26 +03:00
flex-direction: column;
align-items: flex-start;
}
2020-08-25 22:48:53 +03:00
&.sticky {
position: sticky;
top: 0;
z-index: 8;
margin-bottom: 10px;
2020-11-01 23:04:26 +03:00
border-bottom: 1px solid var(--color-secondary);
2020-10-31 15:17:32 +03:00
padding-left: 2px;
padding-right: 2px;
2020-08-25 22:48:53 +03:00
}
2020-06-22 22:02:27 +03:00
2020-11-10 21:28:07 +03:00
> div::after {
2020-08-25 22:48:53 +03:00
clear: both;
content: "";
display: block;
}
2019-05-06 21:43:40 +03:00
2020-10-31 15:17:32 +03:00
.diff-detail-stats strong {
margin-left: .25rem;
margin-right: .25rem;
}
.diff-detail-actions .btn-review {
margin-right: 0 !important;
}
2020-08-25 22:48:53 +03:00
span.status {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 8px;
vertical-align: middle;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.modify {
background-color: #f0db88;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.add {
background-color: #b4e2b4;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.del {
background-color: #e9aeae;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.rename {
background-color: #dad8ff;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.detail-files {
background: #ffffff;
margin: 0;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.diff-box .header {
display: flex;
align-items: center;
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
.file {
flex: 1;
word-break: break-all;
}
2015-11-16 07:52:46 +03:00
2020-08-25 22:48:53 +03:00
.button {
margin: -5px 0 -5px 12px;
padding: 8px 10px;
flex: 0 0 auto;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.diff-file-box {
.header {
2020-11-08 19:29:18 +03:00
background-color: var(--color-box-header);
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.file-body.file-code {
.lines-num {
text-align: right;
color: #a6a6a6;
width: 1%;
min-width: 50px;
user-select: none;
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
span.fold {
display: block;
text-align: center;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.code-diff {
font-size: 12px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
td {
padding: 0 0 0 10px !important;
border-top: 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.lines-num {
padding: 0 5px !important;
}
2020-07-13 16:21:19 +03:00
2020-08-25 22:48:53 +03:00
.tag-code .lines-num,
.tag-code td {
padding: 0 !important;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
tbody {
tr {
td.halfwidth {
// halfwidth is used in split view - and in that case, 1% of each
width: 49%;
}
2015-12-07 23:20:54 +03:00
2020-08-25 22:48:53 +03:00
td.center {
text-align: center;
}
2020-07-13 16:21:19 +03:00
2020-08-25 22:48:53 +03:00
[data-line-num]::before {
content: attr(data-line-num);
text-align: right;
}
2020-07-01 00:34:03 +03:00
2020-08-25 22:48:53 +03:00
.lines-type-marker {
width: 10px;
min-width: 10px;
user-select: none;
}
2020-07-01 00:34:03 +03:00
2020-08-25 22:48:53 +03:00
[data-type-marker]::before {
content: attr(data-type-marker);
text-align: right;
display: inline-block;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.code-diff-unified tbody tr {
&.del-code td {
background-color: #ffeef0;
border-color: #f1c0c0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.add-code td {
background-color: #e6ffed;
border-color: #bef5cb;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.del-code td.lines-num {
background-color: #ffe5e4;
}
2016-07-23 10:59:19 +03:00
2020-08-25 22:48:53 +03:00
&.add-code td.lines-num {
background-color: #cdffd8;
}
2015-11-17 07:28:46 +03:00
2020-08-25 22:48:53 +03:00
}
2020-07-01 00:34:03 +03:00
2020-08-25 22:48:53 +03:00
.code-diff-split {
2020-07-01 00:34:03 +03:00
2020-08-25 22:48:53 +03:00
table,
tbody {
width: 100%;
}
2018-03-07 01:44:45 +03:00
2020-08-25 22:48:53 +03:00
tbody tr {
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
// light gray for empty lines before / after commit
&.add-code td:nth-child(1),
&.add-code td:nth-child(2),
&.add-code td:nth-child(3),
&.del-code td:nth-child(4),
&.del-code td:nth-child(5),
&.del-code td:nth-child(6) {
background-color: #fafbfc;
border-right-color: #eaecef;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.del-code {
background-color: #ffeef0;
2017-10-27 07:30:54 +03:00
}
2020-02-20 22:53:55 +03:00
2020-08-25 22:48:53 +03:00
&.del-code td.add-code {
background-color: #e6ffed;
}
&.del-code td.lines-num-new.add-code {
background-color: #cdffd8;
border-color: #bef5cb;
2020-02-20 22:53:55 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.add-code {
background-color: #e6ffed;
border-color: #bef5cb;
}
2019-10-21 10:51:24 +03:00
2020-08-25 22:48:53 +03:00
&.add-code td.lines-num-new {
background-color: #cdffd8;
}
2019-10-21 10:51:24 +03:00
2020-08-25 22:48:53 +03:00
td:nth-child(4) {
border-left-width: 1px;
border-left-style: solid;
border-left-color: #f6f8fa;
2019-10-21 10:51:24 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-10-21 10:51:24 +03:00
2020-08-25 22:48:53 +03:00
&.file-content {
img {
max-width: 100%;
padding: 0;
border-radius: 0;
}
img.emoji {
padding: 0;
}
2019-10-21 10:51:24 +03:00
2020-08-25 22:48:53 +03:00
clear: right;
2019-10-21 10:51:24 +03:00
}
2020-08-25 22:48:53 +03:00
.ui.bottom.attached.table.segment {
padding-top: 5px;
padding-bottom: 5px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.diff-stats {
clear: both;
margin-bottom: 5px;
max-height: 400px;
overflow: auto;
padding-left: 0;
li {
list-style: none;
padding-bottom: 4px;
margin-bottom: 4px;
border-bottom: 1px dashed #dddddd;
padding-left: 6px;
2017-10-27 09:10:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.repo-search-result {
padding-top: 10px;
padding-bottom: 10px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.lines-num a {
color: inherit;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.quickstart {
.guide {
.item {
padding: 1em;
small {
font-weight: normal;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-11-17 07:28:46 +03:00
2020-08-25 22:48:53 +03:00
.clone.button:first-child {
2020-10-24 22:15:29 +03:00
border-radius: var(--border-radius) 0 0 var(--border-radius);
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
.ui.action.small.input {
width: 100%;
}
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
#repo-clone-url {
border-radius: 0;
padding: 5px 10px;
font-size: 1.2em;
}
}
}
&.release {
#release-list {
2020-11-15 23:58:16 +03:00
border-top: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
margin-top: 20px;
padding-top: 15px;
2019-05-06 21:43:40 +03:00
2020-11-03 02:10:22 +03:00
.release-list-title {
font-size: 2rem;
font-weight: normal;
margin-top: -6px;
}
2020-08-25 22:48:53 +03:00
> li {
list-style: none;
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
.meta,
.detail {
padding-top: 30px;
padding-bottom: 40px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.meta {
text-align: right;
position: relative;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.tag:not(.icon) {
display: block;
margin-top: 15px;
}
.commit {
display: block;
margin-top: 10px;
}
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.detail {
2020-11-15 23:58:16 +03:00
border-left: 2px solid var(--color-secondary);
2015-11-17 10:18:05 +03:00
2020-08-25 22:48:53 +03:00
.author {
img {
margin-bottom: -3px;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
.download {
margin-top: 20px;
2015-11-26 04:10:25 +03:00
2020-08-25 22:48:53 +03:00
> a {
.svg {
margin-left: 5px;
2017-10-27 07:30:54 +03:00
margin-right: 5px;
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.list {
padding-left: 0;
2020-11-13 04:31:25 +03:00
border-top: 1px solid var(--color-secondary);
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
li {
list-style: none;
display: block;
padding-top: 8px;
padding-bottom: 8px;
2020-11-13 04:31:25 +03:00
border-bottom: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
a > .text.right {
margin-right: 5px;
}
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.dot {
width: 9px;
height: 9px;
2020-11-03 02:10:22 +03:00
background-color: #ddd;
2020-08-25 22:48:53 +03:00
z-index: 999;
position: absolute;
display: block;
left: -5px;
top: 40px;
border-radius: 6px;
border: 1px solid #ffffff;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2020-11-03 02:10:22 +03:00
#tags-table {
.release-tag-name {
font-size: 1.5rem;
font-weight: normal;
}
}
2020-08-25 22:48:53 +03:00
}
2018-07-26 18:25:41 +03:00
2020-08-25 22:48:53 +03:00
&.new.release {
.target {
min-width: 500px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
#tag-name {
margin-top: -4px;
}
2018-07-26 18:25:41 +03:00
2020-08-25 22:48:53 +03:00
.at {
margin-left: -5px;
margin-right: 5px;
}
.selection.dropdown {
padding-top: 10px;
padding-bottom: 10px;
}
2017-10-27 07:30:54 +03:00
}
2015-11-26 04:10:25 +03:00
2020-08-25 22:48:53 +03:00
.prerelease.field {
margin-bottom: 0;
}
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
.field {
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
button,
input {
2020-11-17 08:33:19 +03:00
@media (max-width: 438px) {
2020-08-25 22:48:53 +03:00
width: 100%;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
button {
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
margin-bottom: 1em;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-11-26 04:10:25 +03:00
2020-08-25 22:48:53 +03:00
&.forks {
.list {
margin-top: 0;
2015-11-27 08:24:24 +03:00
2020-08-25 22:48:53 +03:00
.item {
padding-top: 10px;
padding-bottom: 10px;
2020-11-15 23:58:16 +03:00
border-bottom: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
.ui.avatar {
float: left;
margin-right: 5px;
2017-10-27 07:30:54 +03:00
}
2015-12-01 04:45:55 +03:00
2020-08-25 22:48:53 +03:00
.link {
padding-top: 5px;
}
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.wiki {
&.start {
.ui.segment {
padding-top: 70px;
padding-bottom: 100px;
2015-11-27 08:24:24 +03:00
2020-08-25 22:48:53 +03:00
.svg {
height: 48px;
}
}
}
2019-11-17 22:42:44 +03:00
2020-08-25 22:48:53 +03:00
&.new {
.CodeMirror {
.CodeMirror-code {
2020-10-19 23:01:06 +03:00
font-family: var(--fonts-monospace);
2019-11-17 22:42:44 +03:00
2020-08-25 22:48:53 +03:00
.cm-comment {
background: inherit;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-11-26 04:10:25 +03:00
2020-08-25 22:48:53 +03:00
.editor-preview {
background-color: white;
}
2015-11-17 10:18:05 +03:00
2020-08-25 22:48:53 +03:00
.ui.attached.tabular.menu.previewtabs {
margin-bottom: 15px;
2017-12-31 03:47:52 +03:00
2020-08-25 22:48:53 +03:00
& + .field .editor-toolbar:not(.fullscreen) a.fa-eye {
display: none;
2018-03-07 01:44:45 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2015-11-17 10:18:05 +03:00
2020-08-25 22:48:53 +03:00
&.view {
.choose.page {
margin-top: -5px;
}
2015-11-17 10:18:05 +03:00
2020-08-25 22:48:53 +03:00
> .markdown {
padding: 15px 30px;
2016-08-14 13:32:24 +03:00
2020-08-25 22:48:53 +03:00
h1,
h2,
h3,
h4,
h5,
h6 {
&:first-of-type {
margin-top: 0;
}
}
}
}
2017-09-14 11:16:22 +03:00
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
.dividing.header .stackable.grid .button {
margin-top: 2px;
margin-bottom: 2px;
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.settings {
&.collaboration {
.collaborator.list {
padding: 0;
2019-09-23 23:08:03 +03:00
2020-08-25 22:48:53 +03:00
> .item {
margin: 0;
line-height: 2em;
2019-09-23 23:08:03 +03:00
2020-08-25 22:48:53 +03:00
&:not(:last-child) {
2020-11-15 23:58:16 +03:00
border-bottom: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-09-14 11:16:22 +03:00
2020-08-25 22:48:53 +03:00
#repo-collab-form {
#search-user-box {
.results {
left: 7px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.button {
margin-left: 5px;
margin-top: -3px;
}
}
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
#repo-collab-team-form {
#search-team-box {
.results {
left: 7px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.button {
margin-left: 5px;
margin-top: -3px;
}
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.branches {
.protected-branches {
.selection.dropdown {
width: 300px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.item {
2020-11-13 04:31:25 +03:00
border: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
padding: 10px 15px;
2017-10-27 07:30:54 +03:00
2020-08-25 22:48:53 +03:00
&:not(:last-child) {
border-bottom: 0;
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-09-14 11:16:22 +03:00
2020-08-25 22:48:53 +03:00
.branch-protection {
.help {
margin-left: 26px;
padding-top: 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.fields {
margin-left: 20px;
display: block;
2017-03-22 13:43:54 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.whitelist {
margin-left: 26px;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.dropdown img {
display: inline-block;
}
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.webhook {
.events {
.column {
padding-bottom: 0;
2019-05-06 21:43:40 +03:00
}
2020-08-25 22:48:53 +03:00
.help {
font-size: 13px;
margin-left: 26px;
padding-top: 0;
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.attached.isSigned.isWarning {
border-left: 1px solid #c29393;
border-right: 1px solid #c29393;
&.top,
&.message {
border-top: 1px solid #c29393;
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
&.message {
box-shadow: none;
background-color: #fff5f5;
color: #d95c5c;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.text {
color: #d64444;
}
}
&:last-child,
&.bottom {
border-bottom: 1px solid #c29393;
}
}
.ui.attached.isSigned:not(.isWarning) .pull-right {
padding-top: 5px;
}
.ui.attached.isSigned.isVerified {
border-left: 1px solid #a3c293;
border-right: 1px solid #a3c293;
&.top,
&.message {
border-top: 1px solid #a3c293;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.message {
box-shadow: none;
background-color: #fcfff5;
color: #6cc644;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.pull-right {
2020-11-29 09:22:04 +03:00
color: var(--color-text);
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.text {
color: #21ba45;
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:last-child,
&.bottom {
border-bottom: 1px solid #a3c293;
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.attached.isSigned.isVerifiedUntrusted {
border-left: 1px solid #c2c193;
border-right: 1px solid #c2c193;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.top,
&.message {
border-top: 1px solid #c2c193;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.message {
box-shadow: none;
background-color: #fffff5;
color: #fbbd08;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.text {
color: #d2ab00;
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:last-child,
&.bottom {
border-bottom: 1px solid #c2c193;
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.attached.isSigned.isVerifiedUnmatched {
border-left: 1px solid #c2a893;
border-right: 1px solid #c2a893;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.top,
&.message {
border-top: 1px solid #c2a893;
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&.message {
box-shadow: none;
background-color: #fffaf5;
color: #f2711c;
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.text {
color: #ee5f00;
}
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
&:last-child,
&.bottom {
border-bottom: 1px solid #c2a893;
2020-02-27 22:20:55 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-02-27 22:20:55 +03:00
2020-08-25 22:48:53 +03:00
.ui.segment.sub-menu {
padding: 7px;
line-height: 0;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.list {
width: 100%;
display: flex;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.item {
width: 100%;
2020-10-24 22:15:29 +03:00
&:first-of-type {
border-radius: var(--border-radius) 0 0 var(--border-radius);
}
&:last-of-type {
border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
a {
2020-11-29 09:22:04 +03:00
color: var(--color-text);
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
2020-11-29 09:22:04 +03:00
color: var(--color-primary-light-2);
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
span.ui {
2020-11-29 09:22:04 +03:00
color: var(--color-text);
2020-08-25 22:48:53 +03:00
}
2020-02-11 12:34:17 +03:00
2020-08-25 22:48:53 +03:00
&.active {
2020-11-29 09:22:04 +03:00
background: var(--color-secondary);
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-27 07:30:54 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.segment.reactions,
.select-reaction {
&.dropdown .menu {
right: 0 !important;
left: auto !important;
min-width: 15em;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
> .header {
margin: .75rem 0 .5rem;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
> .item {
float: left;
padding: .25rem !important;
margin: .25rem;
font-size: 1.5em;
width: 39px;
left: 13px;
2020-08-28 20:39:41 +03:00
border-radius: 6px;
display: flex;
justify-content: center;
align-items: center;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
img.emoji {
margin-right: 0;
2017-12-04 02:14:26 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-08-28 20:39:41 +03:00
> .item:hover {
2020-10-31 15:17:32 +03:00
background: var(--color-primary);
2020-08-28 20:39:41 +03:00
}
2017-12-04 02:14:26 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.segment.reactions {
padding: 0;
display: flex;
2020-11-05 22:34:04 +03:00
border: none !important;
border-top: 1px solid var(--color-secondary) !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.ui.label {
max-height: 40px;
2020-10-31 15:17:32 +03:00
padding: 10px 18px !important;
2020-08-25 22:48:53 +03:00
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-05 22:34:04 +03:00
border-color: var(--color-secondary) !important;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.disabled {
cursor: default;
2020-11-01 01:15:11 +03:00
opacity: 1;
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-11-01 01:15:11 +03:00
.ui.label.basic {
color: var(--color-primary) !important;
}
2020-08-25 22:48:53 +03:00
.ui.label.basic.blue {
2020-11-01 01:15:11 +03:00
background-color: var(--color-primary-alpha-20) !important;
2020-11-05 22:34:04 +03:00
border-color: var(--color-secondary) !important;
2020-08-25 22:48:53 +03:00
}
2019-11-16 00:47:04 +03:00
2020-08-25 22:48:53 +03:00
.reaction-count {
margin-left: .5rem;
}
2020-04-28 21:05:39 +03:00
2020-08-25 22:48:53 +03:00
.select-reaction {
display: flex;
align-items: center;
padding: 0 14px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&:not(.active) a {
display: none;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&:hover .select-reaction a {
display: block;
2017-12-04 02:14:26 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-10-29 03:19:18 +03:00
2020-08-25 22:48:53 +03:00
.ui.fluid.action.input {
.ui.search.action.input {
flex: auto;
2019-10-29 03:19:18 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-02-11 12:34:17 +03:00
2020-08-25 22:48:53 +03:00
.repository-summary {
2020-10-24 22:15:29 +03:00
box-shadow: none !important;
2020-08-25 22:48:53 +03:00
.segment.language-stats-details,
.segment.repository-summary {
border-top: none;
background: none;
}
2020-02-26 23:44:14 +03:00
2020-08-25 22:48:53 +03:00
.segment.language-stats-details .item {
white-space: nowrap;
}
2020-03-20 05:10:02 +03:00
2020-08-25 22:48:53 +03:00
.segment.language-stats {
padding: 0;
height: 11px;
display: flex;
white-space: nowrap;
width: 100%;
border-radius: 0;
user-select: none;
2020-02-26 23:44:14 +03:00
2020-08-25 22:48:53 +03:00
.bar {
white-space: nowrap;
border: 0;
padding: 0;
margin: 0;
height: 100%;
}
2020-06-03 05:40:08 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-06-03 05:40:08 +03:00
2020-10-24 22:15:29 +03:00
.repository-menu {
padding: 0 !important;
}
.repository-menu .item {
padding-top: 9px !important;
padding-bottom: 9px !important;
}
2020-08-25 22:48:53 +03:00
&.diff .committed-by {
padding-top: .5rem;
2020-06-03 05:40:08 +03:00
2020-08-25 22:48:53 +03:00
.ui.avatar {
width: 20px;
height: 20px;
}
2020-06-03 05:40:08 +03:00
2020-08-25 22:48:53 +03:00
span {
margin-right: .25rem;
2020-06-03 05:40:08 +03:00
2020-08-25 22:48:53 +03:00
svg {
vertical-align: text-bottom;
margin-right: 2px;
}
2020-02-11 12:34:17 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-08-06 17:48:11 +03:00
}
2019-05-06 21:43:40 +03:00
2015-10-03 02:58:36 +03:00
// End of .repository
2015-08-06 17:48:11 +03:00
2015-12-21 15:24:11 +03:00
&.user-cards {
2020-08-25 22:48:53 +03:00
.list {
padding: 0;
display: flex;
flex-wrap: wrap;
2017-12-02 22:48:43 +03:00
2020-08-25 22:48:53 +03:00
.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-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.name {
margin-top: 0;
margin-bottom: 0;
font-weight: normal;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.meta {
margin-top: 5px;
}
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-12-21 15:24:11 +03:00
}
2015-11-22 09:32:09 +03:00
#search-repo-box,
2015-11-17 10:18:05 +03:00
#search-user-box {
2020-08-25 22:48:53 +03:00
.results {
.result {
.image {
float: left;
margin-right: 8px;
width: 2em;
height: 2em;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.content {
margin: 6px 0;
}
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-11-17 10:18:05 +03:00
}
2019-09-23 23:08:03 +03:00
#search-team-box {
2020-08-25 22:48:53 +03:00
.results {
.result {
.content {
margin: 6px 0;
}
2019-09-23 23:08:03 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-09-23 23:08:03 +03:00
}
2019-02-20 02:09:47 +03:00
#issue-filters.hide {
2020-08-25 22:48:53 +03:00
display: none;
2017-03-15 04:10:35 +03:00
}
2019-02-27 20:24:21 +03:00
#issue-actions {
2020-08-25 22:48:53 +03:00
margin-top: -1rem !important; // counteract padding from Semantic
2019-02-27 20:24:21 +03:00
}
2019-02-20 02:09:47 +03:00
#issue-actions.hide {
2020-08-25 22:48:53 +03:00
display: none;
2019-02-20 02:09:47 +03:00
}
2020-02-12 00:25:41 +03:00
.ui.menu .item > img:not(.ui) {
2020-08-25 22:48:53 +03:00
width: auto;
2020-02-12 00:25:41 +03:00
}
2015-08-25 17:58:34 +03:00
.page.buttons {
2020-08-25 22:48:53 +03:00
padding-top: 15px;
2015-08-25 17:58:34 +03:00
}
2016-08-30 15:07:50 +03:00
.ui.form {
2020-08-25 22:48:53 +03:00
.dropzone {
2020-11-15 23:58:16 +03:00
border: 2px dashed var(--color-secondary);
background: none;
2020-08-25 22:48:53 +03:00
box-shadow: none !important;
padding: 0;
min-height: 5rem;
border-radius: 4px;
2020-05-14 22:15:21 +03:00
2020-08-25 22:48:53 +03:00
.dz-button {
color: rgba(0, 0, 0, .6);
}
2020-05-14 22:15:21 +03:00
2020-08-25 22:48:53 +03:00
&:hover .dz-button {
color: rgba(0, 0, 0, .8);
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.dz-error-message {
top: 140px;
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-08-12 13:44:09 +03:00
}
2015-08-15 15:55:03 +03:00
.settings {
2020-08-25 22:48:53 +03:00
.content {
margin-top: 2px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
> .header,
.segment {
2020-11-08 19:29:18 +03:00
box-shadow: 0 1px 2px 0 var(--color-box-header);
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.list {
> .item {
&:not(:first-child) {
2020-11-13 04:31:25 +03:00
border-top: 1px solid var(--color-secondary);
2020-08-25 22:48:53 +03:00
padding: 1rem;
margin: 15px -1rem -1rem;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
> .svg {
display: table-cell;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
> .svg + .content {
display: table-cell;
padding: 0 0 0 .5em;
vertical-align: top;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.info {
margin-top: 10px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.tab.segment {
border: 0;
padding: 10px 0 0;
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.key {
.meta {
padding-top: 5px;
2020-11-29 09:22:04 +03:00
color: var(--color-text-light-2);
2020-08-25 22:48:53 +03:00
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.email {
> .item:not(:first-child) {
min-height: 60px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.collaborator {
> .item {
padding: 0;
}
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-07-24 18:13:42 +03:00
}
2015-08-09 19:23:20 +03:00
.ui.vertical.menu {
2020-08-25 22:48:53 +03:00
.header.item {
font-size: 1.1em;
2020-11-08 19:29:18 +03:00
background: var(--color-box-header);
2020-08-25 22:48:53 +03:00
}
2015-08-09 19:23:20 +03:00
}
2015-07-24 18:13:42 +03:00
2020-11-08 02:15:09 +03:00
.comment:target .comment-container {
2020-11-05 22:34:04 +03:00
border-color: var(--color-primary) !important;
box-shadow: 0 0 0 3px var(--color-primary-alpha-30) !important;
}
2020-11-10 21:28:07 +03:00
.comment:target .header::before {
2020-11-05 22:34:04 +03:00
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-01 23:04:26 +03:00
.comment-header {
#avatar-arrow;
2020-11-05 22:34:04 +03:00
border: none !important;
border-bottom: 1px solid var(--color-secondary) !important;
2020-11-01 23:04:26 +03:00
font-weight: normal !important;
padding: .5rem 1rem !important;
margin: 0 !important;
position: relative;
color: #767676;
2020-11-08 19:29:18 +03:00
min-height: 41px;
background-color: var(--color-box-header);
2020-11-01 23:04:26 +03:00
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-11-01 01:15:11 +03:00
.comment-header .actions a {
margin-right: 0 !important;
padding: .5rem !important;
}
.comment-header a {
color: rgba(0, 0, 0, .4) !important;
}
.comment-header .actions a:hover,
.comment-header .actions a.active {
color: rgba(0, 0, 0, .8) !important;
}
.comment-header-left > * + *,
.comment-header-right > * + * {
margin-left: .25rem;
}
2020-11-05 22:34:04 +03:00
.comment-body {
border: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
}
2015-08-09 17:45:38 +03:00
.edit-label.modal,
.new-label.segment {
2020-08-25 22:48:53 +03:00
.form {
.column {
padding-right: 0;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.buttons {
margin-left: auto;
padding-top: 15px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.color.picker.column {
width: auto;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.color-picker {
height: 35px;
width: auto;
padding-left: 30px;
}
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.minicolors-swatch.minicolors-sprite {
top: 10px;
left: 10px;
width: 15px;
height: 15px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.precolors {
padding-left: 0;
padding-right: 0;
margin: 3px 10px auto;
width: 120px;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.color {
float: left;
width: 15px;
height: 15px;
}
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2015-08-29 22:21:59 +03:00
}
2016-02-07 19:41:11 +03:00
#avatar-arrow {
2020-11-10 21:28:07 +03:00
&::before,
&::after {
2020-08-25 22:48:53 +03:00
right: 100%;
top: 20px;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
2020-11-10 21:28:07 +03:00
&::before {
2020-11-01 23:04:26 +03:00
border-right-color: var(--color-secondary);
2020-08-25 22:48:53 +03:00
border-width: 9px;
margin-top: -9px;
}
2020-11-10 21:28:07 +03:00
&::after {
2020-11-08 19:29:18 +03:00
border-right-color: var(--color-box-header);
2020-08-25 22:48:53 +03:00
border-width: 8px;
margin-top: -8px;
}
2016-02-07 07:20:11 +03:00
}
2015-08-29 22:21:59 +03:00
#transfer-repo-modal,
2020-07-02 17:09:09 +03:00
#delete-repo-modal,
#delete-wiki-modal,
#convert-fork-repo-modal,
#convert-mirror-repo-modal {
2020-08-25 22:48:53 +03:00
.ui.message {
width: 100% !important;
}
2015-12-07 23:20:54 +03:00
}
2016-08-12 03:07:09 +03:00
// generate .tab-size-{i} from 1 to 16
.generate-tab-size(16);
2019-05-06 21:43:40 +03:00
2016-08-12 03:07:09 +03:00
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
2020-08-25 22:48:53 +03:00
.tab-size-@{i} {
tab-size: @i !important;
2020-11-16 04:08:43 +03:00
-moz-tab-size: @i !important;
2020-08-25 22:48:53 +03:00
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.generate-tab-size(@n, (@i + 1));
2016-08-12 03:07:09 +03:00
}
2017-10-15 02:17:39 +03:00
2017-10-21 23:07:06 +03:00
.stats-table {
2020-08-25 22:48:53 +03:00
display: table;
width: 100%;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
.table-cell {
display: table-cell;
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.tiny {
height: .5em;
2017-12-02 22:48:43 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-10-15 02:17:39 +03:00
}
2017-11-30 08:08:40 +03:00
2020-11-29 06:26:03 +03:00
.labels-list {
display: inline-flex;
2020-11-15 21:11:58 +03:00
flex-wrap: wrap;
}
2020-11-29 06:26:03 +03:00
.labels-list .label {
2020-11-25 14:20:40 +03:00
margin-top: 1.5px;
margin-bottom: 1.5px;
margin-right: 3px;
2020-11-29 06:26:03 +03:00
margin-left: 0;
display: inline-block !important;
2020-11-25 14:20:40 +03:00
}
2020-11-29 06:26:03 +03:00
.labels-list .label:last-of-type {
2020-11-25 14:20:40 +03:00
margin-right: 0;
2020-11-15 21:11:58 +03:00
}
2017-12-02 20:20:52 +03:00
tbody.commit-list {
2020-08-25 22:48:53 +03:00
vertical-align: baseline;
2017-11-30 08:08:40 +03:00
}
2020-02-17 20:45:55 +03:00
.message-wrapper {
2020-08-25 22:48:53 +03:00
overflow: hidden;
text-overflow: ellipsis;
max-width: calc(100% - 50px);
display: inline-block;
vertical-align: middle;
2019-06-14 04:32:14 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
tr.commit-list {
width: 100%;
}
th .message-wrapper {
display: block;
max-width: calc(100vw - 70px);
}
2020-02-17 20:45:55 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaMd {
2020-08-25 22:48:53 +03:00
tr.commit-list {
width: 723px;
}
th .message-wrapper {
max-width: 280px;
}
2020-02-17 20:45:55 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaLg {
2020-08-25 22:48:53 +03:00
tr.commit-list {
width: 933px;
}
th .message-wrapper {
max-width: 490px;
}
2020-02-17 20:45:55 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaXl {
2020-08-25 22:48:53 +03:00
tr.commit-list {
width: 1127px;
}
th .message-wrapper {
max-width: 680px;
}
2020-02-17 20:45:55 +03:00
}
2019-09-10 12:03:30 +03:00
.commit-list .commit-summary a {
2020-08-25 22:48:53 +03:00
text-decoration: underline;
text-decoration-style: dashed;
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
text-decoration-style: solid;
}
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
&.default-link {
text-decoration: none;
2019-09-10 12:03:30 +03:00
2020-08-25 22:48:53 +03:00
&:hover {
text-decoration: underline;
text-decoration-style: solid;
2019-09-10 12:03:30 +03:00
}
2020-08-25 22:48:53 +03:00
}
2019-09-10 12:03:30 +03:00
}
2019-08-09 15:57:29 +03:00
.commit-list .commit-status-link {
2020-08-25 22:48:53 +03:00
display: inline-block;
vertical-align: middle;
2019-06-14 04:32:14 +03:00
}
2017-11-30 08:08:40 +03:00
.commit-body {
2020-08-25 22:48:53 +03:00
white-space: pre-wrap;
2017-11-30 08:08:40 +03:00
}
2017-12-31 03:47:52 +03:00
2019-05-24 10:52:05 +03:00
.git-notes {
2020-08-25 22:48:53 +03:00
&.top {
text-align: left;
}
2019-06-13 07:23:45 +03:00
2020-08-25 22:48:53 +03:00
.commit-body {
margin: 0;
}
2019-05-24 10:52:05 +03:00
}
2020-11-17 08:33:19 +03:00
@media @mediaSm {
2020-08-25 22:48:53 +03:00
.ui.stackable.menu {
&.mobile--margin-between-items > .item {
margin-top: 5px;
margin-bottom: 5px;
}
2019-05-06 21:43:40 +03:00
2020-08-25 22:48:53 +03:00
&.mobile--no-negative-margins {
margin-left: 0;
margin-right: 0;
2018-03-07 01:44:45 +03:00
}
2020-08-25 22:48:53 +03:00
}
2017-12-31 03:47:52 +03:00
}
2018-04-11 05:51:44 +03:00
#topic_edit {
2020-08-25 22:48:53 +03:00
margin-top: 5px;
2018-04-11 05:51:44 +03:00
}
2019-02-06 00:59:26 +03:00
#repo-topics {
2020-08-25 22:48:53 +03:00
margin-top: 5px;
2020-11-29 09:22:04 +03:00
display: flex;
align-items: center;
flex-wrap: wrap;
2018-05-09 19:29:04 +03:00
}
2018-07-26 18:25:41 +03:00
2019-02-06 00:59:26 +03:00
.repo-topic {
2020-11-29 09:22:04 +03:00
font-weight: normal !important;
2020-08-25 22:48:53 +03:00
cursor: pointer;
2020-11-29 09:22:04 +03:00
margin: 2px !important;
2019-02-06 00:59:26 +03:00
}
2019-05-12 14:10:12 +03:00
#new-dependency-drop-list {
2020-08-25 22:48:53 +03:00
&.ui.selection.dropdown {
min-width: 0;
width: 100%;
border-radius: 4px 0 0 4px;
border-right: 0;
white-space: nowrap;
}
2019-05-12 14:10:12 +03:00
2020-08-25 22:48:53 +03:00
.text {
width: 100%;
overflow: hidden;
}
2019-02-06 00:59:26 +03:00
}
#manage_topic {
2020-08-25 22:48:53 +03:00
font-size: 12px;
2019-02-06 00:59:26 +03:00
}
2019-05-13 09:26:32 +03:00
.label + #manage_topic {
2020-08-25 22:48:53 +03:00
margin-left: 5px;
2019-02-06 00:59:26 +03:00
}
2019-12-04 07:10:40 +03:00
.ui.small.label.topic {
2020-08-25 22:48:53 +03:00
margin-bottom: 4px;
2019-12-04 07:10:40 +03:00
}
2019-02-06 00:59:26 +03:00
.repo-header {
2020-08-25 22:48:53 +03:00
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
2020-12-08 07:14:28 +03:00
word-break: break-all;
2019-02-06 00:59:26 +03:00
}
.repo-header .repo-buttons {
2020-08-25 22:48:53 +03:00
display: flex;
align-items: center;
2018-07-26 18:25:41 +03:00
}
2019-03-06 03:48:30 +03:00
.repo-buttons .disabled-repo-button .label {
2020-08-25 22:48:53 +03:00
opacity: .5;
2019-03-06 03:48:30 +03:00
}
.repo-buttons .disabled-repo-button a.button {
2020-08-25 22:48:53 +03:00
opacity: .5;
cursor: not-allowed;
2019-03-06 03:48:30 +03:00
}
.repo-buttons .disabled-repo-button a.button:hover {
2020-08-25 22:48:53 +03:00
background: none !important;
color: rgba(0, 0, 0, .6) !important;
2020-11-01 23:04:26 +03:00
box-shadow: 0 0 0 1px var(--color-secondary) inset !important;
2019-03-06 03:48:30 +03:00
}
2019-05-13 09:26:32 +03:00
.repo-buttons .ui.labeled.button > .label {
2020-08-25 22:48:53 +03:00
border-left: 0 !important;
margin: 0 !important;
2019-03-06 03:48:30 +03:00
}
2019-08-08 17:46:03 +03:00
2020-07-13 16:21:19 +03:00
.tag-code {
2020-08-25 22:48:53 +03:00
height: 28px;
2020-07-13 16:21:19 +03:00
}
2019-08-08 17:46:03 +03:00
.tag-code,
.tag-code td {
2020-08-25 22:48:53 +03:00
background-color: #f0f9ff;
border-color: #f1f8ff !important;
vertical-align: middle;
2019-11-15 05:52:59 +03:00
}
2020-11-01 23:04:26 +03:00
.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 06:07:38 +03:00
.board {
2020-08-25 22:48:53 +03:00
display: flex;
flex-direction: row;
flex-wrap: nowrap;
overflow-x: auto;
margin: 0 .5em;
2020-08-17 06:07:38 +03:00
}
.board-column {
2020-08-25 22:48:53 +03:00
background-color: rgba(0, 0, 0, .05) !important;
2020-11-01 23:04:26 +03:00
border: 1px solid var(--color-secondary) !important;
2020-08-25 22:48:53 +03:00
margin: 0 .5rem !important;
padding: .5rem !important;
width: 320px;
height: 60vh;
overflow-y: scroll;
flex: 0 0 auto;
overflow: visible;
display: flex;
flex-direction: column;
2020-08-17 06:07:38 +03:00
}
.board-column-header {
2020-08-25 22:48:53 +03:00
display: flex;
justify-content: space-between;
2020-08-17 06:07:38 +03:00
}
.board-label {
2020-08-25 22:48:53 +03:00
background: none !important;
line-height: 1.25 !important;
2020-08-17 06:07:38 +03:00
}
.board-column > .cards {
2020-08-25 22:48:53 +03:00
flex: 1;
display: flex;
flex-direction: column;
margin: 0 !important;
padding: 0 !important;
2020-08-17 06:07:38 +03:00
2020-08-25 22:48:53 +03:00
.card .meta > a.milestone {
color: #999999;
}
2020-08-17 06:07:38 +03:00
}
.board-column > .divider {
2020-08-25 22:48:53 +03:00
margin: 5px 0;
2020-08-17 06:07:38 +03:00
}
.board-column:first-child {
2020-08-25 22:48:53 +03:00
margin-left: auto !important;
2020-08-17 06:07:38 +03:00
}
.board-column:last-child {
2020-08-25 22:48:53 +03:00
margin-right: auto !important;
2020-08-17 06:07:38 +03:00
}
.board-card {
2020-08-25 22:48:53 +03:00
margin: 3px !important;
width: auto !important;
background-color: #fff;
border-radius: 5px;
cursor: pointer;
2020-08-17 06:07:38 +03:00
}
.board-card .header {
2020-08-25 22:48:53 +03:00
font-size: 1.1em !important;
2020-08-17 06:07:38 +03:00
}
.board-card .content {
2020-08-25 22:48:53 +03:00
padding: 5px 8px !important;
2020-08-17 06:07:38 +03:00
}
.board-card .extra.content {
2020-08-25 22:48:53 +03:00
padding: 5px 8px !important;
2020-08-17 06:07:38 +03:00
}
td.blob-excerpt {
2020-08-25 22:48:53 +03:00
background-color: #fafafa;
2020-08-17 06:07:38 +03:00
}
2019-10-14 01:29:10 +03:00
.issue-keyword {
2020-08-25 22:48:53 +03:00
border-bottom: 1px dotted #959da5;
display: inline-block;
2019-10-14 01:29:10 +03:00
}
2019-10-07 07:59:17 +03:00
.file-header {
2020-08-25 22:48:53 +03:00
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px !important;
2019-10-07 07:59:17 +03:00
}
.file-info {
2020-08-25 22:48:53 +03:00
display: flex;
align-items: center;
2019-10-07 07:59:17 +03:00
}
2020-09-08 20:17:56 +03:00
.file-info-entry {
display: flex;
align-items: center;
}
2019-10-07 07:59:17 +03:00
.file-info-entry + .file-info-entry {
2020-08-25 22:48:53 +03:00
border-left: 1px solid currentColor;
margin-left: 8px;
padding-left: 8px;
2019-10-07 07:59:17 +03:00
}
2019-10-29 17:29:39 +03:00
2020-11-04 10:14:07 +03:00
.webhook-info {
padding: 7px 12px;
margin: 10px 0;
background-color: #f8f8f8;
border: 1px solid #dddddd;
border-radius: 3px;
font-size: 13px;
line-height: 1.5;
overflow: auto;
}
2019-10-29 17:29:39 +03:00
.title_wip_desc {
2020-08-25 22:48:53 +03:00
margin-top: 1em;
2019-10-29 17:29:39 +03:00
}
2020-01-26 11:17:25 +03:00
2020-11-29 09:22:04 +03:00
.sidebar-item-link {
display: inline-flex;
align-items: center;
}
2020-01-26 11:17:25 +03:00
.diff-file-box[data-folded="true"] .diff-file-body {
2020-08-25 22:48:53 +03:00
display: none;
2020-01-26 11:17:25 +03:00
}
.diff-file-box[data-folded="true"] .diff-file-header {
2020-10-24 22:15:29 +03:00
border-radius: var(--border-radius) !important;
2020-01-26 11:17:25 +03:00
}
2020-03-26 01:58:25 +03:00
2020-12-12 04:06:22 +03:00
.diff-counter {
font-weight: 600;
margin-right: 8px;
}
.diff-stats-bar {
display: inline-block;
background-color: var(--color-red);
height: 12px;
width: 40px;
position: relative;
top: 2px;
.diff-stats-add-bar {
background-color: var(--color-green);
height: 100%;
}
}
2020-03-26 01:58:25 +03:00
/* prevent page shaking on language bar click */
2020-10-24 22:15:29 +03:00
.repository-summary-language-stats {
2020-08-25 22:48:53 +03:00
height: 48px;
overflow: hidden;
2020-03-26 01:58:25 +03:00
}
2020-05-14 19:06:01 +03:00
2020-05-16 20:45:44 +03:00
.ui.form .right .ui.button {
2020-08-25 22:48:53 +03:00
margin-left: .25em;
margin-right: 0;
2020-05-14 22:15:21 +03:00
}
2020-05-14 19:06:01 +03:00
.removed-code {
2020-08-25 22:48:53 +03:00
background-color: #fdb8c0;
2020-05-14 19:06:01 +03:00
}
.added-code {
2020-08-25 22:48:53 +03:00
background-color: #acf2bd;
2020-05-14 19:06:01 +03:00
}
2020-06-22 19:44:06 +03:00
.repository .ui.menu.new-menu {
2020-08-25 22:48:53 +03:00
background: none !important;
2020-06-22 19:44:06 +03:00
2020-11-17 08:33:19 +03:00
@media @mediaLgAndDown {
2020-11-10 21:28:07 +03:00
&::after {
2020-08-25 22:48:53 +03:00
background: none !important;
2020-06-22 19:44:06 +03:00
}
2020-08-25 22:48:53 +03:00
}
2020-06-22 19:44:06 +03:00
}
2020-08-17 06:07:38 +03:00
2020-12-05 13:09:09 +03:00
.repository.migrate .card {
transition: all .1s ease-in-out;
box-shadow: none !important;
border: 1px solid var(--color-secondary);
}
.repository.migrate .card:hover {
transform: scale(105%);
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
2020-09-09 21:29:10 +03:00
}