fix:#53 linted formatted frontend files

This commit is contained in:
Elmar Kresse
2024-09-07 10:09:30 +02:00
parent a9234cbb16
commit fcbe5c0c55
115 changed files with 14849 additions and 11152 deletions

View File

@@ -1,202 +1,202 @@
@use 'sass:math';
@use "sass:math";
//core
.p-stepper .p-stepper-nav {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0;
padding: 0;
list-style-type: none;
overflow-x: auto;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0;
padding: 0;
list-style-type: none;
overflow-x: auto;
}
.p-stepper-vertical .p-stepper-nav {
flex-direction: column;
flex-direction: column;
}
.p-stepper-header {
position: relative;
display: flex;
flex: 1 1 auto;
align-items: center;
position: relative;
display: flex;
flex: 1 1 auto;
align-items: center;
&:last-of-type {
flex: initial;
}
&:last-of-type {
flex: initial;
}
}
.p-stepper-header .p-stepper-action {
border: 0 none;
display: inline-flex;
align-items: center;
text-decoration: none;
cursor: pointer;
border: 0 none;
display: inline-flex;
align-items: center;
text-decoration: none;
cursor: pointer;
&:focus-visible {
@include focused();
}
&:focus-visible {
@include focused();
}
}
.p-stepper.p-stepper-readonly .p-stepper-header {
cursor: auto;
cursor: auto;
}
.p-stepper-header.p-highlight .p-stepper-action {
cursor: default;
cursor: default;
}
.p-stepper-title {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.p-stepper-number {
position: relative;
display: flex;
align-items: center;
justify-content: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.p-stepper-separator {
flex: 1 1 0;
flex: 1 1 0;
}
//theme
.p-stepper {
.p-stepper-nav {
display: flex;
justify-content: space-between;
margin: 0;
padding: 0;
list-style-type: none;
}
.p-stepper-header {
padding: $inlineSpacing;
.p-stepper-nav {
display: flex;
justify-content: space-between;
margin: 0;
padding: 0;
list-style-type: none;
}
.p-stepper-action {
transition: $listItemTransition;
border-radius: $borderRadius;
background: $stepsItemBg;
outline-color: transparent;
.p-stepper-number {
color: $stepsItemNumberColor;
border: $stepsItemBorder;
border-width: 2px;
background: $stepsItemBg;
min-width: $stepsItemNumberWidth;
height: $stepsItemNumberHeight;
line-height: $stepsItemNumberHeight;
font-size: $stepsItemNumberFontSize;
border-radius: $stepsItemNumberBorderRadius;
transition: $actionIconTransition;
}
.p-stepper-title {
margin-left: $inlineSpacing;
color: $stepsItemTextColor;
font-weight: $stepsItemActiveFontWeight;
transition: $actionIconTransition;
}
.p-stepper-header {
padding: $inlineSpacing;
&:not(.p-disabled):focus-visible {
@include focused();
}
}
.p-stepper-action {
transition: $listItemTransition;
border-radius: $borderRadius;
background: $stepsItemBg;
outline-color: transparent;
&.p-highlight {
.p-stepper-number {
background: $highlightBg;
color: $highlightTextColor;
}
.p-stepper-number {
color: $stepsItemNumberColor;
border: $stepsItemBorder;
border-width: 2px;
background: $stepsItemBg;
min-width: $stepsItemNumberWidth;
height: $stepsItemNumberHeight;
line-height: $stepsItemNumberHeight;
font-size: $stepsItemNumberFontSize;
border-radius: $stepsItemNumberBorderRadius;
transition: $actionIconTransition;
}
.p-stepper-title {
color: $textColor;
}
}
.p-stepper-title {
margin-left: $inlineSpacing;
color: $stepsItemTextColor;
font-weight: $stepsItemActiveFontWeight;
transition: $actionIconTransition;
}
&:not(.p-disabled):focus-visible {
@include focused();
}
&:has(~ .p-highlight) {
@if variable-exists(primaryColor) {
.p-stepper-separator {
background-color: $primaryColor;
}
}
}
&:not(.p-disabled):focus-visible {
@include focused();
}
}
.p-stepper-panels {
background: $tabviewContentBg;
padding: $tabviewContentPadding;
color: $tabviewContentTextColor;
&.p-highlight {
.p-stepper-number {
background: $highlightBg;
color: $highlightTextColor;
}
.p-stepper-title {
color: $textColor;
}
}
.p-stepper-separator {
background-color: $timelineEventColor;
&:not(.p-disabled):focus-visible {
@include focused();
}
&:has(~ .p-highlight) {
@if variable-exists(primaryColor) {
.p-stepper-separator {
background-color: $primaryColor;
}
}
}
}
.p-stepper-panels {
background: $tabviewContentBg;
padding: $tabviewContentPadding;
color: $tabviewContentTextColor;
}
.p-stepper-separator {
background-color: $timelineEventColor;
width: 100%;
height: 2px;
margin-inline-start: calc($inlineSpacing * 2);
transition: $listItemTransition;
}
&.p-stepper-vertical {
display: flex;
flex-direction: column;
.p-stepper-toggleable-content {
display: flex;
flex: 1 1 auto;
background: $tabviewContentBg;
color: $tabviewContentTextColor;
}
.p-stepper-panel {
display: flex;
flex-direction: column;
flex: initial;
&.p-stepper-panel-active {
flex: 1 1 auto;
}
.p-stepper-header {
flex: initial;
}
.p-stepper-content {
width: 100%;
height: 2px;
margin-inline-start: calc($inlineSpacing * 2);
transition: $listItemTransition;
}
padding-left: calc($inlineSpacing * 2);
}
&.p-stepper-vertical {
display: flex;
flex-direction: column;
.p-stepper-separator {
flex: 0 0 auto;
width: 2px;
height: auto;
margin-inline-start: calc($inlineSpacing * 7 / 2 + 2px);
}
.p-stepper-toggleable-content {
display: flex;
flex: 1 1 auto;
background: $tabviewContentBg;
color: $tabviewContentTextColor;
&:has(~ .p-stepper-panel-active) {
@if variable-exists(primaryColor) {
.p-stepper-separator {
background-color: $primaryColor;
}
}
}
.p-stepper-panel {
display: flex;
flex-direction: column;
flex: initial;
&.p-stepper-panel-active {
flex: 1 1 auto;
}
.p-stepper-header {
flex: initial;
}
.p-stepper-content {
width: 100%;
padding-left: calc($inlineSpacing * 2);
}
.p-stepper-separator {
flex: 0 0 auto;
width: 2px;
height: auto;
margin-inline-start: calc($inlineSpacing * 7 / 2 + 2px);
}
&:has(~ .p-stepper-panel-active) {
@if variable-exists(primaryColor) {
.p-stepper-separator {
background-color: $primaryColor;
}
}
}
&:last-of-type {
.p-stepper-content {
padding-left: calc($inlineSpacing * 6);
}
}
&:last-of-type {
.p-stepper-content {
padding-left: calc($inlineSpacing * 6);
}
}
}
}
}