pull/864/head
Cagatay Civici 2021-01-13 14:27:52 +03:00
parent eefe1277c1
commit b93c06d30d
35 changed files with 155 additions and 35 deletions

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f19ea6;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f19ea6;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #dc3545;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #dc3545;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #a4252c;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #e57373;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #e57373;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #e57373;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #e57373;
}

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44435;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44435;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #B00020;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #B00020;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44435;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44435;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #f44435, #f44435), linear-gradient(to bottom, #f44435, #f44435);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435, inset 0 0 0 1px #f44435;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #B00020;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;
}
.p-checkbox {
border-radius: 50%;

View File

@ -382,7 +382,7 @@
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #B00020;
}
@ -5096,6 +5096,21 @@
background-image: none;
background: transparent;
}
.p-input-filled .p-cascadeselect.p-invalid {
border-color: transparent;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled):hover {
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-focus, .p-input-filled .p-cascadeselect.p-invalid:not(.p-disabled).p-inputwrapper-focus {
box-shadow: none;
background-image: linear-gradient(to bottom, #B00020, #B00020), linear-gradient(to bottom, #B00020, #B00020);
}
.p-cascadeselect.p-invalid:not(.p-disabled).p-focus {
box-shadow: inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020, inset 0 0 0 1px #B00020;
}
.p-checkbox {
border-radius: 50%;

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #a80000;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #a80000;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #a80000;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #a80000;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #e7a3a3;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44336;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44336;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44336;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #f44336;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -358,7 +358,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.p-cascadeselect.p-invalid {
.p-cascadeselect.p-invalid.p-component {
border-color: #ef9a9a;
}

View File

@ -11,7 +11,7 @@
<div class="content-section implementation">
<div class="card">
<h5>Basic</h5>
<CascadeSelect v-model="selectedCity1" :options="countries" optionLabel="cname" optionGroupLabel="name"
<CascadeSelect v-model="selectedCity1" :options="countries" optionLabel="cname" optionGroupLabel="name" class="p-invalid"
:optionGroupChildren="['states', 'cities']" style="minWidth: 14rem" placeholder="Select a City" />
<h5>Templating</h5>