mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-24 18:10:52 +00:00
Disallow leading zeroes in Less (#10407)
This commit is contained in:
parent
71d5a090df
commit
4e912d2ed8
11 changed files with 102 additions and 101 deletions
|
@ -170,7 +170,7 @@
|
|||
}
|
||||
|
||||
.text {
|
||||
margin-left: 0.9em;
|
||||
margin-left: .9em;
|
||||
}
|
||||
|
||||
.menu {
|
||||
|
@ -232,7 +232,7 @@
|
|||
padding: 0 5px;
|
||||
|
||||
&:first-child {
|
||||
border-radius: 0.28571429rem 0 0 0.28571429rem;
|
||||
border-radius: .28571429rem 0 0 .28571429rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -382,11 +382,11 @@
|
|||
}
|
||||
|
||||
.small.icon {
|
||||
font-size: 0.75em;
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
.tiny.icon {
|
||||
font-size: 0.5em;
|
||||
font-size: .5em;
|
||||
}
|
||||
|
||||
.file-actions {
|
||||
|
@ -469,7 +469,7 @@
|
|||
|
||||
input {
|
||||
vertical-align: middle;
|
||||
box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
|
||||
box-shadow: rgba(0, 0, 0, .0745098) 0 1px 2px inset;
|
||||
width: inherit;
|
||||
padding: 7px 8px;
|
||||
margin-right: 5px;
|
||||
|
@ -509,8 +509,8 @@
|
|||
display: inline-block;
|
||||
padding: 3px 6px;
|
||||
font: 12px @monospaced-fonts, monospace;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background-color: rgba(209, 227, 237, 0.45);
|
||||
color: rgba(0, 0, 0, .65);
|
||||
background-color: rgba(209, 227, 237, .45);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
@ -601,7 +601,7 @@
|
|||
margin-bottom: 5px;
|
||||
|
||||
.ui.input {
|
||||
font-size: 0.5em;
|
||||
font-size: .5em;
|
||||
vertical-align: top;
|
||||
width: 50%;
|
||||
min-width: 600px;
|
||||
|
@ -660,7 +660,7 @@
|
|||
}
|
||||
.branch-update.grid {
|
||||
margin-bottom: -1.5rem;
|
||||
margin-top: -0.5rem;
|
||||
margin-top: -.5rem;
|
||||
.row {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
@ -679,12 +679,12 @@
|
|||
.svg {
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
margin-top: 0.45em;
|
||||
margin-top: .45em;
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
margin: 0.3em 0 0.5em 0.5em;
|
||||
margin: .3em 0 .5em .5em;
|
||||
}
|
||||
|
||||
.type-icon {
|
||||
|
@ -693,7 +693,7 @@
|
|||
}
|
||||
|
||||
.divider {
|
||||
margin: 0.5rem 0;
|
||||
margin: .5rem 0;
|
||||
}
|
||||
|
||||
.review-content {
|
||||
|
@ -748,7 +748,7 @@
|
|||
margin-top: 3px;
|
||||
padding: 2px 5px;
|
||||
font-size: 12px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border: 1px solid rgba(0, 0, 0, .1);
|
||||
border-radius: 3px;
|
||||
&.review {
|
||||
margin-left: 5px;
|
||||
|
@ -977,7 +977,7 @@
|
|||
}
|
||||
|
||||
.detail {
|
||||
font-size: 0.9rem;
|
||||
font-size: .9rem;
|
||||
margin-top: 5px;
|
||||
margin-left: 35px;
|
||||
|
||||
|
@ -1247,7 +1247,7 @@
|
|||
}
|
||||
|
||||
&.ui.basic.striped.table tbody tr:nth-child(2n) {
|
||||
background-color: rgba(0, 0, 0, 0.02) !important;
|
||||
background-color: rgba(0, 0, 0, .02) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1565,7 +1565,7 @@
|
|||
}
|
||||
|
||||
.clone.button:first-child {
|
||||
border-radius: 0.28571429rem 0 0 0.28571429rem;
|
||||
border-radius: .28571429rem 0 0 .28571429rem;
|
||||
}
|
||||
|
||||
.ui.action.small.input {
|
||||
|
@ -1933,7 +1933,7 @@
|
|||
}
|
||||
|
||||
&.active {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
background: rgba(0, 0, 0, .05);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1946,12 +1946,12 @@
|
|||
left: auto !important;
|
||||
|
||||
> .header {
|
||||
margin: 0.75rem 0 0.5rem;
|
||||
margin: .75rem 0 .5rem;
|
||||
}
|
||||
|
||||
> .item {
|
||||
float: left;
|
||||
padding: 0.5rem 0.5rem !important;
|
||||
padding: .5rem .5rem !important;
|
||||
|
||||
img.emoji {
|
||||
margin-right: 0;
|
||||
|
@ -1965,7 +1965,7 @@
|
|||
display: flex;
|
||||
|
||||
.ui.label {
|
||||
padding: 0.4em;
|
||||
padding: .4em;
|
||||
padding-right: 1em;
|
||||
padding-left: 1em;
|
||||
border: 0;
|
||||
|
@ -1977,7 +1977,7 @@
|
|||
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
> img {
|
||||
|
@ -1992,7 +1992,7 @@
|
|||
|
||||
.select-reaction {
|
||||
float: left;
|
||||
padding: 0.5em;
|
||||
padding: .5em;
|
||||
padding-left: 1em;
|
||||
|
||||
&:not(.active) a {
|
||||
|
@ -2013,7 +2013,7 @@
|
|||
|
||||
.segment.language-stats {
|
||||
padding: 0;
|
||||
height: 0.6em;
|
||||
height: .6em;
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
|
@ -2023,7 +2023,7 @@
|
|||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 0.6em;
|
||||
height: .6em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2226,7 +2226,7 @@
|
|||
|
||||
> .header,
|
||||
.segment {
|
||||
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
|
||||
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2248,7 +2248,7 @@
|
|||
|
||||
> .svg + .content {
|
||||
display: table-cell;
|
||||
padding: 0 0 0 0.5em;
|
||||
padding: 0 0 0 .5em;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
@ -2387,7 +2387,7 @@
|
|||
display: table-cell;
|
||||
|
||||
&.tiny {
|
||||
height: 0.5em;
|
||||
height: .5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2544,18 +2544,18 @@ tbody.commit-list {
|
|||
}
|
||||
|
||||
.repo-buttons .disabled-repo-button .label {
|
||||
opacity: 0.5;
|
||||
opacity: .5;
|
||||
}
|
||||
|
||||
.repo-buttons .disabled-repo-button a.button {
|
||||
opacity: 0.5;
|
||||
opacity: .5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.repo-buttons .disabled-repo-button a.button:hover {
|
||||
background: none !important;
|
||||
color: rgba(0, 0, 0, 0.6) !important;
|
||||
box-shadow: 0 0 0 1px rgba(34, 36, 38, 0.15) inset !important;
|
||||
color: rgba(0, 0, 0, .6) !important;
|
||||
box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important;
|
||||
}
|
||||
|
||||
.repo-buttons .ui.labeled.button > .label {
|
||||
|
@ -2607,5 +2607,5 @@ td.blob-excerpt {
|
|||
}
|
||||
|
||||
.diff-file-box[data-folded="true"] .diff-file-header {
|
||||
border-radius: 0.28571429rem !important;
|
||||
border-radius: .28571429rem !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue