Skip to content

Commit

Permalink
Fixed #391
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jul 16, 2020
1 parent a81a066 commit 099a47b
Show file tree
Hide file tree
Showing 37 changed files with 748 additions and 1,088 deletions.
53 changes: 21 additions & 32 deletions public/themes/arya-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@
}
.p-autocomplete-panel.p-error > .p-inputtext, .p-autocomplete-panel.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-calendar.p-error > .p-inputtext, .p-calendar.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-datepicker {
Expand Down Expand Up @@ -413,7 +411,6 @@
}
.p-chips.p-error > .p-inputtext, .p-chips.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-colorpicker-preview {
Expand Down Expand Up @@ -520,7 +517,6 @@
}
.p-dropdown-panel.p-error, .p-dropdown-panel.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-input-filled .p-dropdown {
Expand Down Expand Up @@ -732,7 +728,6 @@
}
.p-inputswitch.p-error, .p-inputswitch.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-inputtext {
Expand All @@ -742,7 +737,6 @@
background: #121212;
padding: 0.5rem 0.5rem;
border: 1px solid #383838;
border-width: 1px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
appearance: none;
border-radius: 3px;
Expand All @@ -758,7 +752,6 @@
}
.p-inputtext.p-error, .p-inputtext.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}
.p-inputtext.p-inputtext-sm {
font-size: 0.875rem;
Expand Down Expand Up @@ -877,7 +870,6 @@
}
.p-listbox.p-error, .p-listbox.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-multiselect {
Expand Down Expand Up @@ -985,7 +977,6 @@
}
.p-multiselect-panel.p-error, .p-multiselect-panel.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-input-filled .p-multiselect {
Expand Down Expand Up @@ -1138,7 +1129,6 @@
}
.p-selectbutton.p-error > .p-button, .p-selectbutton.p-invalid > .p-button {
border-color: #ef9a9a;
border-width: 1px;
}

.p-slider {
Expand Down Expand Up @@ -1220,7 +1210,6 @@
}
.p-togglebutton.p-button.p-error > .p-button, .p-togglebutton.p-button.p-invalid > .p-button {
border-color: #ef9a9a;
border-width: 1px;
}

.p-button {
Expand Down Expand Up @@ -3936,80 +3925,80 @@
.p-toast {
opacity: 0.9;
}
.p-toast .p-toast-item-container {
.p-toast .p-toast-message {
margin: 0 0 1rem 0;
box-shadow: none;
border-radius: 3px;
}
.p-toast .p-toast-item-container .p-toast-item {
.p-toast .p-toast-message .p-toast-message-content {
padding: 1rem;
border-width: 0 0 0 6px;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-message {
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text {
margin: 0 0 0 1rem;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-image {
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon {
font-size: 2rem;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-title {
.p-toast .p-toast-message .p-toast-message-content .p-toast-title {
font-weight: 700;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-detail {
.p-toast .p-toast-message .p-toast-message-content .p-toast-detail {
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
.p-toast .p-toast-message .p-toast-icon-close {
width: 2rem;
height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-toast .p-toast-item-container .p-toast-icon-close:hover {
.p-toast .p-toast-message .p-toast-icon-close:hover {
background: rgba(255, 255, 255, 0.3);
}
.p-toast .p-toast-item-container .p-toast-icon-close:focus {
.p-toast .p-toast-message .p-toast-icon-close:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #93cbf9;
}
.p-toast .p-toast-item-container.p-toast-message-info {
.p-toast .p-toast-message.p-toast-message-info {
background: #B3E5FC;
border: solid #0891cf;
border-width: 0 0 0 6px;
color: #044868;
}
.p-toast .p-toast-item-container.p-toast-message-info .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-info .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-info .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-info .p-toast-icon-close {
color: #044868;
}
.p-toast .p-toast-item-container.p-toast-message-success {
.p-toast .p-toast-message.p-toast-message-success {
background: #C8E6C9;
border: solid #439446;
border-width: 0 0 0 6px;
color: #224a23;
}
.p-toast .p-toast-item-container.p-toast-message-success .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-success .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-success .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-success .p-toast-icon-close {
color: #224a23;
}
.p-toast .p-toast-item-container.p-toast-message-warn {
.p-toast .p-toast-message.p-toast-message-warn {
background: #FFECB3;
border: solid #d9a300;
border-width: 0 0 0 6px;
color: #6d5100;
}
.p-toast .p-toast-item-container.p-toast-message-warn .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-warn .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-warn .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-warn .p-toast-icon-close {
color: #6d5100;
}
.p-toast .p-toast-item-container.p-toast-message-error {
.p-toast .p-toast-message.p-toast-message-error {
background: #FFCDD2;
border: solid #e60017;
border-width: 0 0 0 6px;
color: #73000c;
}
.p-toast .p-toast-item-container.p-toast-message-error .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-error .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-error .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-error .p-toast-icon-close {
color: #73000c;
}

Expand Down
53 changes: 21 additions & 32 deletions public/themes/arya-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@
}
.p-autocomplete-panel.p-error > .p-inputtext, .p-autocomplete-panel.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-calendar.p-error > .p-inputtext, .p-calendar.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-datepicker {
Expand Down Expand Up @@ -413,7 +411,6 @@
}
.p-chips.p-error > .p-inputtext, .p-chips.p-invalid > .p-inputtext {
border-color: #ef9a9a;
border-width: 1px;
}

.p-colorpicker-preview {
Expand Down Expand Up @@ -520,7 +517,6 @@
}
.p-dropdown-panel.p-error, .p-dropdown-panel.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-input-filled .p-dropdown {
Expand Down Expand Up @@ -732,7 +728,6 @@
}
.p-inputswitch.p-error, .p-inputswitch.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-inputtext {
Expand All @@ -742,7 +737,6 @@
background: #121212;
padding: 0.5rem 0.5rem;
border: 1px solid #383838;
border-width: 1px;
transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
appearance: none;
border-radius: 3px;
Expand All @@ -758,7 +752,6 @@
}
.p-inputtext.p-error, .p-inputtext.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}
.p-inputtext.p-inputtext-sm {
font-size: 0.875rem;
Expand Down Expand Up @@ -877,7 +870,6 @@
}
.p-listbox.p-error, .p-listbox.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-multiselect {
Expand Down Expand Up @@ -985,7 +977,6 @@
}
.p-multiselect-panel.p-error, .p-multiselect-panel.p-invalid {
border-color: #ef9a9a;
border-width: 1px;
}

.p-input-filled .p-multiselect {
Expand Down Expand Up @@ -1138,7 +1129,6 @@
}
.p-selectbutton.p-error > .p-button, .p-selectbutton.p-invalid > .p-button {
border-color: #ef9a9a;
border-width: 1px;
}

.p-slider {
Expand Down Expand Up @@ -1220,7 +1210,6 @@
}
.p-togglebutton.p-button.p-error > .p-button, .p-togglebutton.p-button.p-invalid > .p-button {
border-color: #ef9a9a;
border-width: 1px;
}

.p-button {
Expand Down Expand Up @@ -3936,80 +3925,80 @@
.p-toast {
opacity: 0.9;
}
.p-toast .p-toast-item-container {
.p-toast .p-toast-message {
margin: 0 0 1rem 0;
box-shadow: none;
border-radius: 3px;
}
.p-toast .p-toast-item-container .p-toast-item {
.p-toast .p-toast-message .p-toast-message-content {
padding: 1rem;
border-width: 0 0 0 6px;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-message {
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text {
margin: 0 0 0 1rem;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-image {
.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon {
font-size: 2rem;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-title {
.p-toast .p-toast-message .p-toast-message-content .p-toast-title {
font-weight: 700;
}
.p-toast .p-toast-item-container .p-toast-item .p-toast-detail {
.p-toast .p-toast-message .p-toast-message-content .p-toast-detail {
margin: 0.5rem 0 0 0;
}
.p-toast .p-toast-item-container .p-toast-icon-close {
.p-toast .p-toast-message .p-toast-icon-close {
width: 2rem;
height: 2rem;
border-radius: 50%;
background: transparent;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.p-toast .p-toast-item-container .p-toast-icon-close:hover {
.p-toast .p-toast-message .p-toast-icon-close:hover {
background: rgba(255, 255, 255, 0.3);
}
.p-toast .p-toast-item-container .p-toast-icon-close:focus {
.p-toast .p-toast-message .p-toast-icon-close:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 1px #a7d8a9;
}
.p-toast .p-toast-item-container.p-toast-message-info {
.p-toast .p-toast-message.p-toast-message-info {
background: #B3E5FC;
border: solid #0891cf;
border-width: 0 0 0 6px;
color: #044868;
}
.p-toast .p-toast-item-container.p-toast-message-info .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-info .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-info .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-info .p-toast-icon-close {
color: #044868;
}
.p-toast .p-toast-item-container.p-toast-message-success {
.p-toast .p-toast-message.p-toast-message-success {
background: #C8E6C9;
border: solid #439446;
border-width: 0 0 0 6px;
color: #224a23;
}
.p-toast .p-toast-item-container.p-toast-message-success .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-success .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-success .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-success .p-toast-icon-close {
color: #224a23;
}
.p-toast .p-toast-item-container.p-toast-message-warn {
.p-toast .p-toast-message.p-toast-message-warn {
background: #FFECB3;
border: solid #d9a300;
border-width: 0 0 0 6px;
color: #6d5100;
}
.p-toast .p-toast-item-container.p-toast-message-warn .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-warn .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-warn .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-warn .p-toast-icon-close {
color: #6d5100;
}
.p-toast .p-toast-item-container.p-toast-message-error {
.p-toast .p-toast-message.p-toast-message-error {
background: #FFCDD2;
border: solid #e60017;
border-width: 0 0 0 6px;
color: #73000c;
}
.p-toast .p-toast-item-container.p-toast-message-error .p-toast-image,
.p-toast .p-toast-item-container.p-toast-message-error .p-toast-icon-close {
.p-toast .p-toast-message.p-toast-message-error .p-toast-message-icon,
.p-toast .p-toast-message.p-toast-message-error .p-toast-icon-close {
color: #73000c;
}

Expand Down
Loading

0 comments on commit 099a47b

Please sign in to comment.