Browse Source
Reindent Less to 2-space (#12602)
Reindent Less to 2-space (#12602)
Reindent and unify codebase to 2-space indentation.mj-v1.14.3
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 5843 additions and 5849 deletions
-
22.editorconfig
-
2.stylelintrc
-
142web_src/less/_admin.less
-
1650web_src/less/_base.less
-
178web_src/less/_chroma.less
-
332web_src/less/_dashboard.less
-
68web_src/less/_editor.less
-
160web_src/less/_explore.less
-
350web_src/less/_form.less
-
92web_src/less/_home.less
-
52web_src/less/_install.less
-
950web_src/less/_markdown.less
-
354web_src/less/_organization.less
-
4820web_src/less/_repository.less
-
270web_src/less/_review.less
-
12web_src/less/_svg.less
-
30web_src/less/_tribute.less
-
260web_src/less/_user.less
-
44web_src/less/features/animations.less
-
466web_src/less/features/gitgraph.less
-
12web_src/less/markdown/mermaid.less
-
1426web_src/less/themes/theme-arc-green.less
@ -1,28 +1,22 @@ |
|||
root = true |
|||
|
|||
[*] |
|||
indent_style = space |
|||
indent_size = 2 |
|||
tab_width = 2 |
|||
end_of_line = lf |
|||
charset = utf-8 |
|||
insert_final_newline = true |
|||
trim_trailing_whitespace = true |
|||
end_of_line = lf |
|||
|
|||
[*.md] |
|||
trim_trailing_whitespace = false |
|||
insert_final_newline = true |
|||
|
|||
[*.{go,tmpl,html}] |
|||
indent_style = tab |
|||
indent_size = 2 |
|||
|
|||
[*.{less,css}] |
|||
indent_style = space |
|||
indent_size = 4 |
|||
|
|||
[*.{js,json,yml}] |
|||
indent_style = space |
|||
indent_size = 2 |
|||
|
|||
[Makefile] |
|||
indent_style = tab |
|||
|
|||
[*.svg] |
|||
insert_final_newline = false |
|||
|
|||
[*.md] |
|||
trim_trailing_whitespace = false |
@ -1,93 +1,93 @@ |
|||
.admin { |
|||
padding-top: 15px; |
|||
padding-top: 15px; |
|||
|
|||
.table.segment { |
|||
padding: 0; |
|||
font-size: 13px; |
|||
.table.segment { |
|||
padding: 0; |
|||
font-size: 13px; |
|||
|
|||
&:not(.striped) { |
|||
thead { |
|||
th:last-child { |
|||
padding-right: 5px !important; |
|||
} |
|||
} |
|||
} |
|||
|
|||
th { |
|||
padding-top: 5px; |
|||
padding-bottom: 5px; |
|||
&:not(.striped) { |
|||
thead { |
|||
th:last-child { |
|||
padding-right: 5px !important; |
|||
} |
|||
} |
|||
} |
|||
|
|||
&:not(.select) { |
|||
th, |
|||
td { |
|||
&:first-of-type { |
|||
padding-left: 15px !important; |
|||
} |
|||
} |
|||
} |
|||
th { |
|||
padding-top: 5px; |
|||
padding-bottom: 5px; |
|||
} |
|||
|
|||
form tbody button[type='submit'] { |
|||
padding: 5px 8px; |
|||
&:not(.select) { |
|||
th, |
|||
td { |
|||
&:first-of-type { |
|||
padding-left: 15px !important; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.ui.header, |
|||
.ui.segment { |
|||
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); |
|||
form tbody button[type='submit'] { |
|||
padding: 5px 8px; |
|||
} |
|||
} |
|||
|
|||
&.user { |
|||
.email { |
|||
max-width: 200px; |
|||
} |
|||
} |
|||
.ui.header, |
|||
.ui.segment { |
|||
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15); |
|||
} |
|||
|
|||
dl.admin-dl-horizontal { |
|||
padding: 20px; |
|||
margin: 0; |
|||
&.user { |
|||
.email { |
|||
max-width: 200px; |
|||
} |
|||
} |
|||
|
|||
dd { |
|||
margin-left: 275px; |
|||
} |
|||
dl.admin-dl-horizontal { |
|||
padding: 20px; |
|||
margin: 0; |
|||
|
|||
dt { |
|||
font-weight: bolder; |
|||
float: left; |
|||
width: 285px; |
|||
clear: left; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
} |
|||
dd { |
|||
margin-left: 275px; |
|||
} |
|||
|
|||
&.config { |
|||
#test-mail-btn { |
|||
margin-left: 5px; |
|||
} |
|||
dt { |
|||
font-weight: bolder; |
|||
float: left; |
|||
width: 285px; |
|||
clear: left; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
white-space: nowrap; |
|||
} |
|||
} |
|||
|
|||
code, |
|||
pre { |
|||
white-space: pre-wrap; |
|||
word-wrap: break-word; |
|||
&.config { |
|||
#test-mail-btn { |
|||
margin-left: 5px; |
|||
} |
|||
} |
|||
|
|||
#notice-table { |
|||
.notice-description { |
|||
@media only screen and (max-width: 767px) { |
|||
max-width: 80vw; |
|||
} |
|||
@media only screen and (max-width: 991px) and (min-width: 768px) { |
|||
max-width: 360px; |
|||
} |
|||
@media only screen and (min-width: 992px) and (max-width: 1199.98px) { |
|||
max-width: 510px; |
|||
} |
|||
@media only screen and (min-width: 1200px) { |
|||
max-width: 640px; |
|||
} |
|||
} |
|||
code, |
|||
pre { |
|||
white-space: pre-wrap; |
|||
word-wrap: break-word; |
|||
} |
|||
|
|||
#notice-table { |
|||
.notice-description { |
|||
@media only screen and (max-width: 767px) { |
|||
max-width: 80vw; |
|||
} |
|||
@media only screen and (max-width: 991px) and (min-width: 768px) { |
|||
max-width: 360px; |
|||
} |
|||
@media only screen and (min-width: 992px) and (max-width: 1199.98px) { |
|||
max-width: 510px; |
|||
} |
|||
@media only screen and (min-width: 1200px) { |
|||
max-width: 640px; |
|||
} |
|||
} |
|||
} |
|||
} |
1650
web_src/less/_base.less
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,377 +1,377 @@ |
|||
/* Background */ |
|||
|
|||
.chroma { |
|||
background-color: #ffffff; |
|||
background-color: #ffffff; |
|||
} |
|||
/* LineTableTD */ |
|||
|
|||
.chroma .lntd { |
|||
vertical-align: top; |
|||
padding: 0; |
|||
margin: 0; |
|||
border: 0; |
|||
vertical-align: top; |
|||
padding: 0; |
|||
margin: 0; |
|||
border: 0; |
|||
} |
|||
/* LineTable */ |
|||
|
|||
.chroma .lntable { |
|||
border-spacing: 0; |
|||
padding: 0; |
|||
margin: 0; |
|||
border: 0; |
|||
width: auto; |
|||
overflow: auto; |
|||
display: block; |
|||
border-spacing: 0; |
|||
padding: 0; |
|||
margin: 0; |
|||
border: 0; |
|||
width: auto; |
|||
overflow: auto; |
|||
display: block; |
|||
} |
|||
/* LineHighlight */ |
|||
|
|||
.chroma .hl { |
|||
display: block; |
|||
width: 100%; |
|||
background-color: #e5e5e5; |
|||
display: block; |
|||
width: 100%; |
|||
background-color: #e5e5e5; |
|||
} |
|||
/* LineNumbersTable */ |
|||
|
|||
.chroma .lnt { |
|||
margin-right: .4em; |
|||
padding: 0 .4em; |
|||
color: #7f7f7f; |
|||
margin-right: .4em; |
|||
padding: 0 .4em; |
|||
color: #7f7f7f; |
|||
} |
|||
/* LineNumbers */ |
|||
|
|||
.chroma .ln { |
|||
margin-right: .4em; |
|||
padding: 0 .4em; |
|||
color: #7f7f7f; |
|||
margin-right: .4em; |
|||
padding: 0 .4em; |
|||
color: #7f7f7f; |
|||
} |
|||
/* Keyword */ |
|||
|
|||
.chroma .k { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordConstant */ |
|||
|
|||
.chroma .kc { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordDeclaration */ |
|||
|
|||
.chroma .kd { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordNamespace */ |
|||
|
|||
.chroma .kn { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordPseudo */ |
|||
|
|||
.chroma .kp { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordReserved */ |
|||
|
|||
.chroma .kr { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* KeywordType */ |
|||
|
|||
.chroma .kt { |
|||
color: #445588; |
|||
color: #445588; |
|||
} |
|||
/* NameAttribute */ |
|||
|
|||
.chroma .na { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* NameBuiltin */ |
|||
|
|||
.chroma .nb { |
|||
color: #005cc5; |
|||
color: #005cc5; |
|||
} |
|||
/* NameBuiltinPseudo */ |
|||
|
|||
.chroma .bp { |
|||
color: #999999; |
|||
color: #999999; |
|||
} |
|||
/* NameClass */ |
|||
|
|||
.chroma .nc { |
|||
color: #445588; |
|||
color: #445588; |
|||
} |
|||
/* NameConstant */ |
|||
|
|||
.chroma .no { |
|||
color: #008080; |
|||
color: #008080; |
|||
} |
|||
/* NameDecorator */ |
|||
|
|||
.chroma .nd { |
|||
color: #3c5d5d; |
|||
color: #3c5d5d; |
|||
} |
|||
/* NameEntity */ |
|||
|
|||
.chroma .ni { |
|||
color: #6f42c1; |
|||
color: #6f42c1; |
|||
} |
|||
/* NameException */ |
|||
|
|||
.chroma .ne { |
|||
color: #990000; |
|||
color: #990000; |
|||
} |
|||
/* NameFunction */ |
|||
|
|||
.chroma .nf { |
|||
color: #005cc5; |
|||
color: #005cc5; |
|||
} |
|||
/* NameLabel */ |
|||
|
|||
.chroma .nl { |
|||
color: #990000; |
|||
color: #990000; |
|||
} |
|||
/* NameNamespace */ |
|||
|
|||
.chroma .nn { |
|||
color: #555555; |
|||
color: #555555; |
|||
} |
|||
/* NameOther */ |
|||
|
|||
.chroma .nx { |
|||
color: #24292e; |
|||
color: #24292e; |
|||
} |
|||
/* NameTag */ |
|||
|
|||
.chroma .nt { |
|||
color: #22863a; |
|||
color: #22863a; |
|||
} |
|||
/* NameVariable */ |
|||
|
|||
.chroma .nv { |
|||
color: #008080; |
|||
color: #008080; |
|||
} |
|||
/* NameVariableClass */ |
|||
|
|||
.chroma .vc { |
|||
color: #008080; |
|||
color: #008080; |
|||
} |
|||
/* NameVariableGlobal */ |
|||
|
|||
.chroma .vg { |
|||
color: #008080; |
|||
color: #008080; |
|||
} |
|||
/* NameVariableInstance */ |
|||
|
|||
.chroma .vi { |
|||
color: #008080; |
|||
color: #008080; |
|||
} |
|||
/* LiteralString */ |
|||
|
|||
.chroma .s { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringAffix */ |
|||
|
|||
.chroma .sa { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringBacktick */ |
|||
|
|||
.chroma .sb { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringChar */ |
|||
|
|||
.chroma .sc { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringDelimiter */ |
|||
|
|||
.chroma .dl { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringDoc */ |
|||
|
|||
.chroma .sd { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringDouble */ |
|||
|
|||
.chroma .s2 { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringEscape */ |
|||
|
|||
.chroma .se { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringHeredoc */ |
|||
|
|||
.chroma .sh { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringInterpol */ |
|||
|
|||
.chroma .si { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringOther */ |
|||
|
|||
.chroma .sx { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralStringRegex */ |
|||
|
|||
.chroma .sr { |
|||
color: #22863a; |
|||
color: #22863a; |
|||
} |
|||
/* LiteralStringSingle */ |
|||
|
|||
.chroma .s1 { |
|||
color: #24292e; |
|||
color: #24292e; |
|||
} |
|||
/* LiteralStringSymbol */ |
|||
|
|||
.chroma .ss { |
|||
color: #032f62; |
|||
color: #032f62; |
|||
} |
|||
/* LiteralNumber */ |
|||
|
|||
.chroma .m { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberBin */ |
|||
|
|||
.chroma .mb { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberFloat */ |
|||
|
|||
.chroma .mf { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberHex */ |
|||
|
|||
.chroma .mh { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberInteger */ |
|||
|
|||
.chroma .mi { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberIntegerLong */ |
|||
|
|||
.chroma .il { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* LiteralNumberOct */ |
|||
|
|||
.chroma .mo { |
|||
color: #009999; |
|||
color: #009999; |
|||
} |
|||
/* Operator */ |
|||
|
|||
.chroma .o { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* OperatorWord */ |
|||
|
|||
.chroma .ow { |
|||
color: #d73a49; |
|||
color: #d73a49; |
|||
} |
|||
/* Comment */ |
|||
|
|||
.chroma .c { |
|||
color: #6a737d; |
|||
color: #6a737d; |
|||
} |
|||
/* CommentHashbang */ |
|||
|
|||
.chroma .ch { |
|||
color: #6a737d; |
|||
color: #6a737d; |
|||
} |
|||
/* CommentMultiline */ |
|||
|
|||
.chroma .cm { |
|||
color: #999988; |
|||
color: #999988; |
|||
} |
|||
/* CommentSingle */ |
|||
|
|||
.chroma .c1 { |
|||
color: #6a737d; |
|||
color: #6a737d; |
|||
} |
|||
/* CommentSpecial */ |
|||
|
|||
.chroma .cs { |
|||
color: #999999; |
|||
color: #999999; |
|||
} |
|||
/* CommentPreproc */ |
|||
|
|||
.chroma .cp { |
|||
color: #999999; |
|||
color: #999999; |
|||
} |
|||
/* CommentPreprocFile */ |
|||
|
|||
.chroma .cpf { |
|||
color: #999999; |
|||
color: #999999; |
|||
} |
|||
/* GenericDeleted */ |
|||
|
|||
.chroma .gd { |
|||
color: #000000; |
|||
background-color: #ffdddd; |
|||
color: #000000; |
|||
background-color: #ffdddd; |
|||
} |
|||
/* GenericEmph */ |
|||
|
|||
.chroma .ge { |
|||
color: #000000; |
|||
color: #000000; |
|||
} |
|||
/* GenericError */ |
|||
|
|||
.chroma .gr { |
|||
color: #aa0000; |
|||
color: #aa0000; |
|||
} |
|||
/* GenericHeading */ |
|||
|
|||
.chroma .gh { |
|||
color: #999999; |
|||
color: #999999; |
|||
} |
|||
/* GenericInserted */ |
|||
|
|||
.chroma .gi { |
|||
color: #000000; |
|||
background-color: #ddffdd; |
|||
color: #000000; |
|||
background-color: #ddffdd; |
|||
} |
|||
/* GenericOutput */ |
|||
|
|||
.chroma .go { |
|||
color: #888888; |
|||
color: #888888; |
|||
} |
|||
/* GenericPrompt */ |
|||
|
|||
.chroma .gp { |
|||
color: #555555; |
|||
color: #555555; |
|||
} |
|||
/* GenericStrong */ |
|||
|
|||
.chroma .gs { |
|||
font-weight: bold; |
|||
font-weight: bold; |
|||
} |
|||
/* GenericSubheading */ |
|||
|
|||
.chroma .gu { |
|||
color: #aaaaaa; |
|||
color: #aaaaaa; |
|||
} |
|||
/* GenericTraceback */ |
|||
|
|||
.chroma .gt { |
|||
color: #aa0000; |
|||
color: #aa0000; |
|||
} |
|||
/* GenericUnderline */ |
|||
|
|||
.chroma .gl { |
|||
text-decoration: underline; |
|||
text-decoration: underline; |
|||
} |
|||
/* TextWhitespace */ |
|||
|
|||
.chroma .w { |
|||
color: #bbbbbb; |
|||
color: #bbbbbb; |
|||
} |
@ -1,210 +1,210 @@ |
|||
.dashboard { |
|||
padding-top: 15px; |
|||
padding-top: 15px; |
|||
|
|||
&.feeds, |
|||
&.issues { |
|||
.context.user.menu { |
|||
z-index: 101; |
|||
min-width: 200px; |
|||
|
|||
.ui.header { |
|||
font-size: 1rem; |
|||
text-transform: none; |
|||
} |
|||
} |
|||
|
|||
&.feeds, |
|||
&.issues { |
|||
.context.user.menu { |
|||
z-index: 101; |
|||
min-width: 200px; |
|||
.filter.menu { |
|||
width: initial; |
|||
|
|||
.ui.header { |
|||
font-size: 1rem; |
|||
text-transform: none; |
|||
} |
|||
} |
|||
.item { |
|||
text-align: left; |
|||
|
|||
.filter.menu { |
|||
width: initial; |
|||
|
|||
.item { |
|||
text-align: left; |
|||
|
|||
.text { |
|||
height: 16px; |
|||
vertical-align: middle; |
|||
|
|||
&.truncate { |
|||
width: 75%; |
|||
} |
|||
} |
|||
|
|||
.floating.label { |
|||
top: 7px; |
|||
left: 90%; |
|||
width: 15%; |
|||
|
|||
@media only screen and (max-width: 768px) { |
|||
top: 10px; |
|||
left: auto; |
|||
width: auto; |
|||
right: 13px; |
|||
} |
|||
} |
|||
} |
|||
.text { |
|||
height: 16px; |
|||
vertical-align: middle; |
|||
|
|||
// Sort |
|||
.jump.item { |
|||
margin: 1px; |
|||
padding-right: 0; |
|||
} |
|||
&.truncate { |
|||
width: 75%; |
|||
} |
|||
} |
|||
|
|||
.menu { |
|||
max-height: 300px; |
|||
overflow-x: auto; |
|||
right: 0 !important; |
|||
left: auto !important; |
|||
} |
|||
.floating.label { |
|||
top: 7px; |
|||
left: 90%; |
|||
width: 15%; |
|||
|
|||
@media only screen and (max-width: 768px) { |
|||
width: 100%; |
|||
} |
|||
@media only screen and (max-width: 768px) { |
|||
top: 10px; |
|||
left: auto; |
|||
width: auto; |
|||
right: 13px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.right.stackable.menu > .item.active { |
|||
color: #d9453d; |
|||
} |
|||
} |
|||
// Sort |
|||
.jump.item { |
|||
margin: 1px; |
|||
padding-right: 0; |
|||
} |
|||
|
|||
/* Accomodate for Semantic's 1px hacks on .attached elements */ |
|||
.menu { |
|||
max-height: 300px; |
|||
overflow-x: auto; |
|||
right: 0 !important; |
|||
left: auto !important; |
|||
} |
|||
|
|||
.dashboard-repos { |
|||
margin: 0 1px; |
|||
@media only screen and (max-width: 768px) { |
|||
width: 100%; |
|||
} |
|||
} |
|||
|
|||
.dashboard-navbar { |
|||
width: 100vw; |
|||
padding: 0 .5rem; |
|||
.right.stackable.menu > .item.active { |
|||
color: #d9453d; |
|||
} |
|||
} |
|||
|
|||
/* Accomodate for Semantic's 1px hacks on .attached elements */ |
|||
|
|||
.dashboard-repos { |
|||
margin: 0 1px; |
|||
} |
|||
|
|||
.dashboard-navbar { |
|||
width: 100vw; |
|||
padding: 0 .5rem; |
|||
} |
|||
} |
|||
|
|||
&.feeds { |
|||
.news { |
|||
.news { |
|||
|
|||
li { |
|||
display: flex; |
|||
align-items: baseline; |
|||
margin-top: .5rem; |
|||
margin-bottom: .5rem; |
|||
li { |
|||
display: flex; |
|||
align-items: baseline; |
|||
margin-top: .5rem; |
|||
margin-bottom: .5rem; |
|||
|
|||
img { |
|||
align-self: flex-start; |
|||
} |
|||
} |
|||
li > * + * { |
|||
margin-left: .35rem; |
|||
} |
|||
img { |
|||
align-self: flex-start; |
|||
} |
|||
} |
|||
li > * + * { |
|||
margin-left: .35rem; |
|||
} |
|||
|
|||
line-height: 1.2; |
|||
line-height: 1.2; |
|||
|
|||
> .ui.grid { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
> .ui.grid { |
|||
margin-left: auto; |
|||
margin-right: auto; |
|||
} |
|||
|
|||
.ui.avatar { |
|||
margin-top: 13px; |
|||
} |
|||
.ui.avatar { |
|||
margin-top: 13px; |
|||
} |
|||
|
|||
.time-since { |
|||
font-size: 13px; |
|||
} |
|||
.time-since { |
|||
font-size: 13px; |
|||
} |
|||
|
|||
.issue.title { |
|||
width: 80%; |
|||
} |
|||
.issue.title { |
|||
width: 80%; |
|||
} |
|||
|
|||
.push.news .content ul { |
|||
line-height: 18px; |
|||
font-size: 13px; |
|||
list-style: none; |
|||
padding-left: 10px; |
|||
.push.news .content ul { |
|||
line-height: 18px; |
|||
font-size: 13px; |
|||
list-style: none; |
|||
padding-left: 10px; |
|||
|
|||
.text.truncate { |
|||
width: 80%; |
|||
} |
|||
} |
|||
.text.truncate { |
|||
width: 80%; |
|||
} |
|||
} |
|||
|
|||
.commit-id { |
|||
font-family: @monospaced-fonts, monospace; |
|||
} |
|||
.commit-id { |
|||
font-family: @monospaced-fonts, monospace; |
|||
} |
|||
|
|||
code { |
|||
padding: 1px; |
|||
font-size: 85%; |
|||
background-color: rgba(0, 0, 0, .04); |
|||
border-radius: 3px; |
|||
word-break: break-all; |
|||
} |
|||
code { |
|||
padding: 1px; |
|||
font-size: 85%; |
|||
background-color: rgba(0, 0, 0, .04); |
|||
border-radius: 3px; |
|||
word-break: break-all; |
|||
} |
|||
} |
|||
|
|||
.list { |
|||
.header { |
|||
.ui.label { |
|||
margin-top: -4px; |
|||
padding: 4px 5px; |
|||
font-weight: normal; |
|||
} |
|||
|
|||
.plus.icon { |
|||
margin-top: 5px; |
|||
} |
|||
} |
|||
|
|||
.list { |
|||
.header { |
|||
.ui.label { |
|||
margin-top: -4px; |
|||
padding: 4px 5px; |
|||
font-weight: normal; |
|||
} |
|||
ul { |
|||
list-style: none; |
|||
margin: 0; |
|||
padding-left: 0; |
|||
|
|||
.plus.icon { |
|||
margin-top: 5px; |
|||
} |
|||
li { |
|||
&:not(:last-child) { |
|||
border-bottom: 1px solid #ebebeb; |
|||
} |
|||
|
|||
ul { |
|||
list-style: none; |
|||
margin: 0; |
|||
padding-left: 0; |
|||
|
|||
li { |
|||
&:not(:last-child) { |
|||
border-bottom: 1px solid #ebebeb; |
|||
} |
|||
|
|||
&.private { |
|||
background-color: #fcf8e9; |
|||
} |
|||
|
|||
a { |
|||
padding: 6px 1.2em; |
|||
display: block; |
|||
&.private { |
|||
background-color: #fcf8e9; |
|||
} |
|||
|
|||
.svg { |
|||
color: #888888; |
|||
a { |
|||
padding: 6px 1.2em; |
|||
display: block; |
|||
|
|||
&.rear { |
|||
font-size: 15px; |
|||
} |
|||
} |
|||
.svg { |
|||
color: #888888; |
|||
|
|||
.star-num { |
|||
font-size: 12px; |
|||
} |
|||
} |
|||
&.rear { |
|||
font-size: 15px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
#privateFilterCheckbox .svg { |
|||
color: #888888; |
|||
margin-right: .25rem; |
|||
.star-num { |
|||
font-size: 12px; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
|
|||
.repo-owner-name-list { |
|||
.item-name { |
|||
max-width: 70%; |
|||
margin-bottom: -4px; |
|||
} |
|||
} |
|||
#privateFilterCheckbox .svg { |
|||
color: #888888; |
|||
margin-right: .25rem; |
|||
} |
|||
|
|||
#collaborative-repo-list { |
|||
.owner-and-repo { |
|||
max-width: 80%; |
|||
margin-bottom: -5px; |
|||
} |
|||
.repo-owner-name-list { |
|||
.item-name { |
|||
max-width: 70%; |
|||
margin-bottom: -4px; |
|||
} |
|||
} |
|||
|
|||
.owner-name { |
|||
max-width: 120px; |
|||
margin-bottom: -5px; |
|||
} |
|||
} |
|||
#collaborative-repo-list { |
|||
.owner-and-repo { |
|||
max-width: 80%; |
|||
margin-bottom: -5px; |
|||
} |
|||
|
|||
.owner-name { |
|||
max-width: 120px; |
|||
margin-bottom: -5px; |
|||
} |
|||
} |
|||
} |
|||
} |
@ -1,75 +1,75 @@ |
|||
.CodeMirror { |
|||
font: 14px @monospaced-fonts, monospace; |
|||
font: 14px @monospaced-fonts, monospace; |
|||
|
|||
&.cm-s-default { |
|||
border-radius: 3px; |
|||
padding: 0 !important; |
|||
} |
|||
&.cm-s-default { |
|||
border-radius: 3px; |
|||
padding: 0 !important; |
|||
} |
|||
|
|||
.cm-comment { |
|||
background: inherit !important; |
|||
} |
|||
.cm-comment { |
|||
background: inherit !important; |
|||
} |
|||
} |
|||
|
|||
.repository.file.editor .tab[data-tab="write"] { |
|||
padding: 0 !important; |
|||
padding: 0 !important; |
|||
} |
|||
|
|||
.repository.file.editor .tab[data-tab="write"] .editor-toolbar { |
|||
border: 0 !important; |
|||
border: 0 !important; |
|||
} |
|||
|
|||
.repository.file.editor .tab[data-tab="write"] .CodeMirror { |
|||
border-left: 0; |
|||
border-right: 0; |
|||
border-bottom: 0; |
|||
border-left: 0; |
|||
border-right: 0; |
|||
border-bottom: 0; |
|||
} |
|||
|
|||
.editor-toolbar { |
|||
opacity: 1 !important; |
|||
opacity: 1 !important; |
|||
} |
|||
|
|||
.editor-toolbar a:not(:hover) { |
|||
background-color: transparent !important; |
|||
background-color: transparent !important; |
|||
} |
|||
|
|||
.editor-toolbar i.separator { |
|||
border-left: none; |
|||
border-left: none; |
|||
} |
|||
|
|||
.editor-loading { |
|||
padding: 1rem; |
|||
text-align: center; |
|||
padding: 1rem; |
|||
text-align: center; |
|||
} |
|||
|
|||
.edit-diff { |
|||
padding: 0 !important; |
|||
padding: 0 !important; |
|||
} |
|||
|
|||
.edit-diff > div > .ui.table { |
|||
border-top: none !important; |
|||
border-bottom: none !important; |
|||
border-left: 1px solid #d4d4d5 !important; |
|||
border-right: 1px solid #d4d4d5 !important; |
|||
border-top: none !important; |
|||
border-bottom: none !important; |
|||
border-left: 1px solid #d4d4d5 !important; |
|||
border-right: 1px solid #d4d4d5 !important; |
|||
} |
|||
|
|||
#edit_area { |
|||
display: none; |
|||
display: none; |
|||
} |
|||
|
|||
.monaco-editor-container { |
|||
width: 100%; |
|||
min-height: 200px; |
|||
height: 90vh; |
|||
width: 100%; |
|||
min-height: 200px; |
|||
height: 90vh; |
|||
} |
|||
|
|||
/* overwrite conflicting styles from fomantic */ |
|||
.monaco-editor-container .inputarea { |
|||
min-height: 0 !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
resize: none !important; |
|||
border: none !important; |
|||
color: transparent !important; |
|||
background-color: transparent !important; |
|||
min-height: 0 !important; |
|||
margin: 0 !important; |
|||
padding: 0 !important; |
|||
resize: none !important; |
|||
border: none !important; |
|||
color: transparent !important; |
|||
background-color: transparent !important; |
|||
} |
@ -1,111 +1,111 @@ |
|||
.explore { |
|||
padding-top: 15px; |
|||
|
|||
.navbar { |
|||
justify-content: center; |
|||
padding-top: 15px !important; |
|||
margin-top: -15px !important; |
|||
margin-bottom: 15px !important; |
|||
background-color: #fafafa !important; |
|||
border-width: 1px !important; |
|||
|
|||
.svg { |
|||
width: 16px; |
|||
text-align: center; |
|||
margin-right: 5px; |
|||
} |
|||
padding-top: 15px; |
|||
|
|||
.navbar { |
|||
justify-content: center; |
|||
padding-top: 15px !important; |
|||
margin-top: -15px !important; |
|||
margin-bottom: 15px !important; |
|||
background-color: #fafafa !important; |
|||
border-width: 1px !important; |
|||
|
|||
.svg { |
|||
width: 16px; |
|||
text-align: center; |
|||
margin-right: 5px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.ui.repository.list { |
|||
.item { |
|||
padding-bottom: 25px; |
|||
.item { |
|||
padding-bottom: 25px; |
|||
|
|||
&:not(:first-child) { |
|||
border-top: 1px solid #eeeeee; |
|||
padding-top: 25px; |
|||
} |
|||
&:not(:first-child) { |
|||
border-top: 1px solid #eeeeee; |
|||
padding-top: 25px; |
|||
} |
|||
|
|||
.ui.header { |
|||
font-size: 1.5rem; |
|||
padding-bottom: 10px; |
|||
.ui.header { |
|||
font-size: 1.5rem; |
|||
padding-bottom: 10px; |
|||
|
|||
.name { |
|||
word-break: break-all; |
|||
} |
|||
.name { |
|||
word-break: break-all; |
|||
} |
|||
|
|||
.metas { |
|||
color: #888888; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
.metas { |
|||
color: #888888; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
|
|||
span:not(:last-child) { |
|||
margin-right: 5px; |
|||
} |
|||
} |
|||
span:not(:last-child) { |
|||
margin-right: 5px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.time { |
|||
font-size: 12px; |
|||
color: #808080; |
|||
} |
|||
.time { |
|||
font-size: 12px; |
|||
color: #808080; |
|||
} |
|||
|
|||
.ui.tags { |
|||
margin-bottom: 1em; |
|||
} |
|||
.ui.tags { |
|||
margin-bottom: 1em; |
|||
} |
|||
|
|||
.ui.avatar.image { |
|||
width: 24px; |
|||
height: 24px; |
|||
} |
|||
.ui.avatar.image { |
|||
width: 24px; |
|||
height: 24px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.ui.repository.branches { |
|||
.info { |
|||
font-size: 12px; |
|||
color: #808080; |
|||
display: flex; |
|||
white-space: pre; |
|||
.commit-message { |
|||
max-width: 72em; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
} |
|||
} |
|||
.overflow-visible { |
|||
overflow: visible; |
|||
.info { |
|||
font-size: 12px; |
|||
color: #808080; |
|||
display: flex; |
|||
white-space: pre; |
|||
.commit-message { |
|||
max-width: 72em; |
|||
overflow: hidden; |
|||
text-overflow: ellipsis; |
|||
} |
|||
} |
|||
.overflow-visible { |
|||
overflow: visible; |
|||
} |
|||
} |
|||
|
|||
.ui.user.list { |
|||
.item { |
|||
padding-bottom: 25px; |
|||
.item { |
|||
padding-bottom: 25px; |
|||
|
|||
&:not(:first-child) { |
|||
border-top: 1px solid #eeeeee; |
|||
padding-top: 25px; |
|||
} |
|||
&:not(:first-child) { |
|||
border-top: 1px solid #eeeeee; |
|||
padding-top: 25px; |
|||
} |
|||
|
|||
.ui.avatar.image { |
|||
width: 40px; |
|||
height: 40px; |
|||
} |
|||
.ui.avatar.image { |
|||
width: 40px; |
|||
height: 40px; |
|||
} |
|||
|
|||
.description { |
|||
margin-top: 5px; |
|||
.description { |
|||
margin-top: 5px; |
|||
|
|||
.svg:not(:first-child) { |
|||
margin-left: 5px; |
|||
} |
|||
.svg:not(:first-child) { |
|||
margin-left: 5px; |
|||
} |
|||
|
|||
a { |
|||
color: #333333; |
|||
a { |
|||
color: #333333; |
|||
|
|||
&:hover { |
|||
text-decoration: underline; |
|||
} |
|||
} |
|||
&:hover { |
|||
text-decoration: underline; |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} |
@ -1,65 +1,65 @@ |
|||
.home { |
|||
.logo { |
|||
max-width: 220px; |
|||
} |
|||
|
|||
.hero { |
|||
@media only screen and (max-width: 767px) { |
|||
h1 { |
|||
font-size: 3.5em; |
|||
} |
|||
.logo { |
|||
max-width: 220px; |
|||
} |
|||
|
|||
h2 { |
|||
font-size: 2em; |
|||
} |
|||
} |
|||
.hero { |
|||
@media only screen and (max-width: 767px) { |
|||
h1 { |
|||
font-size: 3.5em; |
|||
} |
|||
|
|||
@media only screen and (min-width: 768px) { |
|||
h1 { |
|||
font-size: 5.5em; |
|||
} |
|||
|
|||
h2 { |
|||
font-size: 3em; |
|||
} |
|||
} |
|||
h2 { |
|||
font-size: 2em; |
|||
} |
|||
} |
|||
|
|||
.svg { |
|||
color: #5aa509; |
|||
height: 40px; |
|||
width: 50px; |
|||
vertical-align: bottom; |
|||
} |
|||
@media only screen and (min-width: 768px) { |
|||
h1 { |
|||
font-size: 5.5em; |
|||
} |
|||
|
|||
&.header { |
|||
font-size: 20px; |
|||
} |
|||
h2 { |
|||
font-size: 3em; |
|||
} |
|||
} |
|||
|
|||
p.large { |
|||
font-size: 16px; |
|||
.svg { |
|||
color: #5aa509; |
|||
height: 40px; |
|||
width: 50px; |
|||
vertical-align: bottom; |
|||
} |
|||
|
|||
.stackable { |
|||
padding-top: 30px; |
|||
&.header { |
|||
font-size: 20px; |
|||
} |
|||
} |
|||
|
|||
a { |
|||
color: #5aa509; |
|||
} |
|||
p.large { |
|||
font-size: 16px; |
|||
} |
|||
|
|||
.stackable { |
|||
padding-top: 30px; |
|||
} |
|||
|
|||
a { |
|||
color: #5aa509; |
|||
} |
|||
} |
|||
|
|||
.signup { |
|||
padding-top: 15px; |
|||
padding-top: 15px; |
|||
} |
|||
|
|||
footer { |
|||
.ui.container .left, |
|||
.ui.container .right { |
|||
@media only screen and (max-width: 880px) { |
|||
display: block; |
|||
text-align: center; |
|||
float: none; |
|||
} |
|||
.ui.container .left, |
|||
.ui.container .right { |
|||
@media only screen and (max-width: 880px) { |
|||
display: block; |
|||
text-align: center; |
|||
float: none; |
|||
} |
|||
} |
|||
} |
@ -1,38 +1,38 @@ |
|||
.install { |
|||
padding-top: 45px; |
|||
padding-top: 45px; |
|||
|
|||
form { |
|||
@input-padding: 320px !important; |
|||
form { |
|||
@input-padding: 320px !important; |
|||
|
|||
label { |
|||
text-align: right; |
|||
< |