forgejo/public/less/_repository.less

1492 lines
23 KiB
Text
Raw Normal View History

2015-07-23 23:50:05 +03:00
.repository {
@mega-octicon-width: 30px;
padding-top: 15px;
2015-08-20 15:18:49 +03:00
padding-bottom: @footer-margin * 2;
2015-08-12 13:12:06 +03:00
2015-07-23 23:50:05 +03:00
.head {
2015-08-12 14:08:10 +03:00
.column {
2016-07-16 07:45:13 +03:00
padding-top: 5px !important;
padding-bottom: 5px !important;
2015-08-12 14:08:10 +03:00
}
2015-08-12 13:12:06 +03:00
.ui.compact.menu {
margin-left: 1rem;
2015-07-23 23:50:05 +03:00
}
2015-08-12 13:12:06 +03:00
.ui.header {
margin-top: 0;
2015-07-23 23:50:05 +03:00
}
.mega-octicon {
width: @mega-octicon-width;
2015-08-09 17:45:38 +03:00
font-size: 30px;
2015-07-23 23:50:05 +03:00
}
2015-08-12 14:08:10 +03:00
.ui.huge.breadcrumb {
2015-12-03 09:03:06 +03:00
font-weight: 400;
2015-08-12 14:08:10 +03:00
font-size: 1.7rem;
2015-07-23 23:50:05 +03:00
}
.fork-flag {
margin-left: @mega-octicon-width + 8px;
2015-12-12 02:52:28 +03:00
margin-top: 3px;
2015-07-23 23:50:05 +03:00
display: block;
2015-09-03 01:32:23 +03:00
font-size: 12px;
2015-07-23 23:50:05 +03:00
white-space: nowrap;
}
2016-07-16 07:45:13 +03:00
.octicon.octicon-repo-forked {
margin-top: -1px;
font-size: 15px;
}
2015-07-23 23:50:05 +03:00
}
2015-08-12 13:12:06 +03:00
2015-11-26 04:10:25 +03:00
.navbar {
2017-01-27 09:10:21 +03:00
display: flex;
justify-content: space-between;
2015-11-26 04:10:25 +03:00
.ui.label {
margin-top: -2px;
margin-left: 7px;
padding: 3px 5px;
}
}
.owner.dropdown {
min-width: 40% !important;
}
2015-08-10 13:57:57 +03:00
.metas {
.menu {
max-height: 300px;
overflow-x: auto;
2015-08-10 13:57:57 +03:00
}
.ui.list {
.hide {
display: none!important;
}
.item {
padding: 0px;
}
2015-08-10 13:57:57 +03:00
.label.color {
padding: 0 8px;
margin-right: 5px;
}
a {
margin: 2px 0;
2015-08-10 13:57:57 +03:00
.text {
color: #444;
&:hover {
color: #000;
}
2015-08-10 11:52:08 +03:00
}
}
}
}
2016-02-15 02:09:33 +03:00
.header-wrapper {
background-color: #FAFAFA;
margin-top: -15px;
2016-02-15 02:09:33 +03:00
padding-top: 15px;
.ui.tabs.divider {
border-bottom: none;
}
2016-07-16 07:45:13 +03:00
.ui.tabular .octicon {
margin-right: 5px;
}
2016-02-15 02:09:33 +03:00
}
2015-07-24 21:52:25 +03:00
.filter.menu {
.label.color {
border-radius: 3px;
2015-08-09 17:45:38 +03:00
margin-left: 15px;
2015-07-24 21:52:25 +03:00
padding: 0 8px;
}
.octicon {
float: left;
margin-left: -5px;
margin-right: -7px;
}
.menu {
max-height: 300px;
overflow-x: auto;
right: 0!important;
left: auto!important;
}
.dropdown.item {
margin: 1px;
padding-right: 0;
}
2015-07-23 23:50:05 +03:00
}
.ui.tabs {
&.container {
margin-top: 14px;
margin-bottom: 0px;
.ui.menu {
border-bottom: none;
}
}
&.divider {
margin-top: 0;
margin-bottom: 20px;
}
}
2015-12-01 04:45:55 +03:00
#clone-panel {
margin-top: -8px;
2016-08-30 15:07:50 +03:00
margin-left: 5px;
width: 350px;
2015-12-01 04:45:55 +03:00
input {
border-radius: 0;
padding: 5px 10px;
2015-12-01 04:45:55 +03:00
}
.clone.button {
font-size: 13px;
padding: 0 5px;
&:first-child {
border-radius: .28571429rem 0 0 .28571429rem;
2015-12-01 04:45:55 +03:00
}
}
.icon.button {
padding: 0 10px;
}
.dropdown .menu {
right: 0!important;
left: auto!important;
}
}
&.file.list {
#repo-desc {
font-size: 1.2em;
}
.choose.reference {
.header .icon {
font-size: 1.4em;
}
}
#file-buttons {
font-weight: normal;
margin-top: -3px;
.ui.button {
padding: 8px 10px;
2016-09-01 07:35:04 +03:00
font-weight: normal;
}
}
#repo-files-table {
thead {
th {
padding-top: 8px;
padding-bottom: 5px;
font-weight: normal;
2015-12-03 04:10:00 +03:00
&:first-child {
display: block;
position: relative;
width: 325%;
}
}
.ui.avatar {
margin-bottom: 5px;
}
}
tbody {
2016-07-16 07:45:13 +03:00
.octicon {
2015-12-03 03:53:39 +03:00
margin-left: 3px;
margin-right: 5px;
color: #777;
2016-07-16 07:45:13 +03:00
&.octicon-mail-reply {
margin-right: 10px;
}
&.octicon-file-directory, &.octicon-file-submodule {
color: #1e70bf;
}
}
}
td {
padding-top: 8px;
padding-bottom: 8px;
}
tr:hover {
background-color: #ffffEE;
}
2016-12-28 19:35:52 +03:00
.jumpable-path {
color: #888;
}
}
#file-content {
.header {
.icon {
font-size: 1em;
margin-top: -2px;
}
.file-actions {
padding-left: 20px;
.btn-octicon {
display: inline-block;
padding: 5px;
margin-left: 5px;
line-height: 1;
color: #767676;
vertical-align: middle;
background: transparent;
border: 0;
outline: none;
}
.btn-octicon:hover {
color: #4078c0;
}
.btn-octicon-danger:hover {
color: #bd2c00;
}
.btn-octicon.disabled {
color: #bbb;
cursor: default;
}
#delete-file-form {
display: inline-block;
}
}
}
.view-raw {
padding: 5px;
* {
max-width: 100%;
}
img {
padding: 5px 5px 0 5px;
}
}
.code-view {
* {
2015-12-13 08:46:28 +03:00
font-size: 12px;
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 20px;
}
table {
width: 100%;
}
.lines-num {
vertical-align: top;
text-align: right;
color: #999;
background: #f5f5f5;
width: 1%;
span {
line-height: 20px;
padding: 0 10px;
cursor: pointer;
display: block;
}
}
.lines-num,
.lines-code {
padding: 0;
pre,
ol,
.hljs {
background-color: white;
margin: 0;
padding: 0 !important;
li {
display: inline-block;
width: 100%;
&.active {
background: #ffffdd;
}
&:before {
content: ' ';
}
}
}
}
}
}
.sidebar {
padding-left: 0;
.octicon {
width: 16px;
}
}
}
&.file.editor {
.treepath {
width: 100%;
input {
vertical-align: middle;
box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 2px inset;
width: inherit;
padding: 7px 8px;
margin-right: 5px;
}
}
.tabular.menu {
.octicon {
margin-right: 5px;
}
}
.commit-form-wrapper {
padding-left: 64px;
.commit-avatar {
float: left;
margin-left: -64px;
width: 3em;
height: auto;
}
.commit-form {
position: relative;
padding: 15px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 3px;
#avatar-arrow;
&:after {
border-right-color: #fff;
}
.quick-pull-choice {
.branch-name {
display: inline-block;
padding: 3px 6px;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
color: rgba(0,0,0,0.65);
background-color: rgba(209,227,237,0.45);
border-radius: 3px;
}
.new-branch-name-input {
position: relative;
margin-left: 25px;
input {
width: 240px !important;
padding-left: 26px !important;
}
}
.octicon-git-branch {
position: absolute;
top: 9px;
left: 10px;
color: #b0c4ce;
}
}
}
}
}
2015-08-29 22:21:59 +03:00
&.options {
#interval {
width: 100px!important;
min-width: 100px;
}
.danger {
.item {
padding: 20px 15px;
}
.ui.divider {
margin: 0;
}
}
}
2015-08-03 12:42:09 +03:00
@comment-avatar-width: 3em;
&.new.issue {
.comment.form {
2015-08-12 13:44:09 +03:00
.comment {
.avatar {
width: @comment-avatar-width;
}
}
.content {
margin-left: 4em;
2016-02-07 19:41:11 +03:00
#avatar-arrow;
&:after {
border-right-color: #fff;
}
.markdown {
font-size: 14px;
}
}
.metas {
min-width: 220px;
2015-08-10 11:52:08 +03:00
.filter.menu {
max-height: 300px;
overflow-x: auto;
}
}
2015-08-12 13:44:09 +03:00
}
}
&.view.issue {
.title {
padding-bottom: 0!important;
h1 {
font-weight: 300;
2016-02-07 22:23:26 +03:00
font-size: 2.3rem;
margin-bottom: 5px;
2015-08-19 18:14:57 +03:00
.ui.input {
font-size: 0.5em;
2015-08-19 18:14:57 +03:00
vertical-align: top;
width: 50%;
min-width: 600px;
input {
font-size: 1.5em;
2015-08-19 18:14:57 +03:00
padding: 6px 10px;
}
}
}
.index {
font-weight: 300;
color: #aaa;
letter-spacing: -1px;
}
.label {
margin-right: 10px;
}
2015-08-19 18:14:57 +03:00
.edit-zone {
margin-top: 10px;
2015-08-19 18:14:57 +03:00
}
}
2015-09-02 02:26:39 +03:00
.pull-desc {
code {
color: #0166E6;
}
}
2015-09-02 02:07:02 +03:00
.pull {
2015-09-02 02:26:39 +03:00
&.tabular.menu {
margin-bottom: 10px;
.octicon {
margin-right: 5px;
2015-09-02 02:07:02 +03:00
}
2015-09-02 02:26:39 +03:00
}
&.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
box-shadow: none;
background-color: inherit;
2015-09-02 02:26:39 +03:00
}
2015-09-02 11:08:05 +03:00
.merge.box {
.avatar {
margin-left: 10px;
margin-top: 10px;
}
}
2015-09-02 02:07:02 +03:00
}
.comment-list {
2015-08-13 18:21:43 +03:00
&:before {
display: block;
content: "";
position: absolute;
margin-top: 12px;
margin-bottom: 14px;
2015-08-13 18:21:43 +03:00
top: 0;
bottom: 0;
left: 96px;
width: 2px;
background-color: #f3f3f3;
z-index: -1;
}
.comment {
.avatar {
width: @comment-avatar-width;
}
.tag {
color: #767676;
margin-top: 3px;
padding: 2px 5px;
font-size: 12px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 3px;
}
2015-08-19 18:14:57 +03:00
.actions {
.item {
float: left;
2016-07-25 21:48:17 +03:00
&.tag {
margin-right: 5px;
}
&.action {
margin-top: 6px;
margin-left: 10px;
}
2015-08-19 18:14:57 +03:00
}
}
.content {
margin-left: 4em;
.header {
2016-02-07 19:41:11 +03:00
#avatar-arrow;
font-weight: normal;
padding: auto 15px;
position: relative;
color: #767676;
background-color: #f7f7f7;
border-bottom: 1px solid #eee;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
.text {
max-width: 78%;
padding-top: 10px;
padding-bottom: 10px;
}
}
.markdown {
font-size: 14px;
}
2015-08-12 13:44:09 +03:00
.no-content {
color: #767676;
font-style: italic;
}
> .bottom.segment {
background: #f3f4f5;
2016-02-26 17:09:37 +03:00
.ui.images::after {
clear: both;
content: ' ';
display: block;
}
a {
display: block;
float: left;
margin: 5px;
padding: 5px;
height: 150px;
border: solid 1px #eee;
border-radius: 3px;
max-width: 150px;
background-color: #fff;
&:before {
content:' ';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
.ui.image {
2016-02-26 17:09:37 +03:00
max-height: 100%;
width: auto;
margin: 0;
vertical-align: middle;
}
span.ui.image {
font-size: 8vw;
color: #000000;
}
span.ui.image:hover {
color: #000000;
}
}
}
2015-08-12 13:44:09 +03:00
.ui.form {
.field:first-child {
clear: none;
}
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
2015-08-12 13:44:09 +03:00
}
textarea {
height: 200px;
font-family: "Consolas", monospace;
2015-08-12 13:44:09 +03:00
}
}
2015-08-19 23:31:28 +03:00
.edit.buttons {
margin-top: 10px;
}
}
2015-08-13 18:21:43 +03:00
.event {
position: relative;
margin: 15px 0 15px 79px;
padding-left: 25px;
.octicon {
width: 30px;
float: left;
text-align: center;
&.octicon-circle-slash {
margin-top: 5px;
2016-07-25 21:56:07 +03:00
margin-left: -34.5px;
font-size: 20px;
color: #bd2c00;
}
&.octicon-primitive-dot {
2016-07-25 21:56:07 +03:00
margin-left: -28.5px;
margin-right: -1px;
font-size: 30px;
color: #6cc644;
}
&.octicon-bookmark {
margin-top: 3px;
2016-07-25 21:56:07 +03:00
margin-left: -31px;
margin-right: -1px;
font-size: 25px;
}
}
.detail {
font-size: 0.9rem;
margin-top: 5px;
margin-left: 35px;
.octicon {
&.octicon-git-commit {
margin-top: 2px;
}
}
}
2015-08-13 18:21:43 +03:00
}
}
.ui.segment.metas {
margin-top: -3px;
}
2016-02-02 04:55:12 +03:00
.ui.participants {
img {
margin-top: 5px;
margin-right: 5px;
}
}
}
.comment.form {
.ui.comments {
margin-top: -12px;
2015-08-12 13:44:09 +03:00
max-width: 100%;
}
.content {
.field:first-child {
clear: none;
}
.form {
2016-02-07 19:41:11 +03:00
#avatar-arrow;
&:after {
border-right-color: #fff;
}
}
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
}
textarea {
height: 200px;
font-family: "Consolas", monospace;
}
}
}
2015-08-03 12:42:09 +03:00
.label.list {
2015-08-03 12:42:09 +03:00
list-style: none;
2015-08-09 17:45:38 +03:00
padding-top: 15px;
.item {
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed #AAA;
a {
font-size: 15px;
padding-top: 5px;
padding-right: 10px;
color: #666;
&:hover {
color: #000;
}
&.open-issues {
margin-right: 30px;
}
}
2016-02-27 19:31:24 +03:00
.ui.label {
font-size: 1em;
}
}
}
2015-08-03 12:42:09 +03:00
.milestone.list {
list-style: none;
2015-08-09 17:45:38 +03:00
padding-top: 15px;
2015-08-04 17:24:04 +03:00
> .item {
2015-08-03 12:42:09 +03:00
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px dashed #AAA;
> a {
padding-top: 5px;
padding-right: 10px;
color: #000;
&:hover {
color: #4078c0;
}
}
.ui.progress {
width: 40%;
padding: 0;
border: 0;
margin: 0;
.bar {
height: 20px;
}
}
.meta {
color: #999;
padding-top: 5px;
.issue-stats .octicon{
padding-left: 5px;
}
2015-08-05 10:24:26 +03:00
.overdue {
color: red;
}
2015-08-03 12:42:09 +03:00
}
.operate {
margin-top: -15px;
> a {
font-size: 15px;
padding-top: 5px;
padding-right: 10px;
color: #666;
&:hover {
color: #000;
}
}
}
.content {
padding-top: 10px;
}
}
}
2015-08-05 10:24:26 +03:00
&.new.milestone {
textarea {
height: 200px;
}
2015-08-09 19:23:20 +03:00
#deadline {
width: 150px;
2015-08-06 17:48:11 +03:00
}
}
2015-08-08 17:43:14 +03:00
&.compare.pull {
.choose.branch {
.octicon {
padding-right: 10px;
}
}
2016-02-07 09:10:57 +03:00
.comment.form {
.content {
2016-02-07 19:41:11 +03:00
#avatar-arrow;
2016-02-07 09:10:57 +03:00
&:after {
border-right-color: #fff;
}
}
}
2015-08-08 17:43:14 +03:00
}
.filter.dropdown .menu {
margin-top: 1px!important;
}
2015-08-20 15:18:49 +03:00
&.commits {
.header {
.ui.right {
.search {
input {
font-weight: normal;
padding: 5px 10px;
}
}
}
}
}
2015-12-03 04:10:00 +03:00
#commits-table {
2015-12-03 04:56:26 +03:00
thead {
th:first-of-type {
padding-left: 15px;
}
.sha {
font-size: 13px;
padding: 6px 40px 4px 35px;
2015-12-03 04:56:26 +03:00
}
}
&.ui.basic.striped.table tbody tr:nth-child(2n) {
background-color: rgba(0, 0, 0, .02)!important;
}
2015-12-03 04:10:00 +03:00
}
2015-08-20 19:18:30 +03:00
.diff-detail-box {
margin: 15px 0;
line-height: 30px;
ol {
clear: both;
padding-left: 0;
margin-top: 5px;
margin-bottom: 28px;
li {
list-style: none;
padding-bottom: 4px;
margin-bottom: 4px;
border-bottom: 1px dashed #DDD;
padding-left: 6px;
}
}
span.status{
display: inline-block;
width: 12px;
height: 12px;
margin-right: 8px;
vertical-align: middle;
&.modify {
background-color: #f0db88;
}
&.add {
background-color: #b4e2b4;
}
&.del {
background-color: #e9aeae;
}
&.rename {
background-color: #dad8ff;
}
}
2015-08-20 19:18:30 +03:00
}
.diff-box {
.count {
margin-right: 12px;
2016-01-09 09:51:17 +03:00
font-size: 13px;
.bar {
2016-01-10 12:29:33 +03:00
background-color: #bd2c00;
height: 12px;
width: 40px;
display: inline-block;
margin: 2px 4px 0 4px;
vertical-align: text-top;
.add {
2016-01-09 09:51:17 +03:00
background-color: #55a532;
height: 12px;
}
}
}
.file {
color: #888;
}
2015-08-20 19:18:30 +03:00
}
.diff-file-box {
.header {
2015-12-13 05:58:54 +03:00
background-color: #f7f7f7;
2015-08-20 19:18:30 +03:00
}
.file-body.file-code {
.lines-num {
text-align: right;
2015-12-13 08:46:28 +03:00
color: #A7A7A7;
background: #fafafa;
width: 1%;
span.fold {
display: block;
text-align: center;
}
}
.lines-num-old {
border-right: 1px solid #DDD;
}
}
.code-diff {
2015-12-13 08:46:28 +03:00
font-size: 12px;
td {
padding: 0;
2015-12-13 08:46:28 +03:00
padding-left: 10px;
border-top: none;
}
pre {
margin: 0;
}
.lines-num {
border-right: 1px solid #d4d4d5;
padding: 0 5px;
}
tbody {
tr {
td.halfwidth {
width: 50%;
}
2015-12-13 08:46:28 +03:00
&.tag-code td, td.tag-code {
background-color: #F0F0F0 !important;
border-color: #D2CECE !important;
padding-top: 8px;
padding-bottom: 8px;
// td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important;
// }
}
// &.same-code {
// td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important;
// }
// }
2016-01-09 09:51:17 +03:00
.removed-code {
background-color: #ff9999;
}
.added-code {
background-color: #99ff99;
}
}
}
}
.code-diff-unified tbody tr {
&.del-code td {
background-color: #ffe0e0 !important;
border-color: #f1c0c0 !important;
}
&.add-code td {
background-color: #d6fcd6 !important;
border-color: #c1e9c1 !important;
}
}
.code-diff-split tbody tr {
// light gray for empty lines before / after commit
&.add-code td:nth-child(1), &.add-code td:nth-child(2),
&.del-code td:nth-child(3), &.del-code td:nth-child(4) {
background-color: #fafafa;
}
&.del-code td:nth-child(1), &.del-code td:nth-child(2),
td.del-code {
background-color: #ffe0e0 !important;
border-color: #f1c0c0 !important;
}
&.add-code td:nth-child(3), &.add-code td:nth-child(4),
td.add-code{
background-color: #d6fcd6 !important;
border-color: #c1e9c1 !important;
}
}
&.file-content {
img {
max-width: 100%;
padding: 5px 5px 0 5px;
}
}
2015-08-20 19:18:30 +03:00
}
2015-08-20 19:37:56 +03:00
.code-view {
overflow: auto;
overflow-x: auto;
overflow-y: hidden;
}
2015-10-03 02:58:36 +03:00
&.quickstart {
.guide {
.item {
padding: 1em;
small {
font-weight: normal;
}
}
.clone.button:first-child {
border-radius: .28571429rem 0 0 .28571429rem;
}
.ui.action.small.input {
2015-10-08 06:11:32 +03:00
width: 100%;
}
2015-10-03 02:58:36 +03:00
#repo-clone-url {
border-radius: 0;
padding: 5px 10px;
font-size: 1.2em;
}
}
}
2015-11-16 07:52:46 +03:00
&.release {
#release-list {
border-top: 1px solid #DDD;
margin-top: 20px;
padding-top: 15px;
>li {
list-style: none;
.meta,
.detail {
padding-top: 30px;
padding-bottom: 40px;
}
.meta {
text-align: right;
position: relative;
.tag:not(.icon) {
display: block;
margin-top: 15px;
}
.commit {
display: block;
margin-top: 10px;
}
}
.detail {
border-left: 1px solid #DDD;
.author {
img {
margin-bottom: -3px;
}
}
.download {
margin-top: 20px;
>a {
.octicon {
margin-left: 5px;
margin-right: 5px;
}
}
.list {
padding-left: 0;
border-top: 1px solid #eee;
li {
list-style: none;
display: block;
padding-top: 8px;
padding-bottom: 8px;
2015-11-16 07:52:46 +03:00
border-bottom: 1px solid #eee;
}
}
}
.dot {
width: 9px;
height: 9px;
background-color: #ccc;
z-index: 999;
position: absolute;
display: block;
left: -5px;
top: 40px;
border-radius: 6px;
border: 1px solid #FFF;
2015-11-16 07:52:46 +03:00
}
}
}
}
}
&.new.release {
.target {
min-width: 500px;
#tag-name {
margin-top: -4px;
}
2015-11-16 07:52:46 +03:00
.at {
margin-left: -5px;
margin-right: 5px;
}
.dropdown.icon {
margin: 0;
padding-top: 3px;
}
.selection.dropdown {
padding-top: 10px;
padding-bottom: 10px;
2015-11-16 07:52:46 +03:00
}
}
.prerelease.field {
margin-bottom: 0;
}
}
2015-11-17 07:28:46 +03:00
&.forks {
.list {
margin-top: 0;
.item {
padding-top: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #DDD;
.ui.avatar {
float: left;
margin-right: 5px;
}
.link {
padding-top: 5px;
}
}
}
}
2015-11-17 10:18:05 +03:00
2015-11-26 04:10:25 +03:00
&.wiki {
&.start {
.ui.segment {
padding-top: 70px;
padding-bottom: 100px;
.mega-octicon {
font-size: 48px;
}
}
}
&.new {
.CodeMirror {
.CodeMirror-code {
font-family: "Consolas", monospace;
.cm-comment {
background: inherit;
}
2015-11-26 04:10:25 +03:00
}
}
.editor-preview {
background-color: white;
}
}
2015-11-27 08:24:24 +03:00
&.view {
2015-12-01 04:45:55 +03:00
.choose.page {
margin-top: -5px;
2015-11-27 08:24:24 +03:00
}
2015-12-01 04:45:55 +03:00
2015-11-27 08:24:24 +03:00
.ui.sub.header {
text-transform: none;
}
.markdown {
padding: 15px 30px;
2015-11-27 08:24:24 +03:00
h1, h2, h3, h4, h5, h6 {
&:first-of-type {
margin-top: 0;
}
}
2015-11-27 08:24:24 +03:00
}
}
2015-11-26 04:10:25 +03:00
}
2015-11-17 10:18:05 +03:00
&.settings {
&.collaboration {
.collaborator.list {
padding: 0;
>.item {
margin: 0;
line-height: 2em;
2015-11-17 10:18:05 +03:00
&:not(:last-child) {
border-bottom: 1px solid #DDD;
}
}
}
#repo-collab-form {
#search-user-box {
.results {
left: 7px;
}
}
.ui.button {
margin-left: 5px;
margin-top: -3px;
2015-11-17 10:18:05 +03:00
}
}
}
&.webhook {
.events {
.column {
padding-bottom: 0;
}
.help {
font-size: 13px;
margin-left: 26px;
padding-top: 0;
}
}
}
2015-11-17 10:18:05 +03:00
}
2015-08-06 17:48:11 +03:00
}
2015-10-03 02:58:36 +03:00
// End of .repository
2015-08-06 17:48:11 +03:00
&.user-cards {
.list {
padding: 0;
.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;
}
.name {
margin-top: 0;
margin-bottom: 0;
font-weight: normal;
}
.meta {
margin-top: 5px;
}
}
}
}
2015-11-22 09:32:09 +03:00
#search-repo-box,
2015-11-17 10:18:05 +03:00
#search-user-box {
.results {
padding: 0;
position: absolute;
.item {
padding: 10px 15px;
border-bottom: 1px solid #DDD;
cursor: pointer;
&:hover {
background: rgba(0,0,0,.05)!important;
color: rgba(0,0,0,.95)!important;
2015-11-17 10:18:05 +03:00
}
2015-11-17 10:20:49 +03:00
img {
margin-right: 8px;
}
2015-11-17 10:18:05 +03:00
}
}
}
2017-03-15 04:10:35 +03:00
.issue-actions {
display: none;
}
2015-08-25 17:58:34 +03:00
.issue.list {
list-style: none;
padding-top: 15px;
>.item {
padding-top: 15px;
padding-bottom: 10px;
border-bottom: 1px dashed #AAA;
.title {
color: #444;
font-size: 15px;
font-weight: bold;
margin: 0 6px;
&:hover {
color: #000;
}
}
.comment {
padding-right: 10px;
color: #666;
}
.desc {
padding-top: 5px;
color: #999;
a.milestone {
padding-left: 5px;
color: #999!important;
&:hover {
color: #000!important;
}
}
.assignee {
margin-top: -5px;
margin-right: 5px;
}
}
}
}
.page.buttons {
padding-top: 15px;
}
2016-08-30 15:07:50 +03:00
.ui.form {
2015-08-12 13:44:09 +03:00
.dropzone {
width: 100%;
2015-08-12 13:44:09 +03:00
margin-bottom: 10px;
border: 2px dashed #0087F7;
box-shadow: none!important;
.dz-error-message {
top: 140px;
}
}
}
2015-08-15 15:55:03 +03:00
.settings {
.content {
margin-top: 2px;
2015-11-17 10:18:05 +03:00
>.header,
2015-08-15 15:55:03 +03:00
.segment {
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
}
2015-08-06 17:48:11 +03:00
}
2015-08-15 15:55:03 +03:00
.key.list {
.item:not(:first-child) {
border-top: 1px solid #eaeaea;
}
.ssh-key-state-indicator {
float: left;
color: gray;
padding-left: 10px;
padding-top: 10px;
&.active {
color: #6cc644;
}
2015-08-15 15:55:03 +03:00
}
.meta {
padding-top: 5px;
}
.print {
color: #767676;
}
.activity {
color: #666;
}
2015-08-06 17:48:11 +03:00
}
2015-08-26 13:03:30 +03:00
.hook.list {
2015-08-27 18:06:14 +03:00
> .item:not(:first-child) {
2015-08-26 13:03:30 +03:00
border-top: 1px solid #eaeaea;
}
.item {
padding: 10px 20px;
2015-08-26 16:45:51 +03:00
.octicon,
.fa {
width: 20px;
2015-08-27 18:06:14 +03:00
text-align: center;
}
2016-04-19 23:35:36 +03:00
a {
.dont-break-out;
}
2015-08-27 18:06:14 +03:00
}
}
.hook.history.list {
.item {
padding-left: 13px;
.meta {
.ui.right {
margin-top: 5px;
.time {
font-size: 12px;
}
}
}
.info {
margin-top: 10px;
.tabular.menu {
.item {
font-weight: 500;
}
}
.tab.segment {
border: none;
padding: 0;
padding-top: 10px;
box-shadow: none;
> * {
color: #666;
}
pre {
2015-08-27 18:06:14 +03:00
word-wrap: break-word;
2015-08-27 18:58:50 +03:00
.hljs {
padding: 0;
background-color: inherit;
}
}
2015-08-27 18:06:14 +03:00
}
2015-08-26 13:03:30 +03:00
}
}
}
}
2015-08-09 19:23:20 +03:00
.ui.vertical.menu {
.header.item {
font-size: 1.1em;
background: #f0f0f0;
}
2015-08-09 19:23:20 +03:00
}
2015-08-09 17:45:38 +03:00
.edit-label.modal,
.new-label.segment {
.form {
.column {
padding-right: 0;
}
.buttons {
margin-left: auto;
padding-top: 15px;
}
.color.picker.column {
width: auto;
.color-picker {
height: 35px;
width: auto;
padding-left: 30px;
}
}
.minicolors-swatch.minicolors-sprite {
top: 10px;
left: 10px;
width: 15px;
height: 15px;
}
2015-08-09 17:45:38 +03:00
.precolors {
padding-left: 0;
padding-right: 0;
margin: 3px 10px auto 10px;
width: 120px;
.color {
float: left;
width: 15px;
height: 15px;
}
}
}
2015-08-29 22:21:59 +03:00
}
2016-02-07 19:41:11 +03:00
#avatar-arrow {
&:before, &:after {
right: 100%;
top: 20px;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
&:before {
border-right-color: #D4D4D5;
border-width: 9px;
margin-top: -9px;
}
&:after {
border-right-color: #f7f7f7;
border-width: 8px;
margin-top: -8px;
}
}
2015-08-29 22:21:59 +03:00
#transfer-repo-modal,
#delete-repo-modal {
.ui.message {
width: 100%!important;
}
}
// generate .tab-size-{i} from 1 to 16
.generate-tab-size(16);
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
.tab-size-@{i} {
tab-size: @i !important;
-moz-tab-size: @i !important;
}
.generate-tab-size(@n, (@i + 1));
}