Disallow leading zeroes in Less (#10407)

This commit is contained in:
silverwind 2020-02-23 17:48:27 +01:00 committed by GitHub
parent 71d5a090df
commit 4e912d2ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 102 additions and 101 deletions

View file

@ -1,7 +1,7 @@
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
padding: .5em;
color: #bababa;
}
@ -86,7 +86,7 @@ body {
* {
scrollbar-width: thin;
scrollbar-color: #87ab63 rgba(255, 255, 255, 0.1);
scrollbar-color: #87ab63 rgba(255, 255, 255, .1);
}
/* webkit scrollbars */
@ -99,14 +99,14 @@ body {
::-webkit-scrollbar-track {
border-radius: 0 !important;
background: rgba(255, 255, 255, 0.1) !important;
background: rgba(255, 255, 255, .1) !important;
}
::-webkit-scrollbar-thumb {
cursor: pointer !important;
border-radius: 5px !important;
-webkit-transition: color 0.2s ease !important;
transition: color 0.2s ease !important;
-webkit-transition: color .2s ease !important;
transition: color .2s ease !important;
background: #87ab63 !important;
}
@ -360,8 +360,8 @@ a.ui.basic.green.label:hover {
.ui.basic.buttons .button:focus,
.ui.basic.buttons .button:hover {
color: #dbdbdb;
box-shadow: 0 0 0 1px rgba(200, 200, 200, 0.35) inset;
background: rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 1px rgba(200, 200, 200, .35) inset;
background: rgba(0, 0, 0, .5);
}
.ui.menu .item {
@ -532,12 +532,12 @@ a.ui.basic.green.label:hover {
}
.repository.wiki.new .ui.container form .ui.tabular.menu {
border-bottom: 1px solid rgba(187, 187, 187, 0.6);
border-bottom: 1px solid rgba(187, 187, 187, .6);
.active.item {
border-top: 1px solid rgba(187, 187, 187, 0.6);
border-left: 1px solid rgba(187, 187, 187, 0.6);
border-right: 1px solid rgba(187, 187, 187, 0.6);
border-top: 1px solid rgba(187, 187, 187, .6);
border-left: 1px solid rgba(187, 187, 187, .6);
border-right: 1px solid rgba(187, 187, 187, .6);
&:hover {
background: #4b5162;
}
@ -576,9 +576,9 @@ a.ui.basic.green.label:hover {
.repository.file.editor.edit,
.repository.wiki.new .CodeMirror {
border-right: 1px solid rgba(187, 187, 187, 0.6);
border-left: 1px solid rgba(187, 187, 187, 0.6);
border-bottom: 1px solid rgba(187, 187, 187, 0.6);
border-right: 1px solid rgba(187, 187, 187, .6);
border-left: 1px solid rgba(187, 187, 187, .6);
border-bottom: 1px solid rgba(187, 187, 187, .6);
.editor-preview,
.editor-preview-side,
@ -798,13 +798,13 @@ a.ui.basic.green.label:hover {
.ui.selection.active.dropdown,
.ui.selection.active.dropdown .menu {
border-color: #4e5361;
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15);
}
.ui.selection.active.dropdown:hover,
.ui.selection.active.dropdown:hover .menu {
border-color: #4e5361;
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15);
}
.ui.selection.dropdown {
@ -936,9 +936,9 @@ input {
}
.ui.red.message {
background-color: rgba(80, 23, 17, 0.6);
background-color: rgba(80, 23, 17, .6);
color: #f9cbcb;
box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.ui.red.button,
@ -987,7 +987,7 @@ input {
.ui.checkbox .box:active::before,
.ui.checkbox label:active::before {
background: #304251;
border-color: rgba(34, 36, 38, 0.35);
border-color: rgba(34, 36, 38, .35);
}
.ui.checkbox input:focus ~ .box:before,
@ -1036,9 +1036,9 @@ input {
}
.ui.negative.message {
background-color: rgba(80, 23, 17, 0.6);
background-color: rgba(80, 23, 17, .6);
color: #f9cbcb;
box-shadow: 0 0 0 1px rgba(121, 71, 66, 0.5) inset, 0 0 0 0 transparent;
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.hljs-tag,
@ -1132,7 +1132,7 @@ input {
background-color: #2a2e3a !important;
}
td.blob-excerpt {
background-color: rgba(0, 0, 0, 0.15);
background-color: rgba(0, 0, 0, .15);
}
.code-view .active {
@ -1330,7 +1330,7 @@ a.ui.labels .label:hover {
::before {
content: "\f0dd";
font: normal normal normal 14px/1 FontAwesome, serif;
font-size: 0.7em;
font-size: .7em;
}
}
@ -1349,7 +1349,7 @@ a.ui.labels .label:hover {
td.xdsoft_other_month,
td.xdsoft_disabled {
opacity: 0.8;
opacity: .8;
background: #a0cc75;
color: #000000;
}