lots of changes

This commit is contained in:
2023-04-19 16:26:13 +10:00
parent 190493179f
commit fb9944ef14
26 changed files with 165 additions and 1765 deletions

View File

@@ -1,6 +1,5 @@
@import "variables.scss";
@import "utils.scss";
@import "data-table.scss";
@import "tinymce.scss";
@import "prism.css";

View File

@@ -1,62 +0,0 @@
@import "vue3-easy-data-table/dist/style.css";
.vue3-easy-data-table {
border-radius: 12px;
.vue3-easy-data-table__header tr {
background-color: var(--easy-table-header-background-color);
}
.vue3-easy-data-table__header th {
background-color: transparent;
}
.vue3-easy-data-table__body td {
white-space: nowrap;
// overflow: hidden;
text-overflow: ellipsis;
}
.vue3-easy-data-table__main {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.vue3-easy-data-table__footer {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
td.easy-data-table-cell-center {
text-align: center !important;
}
th.easy-data-table-cell-center .header {
justify-content: center !important;
}
.action-wrapper {
a {
color: $font-color;
}
}
}
:root {
--easy-table-border: #{1px solid $border-color};
--easy-table-row-border: #{1px solid $border-color};
--easy-table-header-font-size: #{calc($font-size / 1.1)};
--easy-table-header-background-color: #{$secondary-background-color};
--easy-table-header-item-padding: 20px 20px;
--easy-table-body-row-font-size: #{calc($font-size / 1.2)};
--easy-table-body-item-padding: 20px 20px;
--easy-table-body-row-hover-background-color: #e5f3fd;
--easy-table-footer-font-size: #{calc($font-size / 1.2)};
--easy-table-footer-background-color: #{$secondary-background-color};
--easy-table-footer-padding: 20px 20px;
--easy-table-footer-height: auto;
--easy-table-message-font-size: #{calc($font-size / 1.2)};
}

View File

@@ -1,70 +0,0 @@
@import "@vuepic/vue-datepicker/dist/main.css";
.dp__menu {
border-radius: 12px;
padding: 1rem;
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}
.dp__input {
padding: 0.75rem 1rem;
border: 1px solid $border-color;
border-radius: 12px;
padding: map-get($spacer, 2) map-get($spacer, 3) map-get($spacer, 2) #{calc(
map-get($spacer, 4) * 1.2
)};
&::placeholder {
opacity: 1 !important;
}
}
.dp__action_row {
flex-direction: column;
.dp__selection_preview {
width: auto;
font-size: 0.9rem;
}
.dp__action_buttons {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: map-get($spacer, 2);
.dp__action {
padding: map-get($spacer, 1) map-get($spacer, 3);
font-size: 1rem;
color: white;
font-weight: 800;
border-width: 2px;
border-style: solid;
border-radius: 24px;
transition: background-color 0.1s, color 0.1s;
cursor: pointer;
background-color: $secondary-color;
border-color: $secondary-color;
&:hover {
background-color: #fff;
text-decoration: none;
color: $secondary-color;
}
&.dp__select {
background-color: $primary-color;
border-color: $primary-color;
&:hover {
background-color: #fff;
color: $primary-color;
}
}
}
}
}
.dp__theme_light {
--dp-success-color: #{$primary-color};
}

View File

@@ -78,6 +78,10 @@
flex: 1;
}
.flex-grow-1 {
flex-grow: 1;
}
.flex-0 {
flex: 0 !important;
}