diff --git a/public/themes/arya-blue/theme.css b/public/themes/arya-blue/theme.css index b73d3a38c..3a8a9c92e 100644 --- a/public/themes/arya-blue/theme.css +++ b/public/themes/arya-blue/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #64B5F6; } +.p-treeselect { + background: #121212; + border: 1px solid #383838; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #64B5F6; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #93cbf9; + border-color: #64B5F6; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #383838; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #383838; +} + .p-togglebutton.p-button { background: #1e1e1e; border: 1px solid #383838; diff --git a/public/themes/arya-green/theme.css b/public/themes/arya-green/theme.css index d183955aa..d3fac3972 100644 --- a/public/themes/arya-green/theme.css +++ b/public/themes/arya-green/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #81C784; } +.p-treeselect { + background: #121212; + border: 1px solid #383838; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #81C784; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #a7d8a9; + border-color: #81C784; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #383838; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #383838; +} + .p-togglebutton.p-button { background: #1e1e1e; border: 1px solid #383838; diff --git a/public/themes/arya-orange/theme.css b/public/themes/arya-orange/theme.css index 67143aed4..825648ae9 100644 --- a/public/themes/arya-orange/theme.css +++ b/public/themes/arya-orange/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #FFD54F; } +.p-treeselect { + background: #121212; + border: 1px solid #383838; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #FFD54F; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #ffe284; + border-color: #FFD54F; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #383838; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #383838; +} + .p-togglebutton.p-button { background: #1e1e1e; border: 1px solid #383838; diff --git a/public/themes/arya-purple/theme.css b/public/themes/arya-purple/theme.css index ca2715a95..c80341a68 100644 --- a/public/themes/arya-purple/theme.css +++ b/public/themes/arya-purple/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #BA68C8; } +.p-treeselect { + background: #121212; + border: 1px solid #383838; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #BA68C8; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #cf95d9; + border-color: #BA68C8; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #383838; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1e1e1e; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #383838; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #383838; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #383838; +} + .p-togglebutton.p-button { background: #1e1e1e; border: 1px solid #383838; diff --git a/public/themes/bootstrap4-dark-blue/theme.css b/public/themes/bootstrap4-dark-blue/theme.css index ed30fc586..73ef73fbf 100644 --- a/public/themes/bootstrap4-dark-blue/theme.css +++ b/public/themes/bootstrap4-dark-blue/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.15s; } -.p-float-label > label.p-error { - color: #f19ea6; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(255, 255, 255, 0.6); @@ -1474,6 +1470,76 @@ border-color: #56bdff; } +.p-treeselect { + background: #20262e; + border: 1px solid #3f4b5b; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #3f4b5b; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #e3f3fe; + border-color: #8dd0ff; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.75rem; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.75rem; + margin-right: 0.5rem; + background: #3f4b5b; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f19ea6; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.75rem; +} + +.p-treeselect-panel { + background: #2a323d; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #3f4b5b; + border-radius: 4px; + box-shadow: none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1.5rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #3f4b5b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #3f4b5b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #3f4b5b; +} + .p-togglebutton.p-button { background: #6c757d; border: 1px solid #6c757d; diff --git a/public/themes/bootstrap4-dark-purple/theme.css b/public/themes/bootstrap4-dark-purple/theme.css index f6d783b94..0d987ff6a 100644 --- a/public/themes/bootstrap4-dark-purple/theme.css +++ b/public/themes/bootstrap4-dark-purple/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.15s; } -.p-float-label > label.p-error { - color: #f19ea6; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(255, 255, 255, 0.6); @@ -1474,6 +1470,76 @@ border-color: #aa70c7; } +.p-treeselect { + background: #20262e; + border: 1px solid #3f4b5b; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #3f4b5b; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #f0e6f5; + border-color: #c298d8; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.75rem; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.75rem; + margin-right: 0.5rem; + background: #3f4b5b; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f19ea6; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.75rem; +} + +.p-treeselect-panel { + background: #2a323d; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #3f4b5b; + border-radius: 4px; + box-shadow: none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1.5rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #3f4b5b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #3f4b5b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #3f4b5b; +} + .p-togglebutton.p-button { background: #6c757d; border: 1px solid #6c757d; diff --git a/public/themes/bootstrap4-light-blue/theme.css b/public/themes/bootstrap4-light-blue/theme.css index db88a4f81..6b6b705f6 100644 --- a/public/themes/bootstrap4-light-blue/theme.css +++ b/public/themes/bootstrap4-light-blue/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.15s; } -.p-float-label > label.p-error { - color: #dc3545; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: #495057; @@ -1474,6 +1470,76 @@ border-color: #0069d9; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #ced4da; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5); + border-color: #007bff; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.75rem; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.75rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #212529; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #495057; + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #dc3545; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.75rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #212529; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + box-shadow: none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1.5rem; + color: #212529; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #efefef; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #efefef; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #efefef; +} + .p-togglebutton.p-button { background: #6c757d; border: 1px solid #6c757d; diff --git a/public/themes/bootstrap4-light-purple/theme.css b/public/themes/bootstrap4-light-purple/theme.css index 3ebfe7599..0234ce614 100644 --- a/public/themes/bootstrap4-light-purple/theme.css +++ b/public/themes/bootstrap4-light-purple/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.15s; } -.p-float-label > label.p-error { - color: #dc3545; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: #495057; @@ -1474,6 +1470,76 @@ border-color: #7a38a7; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #ced4da; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem rgba(136, 60, 174, 0.5); + border-color: #883cae; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.75rem; + transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.75rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #212529; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #495057; + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #dc3545; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.75rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #212529; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 4px; + box-shadow: none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1.5rem; + color: #212529; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #efefef; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #efefef; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #efefef; +} + .p-togglebutton.p-button { background: #6c757d; border: 1px solid #6c757d; diff --git a/public/themes/fluent-light/theme.css b/public/themes/fluent-light/theme.css index 096e8f8db..7cc9b654f 100644 --- a/public/themes/fluent-light/theme.css +++ b/public/themes/fluent-light/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #a4252c; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: #605e5c; @@ -1462,6 +1458,76 @@ border-color: #005a9e; } +.p-treeselect { + background: #ffffff; + border: 1px solid #605e5c; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 2px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #323130; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: inset 0 0 0 1px #605e5c; + border-color: #0078d4; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #605e5c; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #edebe9; + color: #323130; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #605e5c; + width: 2.357rem; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} +.p-treeselect.p-invalid.p-component { + border-color: #a4252c; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #323130; + border: 0 none; + border-radius: 2px; + box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.75rem 0.5rem; + color: #323130; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #faf9f8; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #faf9f8; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #faf9f8; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid #605e5c; diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 87490251a..648a5e9e0 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #e57373; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #888888; @@ -1474,6 +1470,76 @@ border-color: #FFE082; } +.p-treeselect { + background: #191919; + border: 1px solid #4b4b4b; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #FFE082; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem white; + border-color: #FFE082; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #9b9b9b; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #4b4b4b; + color: #dedede; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #888888; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #e57373; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #dedede; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #4b4b4b; +} + .p-togglebutton.p-button { background: #252525; border: 1px solid #252525; diff --git a/public/themes/luna-blue/theme.css b/public/themes/luna-blue/theme.css index 5ab3c95ad..51974d7ae 100644 --- a/public/themes/luna-blue/theme.css +++ b/public/themes/luna-blue/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #e57373; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #888888; @@ -1474,6 +1470,76 @@ border-color: #81D4FA; } +.p-treeselect { + background: #191919; + border: 1px solid #4b4b4b; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #81D4FA; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem white; + border-color: #81D4FA; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #9b9b9b; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #4b4b4b; + color: #dedede; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #888888; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #e57373; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #dedede; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #4b4b4b; +} + .p-togglebutton.p-button { background: #252525; border: 1px solid #252525; diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index c634fe541..29d602d62 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #e57373; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #888888; @@ -1474,6 +1470,76 @@ border-color: #C5E1A5; } +.p-treeselect { + background: #191919; + border: 1px solid #4b4b4b; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #C5E1A5; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem white; + border-color: #C5E1A5; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #9b9b9b; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #4b4b4b; + color: #dedede; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #888888; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #e57373; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #dedede; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #4b4b4b; +} + .p-togglebutton.p-button { background: #252525; border: 1px solid #252525; diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index 15e758479..f709449dd 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #e57373; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #888888; @@ -1474,6 +1470,76 @@ border-color: #F48FB1; } +.p-treeselect { + background: #191919; + border: 1px solid #4b4b4b; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #F48FB1; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.1rem white; + border-color: #F48FB1; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #9b9b9b; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #4b4b4b; + color: #dedede; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #888888; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #e57373; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #323232; + color: #dedede; + border: 1px solid #191919; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #dedede; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #4b4b4b; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #4b4b4b; +} + .p-togglebutton.p-button { background: #252525; border: 1px solid #252525; diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css index 9ba3d1b05..1f864bab0 100644 --- a/public/themes/md-dark-deeppurple/theme.css +++ b/public/themes/md-dark-deeppurple/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44435; -} - .p-input-icon-left > i:first-of-type { left: 1rem; color: rgba(255, 255, 255, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #1e1e1e; + border: 1px solid rgba(255, 255, 255, 0.3); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(255, 255, 255, 0.6); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #CE93D8; +} +.p-treeselect .p-treeselect-label { + padding: 1rem 1rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.5rem 1rem; + margin-right: 0.5rem; + background: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44435; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.5rem 1rem; +} + +.p-treeselect-panel { + background: #2b2b2b; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 1rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: rgba(255, 255, 255, 0.06); +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: rgba(255, 255, 255, 0.08); +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: rgba(255, 255, 255, 0.1); +} + .p-togglebutton.p-button { background: #2f2f2f; border: 1px solid rgba(255, 255, 255, 0.12); diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css index 237f2a2c4..1aa2db9ba 100644 --- a/public/themes/md-dark-indigo/theme.css +++ b/public/themes/md-dark-indigo/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44435; -} - .p-input-icon-left > i:first-of-type { left: 1rem; color: rgba(255, 255, 255, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #1e1e1e; + border: 1px solid rgba(255, 255, 255, 0.3); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(255, 255, 255, 0.6); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #9FA8DA; +} +.p-treeselect .p-treeselect-label { + padding: 1rem 1rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.5rem 1rem; + margin-right: 0.5rem; + background: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44435; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.5rem 1rem; +} + +.p-treeselect-panel { + background: #2b2b2b; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 1rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: rgba(255, 255, 255, 0.06); +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: rgba(255, 255, 255, 0.08); +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: rgba(255, 255, 255, 0.1); +} + .p-togglebutton.p-button { background: #2f2f2f; border: 1px solid rgba(255, 255, 255, 0.12); diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css index f0939b1f6..0eb20b136 100644 --- a/public/themes/md-light-deeppurple/theme.css +++ b/public/themes/md-light-deeppurple/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #B00020; -} - .p-input-icon-left > i:first-of-type { left: 1rem; color: rgba(0, 0, 0, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.38); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(0, 0, 0, 0.87); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #673AB7; +} +.p-treeselect .p-treeselect-label { + padding: 1rem 1rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(0, 0, 0, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.5rem 1rem; + margin-right: 0.5rem; + background: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(0, 0, 0, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #B00020; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.5rem 1rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: rgba(0, 0, 0, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 1rem 1rem; + color: rgba(0, 0, 0, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f5f5f5; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #ececec; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #dcdcdc; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.12); diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css index 941b3e3c1..2592ebd78 100644 --- a/public/themes/md-light-indigo/theme.css +++ b/public/themes/md-light-indigo/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #B00020; -} - .p-input-icon-left > i:first-of-type { left: 1rem; color: rgba(0, 0, 0, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.38); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(0, 0, 0, 0.87); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #3F51B5; +} +.p-treeselect .p-treeselect-label { + padding: 1rem 1rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(0, 0, 0, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.5rem 1rem; + margin-right: 0.5rem; + background: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(0, 0, 0, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #B00020; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.5rem 1rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: rgba(0, 0, 0, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 1rem 1rem; + color: rgba(0, 0, 0, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f5f5f5; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #ececec; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #dcdcdc; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-dark-deeppurple/theme.css b/public/themes/mdc-dark-deeppurple/theme.css index 4e61fa133..f3b57347e 100644 --- a/public/themes/mdc-dark-deeppurple/theme.css +++ b/public/themes/mdc-dark-deeppurple/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44435; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(255, 255, 255, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #1e1e1e; + border: 1px solid rgba(255, 255, 255, 0.3); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(255, 255, 255, 0.6); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #673AB7; +} +.p-treeselect .p-treeselect-label { + padding: 0.75rem 0.75rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.375rem 0.75rem; + margin-right: 0.5rem; + background: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44435; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.375rem 0.75rem; +} + +.p-treeselect-panel { + background: #2b2b2b; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.75rem 0.75rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: rgba(255, 255, 255, 0.06); +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: rgba(255, 255, 255, 0.08); +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: rgba(255, 255, 255, 0.1); +} + .p-togglebutton.p-button { background: #2f2f2f; border: 1px solid rgba(255, 255, 255, 0.12); diff --git a/public/themes/mdc-dark-indigo/theme.css b/public/themes/mdc-dark-indigo/theme.css index 4f3ce274c..ac7583ed9 100644 --- a/public/themes/mdc-dark-indigo/theme.css +++ b/public/themes/mdc-dark-indigo/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44435; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(255, 255, 255, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #1e1e1e; + border: 1px solid rgba(255, 255, 255, 0.3); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(255, 255, 255, 0.6); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #3F51B5; +} +.p-treeselect .p-treeselect-label { + padding: 0.75rem 0.75rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.375rem 0.75rem; + margin-right: 0.5rem; + background: rgba(255, 255, 255, 0.12); + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44435; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.375rem 0.75rem; +} + +.p-treeselect-panel { + background: #2b2b2b; + color: rgba(255, 255, 255, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.75rem 0.75rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: rgba(255, 255, 255, 0.06); +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: rgba(255, 255, 255, 0.08); +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: rgba(255, 255, 255, 0.1); +} + .p-togglebutton.p-button { background: #2f2f2f; border: 1px solid rgba(255, 255, 255, 0.12); diff --git a/public/themes/mdc-light-deeppurple/theme.css b/public/themes/mdc-light-deeppurple/theme.css index dec421e16..d98a2a19d 100644 --- a/public/themes/mdc-light-deeppurple/theme.css +++ b/public/themes/mdc-light-deeppurple/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #B00020; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(0, 0, 0, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.38); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(0, 0, 0, 0.87); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #673AB7; +} +.p-treeselect .p-treeselect-label { + padding: 0.75rem 0.75rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(0, 0, 0, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.375rem 0.75rem; + margin-right: 0.5rem; + background: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(0, 0, 0, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #B00020; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.375rem 0.75rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: rgba(0, 0, 0, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.75rem 0.75rem; + color: rgba(0, 0, 0, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f5f5f5; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #ececec; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #dcdcdc; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.12); diff --git a/public/themes/mdc-light-indigo/theme.css b/public/themes/mdc-light-indigo/theme.css index 754b66324..288bee12a 100644 --- a/public/themes/mdc-light-indigo/theme.css +++ b/public/themes/mdc-light-indigo/theme.css @@ -1027,10 +1027,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #B00020; -} - .p-input-icon-left > i:first-of-type { left: 0.75rem; color: rgba(0, 0, 0, 0.6); @@ -1486,6 +1482,76 @@ border-color: 0 none; } +.p-treeselect { + background: #ffffff; + border: 1px solid rgba(0, 0, 0, 0.38); + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); + border-radius: 4px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: rgba(0, 0, 0, 0.87); +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: none; + border-color: #3F51B5; +} +.p-treeselect .p-treeselect-label { + padding: 0.75rem 0.75rem; + transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, background-size 0.2s cubic-bezier(0.64, 0.09, 0.08, 1); +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(0, 0, 0, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.375rem 0.75rem; + margin-right: 0.5rem; + background: rgba(0, 0, 0, 0.12); + color: rgba(0, 0, 0, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(0, 0, 0, 0.6); + width: 2.357rem; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} +.p-treeselect.p-invalid.p-component { + border-color: #B00020; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.375rem 0.75rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: rgba(0, 0, 0, 0.87); + border: 0 none; + border-radius: 4px; + box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.75rem 0.75rem; + color: rgba(0, 0, 0, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f5f5f5; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #ececec; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #dcdcdc; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.12); diff --git a/public/themes/nova-accent/theme.css b/public/themes/nova-accent/theme.css index bf8c3beb0..d70130e6c 100644 --- a/public/themes/nova-accent/theme.css +++ b/public/themes/nova-accent/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #a80000; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #848484; @@ -1462,6 +1458,76 @@ border-color: #007ad9; } +.p-treeselect { + background: #ffffff; + border: 1px solid #a6a6a6; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #212121; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + border-color: #007ad9; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #666666; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #c8c8c8; + color: #333333; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #848484; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #a80000; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #333333; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #f4f4f4; +} + .p-togglebutton.p-button { background: #dadada; border: 1px solid #dadada; diff --git a/public/themes/nova-alt/theme.css b/public/themes/nova-alt/theme.css index a5e34a9ae..ca13cf72b 100644 --- a/public/themes/nova-alt/theme.css +++ b/public/themes/nova-alt/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #a80000; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #848484; @@ -1474,6 +1470,76 @@ border-color: #007ad9; } +.p-treeselect { + background: #ffffff; + border: 1px solid #a6a6a6; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #212121; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + border-color: #007ad9; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #666666; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #c8c8c8; + color: #333333; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #848484; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #a80000; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #333333; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #f4f4f4; +} + .p-togglebutton.p-button { background: #dadada; border: 1px solid #dadada; diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index a1675a08d..1acf40ee4 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #a80000; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #848484; @@ -1474,6 +1470,76 @@ border-color: #41b883; } +.p-treeselect { + background: #ffffff; + border: 1px solid #a6a6a6; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #212121; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #c2e9d8; + border-color: #41b883; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #666666; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #c8c8c8; + color: #333333; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #848484; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #a80000; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #333333; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #f4f4f4; +} + .p-togglebutton.p-button { background: #dadada; border: 1px solid #dadada; diff --git a/public/themes/nova/theme.css b/public/themes/nova/theme.css index 9dc5c2d44..62015b8d6 100644 --- a/public/themes/nova/theme.css +++ b/public/themes/nova/theme.css @@ -1007,10 +1007,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #a80000; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #848484; @@ -1474,6 +1470,76 @@ border-color: #007ad9; } +.p-treeselect { + background: #ffffff; + border: 1px solid #a6a6a6; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #212121; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #8dcdff; + border-color: #007ad9; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #666666; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #c8c8c8; + color: #333333; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #848484; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #a80000; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #333333; + border: 1px solid #c8c8c8; + border-radius: 3px; + box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #333333; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #f4f4f4; +} + .p-togglebutton.p-button { background: #dadada; border: 1px solid #dadada; diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 24ca48e4b..ba97910ed 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #e7a3a3; -} - .p-input-icon-left > i:first-of-type { left: 0.429rem; color: #a6a6a6; @@ -1462,6 +1458,76 @@ border-color: #7B95A3; } +.p-treeselect { + background: #ffffff; + border: 1px solid #dadada; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 2px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #a6a6a6; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #e4e9ec; + border-color: #7B95A3; +} +.p-treeselect .p-treeselect-label { + padding: 0.429rem 0.429rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #a6a6a6; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.2145rem 0.429rem; + margin-right: 0.5rem; + background: #dadada; + color: #666666; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #a6a6a6; + width: 2.357rem; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} +.p-treeselect.p-invalid.p-component { + border-color: #e7a3a3; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.2145rem 0.429rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #666666; + border: 1px solid #eaeaea; + border-radius: 2px; + box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.16); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.429rem 0.857rem; + color: #666666; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f4f4f4; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #f4f4f4; +} + .p-togglebutton.p-button { background: #eaeaea; border: 1px solid #eaeaea; diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index 0ba2ac5ca..b16214912 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44336; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: #6c757d; @@ -1462,6 +1458,76 @@ border-color: #2196F3; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #2196F3; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #a6d5fa; + border-color: #2196F3; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #495057; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #6c757d; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44336; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: #495057; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #ffffff; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid #ced4da; diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index d23357936..d16c27612 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44336; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: #6c757d; @@ -1462,6 +1458,76 @@ border-color: #4CAF50; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #4CAF50; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #b7e0b8; + border-color: #4CAF50; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #495057; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #6c757d; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44336; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: #495057; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #ffffff; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid #ced4da; diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index 382fdb70e..7a9609128 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44336; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: #6c757d; @@ -1462,6 +1458,76 @@ border-color: #FFC107; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #FFC107; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #ffe69c; + border-color: #FFC107; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #495057; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #6c757d; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44336; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: #495057; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #ffffff; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid #ced4da; diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 9ffcfef4a..39711af95 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #f44336; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: #6c757d; @@ -1462,6 +1458,76 @@ border-color: #9C27B0; } +.p-treeselect { + background: #ffffff; + border: 1px solid #ced4da; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #9C27B0; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 0.2rem #df9eea; + border-color: #9C27B0; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: #6c757d; +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #dee2e6; + color: #495057; + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: #6c757d; + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #f44336; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #ffffff; + color: #495057; + border: 0 none; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: #495057; + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #f8f9fa; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #ffffff; +} + .p-togglebutton.p-button { background: #ffffff; border: 1px solid #ced4da; diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index 5296fe047..b458771a1 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #64B5F6; } +.p-treeselect { + background: #17212f; + border: 1px solid #304562; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #64B5F6; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #93cbf9; + border-color: #64B5F6; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #304562; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #304562; +} + .p-togglebutton.p-button { background: #1f2d40; border: 1px solid #304562; diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index cde10a352..0d95da7a5 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #81C784; } +.p-treeselect { + background: #17212f; + border: 1px solid #304562; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #81C784; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #a7d8a9; + border-color: #81C784; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #304562; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #304562; +} + .p-togglebutton.p-button { background: #1f2d40; border: 1px solid #304562; diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index 8c40bdd8e..d6bc1fd11 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #FFD54F; } +.p-treeselect { + background: #17212f; + border: 1px solid #304562; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #FFD54F; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #ffe284; + border-color: #FFD54F; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #304562; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #304562; +} + .p-togglebutton.p-button { background: #1f2d40; border: 1px solid #304562; diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index 1ddff56d9..c42d16f31 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -1003,10 +1003,6 @@ transition-duration: 0.2s; } -.p-float-label > label.p-error { - color: #ef9a9a; -} - .p-input-icon-left > i:first-of-type { left: 0.5rem; color: rgba(255, 255, 255, 0.6); @@ -1462,6 +1458,76 @@ border-color: #BA68C8; } +.p-treeselect { + background: #17212f; + border: 1px solid #304562; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; + border-radius: 3px; +} +.p-treeselect:not(.p-disabled):hover { + border-color: #BA68C8; +} +.p-treeselect:not(.p-disabled).p-focus { + outline: 0 none; + outline-offset: 0; + box-shadow: 0 0 0 1px #cf95d9; + border-color: #BA68C8; +} +.p-treeselect .p-treeselect-label { + padding: 0.5rem 0.5rem; + transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; +} +.p-treeselect .p-treeselect-label.p-placeholder { + color: rgba(255, 255, 255, 0.6); +} +.p-treeselect.p-treeselect-chip .p-treeselect-token { + padding: 0.25rem 0.5rem; + margin-right: 0.5rem; + background: #304562; + color: rgba(255, 255, 255, 0.87); + border-radius: 16px; +} +.p-treeselect .p-treeselect-trigger { + background: transparent; + color: rgba(255, 255, 255, 0.6); + width: 2.357rem; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} +.p-treeselect.p-invalid.p-component { + border-color: #ef9a9a; +} + +.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label { + padding: 0.25rem 0.5rem; +} + +.p-treeselect-panel { + background: #1f2d40; + color: rgba(255, 255, 255, 0.87); + border: 1px solid #304562; + border-radius: 3px; + box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-tree { + border: 0 none; +} +.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message { + padding: 0.5rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: transparent; +} + +.p-input-filled .p-treeselect { + background: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled):hover { + background-color: #304562; +} +.p-input-filled .p-treeselect:not(.p-disabled).p-focus { + background-color: #304562; +} + .p-togglebutton.p-button { background: #1f2d40; border: 1px solid #304562; diff --git a/rollup.config.js b/rollup.config.js index a3cad0557..43ddb68a2 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -25,6 +25,7 @@ let globalDependencies = { 'primevue/message': 'primevue.message', 'primevue/dropdown': 'primevue.dropdown', 'primevue/menu': 'primevue.menu', + 'primevue/tree': 'primevue.tree', '@fullcalendar/core': 'FullCalendar' } diff --git a/src/assets/menu/menu.json b/src/assets/menu/menu.json index 561152729..74edec900 100644 --- a/src/assets/menu/menu.json +++ b/src/assets/menu/menu.json @@ -90,8 +90,7 @@ }, { "name": "Colors", - "to": "/colors", - "badge": "New" + "to": "/colors" }, { "name": "SASS API", @@ -153,8 +152,7 @@ "children": [ { "name": "AutoComplete", - "to": "/autocomplete", - "badge": "New" + "to": "/autocomplete" }, { "name": "Calendar", @@ -178,8 +176,7 @@ }, { "name": "Dropdown", - "to": "/dropdown", - "badge": "New" + "to": "/dropdown" }, { "name": "Editor", @@ -219,13 +216,11 @@ }, { "name": "Listbox", - "to": "/listbox", - "badge": "New" + "to": "/listbox" }, { "name": "MultiSelect", - "to": "/multiselect", - "badge": "New" + "to": "/multiselect" }, { "name": "Password", @@ -255,6 +250,11 @@ "name": "ToggleButton", "to": "/togglebutton" }, + { + "name": "TreeSelect", + "to": "/treeselect", + "badge": "New" + }, { "name": "TriStateCheckbox", "to": "/tristatecheckbox" @@ -281,8 +281,7 @@ "children": [ { "name": "Vuelidate", - "to": "/vuelidate", - "badge": "New" + "to": "/vuelidate" } ] }, @@ -293,7 +292,6 @@ { "name": "DataTable", "meta": ["datatable"], - "badge": "New", "children": [ { "name": "Documentation", @@ -337,8 +335,7 @@ }, { "name": "Filter", - "to": "/datatable/filter", - "badge": "New" + "to": "/datatable/filter" }, { "name": "Selection", @@ -350,8 +347,7 @@ }, { "name": "Scroll", - "to": "/datatable/scroll", - "badge": "New" + "to": "/datatable/scroll" }, { "name": "FlexScroll", @@ -387,8 +383,7 @@ }, { "name": "Responsive", - "to": "/datatable/responsive", - "badge": "New" + "to": "/datatable/responsive" }, { "name": "Export", @@ -414,8 +409,7 @@ }, { "name": "FilterService", - "to": "/filterservice", - "badge": "New" + "to": "/filterservice" }, { "name": "FullCalendar", diff --git a/src/assets/styles/app/_content.scss b/src/assets/styles/app/_content.scss index 1632dfbba..d4e2d5286 100644 --- a/src/assets/styles/app/_content.scss +++ b/src/assets/styles/app/_content.scss @@ -192,6 +192,12 @@ td { padding: 1rem; border-bottom: 1px solid var(--surface-d); + + &:first-child { + font-family: Courier New,monospace; + font-weight: 700; + color: var(--text-color-secondary); + } } } } diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 9da5fa5da..4d98a3653 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -2,7 +2,7 @@
TreeSelect is a form component to choose from hierarchical data.
+
+import TreeSelect from 'primevue/treeselect';
+
+
+
+ TreeSelect component requires an array of TreeNode objects as its options and keys of the nodes as its value.
+ +
+<TreeSelect v-model="selectedNodeKey" :options="nodes" placeholder="Select Item" />
+
+
+
+ In example below, nodes are retrieved from a remote data source.
+ +
+import NodeService from '../../service/NodeService';
+
+export default {
+ data() {
+ return {
+ selectedNodeKey: null,
+ nodes: null
+ }
+ },
+ nodeService: null,
+ created() {
+ this.nodeService = new NodeService();
+ },
+ mounted() {
+ this.nodeService.getTreeNodes().then(data => this.nodes = data);
+ }
+}
+
+
+
+
+import axios from 'axios';
+
+export default class NodeService {
+
+ getTreeNodes() {
+ return axios.get('demo/data/treenodes.json').then(res => res.data.root);
+ }
+
+}
+
+
+
+ The json response sample would be as following.
+
+{
+ "root": [
+ {
+ "key": "0",
+ "label": "Documents",
+ "data": "Documents Folder",
+ "icon": "pi pi-fw pi-inbox",
+ "children": [{
+ "key": "0-0",
+ "label": "Work",
+ "data": "Work Folder",
+ "icon": "pi pi-fw pi-cog",
+ "children": [{ "key": "0-0-0", "label": "Expenses.doc", "icon": "pi pi-fw pi-file", "data": "Expenses Document" }, { "key": "0-0-1", "label": "Resume.doc", "icon": "pi pi-fw pi-file", "data": "Resume Document" }]
+ },
+ {
+ "key": "0-1",
+ "label": "Home",
+ "data": "Home Folder",
+ "icon": "pi pi-fw pi-home",
+ "children": [{ "key": "0-1-0", "label": "Invoices.txt", "icon": "pi pi-fw pi-file", "data": "Invoices for this month" }]
+ }]
+ },
+ {
+ "key": "1",
+ "label": "Events",
+ "data": "Events Folder",
+ "icon": "pi pi-fw pi-calendar",
+ "children": [
+ { "key": "1-0", "label": "Meeting", "icon": "pi pi-fw pi-calendar-plus", "data": "Meeting" },
+ { "key": "1-1", "label": "Product Launch", "icon": "pi pi-fw pi-calendar-plus", "data": "Product Launch" },
+ { "key": "1-2", "label": "Report Review", "icon": "pi pi-fw pi-calendar-plus", "data": "Report Review" }]
+ },
+ {
+ "key": "2",
+ "label": "Movies",
+ "data": "Movies Folder",
+ "icon": "pi pi-fw pi-star",
+ "children": [{
+ "key": "2-0",
+ "icon": "pi pi-fw pi-star",
+ "label": "Al Pacino",
+ "data": "Pacino Movies",
+ "children": [{ "key": "2-0-0", "label": "Scarface", "icon": "pi pi-fw pi-video", "data": "Scarface Movie" }, { "key": "2-0-1", "label": "Serpico", "icon": "pi pi-fw pi-video", "data": "Serpico Movie" }]
+ },
+ {
+ "key": "2-1",
+ "label": "Robert De Niro",
+ "icon": "pi pi-fw pi-star",
+ "data": "De Niro Movies",
+ "children": [{ "key": "2-1-0", "label": "Goodfellas", "icon": "pi pi-fw pi-video", "data": "Goodfellas Movie" }, { "key": "2-1-1", "label": "Untouchables", "icon": "pi pi-fw pi-video", "data": "Untouchables Movie" }]
+ }]
+ }
+ ]
+}
+
+
+
+ Name | +Type | +Default | +Description | +
---|---|---|---|
key | +any | +null | +Mandatory unique key of the node. | +
label | +string | +null | +Label of the node. | +
data | +any | +null | +Data represented by the node. | +
type | +string | +null | +Type of the node to match a template. | +
icon | +string | +null | +Icon of the node to display next to content. | +
children | +TreeNode[] | +null | +An array of treenodes as children. | +
style | +string | +null | +Inline style of the node. | +
styleClass | +string | +null | +Style class of the node. | +
selectable | +boolean | +null | +Whether the node is selectable when selection mode is enabled. | +
leaf | +boolean | +null | +Specifies if the node has children. Used in lazy loading. | +
TreeSelects offers "single", "multiple" and "checkbox" alternatives for the selection behavior that is defined by the selectionMode option.
+
+<TreeSelect v-model="selectedValue1" :options="nodes" selectionMode="single" placeholder="Select Item" />
+
+<TreeSelect v-model="selectedValue2" :options="nodes" selectionMode="multiple" placeholder="Select Items" />
+
+<TreeSelect v-model="selectedValue3" :options="nodes" selectionMode="checkbox" placeholder="Select Items" />
+
+
+
+ Value passed to and from the TreeSelect via the v-model directive should be a an object with key-value pairs where key is the node key and + value is a boolean to indicate selection. On the other hand + in "checkbox" mode, instead of a boolean, value should be an object that has "checked" and "partialChecked" properties to represent the checked state of a node. Best way to clarify it is prepopulating a TreeSelect with an existing value.
+ +
+data() {
+ return {
+ selectedValue1: {'2-1': true},
+ selectedValue2: {'1-1': true, '0-0-0': true},
+ selectedValue2: {'1': {checked: true, partialChecked: true}, '1-0': {checked: true}}
+ nodes: null
+ }
+},
+
+
+ A comma separated list is used by default to display selected items whereas alternative chip mode is provided using the display property to visualize the items as tokens.
+
+<TreeSelect v-model="selectedValue" display="chip" :options="nodes" selectionMode="multiple" placeholder="Select Items" />
+
+
+
+ Label of an option is used as the display text of an item by default, for custom content support define a value template that gets the selected nodes as a parameter. + In addition header, footer and empty slots are provided for further customization.
+
+<TreeSelect v-model="selectedNodes" :options="nodes" placeholder="Select Items">
+ <template #value="{value}">
+ Custom Content
+ </template>
+</TreeSelect>
+
+
+
+ Any property as style and class are passed to the main container element. Following are the additional properties to configure the component.
+Name | +Type | +Default | +Description | +
---|---|---|---|
modelValue | +any | +null | +Value of the component. | +
options | +array | +null | +An array of treenodes. | +
scrollHeight | +string | +200px | +Height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value. | +
placeholder | +string | +null | +Label to display when there are no selections. | +
disabled | +boolean | +false | +When present, it specifies that the component should be disabled. | +
tabindex | +string | +null | +Index of the element in tabbing order. | +
inputId | +string | +null | +Identifier of the underlying input element. | +
ariaLabelledBy | +string | +null | +Establishes relationships between the component and label(s) where its value should be one or more element IDs. | +
selectionMode | +string | +null | +Defines the selection mode, valid values "single", "multiple", and "checkbox". | +
panelClass | +string | +null | +Style class of the overlay panel. | +
appendTo | +string | +body | +A valid query selector or an HTMLElement to specify where the overlay gets attached. | +
emptyMessage | +string | +No results found | +Text to display when there are no options available. Defaults to value from PrimeVue locale configuration. | +
display | +string | +comma | +Defines how the selected items are displayed, valid values are "comma" and "chip". | +
metaKeySelection | +boolean | +true | +Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item + can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. | +
Name | +Parameters | +Description | +
---|---|---|
change | +event: Selected node keys | +Callback to invoke on value change. | +
before-show | +- | +Callback to invoke before the overlay is shown. | +
before-hide | +- | +Callback to invoke before the overlay is hidden. | +
show | +- | +Callback to invoke when the overlay is shown. | +
hide | +- | +Callback to invoke when the overlay is hidden. | +
node-select | +node: Node instance | +Callback to invoke when a node is selected. | +
node-unselect | +node: Node instance | +Callback to invoke when a node is unselected. | +
node-expand | +node: Node instance | +Callback to invoke when a node is expanded. | +
node-collapse | +node: Node instance | +Callback to invoke when a node is collapsed. | +
Name | +Parameters | +Description | +
---|---|---|
show | +- | +Shows the overlay. | +
Hide | +- | +Hides the overlay. | +
Name | +Parameters | +
---|---|
value | +value: Selected nodes + placeholder: Placeholder value |
+
header | +value: Value of the component + options: TreeNode options |
+
footer | +value: Value of the component + options: TreeNode options |
+
empty | +- | +
Following is the list of structural style classes, for theming classes visit
Name | +Element | +
---|---|
p-treeselect | +Container element. | +
p-treeselect-label-container | +Container of the label to display selected items. | +
p-treeselect-label | +Label to display selected items. | +
p-treeselect-trigger | +Dropdown button. | +
p-treeselect-panel | +Overlay panel for items. | +
p-treeselect-items-wrapper | +List container of items. | +
None.
+