LESS: Use tabs for indent in all files

This does not change any content and generated gogs.css is still the same.
This commit is contained in:
Adam Strzelecki 2015-12-07 21:20:54 +01:00
parent 4e0c697aaf
commit dd8a06a397
13 changed files with 840 additions and 840 deletions

View File

@ -40,8 +40,8 @@
} }
} }
dl.admin-dl-horizontal { dl.admin-dl-horizontal {
padding: 20px; padding: 20px;
margin: 0; margin: 0;
dd{ dd{

View File

@ -10,20 +10,20 @@ img {
pre { pre {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
&.raw { &.raw {
padding: 7px 12px; padding: 7px 12px;
margin: 10px 0; margin: 10px 0;
background-color: #f8f8f8; background-color: #f8f8f8;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 3px; border-radius: 3px;
font-size: 13px; font-size: 13px;
line-height: 1.5; line-height: 1.5;
overflow: auto; overflow: auto;
} }
} }
.full.height { .full.height {
padding: 0; padding: 0;
margin: 0 0 -@footer-margin*2 0; margin: 0 0 -@footer-margin*2 0;
min-height: 100%; min-height: 100%;
} }
.following.bar { .following.bar {
z-index: 900; z-index: 900;
@ -65,24 +65,24 @@ pre {
margin-right: 0; margin-right: 0;
} }
.searchbox { .searchbox {
background-color: rgb(244, 244, 244) !important; background-color: rgb(244, 244, 244) !important;
&:focus { &:focus {
background-color: rgb(233, 233, 233) !important; background-color: rgb(233, 233, 233) !important;
} }
} }
.text .octicon { .text .octicon {
width: 16px; width: 16px;
text-align: center; text-align: center;
} }
.right.menu { .right.menu {
.menu { .menu {
left: auto; left: auto;
right: 0; right: 0;
} }
.dropdown .menu { .dropdown .menu {
margin-top: 0; margin-top: 0;
} }
} }
} }
.ui { .ui {
@ -96,21 +96,21 @@ pre {
.text { .text {
&.red { &.red {
color: #d95c5c !important; color: #d95c5c !important;
a { a {
color: #d95c5c !important; color: #d95c5c !important;
&:hover { &:hover {
color: #E67777 !important; color: #E67777 !important;
} }
} }
} }
&.blue { &.blue {
color: #428bca !important; color: #428bca !important;
a { a {
color: #15c !important; color: #15c !important;
&:hover { &:hover {
color: #428bca !important; color: #428bca !important;
} }
} }
} }
&.black { &.black {
color: #444; color: #444;
@ -119,13 +119,13 @@ pre {
} }
} }
&.grey { &.grey {
color: #767676 !important; color: #767676 !important;
a { a {
color: #444 !important; color: #444 !important;
&:hover { &:hover {
color: #000 !important; color: #000 !important;
} }
} }
} }
&.light.grey { &.light.grey {
color: #888 !important; color: #888 !important;
@ -189,10 +189,10 @@ pre {
.warning { .warning {
&.header { &.header {
background-color: #F9EDBE !important; background-color: #F9EDBE !important;
border-color: #F0C36D; border-color: #F0C36D;
} }
&.segment { &.segment {
border-color: #F0C36D; border-color: #F0C36D;
} }
} }
.info { .info {
@ -269,9 +269,9 @@ pre {
font-weight: 700; font-weight: 700;
} }
&:hover { &:hover {
background: rgba(0,0,0,.05); background: rgba(0,0,0,.05);
color: rgba(0,0,0,.8); color: rgba(0,0,0,.8);
z-index: 13; z-index: 13;
} }
} }
} }
@ -279,7 +279,7 @@ pre {
.scrolling.menu { .scrolling.menu {
.item.selected { .item.selected {
font-weight: 700 !important; font-weight: 700 !important;
} }
} }
@ -295,8 +295,8 @@ footer {
padding-top: 10px; padding-top: 10px;
.fa { .fa {
width: 16px; width: 16px;
text-align: center; text-align: center;
color: #428bca; color: #428bca;
} }
.links >* { .links >* {
border-left: 1px solid #d6d6d6; border-left: 1px solid #d6d6d6;
@ -318,11 +318,11 @@ footer {
.generate-img(16); .generate-img(16);
.generate-img(@n, @i: 1) when (@i =< @n) { .generate-img(@n, @i: 1) when (@i =< @n) {
.img-@{i} { .img-@{i} {
width: (2px * @i) !important; width: (2px * @i) !important;
height: (2px * @i) !important; height: (2px * @i) !important;
} }
.generate-img(@n, (@i + 1)); .generate-img(@n, (@i + 1));
} }
// ensure Semantic UI .icon font family and 14px size does not apply to .icon.octicon // ensure Semantic UI .icon font family and 14px size does not apply to .icon.octicon
@ -335,23 +335,23 @@ footer {
// Accessibility // Accessibility
.sr-only { .sr-only {
position: absolute; position: absolute;
width: 1px; width: 1px;
height: 1px; height: 1px;
padding: 0; padding: 0;
margin: -1px; margin: -1px;
overflow: hidden; overflow: hidden;
clip: rect(0, 0, 0, 0); clip: rect(0, 0, 0, 0);
border: 0; border: 0;
} }
.sr-only-focusable:active, .sr-only-focusable:active,
.sr-only-focusable:focus { .sr-only-focusable:focus {
position: static; position: static;
width: auto; width: auto;
height: auto; height: auto;
margin: 0; margin: 0;
overflow: visible; overflow: visible;
clip: auto; clip: auto;
} }
@media only screen and (max-width: 991px) and (min-width: 768px) { @media only screen and (max-width: 991px) and (min-width: 768px) {

View File

@ -8,8 +8,8 @@
z-index: 101; z-index: 101;
min-width: 200px; min-width: 200px;
.ui.header { .ui.header {
font-size: 1rem; font-size: 1rem;
text-transform: none; text-transform: none;
} }
} }
.filter.menu { .filter.menu {
@ -17,8 +17,8 @@
text-align: left; text-align: left;
.text { .text {
height: 16px; height: 16px;
vertical-align: middle; vertical-align: middle;
&.truncate { &.truncate {
width: 85%; width: 85%;
} }
} }
@ -32,7 +32,7 @@
// Sort // Sort
.jump.item { .jump.item {
margin: 1px; margin: 1px;
padding-right: 0; padding-right: 0;
} }
.menu { .menu {
max-height: 300px; max-height: 300px;
@ -96,23 +96,23 @@
padding-left: 0; padding-left: 0;
li { li {
&:not(:last-child) { &:not(:last-child) {
border-bottom: 1px solid #EAEAEA; border-bottom: 1px solid #EAEAEA;
} }
&.private { &.private {
background-color: #fcf8e9; background-color: #fcf8e9;
} }
a { a {
padding: 6px 1.2em; padding: 6px 1.2em;
display: block; display: block;
.octicon { .octicon {
margin-right: 6px; margin-right: 6px;
color: #888; color: #888;
} }
} }
} }
} }
} }

View File

@ -1,6 +1,6 @@
.emoji { .emoji {
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1.5em;
display: inline-block; display: inline-block;
background-size: contain; background-size: contain;
} }

View File

@ -25,8 +25,8 @@
} }
} }
.time { .time {
font-size: 12px; font-size: 12px;
color: #808080; color: #808080;
} }
} }
} }

View File

@ -15,8 +15,8 @@
} }
.octicon { .octicon {
color: #d9453d; color: #d9453d;
font-size: 40px; font-size: 40px;
width: 50px; width: 50px;
} }
&.header { &.header {
font-size: 20px; font-size: 20px;

View File

@ -1,481 +1,481 @@
.markdown { .markdown {
overflow: hidden; overflow: hidden;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
font-size: 16px; font-size: 16px;
line-height: 1.6 !important; line-height: 1.6 !important;
word-wrap: break-word; word-wrap: break-word;
&.file-view { &.file-view {
padding: 5px 2em 2em !important; padding: 5px 2em 2em !important;
} }
>*:first-child { >*:first-child {
margin-top: 0 !important; margin-top: 0 !important;
} }
>*:last-child { >*:last-child {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
a:not([href]) { a:not([href]) {
color: inherit; color: inherit;
text-decoration: none; text-decoration: none;
} }
.absent { .absent {
color: #c00; color: #c00;
} }
.anchor { .anchor {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
display: block; display: block;
padding-right: 6px; padding-right: 6px;
padding-left: 30px; padding-left: 30px;
margin-left: -30px; margin-left: -30px;
} }
.anchor:focus { .anchor:focus {
outline: none; outline: none;
} }
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6 {
position: relative; position: relative;
margin-top: 1em; margin-top: 1em;
margin-bottom: 16px; margin-bottom: 16px;
font-weight: bold; font-weight: bold;
line-height: 1.4; line-height: 1.4;
} }
h1 .octicon-link, h1 .octicon-link,
h2 .octicon-link, h2 .octicon-link,
h3 .octicon-link, h3 .octicon-link,
h4 .octicon-link, h4 .octicon-link,
h5 .octicon-link, h5 .octicon-link,
h6 .octicon-link { h6 .octicon-link {
display:none; display:none;
color:#000; color:#000;
vertical-align:middle; vertical-align:middle;
} }
h1:hover .anchor, h1:hover .anchor,
h2:hover .anchor, h2:hover .anchor,
h3:hover .anchor, h3:hover .anchor,
h4:hover .anchor, h4:hover .anchor,
h5:hover .anchor, h5:hover .anchor,
h6:hover .anchor { h6:hover .anchor {
padding-left:8px; padding-left:8px;
margin-left:-30px; margin-left:-30px;
text-decoration:none; text-decoration:none;
} }
h1:hover .anchor .octicon-link, h1:hover .anchor .octicon-link,
h2:hover .anchor .octicon-link, h2:hover .anchor .octicon-link,
h3:hover .anchor .octicon-link, h3:hover .anchor .octicon-link,
h4:hover .anchor .octicon-link, h4:hover .anchor .octicon-link,
h5:hover .anchor .octicon-link, h5:hover .anchor .octicon-link,
h6:hover .anchor .octicon-link { h6:hover .anchor .octicon-link {
display:inline-block; display:inline-block;
} }
h1 tt, h1 tt,
h1 code, h1 code,
h2 tt, h2 tt,
h2 code, h2 code,
h3 tt, h3 tt,
h3 code, h3 code,
h4 tt, h4 tt,
h4 code, h4 code,
h5 tt, h5 tt,
h5 code, h5 code,
h6 tt, h6 tt,
h6 code { h6 code {
font-size:inherit; font-size:inherit;
} }
h1 { h1 {
padding-bottom:0.3em; padding-bottom:0.3em;
font-size:2.25em; font-size:2.25em;
line-height:1.2; line-height:1.2;
border-bottom:1px solid #eee; border-bottom:1px solid #eee;
} }
h1 .anchor { h1 .anchor {
line-height:1; line-height:1;
} }
h2 { h2 {
padding-bottom:0.3em; padding-bottom:0.3em;
font-size:1.75em; font-size:1.75em;
line-height:1.225; line-height:1.225;
border-bottom:1px solid #eee; border-bottom:1px solid #eee;
} }
h2 .anchor { h2 .anchor {
line-height:1; line-height:1;
} }
h3 { h3 {
font-size:1.5em; font-size:1.5em;
line-height:1.43; line-height:1.43;
} }
h3 .anchor { h3 .anchor {
line-height:1.2; line-height:1.2;
} }
h4 { h4 {
font-size:1.25em; font-size:1.25em;
} }
h4 .anchor { h4 .anchor {
line-height:1.2; line-height:1.2;
} }
h5 { h5 {
font-size:1em; font-size:1em;
} }
h5 .anchor { h5 .anchor {
line-height:1.1; line-height:1.1;
} }
h6 { h6 {
font-size:1em;color:#777; font-size:1em;color:#777;
} }
h6 .anchor { h6 .anchor {
line-height:1.1; line-height:1.1;
} }
p, p,
blockquote, blockquote,
ul, ul,
ol, ol,
dl, dl,
table, table,
pre { pre {
margin-top: 0; margin-top: 0;
margin-bottom: 16px; margin-bottom: 16px;
} }
blockquote { blockquote {
margin-left: 0; margin-left: 0;
} }
hr { hr {
height:4px; height:4px;
padding:0; padding:0;
margin:16px 0; margin:16px 0;
background-color:#e7e7e7; background-color:#e7e7e7;
border:0 none; border:0 none;
} }
ul, ul,
ol { ol {
padding-left:2em; padding-left:2em;
} }
ul.no-list, ul.no-list,
ol.no-list { ol.no-list {
padding:0; padding:0;
list-style-type:none; list-style-type:none;
} }
ul ul, ul ul,
ul ol, ul ol,
ol ol, ol ol,
ol ul { ol ul {
margin-top:0; margin-top:0;
margin-bottom:0; margin-bottom:0;
} }
ol ol, ol ol,
ul ol { ul ol {
list-style-type: lower-roman; list-style-type: lower-roman;
} }
li>p { li>p {
margin-top:16px; margin-top:16px;
} }
dl { dl {
padding:0; padding:0;
} }
dl dt { dl dt {
padding:0; padding:0;
margin-top:16px; margin-top:16px;
font-size:1em; font-size:1em;
font-style:italic; font-style:italic;
font-weight:bold; font-weight:bold;
} }
dl dd { dl dd {
padding:0 16px; padding:0 16px;
margin-bottom:16px; margin-bottom:16px;
} }
blockquote { blockquote {
padding:0 15px; padding:0 15px;
color:#777; color:#777;
border-left:4px solid #ddd; border-left:4px solid #ddd;
} }
blockquote>:first-child { blockquote>:first-child {
margin-top:0; margin-top:0;
} }
blockquote>:last-child { blockquote>:last-child {
margin-bottom:0; margin-bottom:0;
} }
table { table {
display:block; display:block;
width:100%; width:100%;
overflow:auto; overflow:auto;
word-break:normal; word-break:normal;
word-break:keep-all; word-break:keep-all;
} }
table th { table th {
font-weight:bold; font-weight:bold;
} }
table th, table th,
table td { table td {
padding:6px 13px !important; padding:6px 13px !important;
border:1px solid #ddd; border:1px solid #ddd;
} }
table tr { table tr {
background-color:#fff; background-color:#fff;
border-top:1px solid #ccc; border-top:1px solid #ccc;
} }
table tr:nth-child(2n) { table tr:nth-child(2n) {
background-color:#f8f8f8; background-color:#f8f8f8;
} }
img { img {
max-width:100%; max-width:100%;
box-sizing:border-box; box-sizing:border-box;
} }
.emoji { .emoji {
max-width:none; max-width:none;
} }
span.frame { span.frame {
display:block; display:block;
overflow:hidden; overflow:hidden;
} }
span.frame>span { span.frame>span {
display:block; display:block;
float:left; float:left;
width:auto; width:auto;
padding:7px; padding:7px;
margin:13px 0 0; margin:13px 0 0;
overflow:hidden; overflow:hidden;
border:1px solid #ddd; border:1px solid #ddd;
} }
span.frame span img { span.frame span img {
display:block; display:block;
float:left; float:left;
} }
span.frame span span { span.frame span span {
display:block; display:block;
padding:5px 0 0; padding:5px 0 0;
clear:both; clear:both;
color:#333; color:#333;
} }
span.align-center { span.align-center {
display:block; display:block;
overflow:hidden; overflow:hidden;
clear:both; clear:both;
} }
span.align-center>span { span.align-center>span {
display:block; display:block;
margin:13px auto 0; margin:13px auto 0;
overflow:hidden; overflow:hidden;
text-align:center; text-align:center;
} }
span.align-center span img { span.align-center span img {
margin:0 auto; margin:0 auto;
text-align:center; text-align:center;
} }
span.align-right { span.align-right {
display:block; display:block;
overflow:hidden; overflow:hidden;
clear:both; clear:both;
} }
span.align-right>span { span.align-right>span {
display:block; display:block;
margin:13px 0 0; margin:13px 0 0;
overflow:hidden; overflow:hidden;
text-align:right; text-align:right;
} }
span.align-right span img { span.align-right span img {
margin:0; margin:0;
text-align:right; text-align:right;
} }
span.float-left { span.float-left {
display:block; display:block;
float:left; float:left;
margin-right:13px; margin-right:13px;
overflow:hidden; overflow:hidden;
} }
span.float-left span { span.float-left span {
margin:13px 0 0; margin:13px 0 0;
} }
span.float-right { span.float-right {
display:block; display:block;
float:right; float:right;
margin-left:13px; margin-left:13px;
overflow:hidden; overflow:hidden;
} }
span.float-right>span { span.float-right>span {
display:block; display:block;
margin:13px auto 0; margin:13px auto 0;
overflow:hidden; overflow:hidden;
text-align:right; text-align:right;
} }
code, code,
tt { tt {
padding:0; padding:0;
padding-top:0.2em; padding-top:0.2em;
padding-bottom:0.2em; padding-bottom:0.2em;
margin:0; margin:0;
font-size:85%; font-size:85%;
background-color:rgba(0,0,0,0.04); background-color:rgba(0,0,0,0.04);
border-radius:3px; border-radius:3px;
} }
code:before, code:before,
code:after, code:after,
tt:before, tt:before,
tt:after { tt:after {
letter-spacing:-0.2em; letter-spacing:-0.2em;
content:"\00a0"; content:"\00a0";
} }
code br, code br,
tt br { tt br {
display:none; display:none;
} }
del code { del code {
text-decoration:inherit; text-decoration:inherit;
} }
pre>code { pre>code {
padding:0; padding:0;
margin:0; margin:0;
font-size:100%; font-size:100%;
word-break:normal; word-break:normal;
white-space:pre; white-space:pre;
background:transparent; background:transparent;
border:0; border:0;
} }
.highlight { .highlight {
margin-bottom:16px; margin-bottom:16px;
} }
.highlight pre, .highlight pre,
pre { pre {
padding:16px; padding:16px;
overflow:auto; overflow:auto;
font-size:85%; font-size:85%;
line-height:1.45; line-height:1.45;
background-color:#f7f7f7; background-color:#f7f7f7;
border-radius:3px; border-radius:3px;
} }
.highlight pre { .highlight pre {
margin-bottom:0; margin-bottom:0;
word-break:normal; word-break:normal;
} }
pre { pre {
word-wrap:normal; word-wrap:normal;
} }
pre code, pre code,
pre tt { pre tt {
display:inline; display:inline;
max-width:initial; max-width:initial;
padding:0; padding:0;
margin:0; margin:0;
overflow:initial; overflow:initial;
line-height:inherit; line-height:inherit;
word-wrap:normal; word-wrap:normal;
background-color:transparent; background-color:transparent;
border:0; border:0;
} }
pre code:before, pre code:before,
pre code:after, pre code:after,
pre tt:before, pre tt:before,
pre tt:after { pre tt:after {
content:normal; content:normal;
} }
kbd { kbd {
display:inline-block; display:inline-block;
padding:3px 5px; padding:3px 5px;
font-size:11px; font-size:11px;
line-height:10px; line-height:10px;
color:#555; color:#555;
vertical-align:middle; vertical-align:middle;
background-color:#fcfcfc; background-color:#fcfcfc;
border:solid 1px #ccc; border:solid 1px #ccc;
border-bottom-color:#bbb; border-bottom-color:#bbb;
border-radius:3px; border-radius:3px;
box-shadow:inset 0 -1px 0 #bbb; box-shadow:inset 0 -1px 0 #bbb;
} }
.csv-data td, .csv-data td,
.csv-data th { .csv-data th {
padding:5px; padding:5px;
overflow:hidden; overflow:hidden;
font-size:12px; font-size:12px;
line-height:1; line-height:1;
text-align:left; text-align:left;
white-space:nowrap; white-space:nowrap;
} }
.csv-data .blob-num { .csv-data .blob-num {
padding:10px 8px 9px; padding:10px 8px 9px;
text-align:right; text-align:right;
background:#fff;border:0; background:#fff;border:0;
} }
.csv-data tr { .csv-data tr {
border-top:0; border-top:0;
} }
.csv-data th { .csv-data th {
font-weight:bold; font-weight:bold;
background:#f8f8f8;border-top:0; background:#f8f8f8;border-top:0;
} }
} }

View File

@ -92,7 +92,7 @@
} }
.ui.button { .ui.button {
margin-left: 5px; margin-left: 5px;
margin-top: -3px; margin-top: -3px;
} }
} }
} }

View File

@ -47,7 +47,7 @@
.metas { .metas {
.menu { .menu {
max-height: 300px; max-height: 300px;
overflow-x: auto; overflow-x: auto;
} }
.ui.list { .ui.list {
.hide { .hide {
@ -82,13 +82,13 @@
.menu { .menu {
max-height: 300px; max-height: 300px;
overflow-x: auto; overflow-x: auto;
right: 0!important; right: 0!important;
left: auto!important; left: auto!important;
} }
.dropdown.item { .dropdown.item {
margin: 1px; margin: 1px;
padding-right: 0; padding-right: 0;
} }
} }
.ui.tabs { .ui.tabs {
@ -110,15 +110,15 @@
width: 100%; width: 100%;
input { input {
border-radius: 0; border-radius: 0;
padding: 5px 10px; padding: 5px 10px;
} }
.clone.button { .clone.button {
font-size: 13px; font-size: 13px;
padding: 0 5px; padding: 0 5px;
&:first-child { &:first-child {
border-radius: .28571429rem 0 0 .28571429rem; border-radius: .28571429rem 0 0 .28571429rem;
} }
} }
.icon.button { .icon.button {
@ -168,7 +168,7 @@
padding-bottom: 8px; padding-bottom: 8px;
} }
tr:hover { tr:hover {
background-color: #ffffEE; background-color: #ffffEE;
} }
} }
@ -176,7 +176,7 @@
.header { .header {
.icon { .icon {
font-size: 1em; font-size: 1em;
margin-top: -2px; margin-top: -2px;
} }
} }
.view-raw { .view-raw {
@ -199,19 +199,19 @@
width: 100%; width: 100%;
} }
.lines-num { .lines-num {
vertical-align: top; vertical-align: top;
text-align: right; text-align: right;
color: #999; color: #999;
background: #f5f5f5; background: #f5f5f5;
width: 1%; width: 1%;
span { span {
font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
line-height: 20px; line-height: 20px;
padding: 0 10px; padding: 0 10px;
cursor: pointer; cursor: pointer;
display: block; display: block;
} }
} }
.lines-num, .lines-num,
.lines-code { .lines-code {
@ -227,7 +227,7 @@
li { li {
padding-left: 5px; padding-left: 5px;
&.active { &.active {
background: #ffffdd; background: #ffffdd;
} }
} }
} }
@ -310,7 +310,7 @@
margin-right: 10px; margin-right: 10px;
} }
.edit-zone { .edit-zone {
margin-top: 10px; margin-top: 10px;
} }
} }
.pull-desc { .pull-desc {
@ -327,10 +327,10 @@
} }
&.tab.segment { &.tab.segment {
border: none; border: none;
padding: 0; padding: 0;
padding-top: 10px; padding-top: 10px;
box-shadow: none; box-shadow: none;
background-color: inherit; background-color: inherit;
} }
.merge.box { .merge.box {
.avatar { .avatar {
@ -345,7 +345,7 @@
content: ""; content: "";
position: absolute; position: absolute;
margin-top: 12px; margin-top: 12px;
margin-bottom: 14px; margin-bottom: 14px;
top: 0; top: 0;
bottom: 0; bottom: 0;
left: 96px; left: 96px;
@ -360,10 +360,10 @@
.tag { .tag {
color: #767676; color: #767676;
margin-top: 3px; margin-top: 3px;
padding: 2px 5px; padding: 2px 5px;
font-size: 12px; font-size: 12px;
border: 1px solid rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.1);
border-radius: 3px; border-radius: 3px;
} }
.actions { .actions {
.item { .item {
@ -386,8 +386,8 @@
border-top-right-radius: 3px; border-top-right-radius: 3px;
.text { .text {
max-width: 78%; max-width: 78%;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }
} }
.markdown { .markdown {
@ -411,8 +411,8 @@
} }
.tab.segment { .tab.segment {
border: none; border: none;
padding: 0; padding: 0;
padding-top: 10px; padding-top: 10px;
} }
textarea { textarea {
height: 200px; height: 200px;
@ -425,41 +425,41 @@
} }
.event { .event {
position: relative; position: relative;
margin: 15px 0 15px 79px; margin: 15px 0 15px 79px;
padding-left: 25px; padding-left: 25px;
.octicon { .octicon {
width: 30px; width: 30px;
float: left; float: left;
margin-left: -36px; margin-left: -36px;
text-align: center; text-align: center;
&.octicon-circle-slash { &.octicon-circle-slash {
margin-top: 5px; margin-top: 5px;
font-size: 20px; font-size: 20px;
color: #bd2c00; color: #bd2c00;
} }
&.octicon-primitive-dot { &.octicon-primitive-dot {
font-size: 30px; font-size: 30px;
color: #6cc644; color: #6cc644;
} }
&.octicon-bookmark { &.octicon-bookmark {
margin-top: 3px; margin-top: 3px;
font-size: 25px; font-size: 25px;
} }
} }
.detail { .detail {
font-size: 0.9rem; font-size: 0.9rem;
margin-top: 5px; margin-top: 5px;
margin-left: 35px; margin-left: 35px;
.octicon { .octicon {
&.octicon-git-commit { &.octicon-git-commit {
margin-top: 2px; margin-top: 2px;
} }
} }
} }
} }
} }
.ui.segment.metas { .ui.segment.metas {
margin-top: -3px; margin-top: -3px;
} }
} }
.comment.form { .comment.form {
@ -473,8 +473,8 @@
} }
.tab.segment { .tab.segment {
border: none; border: none;
padding: 0; padding: 0;
padding-top: 10px; padding-top: 10px;
} }
textarea { textarea {
height: 200px; height: 200px;
@ -595,7 +595,7 @@
} }
.sha { .sha {
font-size: 13px; font-size: 13px;
padding: 6px 40px 4px 35px; padding: 6px 40px 4px 35px;
} }
} }
&.ui.basic.striped.table tbody tr:nth-child(2n) { &.ui.basic.striped.table tbody tr:nth-child(2n) {
@ -604,143 +604,143 @@
} }
.diff-detail-box { .diff-detail-box {
margin: 15px 0; margin: 15px 0;
line-height: 30px; line-height: 30px;
ol { ol {
clear: both; clear: both;
padding-left: 0; padding-left: 0;
margin-top: 5px; margin-top: 5px;
margin-bottom: 28px; margin-bottom: 28px;
li { li {
list-style: none; list-style: none;
padding-bottom: 4px; padding-bottom: 4px;
margin-bottom: 4px; margin-bottom: 4px;
border-bottom: 1px dashed #DDD; border-bottom: 1px dashed #DDD;
padding-left: 6px; padding-left: 6px;
} }
} }
span.status{ span.status{
display: inline-block; display: inline-block;
width: 12px; width: 12px;
height: 12px; height: 12px;
margin-right: 8px; margin-right: 8px;
vertical-align: middle; vertical-align: middle;
&.modify { &.modify {
background-color: #f0db88; background-color: #f0db88;
} }
&.add { &.add {
background-color: #b4e2b4; background-color: #b4e2b4;
} }
&.del { &.del {
background-color: #e9aeae; background-color: #e9aeae;
} }
&.rename { &.rename {
background-color: #dad8ff; background-color: #dad8ff;
} }
} }
} }
.diff-box { .diff-box {
.count { .count {
margin-right: 12px; margin-right: 12px;
.bar { .bar {
background-color: #e75316; background-color: #e75316;
height: 12px; height: 12px;
width: 40px; width: 40px;
display: inline-block; display: inline-block;
margin: 2px 4px 0 4px; margin: 2px 4px 0 4px;
vertical-align: text-top; vertical-align: text-top;
.add { .add {
background-color: #77c64a; background-color: #77c64a;
height: 12px; height: 12px;
} }
} }
} }
.file { .file {
color: #888; color: #888;
} }
} }
.diff-file-box { .diff-file-box {
.header { .header {
border-bottom: 1px solid #d4d4d5!important; border-bottom: 1px solid #d4d4d5!important;
} }
.file-body.file-code { .file-body.file-code {
.lines-num { .lines-num {
text-align: right; text-align: right;
color: #999; color: #999;
background: #fafafa; background: #fafafa;
width: 1%; width: 1%;
} }
.lines-num-old { .lines-num-old {
border-right: 1px solid #DDD; border-right: 1px solid #DDD;
} }
} }
.code-diff { .code-diff {
font-size: 13px; font-size: 13px;
td { td {
padding: 0; padding: 0;
border-top: none; border-top: none;
} }
pre { pre {
margin: 0; margin: 0;
font-size: 13px; font-size: 13px;
} }
.lines-num { .lines-num {
border-right: 1px solid #d4d4d5; border-right: 1px solid #d4d4d5;
padding: 0 5px; padding: 0 5px;
} }
tbody { tbody {
tr { tr {
&.tag-code { &.tag-code {
td, pre { td, pre {
background-color: #E0E0E0 !important; background-color: #E0E0E0 !important;
border-color: #ADADAD!important; border-color: #ADADAD!important;
} }
// td.selected-line, td.selected-line pre { // td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important; // background-color: #ffffdd !important;
// } // }
} }
// &.same-code { // &.same-code {
// td.selected-line, td.selected-line pre { // td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important; // background-color: #ffffdd !important;
// } // }
// } // }
&.del-code { &.del-code {
td, pre { td, pre {
background-color: #ffe2dd !important; background-color: #ffe2dd !important;
border-color: #e9aeae !important; border-color: #e9aeae !important;
} }
// td.selected-line, td.selected-line pre { // td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important; // background-color: #ffffdd !important;
// } // }
} }
&.add-code { &.add-code {
td, pre { td, pre {
background-color: #d1ffd6 !important; background-color: #d1ffd6 !important;
border-color: #b4e2b4 !important; border-color: #b4e2b4 !important;
} }
// td.selected-line, td.selected-line pre { // td.selected-line, td.selected-line pre {
// background-color: #ffffdd !important; // background-color: #ffffdd !important;
// } // }
} }
&:hover { &:hover {
td { td {
background-color: #FFF8D2 !important; background-color: #FFF8D2 !important;
border-color: #F0DB88 !important; border-color: #F0DB88 !important;
} }
pre { pre {
background-color: transparent !important; background-color: transparent !important;
} }
} }
} }
} }
} }
&.file-content { &.file-content {
img { img {
max-width: 100%; max-width: 100%;
padding: 5px 5px 0 5px; padding: 5px 5px 0 5px;
} }
} }
} }
.code-view { .code-view {
overflow: auto; overflow: auto;
@ -822,23 +822,23 @@
li { li {
list-style: none; list-style: none;
display: block; display: block;
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
} }
} }
} }
.dot { .dot {
width: 9px; width: 9px;
height: 9px; height: 9px;
background-color: #ccc; background-color: #ccc;
z-index: 999; z-index: 999;
position: absolute; position: absolute;
display: block; display: block;
left: -5px; left: -5px;
top: 40px; top: 40px;
border-radius: 6px; border-radius: 6px;
border: 1px solid #FFF; border: 1px solid #FFF;
} }
} }
} }
@ -858,7 +858,7 @@
} }
.selection.dropdown { .selection.dropdown {
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
} }
} }
.prerelease.field { .prerelease.field {
@ -874,15 +874,15 @@
list-style: none; list-style: none;
width: 32%; width: 32%;
margin: 10px 10px 10px 0; margin: 10px 10px 10px 0;
padding-bottom: 14px; padding-bottom: 14px;
float: left; float: left;
.avatar { .avatar {
width: 48px; width: 48px;
height: 48px; height: 48px;
float: left; float: left;
display: block; display: block;
margin-right: 10px; margin-right: 10px;
} }
.name { .name {
margin-top: 0; margin-top: 0;
@ -948,13 +948,13 @@
text-transform: none; text-transform: none;
} }
.markdown { .markdown {
padding: 15px 30px; padding: 15px 30px;
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
&:first-of-type { &:first-of-type {
margin-top: 0; margin-top: 0;
} }
} }
} }
} }
} }
@ -981,7 +981,7 @@
} }
.ui.button { .ui.button {
margin-left: 5px; margin-left: 5px;
margin-top: -3px; margin-top: -3px;
} }
} }
} }
@ -1002,7 +1002,7 @@
&:hover { &:hover {
background: rgba(0,0,0,.05)!important; background: rgba(0,0,0,.05)!important;
color: rgba(0,0,0,.95)!important; color: rgba(0,0,0,.95)!important;
} }
img { img {
margin-right: 8px; margin-right: 8px;
@ -1081,10 +1081,10 @@
float: left; float: left;
color: gray; color: gray;
padding-left: 10px; padding-left: 10px;
padding-top: 10px; padding-top: 10px;
&.active { &.active {
color: #6cc644; color: #6cc644;
} }
} }
.meta { .meta {
padding-top: 5px; padding-top: 5px;
@ -1129,19 +1129,19 @@
} }
.tab.segment { .tab.segment {
border: none; border: none;
padding: 0; padding: 0;
padding-top: 10px; padding-top: 10px;
box-shadow: none; box-shadow: none;
> * { > * {
color: #666; color: #666;
} }
pre { pre {
word-wrap: break-word; word-wrap: break-word;
.hljs { .hljs {
padding: 0; padding: 0;
background-color: inherit; background-color: inherit;
} }
} }
} }
} }
} }