mirror of https://github.com/jenkinsci/jenkins.git
style: Address stylelint violations
This commit is contained in:
parent
fd4da119c4
commit
8598f99f00
|
@ -64,6 +64,7 @@
|
||||||
&::before {
|
&::before {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
box-shadow: 0 0 0 0.33rem var(--primary);
|
box-shadow: 0 0 0 0.33rem var(--primary);
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
|
@ -79,7 +80,7 @@
|
||||||
|
|
||||||
// Support for custom colors
|
// Support for custom colors
|
||||||
// Modifier classes must include 'color' in name to work
|
// Modifier classes must include 'color' in name to work
|
||||||
.jenkins-button[class*="color"] {
|
.jenkins-button[class*="color"] {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: var(--color) !important;
|
color: var(--color) !important;
|
||||||
|
|
||||||
|
@ -104,6 +105,7 @@
|
||||||
&::before {
|
&::before {
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
box-shadow: 0 0 0 0.33rem currentColor;
|
box-shadow: 0 0 0 0.33rem currentColor;
|
||||||
opacity: 0.1;
|
opacity: 0.1;
|
||||||
|
@ -136,6 +138,7 @@
|
||||||
&::before {
|
&::before {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
box-shadow: 0 0 0 0.33rem var(--color);
|
box-shadow: 0 0 0 0.33rem var(--color);
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
@ -143,7 +146,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.jenkins-button--tertiary[class*="color"] {
|
.jenkins-button--tertiary[class*="color"] {
|
||||||
&::before {
|
&::before {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
@ -155,36 +158,36 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.jenkins-button {
|
.jenkins-button {
|
||||||
margin-left: 0!important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0.5rem!important;
|
margin-right: 0.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.yui-button {
|
.yui-button {
|
||||||
margin-left: 0!important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0.5rem!important;
|
margin-right: 0.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jenkins-table__button {
|
.jenkins-table__button {
|
||||||
margin-left: 0!important;
|
margin-left: 0 !important;
|
||||||
margin-right: 1.5rem!important;
|
margin-right: 1.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--invert {
|
&--invert {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
.jenkins-button {
|
.jenkins-button {
|
||||||
margin-left: 0.5rem!important;
|
margin-left: 0.5rem !important;
|
||||||
margin-right: 0!important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.yui-button {
|
.yui-button {
|
||||||
margin-left: 0.5rem!important;
|
margin-left: 0.5rem !important;
|
||||||
margin-right: 0!important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.jenkins-table__button {
|
.jenkins-table__button {
|
||||||
margin-left: 1.5rem!important;
|
margin-left: 1.5rem !important;
|
||||||
margin-right: 0!important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
|
|
||||||
li {
|
li {
|
||||||
.jenkins-button {
|
.jenkins-button {
|
||||||
margin: 0!important;
|
margin: 0 !important;
|
||||||
padding: 0!important;
|
padding: 0 !important;
|
||||||
min-width: 0!important;
|
min-width: 0 !important;
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
height: @min-button-size;
|
height: @min-button-size;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
@import "./modules/tabs";
|
@import "./modules/tabs";
|
||||||
@import "./modules/tooltips";
|
@import "./modules/tooltips";
|
||||||
@import "./pages/about";
|
@import "./pages/about";
|
||||||
@import './pages/dashboard';
|
@import "./pages/dashboard";
|
||||||
@import "./pages/manage-jenkins";
|
@import "./pages/manage-jenkins";
|
||||||
@import "./pages/plugin-manager";
|
@import "./pages/plugin-manager";
|
||||||
@import "./pages/setupWizardFirstUser";
|
@import "./pages/setupWizardFirstUser";
|
||||||
|
|
Loading…
Reference in New Issue