first commit
This commit is contained in:
57
media/templates/site/cassiopeia/scss/vendor/bootstrap/_buttons.scss
vendored
Normal file
57
media/templates/site/cassiopeia/scss/vendor/bootstrap/_buttons.scss
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
// Buttons
|
||||
|
||||
.btn:focus,
|
||||
.btn.focus,
|
||||
.btn:active:focus,
|
||||
.btn.focus:active,
|
||||
.btn.active:focus,
|
||||
.btn.active.focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn.group-move {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
color: $gray-800;
|
||||
background-color: $white;
|
||||
border-color: $gray-400;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $gray-800;
|
||||
background-color: $gray-100;
|
||||
}
|
||||
}
|
||||
|
||||
.article-info .association,
|
||||
.cat-list-association {
|
||||
.btn-secondary {
|
||||
font-weight: 700;
|
||||
color: $white;
|
||||
background-color: $gray-600;
|
||||
border-color: $gray-400;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $white;
|
||||
background-color: $gray-800;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-sm {
|
||||
padding: 0 .25rem;
|
||||
font-size: .8rem;
|
||||
border-radius: .2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
.btn {
|
||||
margin-bottom: .25rem;
|
||||
}
|
||||
.input-group .btn {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
16
media/templates/site/cassiopeia/scss/vendor/bootstrap/_collapse.scss
vendored
Normal file
16
media/templates/site/cassiopeia/scss/vendor/bootstrap/_collapse.scss
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
// Collapse
|
||||
|
||||
.accordion {
|
||||
|
||||
.card-header {
|
||||
display: block;
|
||||
font-size: $h5-font-size;
|
||||
font-weight: var(--cassiopeia-font-weight-headings, $font-weight-bold);
|
||||
line-height: $headings-line-height;
|
||||
}
|
||||
|
||||
.list-group-item {
|
||||
color: $link-color;
|
||||
}
|
||||
|
||||
}
|
||||
72
media/templates/site/cassiopeia/scss/vendor/bootstrap/_custom-forms.scss
vendored
Normal file
72
media/templates/site/cassiopeia/scss/vendor/bootstrap/_custom-forms.scss
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
// Custom Forms
|
||||
|
||||
.custom-select {
|
||||
@extend .form-select;
|
||||
}
|
||||
|
||||
.form-select {
|
||||
max-width: $input-max-width;
|
||||
cursor: pointer;
|
||||
background: $form-select-background #{"/* rtl:"}$form-select-background-rtl#{"*/"};
|
||||
background-color: $form-select-bg;
|
||||
border: $input-border-width solid $input-border-color;
|
||||
@include box-shadow($form-select-box-shadow);
|
||||
|
||||
&:focus {
|
||||
border-color: #000;
|
||||
@if $enable-shadows {
|
||||
@include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);
|
||||
} @else {
|
||||
// Avoid using mixin so we can pass custom focus shadow properly
|
||||
box-shadow: $form-select-focus-box-shadow;
|
||||
}
|
||||
}
|
||||
|
||||
&[multiple] {
|
||||
padding: 0;
|
||||
background-color: $white;
|
||||
|
||||
option {
|
||||
padding: $form-select-multiple-padding-y $form-select-padding-x;
|
||||
background-color: $white;
|
||||
|
||||
&:checked {
|
||||
color: $white;
|
||||
background-color: var(--cassiopeia-color-primary) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.form-select-success,
|
||||
&.custom-select-success {
|
||||
color: $success;
|
||||
background-color: $success;
|
||||
|
||||
option {
|
||||
color: $form-select-color;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&.form-select-danger,
|
||||
&.custom-select-danger {
|
||||
color: $danger;
|
||||
background-color: $danger;
|
||||
|
||||
option {
|
||||
color: $form-select-color;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
optgroup,
|
||||
option {
|
||||
color: var(--dark);
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
// Backwards compat with BS4
|
||||
.form-group {
|
||||
@extend .mb-3;
|
||||
}
|
||||
17
media/templates/site/cassiopeia/scss/vendor/bootstrap/_dropdown.scss
vendored
Normal file
17
media/templates/site/cassiopeia/scss/vendor/bootstrap/_dropdown.scss
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
// Dropdown
|
||||
|
||||
.dropdown-menu {
|
||||
padding: .2rem 0;
|
||||
margin-top: .5rem;
|
||||
background-color: $white;
|
||||
border-color: $cassiopeia-border-color;
|
||||
}
|
||||
|
||||
.dropdown-menu-end {
|
||||
|
||||
&::after {
|
||||
right: .9rem;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
}
|
||||
14
media/templates/site/cassiopeia/scss/vendor/bootstrap/_forms.scss
vendored
Normal file
14
media/templates/site/cassiopeia/scss/vendor/bootstrap/_forms.scss
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
.field-media-wrapper {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: calc(50vw - 5rem);
|
||||
|
||||
.field-media-preview {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
min-width: 100%;
|
||||
}
|
||||
}
|
||||
9
media/templates/site/cassiopeia/scss/vendor/bootstrap/_lists.scss
vendored
Normal file
9
media/templates/site/cassiopeia/scss/vendor/bootstrap/_lists.scss
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
// Lists
|
||||
|
||||
.list-group-item {
|
||||
background-color: $list-group-bg;
|
||||
}
|
||||
|
||||
.list-unstyled .list-unstyled {
|
||||
padding-left: 20px;
|
||||
}
|
||||
99
media/templates/site/cassiopeia/scss/vendor/bootstrap/_modal.scss
vendored
Normal file
99
media/templates/site/cassiopeia/scss/vendor/bootstrap/_modal.scss
vendored
Normal file
@ -0,0 +1,99 @@
|
||||
// Modal
|
||||
|
||||
.jviewport-height {
|
||||
&10 {
|
||||
height: 10vh;
|
||||
}
|
||||
|
||||
&20 {
|
||||
height: 20vh;
|
||||
}
|
||||
|
||||
&30 {
|
||||
height: 30vh;
|
||||
}
|
||||
|
||||
&40 {
|
||||
height: 40vh;
|
||||
}
|
||||
|
||||
&50 {
|
||||
height: 50vh;
|
||||
}
|
||||
|
||||
&60 {
|
||||
height: 60vh;
|
||||
}
|
||||
|
||||
&70 {
|
||||
height: 70vh;
|
||||
}
|
||||
|
||||
&80 {
|
||||
height: 80vh;
|
||||
}
|
||||
|
||||
&90 {
|
||||
height: 90vh;
|
||||
}
|
||||
|
||||
&100 {
|
||||
height: 100vh;
|
||||
}
|
||||
}
|
||||
|
||||
[class*=jviewport-height] iframe {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.modal-dialog.jviewport-width {
|
||||
&10 {
|
||||
width: 10vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&20 {
|
||||
width: 20vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&30 {
|
||||
width: 30vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&40 {
|
||||
width: 40vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&50 {
|
||||
width: 50vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&60 {
|
||||
width: 60vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&70 {
|
||||
width: 70vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&80 {
|
||||
width: 80vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&90 {
|
||||
width: 90vw;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
&100 {
|
||||
width: 100vw;
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
78
media/templates/site/cassiopeia/scss/vendor/bootstrap/_nav.scss
vendored
Normal file
78
media/templates/site/cassiopeia/scss/vendor/bootstrap/_nav.scss
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
// Tabs
|
||||
|
||||
.nav.nav-tabs {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: $cassiopeia-tabs-header-bg;
|
||||
border: 1px solid $cassiopeia-border-color;
|
||||
border-bottom: 0;
|
||||
border-radius: $border-radius $border-radius 0 0;
|
||||
box-shadow: 0 1px $white inset, 0 2px 3px -3px hsla(0, 0%, 0%, .15), 0 -4px 0 hsla(0, 0%, 0%, .05) inset, $cassiopeia-box-shadow;
|
||||
|
||||
.nav-item {
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
|
||||
&:first-of-type .nav-link {
|
||||
|
||||
&.active {
|
||||
border-radius: $border-radius 0 0;
|
||||
box-shadow: -1px 0 1px -1px hsla(0, 0%, 0%, .06), inset -2px 0 1px -1px hsla(0, 0%, 0%, .08), inset 0 1px 0 hsla(0, 0%, 0%, .02);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:last-of-type .nav-link {
|
||||
box-shadow: -1px 0 0 hsla(0, 0%, 0%, .05), 1px 0 0 hsla(0, 0%, 0%, .05);
|
||||
|
||||
&.active {
|
||||
box-shadow: inset 2px 0 1px -1px hsla(0, 0%, 0%, .08), inset -2px 0 1px -1px hsla(0, 0%, 0%, .08), inset 0 1px 0 hsla(0, 0%, 0%, .02);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
position: relative;
|
||||
padding: .75em 1em;
|
||||
color: var(--cassiopeia-color-primary);
|
||||
border: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
box-shadow: -1px 0 0 hsla(0, 0%, 0%, .05);
|
||||
|
||||
&.active {
|
||||
background-color: $cassiopeia-tabs-active-bg;
|
||||
background-image: linear-gradient(to bottom, hsla(0, 0%, 0%,0), hsla(0, 0%, 0%, .05) 100%);
|
||||
border-right: 0;
|
||||
border-left: 0;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
box-shadow: inset 2px 0 1px -1px hsla(0, 0%, 0%, .08), inset -2px 0 1px -1px hsla(0, 0%, 0%, .08), inset 0 1px 0 hsla(0, 0%, 0%, .02);
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: -1px;
|
||||
left: 0;
|
||||
height: 5px;
|
||||
content: "";
|
||||
background-color: $cassiopeia-tabs-active-highlight;
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.nav-tabs + .tab-content {
|
||||
padding: 15px;
|
||||
background: $white;
|
||||
border: 1px solid;
|
||||
border-color: $cassiopeia-border-color;
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
box-shadow: $cassiopeia-box-shadow;
|
||||
}
|
||||
5
media/templates/site/cassiopeia/scss/vendor/bootstrap/_pagination.scss
vendored
Normal file
5
media/templates/site/cassiopeia/scss/vendor/bootstrap/_pagination.scss
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
// Pagination
|
||||
|
||||
.pagination {
|
||||
margin: 1rem;
|
||||
}
|
||||
24
media/templates/site/cassiopeia/scss/vendor/bootstrap/_table.scss
vendored
Normal file
24
media/templates/site/cassiopeia/scss/vendor/bootstrap/_table.scss
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
// Table
|
||||
|
||||
.table {
|
||||
|
||||
th {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
thead th {
|
||||
white-space: nowrap;
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
vertical-align: middle;
|
||||
|
||||
label {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user