2015-07-24 04:50:05 +08:00
|
|
|
.repository {
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
padding-top: 15px;
|
2015-12-01 09:45:55 +08:00
|
|
|
|
2019-02-08 01:20:26 +08:00
|
|
|
.repo-header {
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.compact.menu {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.header {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.huge.breadcrumb {
|
|
|
|
font-weight: 400;
|
2019-02-08 01:20:26 +08:00
|
|
|
font-size: 1.5rem;
|
2019-09-13 12:15:26 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
svg {
|
2019-09-13 12:15:26 +08:00
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
svg.octicon-lock {
|
2019-09-13 12:15:26 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.fork-flag {
|
2020-02-12 01:02:41 +08:00
|
|
|
margin-left: 36px;
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-top: 3px;
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg.octicon-repo-forked {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-31 08:47:52 +08:00
|
|
|
.button {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-12-01 09:45:55 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.tabs {
|
|
|
|
.navbar {
|
|
|
|
justify-content: initial;
|
|
|
|
}
|
|
|
|
}
|
2017-08-14 06:49:38 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.navbar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.label {
|
|
|
|
margin-left: 7px;
|
|
|
|
padding: 3px 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-08-14 06:49:38 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.owner.dropdown {
|
|
|
|
min-width: 40% !important;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-31 08:47:52 +08:00
|
|
|
#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;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-31 08:47:52 +08:00
|
|
|
.ui.button {
|
|
|
|
padding: 8px 10px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2015-11-14 17:34:01 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.metas {
|
|
|
|
.menu {
|
|
|
|
overflow-x: auto;
|
2020-02-12 04:40:47 +08:00
|
|
|
max-height: 300px;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.list {
|
|
|
|
.hide {
|
2019-05-07 02:43:40 +08:00
|
|
|
display: none !important;
|
2017-05-05 15:15:36 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.item {
|
2019-05-13 14:26:32 +08:00
|
|
|
padding: 0;
|
2016-12-29 00:35:52 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.label.color {
|
|
|
|
padding: 0 8px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
a {
|
|
|
|
margin: 2px 0;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.text {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #444444;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-16 20:43:00 +08:00
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
#deadlineForm input {
|
|
|
|
width: 12.8rem;
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right: 0;
|
|
|
|
white-space: nowrap;
|
2018-07-16 20:43:00 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.header-wrapper {
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #fafafa;
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-top: -15px;
|
|
|
|
padding-top: 15px;
|
2015-11-14 17:34:01 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.tabs.divider {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.ui.tabular .svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.filter.menu {
|
|
|
|
.label.color {
|
|
|
|
border-radius: 3px;
|
|
|
|
margin-left: 15px;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
float: left;
|
2019-12-18 05:34:11 +08:00
|
|
|
margin: 0 -7px 0 -5px;
|
2018-05-10 00:29:04 +08:00
|
|
|
width: 16px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
&.labels .svg {
|
2019-01-23 12:10:38 +08:00
|
|
|
margin: -2px -7px 0 -5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-10-24 00:29:14 +08:00
|
|
|
&.labels {
|
|
|
|
.label-filter .menu .info {
|
|
|
|
display: inline-block;
|
2020-04-05 05:29:15 +08:00
|
|
|
padding: .5rem .25rem;
|
2019-10-24 00:29:14 +08:00
|
|
|
border-bottom: 1px solid #cccccc;
|
|
|
|
font-size: 12px;
|
2020-04-05 05:29:15 +08:00
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
2019-10-24 00:29:14 +08:00
|
|
|
|
|
|
|
code {
|
|
|
|
border: 1px solid #cccccc;
|
|
|
|
border-radius: 3px;
|
2020-04-05 05:29:15 +08:00
|
|
|
padding: 1px 2px;
|
2019-10-24 00:29:14 +08:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-23 12:10:38 +08:00
|
|
|
.text {
|
2020-02-24 00:48:27 +08:00
|
|
|
margin-left: .9em;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.menu {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-x: auto;
|
2019-05-07 02:43:40 +08:00
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.dropdown.item {
|
|
|
|
margin: 1px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-10-17 07:17:22 +08:00
|
|
|
|
2018-03-13 10:03:55 +08:00
|
|
|
.select-label {
|
|
|
|
.desc {
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.tabs {
|
|
|
|
&.container {
|
|
|
|
margin-top: 14px;
|
2019-05-13 14:26:32 +08:00
|
|
|
margin-bottom: 0;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.menu {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.divider {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
}
|
2015-11-14 17:34:01 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#clone-panel {
|
|
|
|
width: 350px;
|
2015-11-14 17:34:01 +08:00
|
|
|
|
2018-07-26 23:25:41 +08:00
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
input {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 5px 10px;
|
2018-07-26 23:25:41 +08:00
|
|
|
width: 50%;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-11-14 17:34:01 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.clone.button {
|
|
|
|
font-size: 13px;
|
|
|
|
padding: 0 5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:first-child {
|
2020-02-24 00:48:27 +08:00
|
|
|
border-radius: .28571429rem 0 0 .28571429rem;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.icon.button {
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.dropdown .menu {
|
2019-05-07 02:43:40 +08:00
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2015-12-08 04:20:54 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.file.list {
|
2017-10-27 14:10:54 +08:00
|
|
|
.repo-description {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#repo-desc {
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.choose.reference {
|
|
|
|
.header .icon {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
|
|
|
}
|
2016-08-15 16:42:20 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.repo-path {
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
.section,
|
|
|
|
.divider {
|
2017-10-27 12:30:54 +08:00
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2016-08-15 16:42:20 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#file-buttons {
|
|
|
|
font-weight: normal;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.button {
|
|
|
|
padding: 8px 10px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2018-07-26 23:25:41 +08:00
|
|
|
|
|
|
|
.ui.tiny.blue.buttons {
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2016-08-15 16:42:20 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#repo-files-table {
|
|
|
|
thead {
|
|
|
|
th {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.avatar {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-09-10 17:03:30 +08: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 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
tbody {
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 5px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #777777;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.octicon-mail-reply {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
&.octicon-file-directory,
|
|
|
|
&.octicon-file-submodule,
|
2018-05-01 15:04:36 +08:00
|
|
|
&.octicon-file-symlink-directory {
|
2017-10-27 12:30:54 +08:00
|
|
|
color: #1e70bf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
td {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2019-05-07 02:43:40 +08:00
|
|
|
overflow: initial;
|
|
|
|
|
|
|
|
&.name {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.message {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.age {
|
|
|
|
width: 120px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.truncate {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
td.message .isSigned {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
tr:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #ffffee;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
.jumpable-path {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #888888;
|
2019-05-07 02:43:40 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2016-08-15 16:42:20 +08:00
|
|
|
|
2017-10-27 14:10:54 +08:00
|
|
|
.non-diff-file-content {
|
2017-10-27 12:30:54 +08:00
|
|
|
.header {
|
|
|
|
.icon {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-22 07:04:20 +08:00
|
|
|
.small.icon {
|
2020-02-24 00:48:27 +08:00
|
|
|
font-size: .75em;
|
2020-02-22 07:04:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tiny.icon {
|
2020-02-24 00:48:27 +08:00
|
|
|
font-size: .5em;
|
2020-02-22 07:04:20 +08:00
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.file-actions {
|
2017-12-31 08:47:52 +08:00
|
|
|
margin-bottom: -5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08: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;
|
2017-10-27 14:10:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.btn-octicon:hover {
|
|
|
|
color: #4078c0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.btn-octicon-danger:hover {
|
|
|
|
color: #bd2c00;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.btn-octicon.disabled {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #bbbbbb;
|
2017-10-27 12:30:54 +08:00
|
|
|
cursor: default;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#delete-file-form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.view-raw {
|
|
|
|
padding: 5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
* {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
img {
|
2020-05-20 12:06:04 +08:00
|
|
|
padding: 5px 5px 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2016-08-15 16:42:20 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.plain-text {
|
2020-05-20 12:06:04 +08:00
|
|
|
padding: 1em 2em;
|
2019-05-14 12:11:22 +08:00
|
|
|
|
|
|
|
pre {
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-04-30 04:08:04 +08:00
|
|
|
|
2019-08-16 06:09:50 +08:00
|
|
|
.csv {
|
|
|
|
overflow-x: auto;
|
2019-10-04 00:54:33 +08:00
|
|
|
padding: 0 !important;
|
2019-08-16 06:09:50 +08:00
|
|
|
}
|
|
|
|
|
2019-04-28 08:07:55 +08:00
|
|
|
pre {
|
2019-04-30 04:08:04 +08:00
|
|
|
overflow: auto;
|
2019-04-28 08:07:55 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-08-12 18:44:09 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.sidebar {
|
|
|
|
padding-left: 0;
|
2015-08-12 18:44:09 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-20 04:31:28 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.file.editor {
|
|
|
|
.treepath {
|
|
|
|
width: 100%;
|
2016-02-02 09:55:12 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
input {
|
|
|
|
vertical-align: middle;
|
2020-02-24 00:48:27 +08:00
|
|
|
box-shadow: rgba(0, 0, 0, .0745098) 0 1px 2px inset;
|
2017-10-27 12:30:54 +08:00
|
|
|
width: inherit;
|
|
|
|
padding: 7px 8px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-03 17:42:09 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.tabular.menu {
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-03 17:42:09 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.commit-form-wrapper {
|
|
|
|
padding-left: 64px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.commit-avatar {
|
|
|
|
float: left;
|
|
|
|
margin-left: -64px;
|
|
|
|
width: 3em;
|
|
|
|
height: auto;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.commit-form {
|
|
|
|
position: relative;
|
|
|
|
padding: 15px;
|
|
|
|
margin-bottom: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
#avatar-arrow;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:after {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right-color: #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.quick-pull-choice {
|
|
|
|
.branch-name {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 6px;
|
2019-03-18 20:49:01 +08:00
|
|
|
font: 12px @monospaced-fonts, monospace;
|
2020-02-24 00:48:27 +08:00
|
|
|
color: rgba(0, 0, 0, .65);
|
|
|
|
background-color: rgba(209, 227, 237, .45);
|
2017-10-27 12:30:54 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.new-branch-name-input {
|
|
|
|
position: relative;
|
|
|
|
margin-left: 25px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
input {
|
|
|
|
width: 240px !important;
|
|
|
|
padding-left: 26px !important;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.octicon-git-branch {
|
|
|
|
position: absolute;
|
|
|
|
top: 9px;
|
|
|
|
left: 10px;
|
|
|
|
color: #b0c4ce;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-08 22:43:14 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.options {
|
|
|
|
#interval {
|
2019-05-07 02:43:40 +08:00
|
|
|
width: 100px !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
min-width: 100px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.danger {
|
|
|
|
.item {
|
|
|
|
padding: 20px 15px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-08 22:43:14 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
@comment-avatar-width: 3em;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-09-17 23:54:35 +08:00
|
|
|
.comment textarea {
|
|
|
|
max-height: none !important;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.new.issue {
|
|
|
|
.comment.form {
|
|
|
|
.comment {
|
|
|
|
.avatar {
|
|
|
|
width: @comment-avatar-width;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.content {
|
|
|
|
margin-left: 4em;
|
|
|
|
#avatar-arrow;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:after {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right-color: #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.markdown {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.metas {
|
|
|
|
min-width: 220px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.filter.menu {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
}
|
2015-08-20 20:18:49 +08:00
|
|
|
|
2017-05-05 15:15:36 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.view.issue {
|
|
|
|
.title {
|
2019-05-07 02:43:40 +08:00
|
|
|
padding-bottom: 0 !important;
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
h1 {
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 2.3rem;
|
|
|
|
margin-bottom: 5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.input {
|
2020-02-24 00:48:27 +08:00
|
|
|
font-size: .5em;
|
2017-10-27 12:30:54 +08:00
|
|
|
vertical-align: top;
|
|
|
|
width: 50%;
|
|
|
|
min-width: 600px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
input {
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 6px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.index {
|
|
|
|
font-weight: 300;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #aaaaaa;
|
2017-10-27 12:30:54 +08:00
|
|
|
letter-spacing: -1px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.label {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.edit-zone {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.pull-desc {
|
|
|
|
code {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #0166e6;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.pull {
|
|
|
|
&.tabular.menu {
|
2020-05-15 03:15:21 +08:00
|
|
|
margin-bottom: 1rem;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.merge.box {
|
|
|
|
.avatar {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2020-01-15 16:32:57 +08:00
|
|
|
.icon-octicon {
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
2020-01-17 14:03:40 +08:00
|
|
|
.branch-update.grid {
|
|
|
|
.row {
|
2020-05-21 01:12:08 +08:00
|
|
|
padding-bottom: 1rem;
|
2020-03-07 09:24:42 +08:00
|
|
|
.icon {
|
|
|
|
margin-top: 1.1rem;
|
|
|
|
}
|
2020-01-17 14:03:40 +08:00
|
|
|
}
|
|
|
|
}
|
2018-11-22 21:17:36 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-11-22 21:17:36 +08:00
|
|
|
.review-item {
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
.avatar,
|
|
|
|
.type-icon {
|
2018-11-22 21:17:36 +08:00
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2018-11-22 21:17:36 +08:00
|
|
|
width: 23px;
|
2020-02-12 09:53:18 +08:00
|
|
|
height: 23px;
|
2018-11-22 21:17:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2020-02-24 00:48:27 +08:00
|
|
|
margin: .3em 0 .5em .5em;
|
2018-11-22 21:17:36 +08:00
|
|
|
}
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
.type-icon {
|
2018-11-22 21:17:36 +08:00
|
|
|
float: right;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
.divider {
|
2020-02-24 00:48:27 +08:00
|
|
|
margin: .5rem 0;
|
2018-11-22 21:17:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.review-content {
|
|
|
|
padding: 1em 0 1em 3.8em;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.comment-list {
|
2019-07-07 05:37:46 +08:00
|
|
|
&:not(.prevent-before-timeline):before {
|
2017-10-27 12:30:54 +08:00
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 96px;
|
|
|
|
width: 2px;
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-04-11 06:01:41 +08:00
|
|
|
.timeline {
|
2019-07-07 05:37:46 +08:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
2020-04-11 06:01:41 +08:00
|
|
|
margin-left: 40px;
|
|
|
|
padding-left: 16px;
|
2019-07-07 05:37:46 +08:00
|
|
|
|
2020-04-11 06:01:41 +08:00
|
|
|
&:before { //ciara
|
2019-07-07 05:37:46 +08:00
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2020-04-11 06:01:41 +08:00
|
|
|
left: 30px;
|
2019-07-07 05:37:46 +08:00
|
|
|
width: 2px;
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-11 06:01:41 +08:00
|
|
|
.timeline-item,
|
|
|
|
.timeline-item-group {
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-item-group {
|
|
|
|
.timeline-item {
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-item {
|
|
|
|
margin-left: 16px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.timeline-avatar {
|
|
|
|
position: absolute;
|
|
|
|
left: -72px;
|
|
|
|
img {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-24 06:05:20 +08:00
|
|
|
&:first-child:not(.commit) {
|
2020-04-11 06:01:41 +08:00
|
|
|
padding-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-05-24 06:05:20 +08:00
|
|
|
&:last-child:not(.commit) {
|
2020-04-11 06:01:41 +08:00
|
|
|
padding-bottom: 0 !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-05-20 20:47:24 +08:00
|
|
|
.badge.badge-commit {
|
|
|
|
border-color: transparent;
|
|
|
|
background: radial-gradient(white 60%, transparent 60%) no-repeat;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
|
|
|
|
2020-04-11 06:01:41 +08:00
|
|
|
.badge {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 2px solid #eee;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
|
|
float: left;
|
|
|
|
margin-left: -32px;
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-right: 8px;
|
|
|
|
color: #444;
|
|
|
|
|
|
|
|
.svg {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 28px;
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
&.octicon-circle-slash {
|
|
|
|
color: #bd2c00;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.octicon-primitive-dot {
|
|
|
|
color: #6cc644;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.octicon-comment {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.comment > .content {
|
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.event > .text {
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
2020-04-19 08:15:07 +08:00
|
|
|
|
2020-05-24 06:05:20 +08:00
|
|
|
&.commits-list {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-top: 0;
|
2020-05-24 13:54:18 +08:00
|
|
|
|
2020-05-26 11:49:53 +08:00
|
|
|
.singular-commit {
|
|
|
|
&:not(:last-child) {
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shabox {
|
|
|
|
.sha.label {
|
|
|
|
margin: 0;
|
|
|
|
border: 1px solid #bbbbbb;
|
|
|
|
|
|
|
|
&.isSigned.isWarning {
|
|
|
|
border: 1px solid #db2828;
|
|
|
|
background: fade(#db2828, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#db2828, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.isSigned.isVerified {
|
|
|
|
border: 1px solid #21ba45;
|
|
|
|
background: fade(#21ba45, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#21ba45, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.isSigned.isVerifiedUntrusted {
|
|
|
|
border: 1px solid #fbbd08;
|
|
|
|
background: fade(#fbbd08, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#fbbd08, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.isSigned.isVerifiedUnmatched {
|
|
|
|
border: 1px solid #f2711c;
|
|
|
|
background: fade(#f2711c, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#f2711c, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-24 13:54:18 +08:00
|
|
|
}
|
2020-05-20 20:47:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.event > .commit-status-link {
|
|
|
|
float: right;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2020-04-19 08:15:07 +08:00
|
|
|
.author {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2020-05-18 13:33:47 +08:00
|
|
|
|
|
|
|
.comment-form-reply .footer {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
2020-04-11 06:01:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.tag {
|
|
|
|
color: #767676;
|
|
|
|
margin-top: 3px;
|
|
|
|
padding: 2px 5px;
|
|
|
|
font-size: 12px;
|
2020-02-24 00:48:27 +08:00
|
|
|
border: 1px solid rgba(0, 0, 0, .1);
|
2017-10-27 12:30:54 +08:00
|
|
|
border-radius: 3px;
|
2019-12-03 07:03:30 +08:00
|
|
|
&.review {
|
2019-10-26 08:43:38 +08:00
|
|
|
margin-left: 5px;
|
2019-12-03 07:03:30 +08:00
|
|
|
&.pending {
|
|
|
|
color: black;
|
|
|
|
background-color: #fffbb2;
|
|
|
|
}
|
2019-10-26 08:43:38 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.actions {
|
|
|
|
.item {
|
|
|
|
float: left;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-11-20 02:33:42 +08:00
|
|
|
&.context {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.tag {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.action {
|
|
|
|
margin-top: 6px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-05-15 03:15:21 +08:00
|
|
|
> .content {
|
|
|
|
> div:first-child {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div:last-child {
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.content {
|
2019-05-13 14:26:32 +08:00
|
|
|
> .header {
|
2017-10-27 12:30:54 +08:00
|
|
|
#avatar-arrow;
|
|
|
|
font-weight: normal;
|
2019-05-27 00:55:53 +08:00
|
|
|
padding: auto 15px;
|
2017-10-27 12:30:54 +08:00
|
|
|
position: relative;
|
|
|
|
color: #767676;
|
|
|
|
background-color: #f7f7f7;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.text {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
2020-04-11 06:01:41 +08:00
|
|
|
|
|
|
|
&.arrow-top::before,
|
|
|
|
&.arrow-top::after {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-top::before {
|
|
|
|
top: -9px;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.arrow-top::after {
|
|
|
|
top: -8px;
|
|
|
|
left: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions a {
|
|
|
|
color: rgba(0, 0, 0, .4);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgba(0, 0, 0, .8);
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-06-30 15:57:59 +08:00
|
|
|
> .merge-section {
|
|
|
|
background-color: #f7f7f7;
|
2020-05-26 03:08:06 +08:00
|
|
|
|
|
|
|
.item + .item {
|
|
|
|
padding-top: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
margin-left: -1rem;
|
|
|
|
margin-right: -1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-header {
|
|
|
|
#avatar-arrow;
|
|
|
|
}
|
2019-06-30 15:57:59 +08:00
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.markdown {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.no-content {
|
|
|
|
color: #767676;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .bottom.segment {
|
2017-10-27 12:30:54 +08:00
|
|
|
background: #f3f4f5;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.images::after {
|
|
|
|
clear: both;
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
height: 150px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border: solid 1px #eeeeee;
|
2017-10-27 12:30:54 +08:00
|
|
|
border-radius: 3px;
|
|
|
|
max-width: 150px;
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #ffffff;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:before {
|
2019-05-07 02:43:40 +08:00
|
|
|
content: ' ';
|
2017-10-27 12:30:54 +08:00
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.image {
|
|
|
|
max-height: 100%;
|
|
|
|
width: auto;
|
|
|
|
margin: 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
span.ui.image {
|
2017-11-05 20:12:27 +08:00
|
|
|
font-size: 128px;
|
2017-10-27 12:30:54 +08:00
|
|
|
color: #000000;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
span.ui.image:hover {
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-25 19:50:46 +08:00
|
|
|
&:target > .content {
|
|
|
|
box-shadow: 0 0 10px #8c8c8c;
|
|
|
|
}
|
|
|
|
|
2020-01-06 03:25:27 +08:00
|
|
|
&:target > .content > .code-comment-content {
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:target > .content > .code-comment-content > .text {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.form {
|
2020-05-15 03:15:21 +08:00
|
|
|
.field {
|
|
|
|
&:first-child {
|
|
|
|
clear: none;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-05-15 03:15:21 +08:00
|
|
|
&.footer {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tab.markdown {
|
|
|
|
min-height: 5rem;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
textarea {
|
|
|
|
height: 200px;
|
2019-03-18 20:49:01 +08:00
|
|
|
font-family: @monospaced-fonts, monospace;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit.buttons {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.event {
|
2020-04-11 06:01:41 +08:00
|
|
|
padding-left: 15px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
& > .svg:not(.issue-symbol) {
|
2019-07-07 06:03:00 +08:00
|
|
|
text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
|
|
|
|
}
|
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
& > .svg.issue-symbol {
|
2019-07-07 06:03:00 +08:00
|
|
|
font-size: 20px;
|
|
|
|
margin-left: -35px;
|
|
|
|
margin-right: -1px;
|
|
|
|
margin-top: 0 !important;
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 28px;
|
|
|
|
background: #eee;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
width: 15px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.octicon-key::before {
|
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.octicon-circle-slash::before {
|
|
|
|
width: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.octicon-comment {
|
|
|
|
font-size: 21px;
|
|
|
|
line-height: 33px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.detail {
|
2020-02-24 00:48:27 +08:00
|
|
|
font-size: .9rem;
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-left: 35px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
&.octicon-git-commit {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-04-11 06:01:41 +08:00
|
|
|
.segments {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-08-21 00:18:30 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.participants {
|
|
|
|
img {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-right: 5px;
|
2017-05-05 15:15:36 +08:00
|
|
|
}
|
|
|
|
}
|
2018-09-07 10:32:46 +08:00
|
|
|
|
|
|
|
.ui.depending {
|
|
|
|
.item.is-closed {
|
|
|
|
.title {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.comment.form {
|
|
|
|
.ui.comments {
|
|
|
|
margin-top: -12px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.content {
|
|
|
|
.field:first-child {
|
|
|
|
clear: none;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.form {
|
|
|
|
#avatar-arrow;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:after {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right-color: #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
textarea {
|
|
|
|
height: 200px;
|
2019-05-07 02:43:40 +08:00
|
|
|
font-family: @monospaced-fonts, monospace;
|
2017-05-05 15:15:36 +08: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 12:14:46 +08:00
|
|
|
.labelspage {
|
2017-10-27 12:30:54 +08:00
|
|
|
list-style: none;
|
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 12:14:46 +08:00
|
|
|
padding-top: 0;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.item {
|
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 12:14:46 +08:00
|
|
|
margin-top: 0;
|
|
|
|
margin-right: -14px;
|
|
|
|
margin-left: -14px;
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid #e1e4e8;
|
|
|
|
border-top: none;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
a {
|
|
|
|
font-size: 15px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-right: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #666666;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.open-issues {
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.label {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
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 12:14:46 +08:00
|
|
|
|
|
|
|
.item:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.orglabel {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-12-08 04:20:54 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.milestone.list {
|
|
|
|
list-style: none;
|
|
|
|
padding-top: 15px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2017-10-27 12:30:54 +08:00
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px dashed #aaaaaa;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> a {
|
2017-10-27 12:30:54 +08:00
|
|
|
padding-top: 5px;
|
|
|
|
padding-right: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:hover {
|
|
|
|
color: #4078c0;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.progress {
|
|
|
|
width: 40%;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.bar {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.meta {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #999999;
|
2017-10-27 12:30:54 +08:00
|
|
|
padding-top: 5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.issue-stats .svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.overdue {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.operate {
|
|
|
|
margin-top: -15px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> a {
|
2017-10-27 12:30:54 +08:00
|
|
|
font-size: 15px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-right: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #666666;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.content {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.new.milestone {
|
|
|
|
textarea {
|
|
|
|
height: 200px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#deadline {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
}
|
2017-01-05 10:04:41 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.compare.pull {
|
2019-06-08 04:29:29 +08:00
|
|
|
.show-form-container {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2019-06-13 12:23:45 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.choose.branch {
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2020-02-21 07:44:13 +08:00
|
|
|
margin-right: 10px;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.comment.form {
|
|
|
|
.content {
|
|
|
|
#avatar-arrow;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:after {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right-color: #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-25 01:53:37 +08:00
|
|
|
|
2020-05-25 18:04:02 +08:00
|
|
|
.pullrequest-form {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2020-05-25 01:53:37 +08:00
|
|
|
.markdown {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2017-01-05 10:04:41 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.filter.dropdown .menu {
|
2019-05-07 02:43:40 +08:00
|
|
|
margin-top: 1px !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2017-01-05 10:04:41 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
&.branches {
|
|
|
|
.commit-divergence {
|
|
|
|
.bar-group {
|
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
width: 90px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-left: 1px solid #b4b4b4;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
.count {
|
|
|
|
margin: 0 3px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
&.count-ahead {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
&.count-behind {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
.bar {
|
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
|
|
|
background-color: #d4d4d5;
|
|
|
|
|
|
|
|
&.bar-behind {
|
|
|
|
right: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-06 00:25:25 +08:00
|
|
|
&.bar-ahead {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.commits {
|
|
|
|
.header {
|
2017-12-31 08:47:52 +08:00
|
|
|
.search {
|
|
|
|
input {
|
|
|
|
font-weight: normal;
|
|
|
|
padding: 5px 10px;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#commits-table {
|
|
|
|
thead {
|
|
|
|
th:first-of-type {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.sha {
|
2017-12-31 08:47:52 +08:00
|
|
|
&td {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
width: 175px;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-08-06 12:43:22 +08:00
|
|
|
td.sha .sha.label {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-08-09 20:57:29 +08:00
|
|
|
td.message {
|
|
|
|
text-overflow: unset;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.ui.basic.striped.table tbody tr:nth-child(2n) {
|
2020-02-24 00:48:27 +08:00
|
|
|
background-color: rgba(0, 0, 0, .02) !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2015-10-03 07:58:36 +08:00
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
#commits-table td.sha .sha.label,
|
2020-06-03 08:22:26 +08:00
|
|
|
#repo-files-table .sha.label,
|
|
|
|
.timeline-item.commits-list .singular-commit .sha.label {
|
2019-08-04 20:55:20 +08:00
|
|
|
border: 1px solid #bbbbbb;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
.ui.signature.avatar {
|
|
|
|
height: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2019-08-04 20:55:20 +08:00
|
|
|
.detail.icon {
|
|
|
|
background: #fafafa;
|
|
|
|
margin: -6px -10px -4px 0;
|
2020-02-28 03:20:55 +08:00
|
|
|
padding: 5px 4px 5px 6px;
|
2019-08-04 20:55:20 +08:00
|
|
|
border-left: 1px solid #bbbbbb;
|
2020-02-28 03:20:55 +08:00
|
|
|
border-top: 0;
|
|
|
|
border-right: 0;
|
|
|
|
border-bottom: 0;
|
2019-08-04 20:55:20 +08:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2020-02-28 03:20:55 +08:00
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2018-08-06 12:43:22 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-10-16 21:42:42 +08:00
|
|
|
&.isSigned.isWarning {
|
|
|
|
border: 1px solid #db2828;
|
|
|
|
background: fade(#db2828, 10%);
|
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
2019-10-16 21:42:42 +08:00
|
|
|
.detail.icon {
|
2020-02-28 03:20:55 +08:00
|
|
|
border-left: 1px solid #db2828;
|
|
|
|
color: #db2828;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#db2828, 30%) !important;
|
2019-10-16 21:42:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
&.isSigned.isVerified {
|
2019-05-14 08:54:23 +08:00
|
|
|
border: 1px solid #21ba45;
|
|
|
|
background: fade(#21ba45, 10%);
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
.detail.icon {
|
2019-08-04 20:55:20 +08:00
|
|
|
border-left: 1px solid #21ba45;
|
2020-02-28 03:20:55 +08:00
|
|
|
color: #21ba45;
|
2019-08-04 20:55:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#21ba45, 30%) !important;
|
2018-08-06 12:43:22 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2020-02-28 03:20:55 +08:00
|
|
|
|
|
|
|
&.isSigned.isVerifiedUntrusted {
|
|
|
|
border: 1px solid #fbbd08;
|
|
|
|
background: fade(#fbbd08, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #fbbd08;
|
|
|
|
color: #fbbd08;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#fbbd08, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.isSigned.isVerifiedUnmatched {
|
|
|
|
border: 1px solid #f2711c;
|
|
|
|
background: fade(#f2711c, 10%);
|
|
|
|
|
|
|
|
.shortsha {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail.icon {
|
|
|
|
border-left: 1px solid #f2711c;
|
|
|
|
color: #f2711c;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: fade(#f2711c, 30%) !important;
|
|
|
|
}
|
|
|
|
}
|
2018-08-06 12:43:22 +08:00
|
|
|
}
|
2015-11-16 12:52:46 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.diff-detail-box {
|
2018-08-06 12:43:22 +08:00
|
|
|
padding: 7px 0;
|
2019-05-14 08:54:23 +08:00
|
|
|
background: #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
line-height: 30px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> div:after {
|
2018-08-06 12:43:22 +08:00
|
|
|
clear: both;
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
span.status {
|
2017-10-27 12:30:54 +08:00
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: middle;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.modify {
|
|
|
|
background-color: #f0db88;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.add {
|
|
|
|
background-color: #b4e2b4;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.del {
|
|
|
|
background-color: #e9aeae;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.rename {
|
|
|
|
background-color: #dad8ff;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-08-06 12:43:22 +08:00
|
|
|
.detail-files {
|
2019-05-14 08:54:23 +08:00
|
|
|
background: #ffffff;
|
2019-05-13 14:26:32 +08:00
|
|
|
margin: 0;
|
2017-12-31 08:47:52 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.diff-box .header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.count {
|
|
|
|
margin-right: 12px;
|
|
|
|
font-size: 13px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
.bar {
|
|
|
|
background-color: #bd2c00;
|
|
|
|
height: 12px;
|
|
|
|
width: 40px;
|
|
|
|
display: inline-block;
|
2020-05-20 12:06:04 +08:00
|
|
|
margin: 2px 4px 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
vertical-align: text-top;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.add {
|
|
|
|
background-color: #55a532;
|
|
|
|
height: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.file {
|
2017-12-15 02:26:59 +08:00
|
|
|
flex: 1;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #888888;
|
2017-10-27 12:30:54 +08:00
|
|
|
word-break: break-all;
|
|
|
|
}
|
2015-11-16 12:52:46 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.button {
|
|
|
|
margin: -5px 0 -5px 12px;
|
|
|
|
padding: 8px 10px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.diff-file-box {
|
|
|
|
.header {
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.file-body.file-code {
|
|
|
|
.lines-num {
|
|
|
|
text-align: right;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #a6a6a6;
|
2017-10-27 12:30:54 +08:00
|
|
|
background: #fafafa;
|
|
|
|
width: 1%;
|
2019-06-25 04:23:52 +08:00
|
|
|
min-width: 50px;
|
2017-10-27 12:30:54 +08:00
|
|
|
user-select: none;
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
|
|
span.fold {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.lines-num-old {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.code-diff {
|
|
|
|
font-size: 12px;
|
2015-11-16 12:52:46 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
td {
|
2019-08-08 22:46:03 +08:00
|
|
|
padding: 0 0 0 10px !important;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-top: 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.lines-num {
|
2018-03-07 06:44:45 +08:00
|
|
|
border-color: #d4d4d5;
|
|
|
|
border-right-width: 1px;
|
|
|
|
border-right-style: solid;
|
2019-08-08 22:46:03 +08:00
|
|
|
padding: 0 5px !important;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
td.halfwidth {
|
2018-03-07 06:44:45 +08:00
|
|
|
// halfwidth is used in split view - and in that case, 1% of each
|
|
|
|
width: 49%;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
|
2019-09-16 17:03:22 +08:00
|
|
|
td.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-06-27 05:35:07 +08:00
|
|
|
[data-line-num]::before {
|
2019-06-25 04:23:52 +08:00
|
|
|
content: attr(data-line-num);
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lines-type-marker {
|
|
|
|
width: 10px;
|
|
|
|
min-width: 10px;
|
2019-06-27 05:35:07 +08:00
|
|
|
user-select: none;
|
2019-06-25 04:23:52 +08:00
|
|
|
}
|
|
|
|
|
2019-06-27 05:35:07 +08:00
|
|
|
[data-type-marker]::before {
|
2019-06-25 04:23:52 +08:00
|
|
|
content: attr(data-type-marker);
|
|
|
|
text-align: right;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.code-diff-unified tbody tr {
|
|
|
|
&.del-code td {
|
|
|
|
background-color: #ffe0e0 !important;
|
|
|
|
border-color: #f1c0c0 !important;
|
|
|
|
}
|
2015-12-08 04:20:54 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.add-code td {
|
|
|
|
background-color: #d6fcd6 !important;
|
|
|
|
border-color: #c1e9c1 !important;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-03-07 06:44:45 +08:00
|
|
|
.code-diff-split {
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
table,
|
|
|
|
tbody {
|
2018-03-07 06:44:45 +08:00
|
|
|
width: 100%;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-03-07 06:44:45 +08:00
|
|
|
tbody tr {
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-03-07 06:44:45 +08:00
|
|
|
// light gray for empty lines before / after commit
|
2019-05-07 02:43:40 +08:00
|
|
|
&.add-code td:nth-child(1),
|
|
|
|
&.add-code td:nth-child(2),
|
2019-06-27 05:35:07 +08:00
|
|
|
&.add-code td:nth-child(3),
|
2019-06-25 04:23:52 +08:00
|
|
|
&.del-code td:nth-child(4),
|
|
|
|
&.del-code td:nth-child(5),
|
|
|
|
&.del-code td:nth-child(6) {
|
2018-03-07 06:44:45 +08:00
|
|
|
background-color: #fafafa;
|
|
|
|
}
|
2016-07-23 15:59:19 +08:00
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
&.del-code td:nth-child(1),
|
|
|
|
&.del-code td:nth-child(2),
|
2019-06-25 04:23:52 +08:00
|
|
|
&.del-code td:nth-child(3),
|
2018-03-07 06:44:45 +08:00
|
|
|
td.del-code {
|
|
|
|
background-color: #ffe0e0 !important;
|
|
|
|
border-color: #f1c0c0 !important;
|
|
|
|
}
|
2015-11-17 12:28:46 +08:00
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
&.add-code td:nth-child(4),
|
2019-06-25 04:23:52 +08:00
|
|
|
&.add-code td:nth-child(5),
|
|
|
|
&.add-code td:nth-child(6),
|
2019-05-07 02:43:40 +08:00
|
|
|
td.add-code {
|
2018-03-07 06:44:45 +08:00
|
|
|
background-color: #d6fcd6 !important;
|
|
|
|
border-color: #c1e9c1 !important;
|
|
|
|
}
|
|
|
|
|
2019-06-25 04:23:52 +08:00
|
|
|
td:nth-child(4) {
|
2018-03-07 06:44:45 +08:00
|
|
|
border-left-width: 1px;
|
|
|
|
border-left-style: solid;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.file-content {
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2020-05-20 12:06:04 +08:00
|
|
|
padding: 5px 5px 0;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-09-04 01:08:30 +08:00
|
|
|
img.emoji {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-31 08:47:52 +08:00
|
|
|
clear: right;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2020-02-21 03:53:55 +08:00
|
|
|
|
|
|
|
.ui.bottom.attached.table.segment {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-10-21 15:51:24 +08: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-counter {
|
|
|
|
margin-right: 15px;
|
|
|
|
|
|
|
|
.del {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
.add {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 14:10:54 +08:00
|
|
|
.repo-search-result {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 14:10:54 +08:00
|
|
|
.lines-num a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
2015-11-17 12:28:46 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.quickstart {
|
|
|
|
.guide {
|
|
|
|
.item {
|
|
|
|
padding: 1em;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
small {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.clone.button:first-child {
|
2020-02-24 00:48:27 +08:00
|
|
|
border-radius: .28571429rem 0 0 .28571429rem;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.action.small.input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#repo-clone-url {
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 5px 10px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-17 12:28:46 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.release {
|
|
|
|
#release-list {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-top: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-top: 20px;
|
|
|
|
padding-top: 15px;
|
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> li {
|
2017-10-27 12:30:54 +08:00
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
.meta,
|
|
|
|
.detail {
|
|
|
|
padding-top: 30px;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.meta {
|
|
|
|
text-align: right;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.tag:not(.icon) {
|
|
|
|
display: block;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.commit {
|
|
|
|
display: block;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.detail {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-left: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
|
|
|
|
.author {
|
|
|
|
img {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.download {
|
|
|
|
margin-top: 20px;
|
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> a {
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list {
|
|
|
|
padding-left: 0;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-top: 1px solid #eeeeee;
|
2017-10-27 12:30:54 +08:00
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
display: block;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px solid #eeeeee;
|
2020-02-04 03:50:37 +08:00
|
|
|
|
|
|
|
a > .text.right {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.dot {
|
|
|
|
width: 9px;
|
|
|
|
height: 9px;
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #cccccc;
|
2017-10-27 12:30:54 +08:00
|
|
|
z-index: 999;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
left: -5px;
|
|
|
|
top: 40px;
|
|
|
|
border-radius: 6px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border: 1px solid #ffffff;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.new.release {
|
|
|
|
.target {
|
|
|
|
min-width: 500px;
|
2015-11-17 15:18:05 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#tag-name {
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
2015-11-26 09:10:25 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.at {
|
|
|
|
margin-left: -5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.dropdown.icon {
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.selection.dropdown {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.prerelease.field {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-07-26 23:25:41 +08:00
|
|
|
|
|
|
|
.field {
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
button,
|
|
|
|
input {
|
2018-07-26 23:25:41 +08:00
|
|
|
@media only screen and (max-width: 438px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-11-26 09:10:25 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.forks {
|
|
|
|
.list {
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.item {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
|
|
|
|
.ui.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.link {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-26 09:10:25 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.wiki {
|
|
|
|
&.start {
|
|
|
|
.ui.segment {
|
|
|
|
padding-top: 70px;
|
|
|
|
padding-bottom: 100px;
|
2015-11-27 13:24:24 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
.svg {
|
2020-02-12 09:53:18 +08:00
|
|
|
height: 48px;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-01 09:45:55 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.new {
|
|
|
|
.CodeMirror {
|
|
|
|
.CodeMirror-code {
|
2019-03-18 20:49:01 +08:00
|
|
|
font-family: @monospaced-fonts, monospace;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.cm-comment {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-27 13:24:24 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.editor-preview {
|
|
|
|
background-color: white;
|
|
|
|
}
|
2019-11-18 03:42:44 +08:00
|
|
|
|
|
|
|
.ui.attached.tabular.menu.previewtabs {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
& + .field .editor-toolbar:not(.fullscreen) a.fa-eye {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-11-26 09:10:25 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.view {
|
|
|
|
.choose.page {
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
2015-11-17 15:18:05 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .markdown {
|
2017-10-27 12:30:54 +08:00
|
|
|
padding: 15px 30px;
|
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2017-10-27 12:30:54 +08:00
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-31 08:47:52 +08:00
|
|
|
|
|
|
|
@media only screen and (max-width: 767px) {
|
2018-03-07 06:44:45 +08:00
|
|
|
.dividing.header .stackable.grid .button {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2015-11-17 15:18:05 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.settings {
|
|
|
|
&.collaboration {
|
|
|
|
.collaborator.list {
|
|
|
|
padding: 0;
|
2015-11-17 15:18:05 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2017-10-27 12:30:54 +08:00
|
|
|
margin: 0;
|
|
|
|
line-height: 2em;
|
2016-08-14 18:32:24 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:not(:last-child) {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px solid #dddddd;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 16:16:22 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
#repo-collab-form {
|
|
|
|
#search-user-box {
|
|
|
|
.results {
|
|
|
|
left: 7px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.button {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-24 04:08:03 +08:00
|
|
|
|
|
|
|
#repo-collab-team-form {
|
|
|
|
#search-team-box {
|
|
|
|
.results {
|
|
|
|
left: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2017-09-14 16:16:22 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.branches {
|
|
|
|
.protected-branches {
|
|
|
|
.selection.dropdown {
|
|
|
|
width: 300px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.item {
|
2019-05-07 02:43:40 +08:00
|
|
|
border: 1px solid #eaeaea;
|
|
|
|
padding: 10px 15px;
|
2017-10-27 12:30:54 +08:00
|
|
|
|
2019-05-07 02:43:40 +08:00
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.branch-protection {
|
|
|
|
.help {
|
|
|
|
margin-left: 26px;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.fields {
|
|
|
|
margin-left: 20px;
|
|
|
|
display: block;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.whitelist {
|
|
|
|
margin-left: 26px;
|
|
|
|
|
|
|
|
.dropdown img {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-14 16:16:22 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.webhook {
|
|
|
|
.events {
|
|
|
|
.column {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.help {
|
|
|
|
font-size: 13px;
|
|
|
|
margin-left: 26px;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-03-22 18:43:54 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
.ui.attached.isSigned.isWarning {
|
|
|
|
border-left: 1px solid #c29393;
|
|
|
|
border-right: 1px solid #c29393;
|
|
|
|
|
|
|
|
&.top,
|
|
|
|
&.message {
|
|
|
|
border-top: 1px solid #c29393;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: #fff5f5;
|
|
|
|
color: #d95c5c;
|
|
|
|
|
|
|
|
.ui.text {
|
|
|
|
color: #d64444;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
}
|
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
&: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 {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-top: 1px solid #a3c293;
|
2019-05-07 02:43:40 +08:00
|
|
|
}
|
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: #fcfff5;
|
|
|
|
color: #6cc644;
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.text {
|
|
|
|
color: #21ba45;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px solid #a3c293;
|
2019-05-07 02:43:40 +08:00
|
|
|
}
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-28 03:20:55 +08:00
|
|
|
.ui.attached.isSigned.isVerifiedUntrusted {
|
|
|
|
border-left: 1px solid #c2c193;
|
|
|
|
border-right: 1px solid #c2c193;
|
|
|
|
|
|
|
|
&.top,
|
|
|
|
&.message {
|
|
|
|
border-top: 1px solid #c2c193;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: #fffff5;
|
|
|
|
color: #fbbd08;
|
|
|
|
|
|
|
|
.ui.text {
|
|
|
|
color: #d2ab00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
|
|
|
border-bottom: 1px solid #c2c193;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.attached.isSigned.isVerifiedUnmatched {
|
|
|
|
border-left: 1px solid #c2a893;
|
|
|
|
border-right: 1px solid #c2a893;
|
|
|
|
|
|
|
|
&.top,
|
|
|
|
&.message {
|
|
|
|
border-top: 1px solid #c2a893;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.message {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: #fffaf5;
|
|
|
|
color: #f2711c;
|
|
|
|
|
|
|
|
.ui.text {
|
|
|
|
color: #ee5f00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child,
|
|
|
|
&.bottom {
|
|
|
|
border-bottom: 1px solid #c2a893;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.ui.segment.sub-menu {
|
|
|
|
padding: 7px;
|
|
|
|
line-height: 0;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.list {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
.item {
|
2019-05-07 02:43:40 +08:00
|
|
|
width: 100%;
|
2017-10-27 12:30:54 +08:00
|
|
|
border-radius: 3px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
a {
|
|
|
|
color: black;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #666666;
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-11 17:34:17 +08:00
|
|
|
span.ui {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2017-10-27 12:30:54 +08:00
|
|
|
&.active {
|
2020-02-24 00:48:27 +08:00
|
|
|
background: rgba(0, 0, 0, .05);
|
2017-10-27 12:30:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
.segment.reactions,
|
|
|
|
.select-reaction {
|
2017-12-04 07:14:26 +08:00
|
|
|
&.dropdown .menu {
|
2019-05-07 02:43:40 +08:00
|
|
|
right: 0 !important;
|
|
|
|
left: auto !important;
|
2020-04-29 02:05:39 +08:00
|
|
|
min-width: 15em;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .header {
|
2020-02-24 00:48:27 +08:00
|
|
|
margin: .75rem 0 .5rem;
|
2017-12-04 07:14:26 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2017-12-04 07:14:26 +08:00
|
|
|
float: left;
|
2020-05-20 12:06:04 +08:00
|
|
|
padding: .5rem !important;
|
2020-04-29 02:05:39 +08:00
|
|
|
font-size: 1.5em;
|
2020-05-17 05:06:34 +08:00
|
|
|
width: 45px;
|
|
|
|
left: 13px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
img.emoji {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
.segment.reactions {
|
2019-11-16 05:47:04 +08:00
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-05-19 15:17:37 +08:00
|
|
|
.ui.label,
|
|
|
|
.ui.label.visible {
|
2020-04-29 02:05:39 +08:00
|
|
|
max-height: 40px;
|
2020-05-19 15:17:37 +08:00
|
|
|
padding: .4rem .8rem;
|
|
|
|
display: flex !important;
|
|
|
|
align-items: center;
|
2019-11-16 05:47:04 +08:00
|
|
|
border: 0;
|
|
|
|
border-right: 1px solid;
|
|
|
|
border-radius: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 14px;
|
2020-04-29 02:05:39 +08:00
|
|
|
font-weight: 100;
|
2019-11-16 05:47:04 +08:00
|
|
|
border-color: inherit !important;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
&.disabled {
|
|
|
|
cursor: default;
|
2020-02-24 00:48:27 +08:00
|
|
|
opacity: .5;
|
2017-12-04 07:14:26 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-11-16 05:47:04 +08:00
|
|
|
.ui.label.basic.blue {
|
|
|
|
background-color: #f1f8ff !important;
|
|
|
|
border-color: inherit !important;
|
|
|
|
}
|
|
|
|
|
2020-04-29 02:05:39 +08:00
|
|
|
.reaction-count {
|
2020-05-19 15:17:37 +08:00
|
|
|
margin-left: .5rem;
|
2020-04-29 02:05:39 +08:00
|
|
|
}
|
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
.select-reaction {
|
2020-05-19 15:17:37 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: .5rem;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
&:not(.active) a {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-04 07:14:26 +08:00
|
|
|
&:hover .select-reaction a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2019-10-29 08:19:18 +08:00
|
|
|
|
|
|
|
.ui.fluid.action.input {
|
|
|
|
.ui.search.action.input {
|
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
}
|
2020-02-11 17:34:17 +08:00
|
|
|
|
2020-02-27 04:44:14 +08:00
|
|
|
.repository-summary {
|
|
|
|
.segment.language-stats-details,
|
|
|
|
.segment.repository-summary {
|
|
|
|
border-top: none;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2020-03-20 10:10:02 +08:00
|
|
|
.segment.language-stats-details .item {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-02-27 04:44:14 +08:00
|
|
|
.segment.language-stats {
|
2020-02-11 17:34:17 +08:00
|
|
|
padding: 0;
|
2020-02-27 04:44:14 +08:00
|
|
|
height: 11px;
|
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 0;
|
2020-02-29 00:59:29 +08:00
|
|
|
user-select: none;
|
2020-02-27 04:44:14 +08:00
|
|
|
|
|
|
|
.bar {
|
|
|
|
white-space: nowrap;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2020-02-11 17:34:17 +08:00
|
|
|
}
|
2020-06-03 10:40:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.diff .committed-by {
|
|
|
|
padding-top: .5rem;
|
|
|
|
|
|
|
|
.ui.avatar {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin-right: .25rem;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
2020-02-11 17:34:17 +08:00
|
|
|
}
|
2015-08-06 22:48:11 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2015-10-03 07:58:36 +08:00
|
|
|
// End of .repository
|
2015-08-06 22:48:11 +08:00
|
|
|
|
2015-12-21 20:24:11 +08:00
|
|
|
&.user-cards {
|
2017-12-03 03:48:43 +08:00
|
|
|
.list {
|
|
|
|
padding: 0;
|
2019-07-29 14:14:56 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2017-12-03 03:48:43 +08: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-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.name {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.meta {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-21 20:24:11 +08:00
|
|
|
}
|
|
|
|
|
2015-11-22 14:32:09 +08:00
|
|
|
#search-repo-box,
|
2015-11-17 15:18:05 +08:00
|
|
|
#search-user-box {
|
2017-12-03 03:48:43 +08:00
|
|
|
.results {
|
|
|
|
.result {
|
|
|
|
.image {
|
|
|
|
float: left;
|
|
|
|
margin-right: 8px;
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.content {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-17 15:18:05 +08:00
|
|
|
}
|
|
|
|
|
2019-09-24 04:08:03 +08:00
|
|
|
#search-team-box {
|
|
|
|
.results {
|
|
|
|
.result {
|
|
|
|
.content {
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-20 07:09:47 +08:00
|
|
|
#issue-filters.hide {
|
2017-12-31 08:47:52 +08:00
|
|
|
display: none;
|
2017-03-15 09:10:35 +08:00
|
|
|
}
|
|
|
|
|
2019-02-28 01:24:21 +08:00
|
|
|
#issue-actions {
|
2019-05-07 02:43:40 +08:00
|
|
|
margin-top: -1rem !important; // counteract padding from Semantic
|
2019-02-28 01:24:21 +08:00
|
|
|
}
|
|
|
|
|
2019-02-20 07:09:47 +08:00
|
|
|
#issue-actions.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.checkbox.issue-checkbox {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2020-02-12 05:25:41 +08:00
|
|
|
.ui.menu .item > img:not(.ui) {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2015-08-25 22:58:34 +08:00
|
|
|
.issue.list {
|
2017-12-03 03:48:43 +08:00
|
|
|
list-style: none;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2017-12-03 03:48:43 +08:00
|
|
|
padding-top: 15px;
|
|
|
|
padding-bottom: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
border-bottom: 1px dashed #aaaaaa;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.title {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #444444;
|
2017-12-03 03:48:43 +08:00
|
|
|
font-size: 15px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0 6px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.comment {
|
|
|
|
padding-right: 10px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #666666;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.desc {
|
|
|
|
padding-top: 5px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #999999;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-05-26 12:48:23 +08:00
|
|
|
.waiting,
|
|
|
|
.approvals,
|
|
|
|
.rejects {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2018-02-06 18:22:31 +08:00
|
|
|
.checklist {
|
|
|
|
padding-left: 5px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-02-06 18:22:31 +08:00
|
|
|
.progress-bar {
|
|
|
|
margin-left: 2px;
|
|
|
|
width: 80px;
|
|
|
|
height: 6px;
|
|
|
|
display: inline-block;
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #eeeeee;
|
2018-02-06 18:22:31 +08:00
|
|
|
overflow: hidden;
|
|
|
|
border-radius: 3px;
|
|
|
|
vertical-align: 2px !important;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-02-06 18:22:31 +08:00
|
|
|
.progress {
|
2019-05-14 08:54:23 +08:00
|
|
|
background-color: #cccccc;
|
2018-02-06 18:22:31 +08:00
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-04 06:14:38 +08:00
|
|
|
.conflicting {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2019-11-08 04:12:23 +08:00
|
|
|
.due-date {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
a.milestone {
|
2019-09-12 17:31:36 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
color: #999999 !important;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #000000 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.ref {
|
|
|
|
margin-left: 8px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #999999 !important;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&:hover {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #000000 !important;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-09-12 17:31:36 +08:00
|
|
|
|
|
|
|
span {
|
|
|
|
margin-right: -4px;
|
|
|
|
}
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.assignee {
|
|
|
|
margin-top: -5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
.overdue {
|
|
|
|
color: red;
|
2018-05-02 03:05:28 +08:00
|
|
|
}
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
|
|
|
}
|
2015-08-25 22:58:34 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.page.buttons {
|
2017-12-03 03:48:43 +08:00
|
|
|
padding-top: 15px;
|
2015-08-25 22:58:34 +08:00
|
|
|
}
|
|
|
|
|
2016-08-30 20:07:50 +08:00
|
|
|
.ui.form {
|
2017-12-03 03:48:43 +08:00
|
|
|
.dropzone {
|
2019-05-14 08:54:23 +08:00
|
|
|
border: 2px dashed #0087f5;
|
2019-05-07 02:43:40 +08:00
|
|
|
box-shadow: none !important;
|
2020-05-15 03:15:21 +08:00
|
|
|
padding: 0;
|
|
|
|
min-height: 5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.dz-button {
|
|
|
|
color: rgba(0, 0, 0, .6);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .dz-button {
|
|
|
|
color: rgba(0, 0, 0, .8);
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.dz-error-message {
|
|
|
|
top: 140px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-12 18:44:09 +08:00
|
|
|
}
|
|
|
|
|
2015-08-15 20:55:03 +08:00
|
|
|
.settings {
|
2017-12-03 03:48:43 +08:00
|
|
|
.content {
|
|
|
|
margin-top: 2px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
> .header,
|
2017-12-03 03:48:43 +08:00
|
|
|
.segment {
|
2020-02-24 00:48:27 +08:00
|
|
|
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.list {
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2019-08-29 22:05:42 +08:00
|
|
|
.green:not(.ui.button) {
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #21ba45;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&:not(:first-child) {
|
|
|
|
border-top: 1px solid #eaeaea;
|
2019-05-07 02:43:40 +08:00
|
|
|
padding: 1rem;
|
2020-05-20 12:06:04 +08:00
|
|
|
margin: 15px -1rem -1rem;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
> .svg {
|
2017-12-03 03:48:43 +08:00
|
|
|
display: table-cell;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2020-02-12 01:02:41 +08:00
|
|
|
> .svg + .content {
|
2017-12-03 03:48:43 +08:00
|
|
|
display: table-cell;
|
2020-02-24 00:48:27 +08:00
|
|
|
padding: 0 0 0 .5em;
|
2017-12-03 03:48:43 +08:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.info {
|
|
|
|
margin-top: 10px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.tab.segment {
|
2019-05-14 08:54:23 +08:00
|
|
|
border: 0;
|
2017-12-03 03:48:43 +08:00
|
|
|
padding: 10px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
&.key {
|
2017-12-03 03:48:43 +08:00
|
|
|
.meta {
|
|
|
|
padding-top: 5px;
|
2019-05-14 08:54:23 +08:00
|
|
|
color: #666666;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&.email {
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item:not(:first-child) {
|
2017-12-03 03:48:43 +08:00
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&.collaborator {
|
2019-05-13 14:26:32 +08:00
|
|
|
> .item {
|
2017-12-03 03:48:43 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-24 23:13:42 +08:00
|
|
|
}
|
|
|
|
|
2015-08-10 00:23:20 +08:00
|
|
|
.ui.vertical.menu {
|
2017-12-03 03:48:43 +08:00
|
|
|
.header.item {
|
|
|
|
font-size: 1.1em;
|
|
|
|
background: #f0f0f0;
|
|
|
|
}
|
2015-08-10 00:23:20 +08:00
|
|
|
}
|
2015-07-24 23:13:42 +08:00
|
|
|
|
2015-08-09 22:45:38 +08:00
|
|
|
.edit-label.modal,
|
|
|
|
.new-label.segment {
|
2017-12-03 03:48:43 +08:00
|
|
|
.form {
|
|
|
|
.column {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.buttons {
|
|
|
|
margin-left: auto;
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.color.picker.column {
|
|
|
|
width: auto;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.color-picker {
|
|
|
|
height: 35px;
|
|
|
|
width: auto;
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.minicolors-swatch.minicolors-sprite {
|
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.precolors {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2020-05-20 12:06:04 +08:00
|
|
|
margin: 3px 10px auto;
|
2017-12-03 03:48:43 +08:00
|
|
|
width: 120px;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.color {
|
|
|
|
float: left;
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-30 03:21:59 +08:00
|
|
|
}
|
|
|
|
|
2016-02-08 00:41:11 +08:00
|
|
|
#avatar-arrow {
|
2019-05-07 02:43:40 +08:00
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
2017-12-03 03:48:43 +08:00
|
|
|
right: 100%;
|
|
|
|
top: 20px;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&:before {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-right-color: #d3d3d4;
|
2017-12-03 03:48:43 +08:00
|
|
|
border-width: 9px;
|
|
|
|
margin-top: -9px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&:after {
|
|
|
|
border-right-color: #f7f7f7;
|
|
|
|
border-width: 8px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
2016-02-07 12:20:11 +08:00
|
|
|
}
|
|
|
|
|
2015-08-30 03:21:59 +08:00
|
|
|
#transfer-repo-modal,
|
|
|
|
#delete-repo-modal {
|
2017-12-03 03:48:43 +08:00
|
|
|
.ui.message {
|
2019-05-07 02:43:40 +08:00
|
|
|
width: 100% !important;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2015-12-08 04:20:54 +08:00
|
|
|
}
|
2016-08-12 08:07:09 +08:00
|
|
|
|
|
|
|
// generate .tab-size-{i} from 1 to 16
|
|
|
|
.generate-tab-size(16);
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2016-08-12 08:07:09 +08:00
|
|
|
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
|
2017-12-03 03:48:43 +08:00
|
|
|
.tab-size-@{i} {
|
2019-05-13 14:26:32 +08:00
|
|
|
tab-size: @i !important;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.generate-tab-size(@n, (@i + 1));
|
2016-08-12 08:07:09 +08:00
|
|
|
}
|
2017-10-15 07:17:39 +08:00
|
|
|
|
2017-10-22 04:07:06 +08:00
|
|
|
.stats-table {
|
2017-12-03 03:48:43 +08:00
|
|
|
display: table;
|
|
|
|
width: 100%;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
.table-cell {
|
|
|
|
display: table-cell;
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2017-12-03 03:48:43 +08:00
|
|
|
&.tiny {
|
2020-02-24 00:48:27 +08:00
|
|
|
height: .5em;
|
2017-12-03 03:48:43 +08:00
|
|
|
}
|
|
|
|
}
|
2017-10-15 07:17:39 +08:00
|
|
|
}
|
2017-11-30 13:08:40 +08:00
|
|
|
|
2017-12-03 01:20:52 +08:00
|
|
|
tbody.commit-list {
|
|
|
|
vertical-align: baseline;
|
2017-11-30 13:08:40 +08:00
|
|
|
}
|
|
|
|
|
2020-02-18 01:45:55 +08:00
|
|
|
.message-wrapper {
|
2019-06-14 09:32:14 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-08-09 20:57:29 +08:00
|
|
|
max-width: calc(100% - 50px);
|
2019-06-14 09:32:14 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2020-02-18 01:45:55 +08:00
|
|
|
@media only screen and (max-width: 767.98px) {
|
|
|
|
tr.commit-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
th .message-wrapper {
|
|
|
|
display: block;
|
|
|
|
max-width: calc(100vw - 70px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
|
|
|
|
tr.commit-list {
|
|
|
|
width: 723px;
|
|
|
|
}
|
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 280px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
|
|
|
|
tr.commit-list {
|
|
|
|
width: 933px;
|
|
|
|
}
|
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 490px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (min-width: 1200px) {
|
|
|
|
tr.commit-list {
|
|
|
|
width: 1127px;
|
|
|
|
}
|
|
|
|
th .message-wrapper {
|
|
|
|
max-width: 680px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-10 17:03:30 +08:00
|
|
|
.commit-list .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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-09 20:57:29 +08:00
|
|
|
.commit-list .commit-status-link {
|
2019-06-14 09:32:14 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-11-30 13:08:40 +08:00
|
|
|
.commit-body {
|
2017-12-03 03:48:43 +08:00
|
|
|
white-space: pre-wrap;
|
2017-11-30 13:08:40 +08:00
|
|
|
}
|
2017-12-31 08:47:52 +08:00
|
|
|
|
2019-05-24 15:52:05 +08:00
|
|
|
.git-notes {
|
|
|
|
&.top {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2019-06-13 12:23:45 +08:00
|
|
|
|
2019-05-24 15:52:05 +08:00
|
|
|
.commit-body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-31 08:47:52 +08:00
|
|
|
@media only screen and (max-width: 767px) {
|
2018-03-07 06:44:45 +08:00
|
|
|
.ui.stackable.menu {
|
2019-05-13 14:26:32 +08:00
|
|
|
&.mobile--margin-between-items > .item {
|
2018-03-07 06:44:45 +08:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-05-07 02:43:40 +08:00
|
|
|
|
2018-03-07 06:44:45 +08:00
|
|
|
&.mobile--no-negative-margins {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-12-31 08:47:52 +08:00
|
|
|
}
|
2018-04-11 10:51:44 +08:00
|
|
|
|
|
|
|
#topic_edit {
|
2019-02-06 05:59:26 +08:00
|
|
|
margin-top: 5px;
|
2018-04-11 10:51:44 +08:00
|
|
|
}
|
|
|
|
|
2019-02-06 05:59:26 +08:00
|
|
|
#repo-topics {
|
2018-04-11 10:51:44 +08:00
|
|
|
margin-top: 5px;
|
2018-05-10 00:29:04 +08:00
|
|
|
}
|
2018-07-26 23:25:41 +08:00
|
|
|
|
2019-02-06 05:59:26 +08:00
|
|
|
.repo-topic {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-05-12 19:10:12 +08:00
|
|
|
#new-dependency-drop-list {
|
|
|
|
&.ui.selection.dropdown {
|
|
|
|
min-width: 0;
|
2019-05-13 14:26:32 +08:00
|
|
|
width: 100%;
|
2019-05-12 19:10:12 +08:00
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
border-right: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2019-02-06 05:59:26 +08:00
|
|
|
width: 100%;
|
2019-05-12 19:10:12 +08:00
|
|
|
overflow: hidden;
|
2019-02-06 05:59:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#manage_topic {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
.label + #manage_topic {
|
2019-02-06 05:59:26 +08:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2019-12-04 12:10:40 +08:00
|
|
|
.ui.small.label.topic {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2019-02-06 05:59:26 +08:00
|
|
|
.repo-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repo-header .repo-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-07-26 23:25:41 +08:00
|
|
|
}
|
2019-03-06 08:48:30 +08:00
|
|
|
|
|
|
|
.repo-buttons .disabled-repo-button .label {
|
2020-02-24 00:48:27 +08:00
|
|
|
opacity: .5;
|
2019-03-06 08:48:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.repo-buttons .disabled-repo-button a.button {
|
2020-02-24 00:48:27 +08:00
|
|
|
opacity: .5;
|
2019-05-07 02:43:40 +08:00
|
|
|
cursor: not-allowed;
|
2019-03-06 08:48:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.repo-buttons .disabled-repo-button a.button:hover {
|
2019-05-07 02:43:40 +08:00
|
|
|
background: none !important;
|
2020-02-24 00:48:27 +08:00
|
|
|
color: rgba(0, 0, 0, .6) !important;
|
|
|
|
box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important;
|
2019-03-06 08:48:30 +08:00
|
|
|
}
|
|
|
|
|
2019-05-13 14:26:32 +08:00
|
|
|
.repo-buttons .ui.labeled.button > .label {
|
2019-05-14 08:54:23 +08:00
|
|
|
border-left: 0 !important;
|
2019-05-07 02:43:40 +08:00
|
|
|
margin: 0 !important;
|
2019-03-06 08:48:30 +08:00
|
|
|
}
|
2019-08-08 22:46:03 +08:00
|
|
|
|
|
|
|
.tag-code,
|
|
|
|
.tag-code td {
|
|
|
|
background-color: #f0f0f0 !important;
|
|
|
|
border-color: #d3cfcf !important;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2019-10-07 12:59:17 +08:00
|
|
|
|
2019-11-15 10:52:59 +08:00
|
|
|
td.blob-excerpt {
|
|
|
|
background-color: #fafafa;
|
|
|
|
}
|
|
|
|
|
2019-10-14 06:29:10 +08:00
|
|
|
.issue-keyword {
|
|
|
|
border-bottom: 1px dotted #959da5;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-10-07 12:59:17 +08:00
|
|
|
.file-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px 12px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-info-entry + .file-info-entry {
|
|
|
|
border-left: 1px solid currentColor;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
2019-10-29 22:29:39 +08:00
|
|
|
|
|
|
|
.title_wip_desc {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2020-01-26 16:17:25 +08:00
|
|
|
|
|
|
|
.diff-file-box[data-folded="true"] .diff-file-body {
|
2020-02-07 18:38:50 +08:00
|
|
|
display: none;
|
2020-01-26 16:17:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-file-box[data-folded="true"] .diff-file-header {
|
2020-02-24 00:48:27 +08:00
|
|
|
border-radius: .28571429rem !important;
|
2020-01-26 16:17:25 +08:00
|
|
|
}
|
2020-03-26 06:58:25 +08:00
|
|
|
|
|
|
|
/* prevent page shaking on language bar click */
|
|
|
|
.repository.file .repository-summary {
|
|
|
|
height: 48px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-05-15 00:06:01 +08:00
|
|
|
|
2020-05-17 01:45:44 +08:00
|
|
|
.ui.form .right .ui.button {
|
2020-05-15 03:15:21 +08:00
|
|
|
margin-left: .25em;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-05-15 00:06:01 +08:00
|
|
|
.removed-code {
|
|
|
|
background-color: #ff9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.added-code {
|
|
|
|
background-color: #99ff99;
|
|
|
|
}
|