mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +00:00
Convert tabs to spaces in .less files (#3064)
This commit is contained in:
@@ -1354,257 +1354,257 @@
|
||||
// End of .repository
|
||||
|
||||
&.user-cards {
|
||||
.list {
|
||||
padding: 0;
|
||||
.list {
|
||||
padding: 0;
|
||||
|
||||
.item {
|
||||
list-style: none;
|
||||
width: 32%;
|
||||
margin: 10px 10px 10px 0;
|
||||
padding-bottom: 14px;
|
||||
float: left;
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#search-repo-box,
|
||||
#search-user-box {
|
||||
.results {
|
||||
.result {
|
||||
.image {
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
}
|
||||
.content {
|
||||
margin: 6px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.results {
|
||||
.result {
|
||||
.image {
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
}
|
||||
.content {
|
||||
margin: 6px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.issue-actions {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
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;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.ui.form {
|
||||
.dropzone {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
border: 2px dashed #0087F7;
|
||||
box-shadow: none!important;
|
||||
.dz-error-message {
|
||||
top: 140px;
|
||||
}
|
||||
}
|
||||
.dropzone {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
border: 2px dashed #0087F7;
|
||||
box-shadow: none!important;
|
||||
.dz-error-message {
|
||||
top: 140px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.settings {
|
||||
.content {
|
||||
margin-top: 2px;
|
||||
>.header,
|
||||
.segment {
|
||||
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
|
||||
}
|
||||
}
|
||||
.list {
|
||||
> .item {
|
||||
.green {
|
||||
color: #21BA45 !important;
|
||||
}
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid #eaeaea;
|
||||
padding:1rem;
|
||||
margin: 15px -1rem -1rem -1rem;
|
||||
}
|
||||
> .mega-octicon {
|
||||
display: table-cell;
|
||||
}
|
||||
> .mega-octicon + .content {
|
||||
display: table-cell;
|
||||
padding: 0 0 0 .5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
.info {
|
||||
margin-top: 10px;
|
||||
.tab.segment {
|
||||
border: none;
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.key{
|
||||
.meta {
|
||||
padding-top: 5px;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
&.email {
|
||||
> .item:not(:first-child) {
|
||||
min-height: 60px;
|
||||
}
|
||||
}
|
||||
&.collaborator {
|
||||
> .item {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content {
|
||||
margin-top: 2px;
|
||||
>.header,
|
||||
.segment {
|
||||
box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);
|
||||
}
|
||||
}
|
||||
.list {
|
||||
> .item {
|
||||
.green {
|
||||
color: #21BA45 !important;
|
||||
}
|
||||
&:not(:first-child) {
|
||||
border-top: 1px solid #eaeaea;
|
||||
padding:1rem;
|
||||
margin: 15px -1rem -1rem -1rem;
|
||||
}
|
||||
> .mega-octicon {
|
||||
display: table-cell;
|
||||
}
|
||||
> .mega-octicon + .content {
|
||||
display: table-cell;
|
||||
padding: 0 0 0 .5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
.info {
|
||||
margin-top: 10px;
|
||||
.tab.segment {
|
||||
border: none;
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.key{
|
||||
.meta {
|
||||
padding-top: 5px;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
&.email {
|
||||
> .item:not(:first-child) {
|
||||
min-height: 60px;
|
||||
}
|
||||
}
|
||||
&.collaborator {
|
||||
> .item {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui.vertical.menu {
|
||||
.header.item {
|
||||
font-size: 1.1em;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
.header.item {
|
||||
font-size: 1.1em;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.precolors {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
margin: 3px 10px auto 10px;
|
||||
width: 120px;
|
||||
.color {
|
||||
float: left;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.precolors {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
margin: 3px 10px auto 10px;
|
||||
width: 120px;
|
||||
.color {
|
||||
float: left;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#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;
|
||||
}
|
||||
&: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;
|
||||
}
|
||||
}
|
||||
|
||||
#transfer-repo-modal,
|
||||
#delete-repo-modal {
|
||||
.ui.message {
|
||||
width: 100%!important;
|
||||
}
|
||||
.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));
|
||||
.tab-size-@{i} {
|
||||
tab-size: @i !important;
|
||||
-moz-tab-size: @i !important;
|
||||
}
|
||||
.generate-tab-size(@n, (@i + 1));
|
||||
}
|
||||
|
||||
.stats-table {
|
||||
display: table;
|
||||
width: 100%;
|
||||
.table-cell {
|
||||
display: table-cell;
|
||||
&.tiny {
|
||||
height: .5em;
|
||||
}
|
||||
}
|
||||
display: table;
|
||||
width: 100%;
|
||||
.table-cell {
|
||||
display: table-cell;
|
||||
&.tiny {
|
||||
height: .5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tbody.commit-list {
|
||||
@@ -1612,5 +1612,5 @@ tbody.commit-list {
|
||||
}
|
||||
|
||||
.commit-body {
|
||||
white-space: pre-wrap;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
Reference in New Issue
Block a user