Site Skeleton
This commit is contained in:
151
mdb/scss/addons/_datatables-select.scss
Normal file
151
mdb/scss/addons/_datatables-select.scss
Normal file
@ -0,0 +1,151 @@
|
||||
/*
|
||||
* MDBootstrap integration with Datatables
|
||||
* Learn more: https://mdbootstrap.com/docs/jquery/tables/datatables/
|
||||
* About MDBootstrap: https://mdbootstrap.com/
|
||||
*
|
||||
* This combined file was created taking that code from this webstie:
|
||||
* https://cdn.datatables.net/select/1.2.7/css/select.dataTables.min.css
|
||||
*
|
||||
*
|
||||
* To rebuild or modify this file with the latest versions of the included
|
||||
* software please visit:
|
||||
* https://datatables.net/download/#bs4/dt-1.10.18
|
||||
*
|
||||
* Included libraries:
|
||||
* DataTables 1.10.18
|
||||
*/
|
||||
|
||||
table {
|
||||
&.dataTable {
|
||||
tbody > tr {
|
||||
&.selected,
|
||||
> .selected {
|
||||
background-color: #b0bed9;
|
||||
}
|
||||
}
|
||||
&.stripe, &.display {
|
||||
tbody > tr.odd {
|
||||
&.selected,
|
||||
> .selected {
|
||||
background-color: #acbad4;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.hover, &.display {
|
||||
tbody > tr {
|
||||
&.selected:hover,
|
||||
> .selected:hover {
|
||||
background-color: #aab7d1;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.order-column, &.display {
|
||||
tbody > tr {
|
||||
&.selected > {
|
||||
.sorting_1, .sorting_2, .sorting_3 {
|
||||
background-color: #acbad5;
|
||||
}
|
||||
}
|
||||
> .selected {
|
||||
background-color: #acbad5;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.display, &.order-column.stripe {
|
||||
tbody > tr {
|
||||
&.odd.selected > .sorting_1 {
|
||||
background-color: #a6b4cd;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.display tbody > tr.odd.selected > .sorting_2, &.order-column.stripe tbody > tr.odd.selected > .sorting_2 {
|
||||
background-color: #a8b5cf;
|
||||
}
|
||||
&.display tbody > tr.odd.selected > .sorting_3, &.order-column.stripe tbody > tr.odd.selected > .sorting_3 {
|
||||
background-color: #a9b7d1;
|
||||
}
|
||||
&.display tbody > tr.even.selected > .sorting_1, &.order-column.stripe tbody > tr.even.selected > .sorting_1 {
|
||||
background-color: #acbad5;
|
||||
}
|
||||
&.display tbody > tr.even.selected > .sorting_2, &.order-column.stripe tbody > tr.even.selected > .sorting_2 {
|
||||
background-color: #aebcd6;
|
||||
}
|
||||
&.display tbody > tr.even.selected > .sorting_3, &.order-column.stripe tbody > tr.even.selected > .sorting_3 {
|
||||
background-color: #afbdd8;
|
||||
}
|
||||
&.display tbody > tr.odd > .selected, &.order-column.stripe tbody > tr.odd > .selected {
|
||||
background-color: #a6b4cd;
|
||||
}
|
||||
&.display tbody > tr.even > .selected, &.order-column.stripe tbody > tr.even > .selected {
|
||||
background-color: #acbad5;
|
||||
}
|
||||
&.display tbody > tr.selected:hover > .sorting_1, &.order-column.hover tbody > tr.selected:hover > .sorting_1 {
|
||||
background-color: #a2aec7;
|
||||
}
|
||||
&.display tbody > tr.selected:hover > .sorting_2, &.order-column.hover tbody > tr.selected:hover > .sorting_2 {
|
||||
background-color: #a3b0c9;
|
||||
}
|
||||
&.display tbody > tr.selected:hover > .sorting_3, &.order-column.hover tbody > tr.selected:hover > .sorting_3 {
|
||||
background-color: #a5b2cb;
|
||||
}
|
||||
&.display, &.order-column.hover {
|
||||
tbody > tr {
|
||||
&:hover > .selected, > .selected:hover {
|
||||
background-color: #a2aec7;
|
||||
}
|
||||
}
|
||||
}
|
||||
tbody {
|
||||
td.select-checkbox, th.select-checkbox {
|
||||
position: relative;
|
||||
}
|
||||
td, th {
|
||||
&.select-checkbox {
|
||||
&:before,
|
||||
&:after {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 1.2em;
|
||||
left: 50%;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
td.select-checkbox:before,
|
||||
th.select-checkbox:before {
|
||||
content: ' ';
|
||||
margin-top: 4px;
|
||||
margin-left: -6px;
|
||||
border: 1px solid black;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
tr.selected {
|
||||
td.select-checkbox:after,
|
||||
th.select-checkbox:after {
|
||||
content: '\2714';
|
||||
margin-top: 0px;
|
||||
margin-left: -4px;
|
||||
text-align: center;
|
||||
text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.dataTables_wrapper span {
|
||||
&.select-info, &.select-item {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
div.dataTables_wrapper span {
|
||||
&.select-info, &.select-item {
|
||||
margin-left: 0;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
157
mdb/scss/addons/_datatables.scss
Normal file
157
mdb/scss/addons/_datatables.scss
Normal file
@ -0,0 +1,157 @@
|
||||
/*
|
||||
* MDBootstrap integration with Datatables
|
||||
* Learn more: https://mdbootstrap.com/docs/jquery/tables/datatables/
|
||||
* About MDBootstrap: https://mdbootstrap.com/
|
||||
*
|
||||
* This combined file was created by the DataTables downloader builder:
|
||||
* https://datatables.net/download
|
||||
*
|
||||
* To rebuild or modify this file with the latest versions of the included
|
||||
* software please visit:
|
||||
* https://datatables.net/download/#bs4/dt-1.10.18
|
||||
*
|
||||
* Included libraries:
|
||||
* DataTables 1.10.18
|
||||
*/
|
||||
|
||||
table.dataTable thead {
|
||||
cursor: pointer;
|
||||
> tr > {
|
||||
th:active, td:active {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.dataTables_wrapper div {
|
||||
&.dataTables_length {
|
||||
&.d-flex.flex-row {
|
||||
label {
|
||||
margin-top: 1.2rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
.select-wrapper.mdb-select {
|
||||
span, .select-dropdown {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.dataTables_length,
|
||||
&.dataTables_filter {
|
||||
label {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
padding-top: .5rem;
|
||||
padding-bottom: .5rem;
|
||||
}
|
||||
}
|
||||
&.dataTables_length {
|
||||
select, input {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
&.dataTables_filter {
|
||||
select,
|
||||
input {
|
||||
width: auto;
|
||||
}
|
||||
input {
|
||||
margin-left: .5rem;
|
||||
display: inline-block;
|
||||
}
|
||||
text-align: right;
|
||||
}
|
||||
&.dataTables_info,
|
||||
&.dataTables_paginate {
|
||||
font-weight: normal;
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
&.dataTables_paginate {
|
||||
text-align: right;
|
||||
margin: 0;
|
||||
ul.pagination {
|
||||
-webkit-box-pack: end;
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
.page-item {
|
||||
&.active .page-link:focus {
|
||||
background-color: #4285f4;
|
||||
}
|
||||
.page-link:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
div.dataTables_wrapper div {
|
||||
.dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate ul.pagination {
|
||||
text-align: center;
|
||||
-webkit-box-pack: center;
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bs-select select {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
table.dataTable thead {
|
||||
> tr > {
|
||||
th,
|
||||
td {
|
||||
&.sorting_asc, &.sorting_desc, &.sorting {
|
||||
padding-right: 30px;
|
||||
}
|
||||
}
|
||||
th:active, td:active {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
}
|
||||
.sorting,
|
||||
.sorting_asc,
|
||||
.sorting_desc,
|
||||
.sorting_asc_disabled,
|
||||
.sorting_desc_disabled {
|
||||
&:before, &:after {
|
||||
position: absolute;
|
||||
bottom: 0.9em;
|
||||
display: block;
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
.sorting:before, .sorting_asc:before, .sorting_desc:before, .sorting_asc_disabled:before, .sorting_desc_disabled:before {
|
||||
right: 1em;
|
||||
content: "\f0de";
|
||||
}
|
||||
.sorting:after, .sorting_asc:after, .sorting_desc:after, .sorting_asc_disabled:after, .sorting_desc_disabled:after {
|
||||
content: "\f0dd";
|
||||
right: 16px;
|
||||
}
|
||||
.sorting:before, .sorting_asc:before, .sorting_desc:before, .sorting_asc_disabled:before, .sorting_desc_disabled:before,
|
||||
.sorting:after, .sorting_asc:after, .sorting_desc:after, .sorting_asc_disabled:after, .sorting_desc_disabled:after {
|
||||
font-family: 'Font Awesome\ 5 Free';
|
||||
font-weight: 900;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.sorting_asc:before, .sorting_desc:after {
|
||||
opacity: 1;
|
||||
}
|
||||
.sorting_asc_disabled:before, .sorting_desc_disabled:after {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
6
mdb/scss/addons/_directives.scss
Normal file
6
mdb/scss/addons/_directives.scss
Normal file
@ -0,0 +1,6 @@
|
||||
// Optional directives
|
||||
@each $key in (0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100) {
|
||||
.opacity-#{$key} {
|
||||
opacity: $key * .01;
|
||||
}
|
||||
}
|
1034
mdb/scss/addons/_flags.scss
Normal file
1034
mdb/scss/addons/_flags.scss
Normal file
File diff suppressed because it is too large
Load Diff
46
mdb/scss/addons/_hierarchical-display.scss
Normal file
46
mdb/scss/addons/_hierarchical-display.scss
Normal file
@ -0,0 +1,46 @@
|
||||
.zmd-hierarchical-display {
|
||||
visibility: hidden;
|
||||
&.in {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
.zmd-hierarchical-displaying {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.animation {
|
||||
animation-duration: 1s;
|
||||
animation-fill-mode: both;
|
||||
}
|
||||
|
||||
.animation.zoomedIn,
|
||||
.animation.zoomedOut {
|
||||
animation-timing-function: cubic-bezier(.55, 0, .1, 1); // "Swift Out" easing curve
|
||||
}
|
||||
|
||||
@keyframes zoomedIn {
|
||||
from {
|
||||
transform: scale(0);
|
||||
}
|
||||
to {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes zoomedOut {
|
||||
from {
|
||||
transform: scale(1);
|
||||
}
|
||||
to {
|
||||
transform: scale(0);
|
||||
}
|
||||
}
|
||||
|
||||
.zoomedIn {
|
||||
animation-name: zoomedIn;
|
||||
}
|
||||
|
||||
.zoomedOut {
|
||||
animation-name: zoomedOut;
|
||||
}
|
||||
|
35
mdb/scss/addons/_rating.scss
Normal file
35
mdb/scss/addons/_rating.scss
Normal file
@ -0,0 +1,35 @@
|
||||
.mdb-rating {
|
||||
|
||||
.rate-popover {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.live {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.oneStar {
|
||||
color: #44370f;
|
||||
}
|
||||
|
||||
.twoStars {
|
||||
color: #96781e;
|
||||
}
|
||||
|
||||
.threeStars {
|
||||
color: #e2b52e;
|
||||
}
|
||||
|
||||
.fourStars {
|
||||
color: #f1ba12;
|
||||
}
|
||||
|
||||
.fiveStars {
|
||||
color: #f3cb06;
|
||||
}
|
||||
|
||||
.amber-text {
|
||||
color: #ffc107;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user