Skip to content

Commit

Permalink
Update datepicker.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Feb 10, 2021
1 parent 4423b8e commit fef195c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
4 changes: 2 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h2 class="h1">Bootstrap 5</h2>
<img src="./assets/img/illustrations/bs5-illustrations.svg" alt="Front pages overview">
</div>
</div>
<div class="col-lg-5">
<div class="col-lg-5 mb-5 mb-lg-0">
<h2 class="h1 d-flex align-items-center">Kanban Board <span class="badge-md ms-3 mb-0 fs-6 badge rounded-pill text-dark bg-secondary">Pro</span></h2>
<p class="mb-4 lead fw-bold">Advanced FullCalendar.js integration</p>
<p class="mb-4">We created a fully editable calendar where you can add, edit and delete events for your admin dashboard.</p>
Expand All @@ -136,7 +136,7 @@ <h2 class="h1 d-flex align-items-center">Mapbox <span class="badge-md ms-3 mb-0
</div>
</div>
<div class="row justify-content-between align-items-center mb-5 mb-lg-7">
<div class="col-lg-5">
<div class="col-lg-5 mb-5 mb-lg-0">
<h2 class="h1 d-flex align-items-center">Calendar <span class="badge-md ms-3 mb-0 fs-6 badge rounded-pill text-dark bg-secondary">Pro</span></h2>
<p class="mb-4 lead fw-bold">Advanced FullCalendar.js integration</p>
<p class="mb-4">We created a fully editable calendar where you can add, edit and delete events for your admin dashboard.</p>
Expand Down
1 change: 1 addition & 0 deletions src/scss/volt/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@import "components/popover";
@import "components/progress";
@import "components/shapes";
@import "components/datepicker";
@import "components/steps";
@import "components/tables";
@import "components/type";
Expand Down
28 changes: 7 additions & 21 deletions src/scss/volt/components/_datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,12 @@
* = Datepickers
*/

.datepicker{
table {
margin: 0;
-webkit-touch-callout: none;
user-select: none;
.datepicker {

td {
border-radius: 0 !important;
}

th {
border-radius: 0;
font-weight: 500;
}

td, th {
width: 36px !important;
height: 36px !important;
border: none;
text-align: center;
}
.datepicker-cell.selected,
.datepicker-cell.selected:hover {
background: $primary;
}
}

}

4 changes: 2 additions & 2 deletions src/scss/volt/components/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@
}

.dataTable-top {
padding: 0 1.5rem 1rem 1.5rem;
padding: 0 0 1rem 0;
}

.dataTable-bottom {
padding: 1.5rem 1.5rem 0 1.5rem;
padding: 1.5rem 0 0 0;
}

.dataTable-pagination {
Expand Down

0 comments on commit fef195c

Please sign in to comment.