first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1,19 @@
// Codemirror
joomla-editor-codemirror.fullscreen {
top: 133px;
.cm-editor {
height: calc(90vh - 133px) !important;
}
@include media-breakpoint-down(sm) {
top: 54px;
z-index: 890;
.cm-editor {
height: 100vh !important;
}
}
}

View File

@ -0,0 +1,19 @@
// Dragula
.gu-mirror {
position: fixed !important;
z-index: $zindex-popover !important;
display: table;
margin: 0 !important;
cursor: move;
background-color: $teal;
opacity: .8;
td, th {
background-color: $teal;
}
}
.js-draggable .sortable-handler {
cursor: move;
}

View File

@ -0,0 +1,73 @@
// TinyMCE
.editor {
.toggle-editor {
margin-top: 1rem;
}
.mce-tinymce {
border: 1px solid var(--template-bg-dark);
}
.mce-btn,
.mce-panel {
background: var(--white-offset);
}
}
.tox-fullscreen {
z-index: $zindex-modal-backdrop - 1 !important;
}
.container-main {
.mce-panel {
background: transparent;
border: 0;
box-shadow: none;
}
.mce-top-part {
margin-bottom: 1rem;
&::before {
box-shadow: none;
}
}
.mce-menubar .mce-menubtn {
background-color: $white;
}
.mce-flow-layout-item {
margin: 2px 8px 2px 0;
}
.mce-btn-group {
&:not(:first-child) {
margin-right: 6px;
margin-left: 0;
}
.mce-btn {
margin: 0 1px 0 0;
}
}
.mce-statusbar .mce-container-body {
background-color: $white;
border-top: var(--template-bg-light) 1px solid;
}
}
// Add a toolbar separator for the groups
.tox-toolbar__group:not(:last-of-type) {
border-inline-end: 1px solid var(--border-color) !important;
}
// Adjust the border radius for the editor
.tox-tinymce {
border-radius: 0 !important;
}

View File

@ -0,0 +1,6 @@
// Awesomplete
@import "../../../../../../vendor/awesomplete/css/awesomplete";
.awesomplete {
display: block;
}

View File

@ -0,0 +1,13 @@
// Badge
.badge {
@include media-breakpoint-down(md) {
white-space: normal;
}
&.bg-secondary {
&:hover {
color: $white;
}
}
}

View File

@ -0,0 +1,44 @@
// Buttons
.btn {
transition: none;
}
@include media-breakpoint-down(sm) {
.btn {
margin-bottom: .25rem;
}
.input-group .btn {
margin-bottom: 0;
}
}
.btn-primary {
color: var(--template-text-light);
background-color: var(--template-bg-dark-60);
border-color: var(--template-bg-dark-60);
&:hover,
&:focus,
&:active {
background-color: var(--template-bg-dark-70);
border-color: var(--template-bg-dark-90);
}
&:not(:disabled):not(.disabled):active,
&:not(:disabled):not(.disabled).active,
.show > &.dropdown-toggle {
background-color: var(--template-bg-dark);
border-color: var(--template-bg-dark);
}
}
.btn-secondary {
background-color: var(--template-bg-dark-60);
border-color: var(--template-bg-dark-60);
}
.input-group-text {
background-color: var(--template-bg-dark);
border-color: var(--template-bg-dark);
}

View File

@ -0,0 +1,49 @@
// Card
// Backport Bootstrap 4 card-columns
.card-columns {
.card {
margin-bottom: $card-spacer-y;
}
@include media-breakpoint-up(sm) {
column-count: 3;
column-gap: 1.25rem;
orphans: 1;
widows: 1;
.card {
display: inline-block; // Don't let them vertically span multiple columns
width: 100%; // Don't let their width change
}
}
}
.content {
.card {
box-shadow: $atum-box-shadow;
}
.card-header {
display: flex;
align-items: center;
padding: 1rem 1rem .75rem;
font-weight: $font-weight-bold;
color: var(--template-bg-dark);
background-color: var(--card-bg);
> [class^="icon-"],
> img {
margin-inline-end: .5rem;
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.card-header {
color: var(--body-color);
background-color: var(--body-bg);
}
}
}
}

View File

@ -0,0 +1,28 @@
// Collapse
.accordion {
.card-header {
display: block;
font-size: $h5-font-size;
font-weight: $font-weight-bold;
line-height: $headings-line-height;
}
/**
* TODO: This seems fairly specifically built for the menu types view and might be better scoped to
* that view rather than just being overridden for everything.
*/
.list-group-item {
--list-group-color: var(--link-color);
--list-group-bg: var(--white-offset);
}
@if $enable-dark-mode {
@include color-mode(dark) {
.list-group-item {
--list-group-bg: var(--gray-800);
}
}
}
}

View File

@ -0,0 +1,113 @@
@import "../../variables-dark";
// 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#{"*/"};;
&[multiple] {
padding: 0;
option {
padding: $form-select-multiple-padding-y $form-select-padding-x;
&:checked {
color: var(--template-text-light);
background-color: var(--template-bg-dark) !important;
}
}
}
&.form-select-success,
&.custom-select-success {
color: var(--success);
background-color: var(--success);
border-color: var(--success);
option {
color: $form-select-color;
background-color: var(--white-offset);
}
@if $enable-dark-mode {
@include color-mode(dark) {
option {
background-color: var(--gray-800);
}
}
}
}
&.form-select-danger,
&.custom-select-danger {
color: var(--danger);
background-color: var(--danger);
border-color: var(--danger);
option {
color: $form-select-color;
background-color: var(--white-offset);
}
@if $enable-dark-mode {
@include color-mode(dark) {
option {
background-color: var(--gray-800);
}
}
}
}
&:disabled {
cursor: default;
background-color: var(--gray-200);
background-image: none;
border: 0;
box-shadow: none;
}
@if $enable-dark-mode {
@include color-mode(dark) {
&:disabled {
background-color: var(--gray-800);
}
}
}
optgroup,
option {
color: var(--template-text-dark);
background-color: var(--body-bg);
&:disabled {
background-color: var(--template-bg-dark-5);
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
option {
color: var(--template-text-light);
&:disabled {
background-color: var(--template-bg-dark-90);
}
}
}
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.form-select {
background: $form-select-background-dark #{"/* rtl:"}$form-select-background-rtl-dark#{"*/"};
}
}
}

View File

@ -0,0 +1,96 @@
// Dropdown
.btn-group .dropdown-menu {
min-width: 100%;
background: var(--body-bg);
box-shadow: $dropdown-box-shadow;
joomla-toolbar-button {
text-align: start;
border: 0;
}
}
.dropdown-menu {
box-shadow: $atum-box-shadow;
}
.dropdown-item {
text-align: start;
border-bottom: 1px solid rgba(0, 0, 0, .1);
&:hover,
&:focus {
.btn-primary + .dropdown-menu & {
background-color: var(--template-bg-dark);
}
.btn-secondary + .dropdown-menu & {
color: var(--template-text-light);
background-color: var(--secondary);
}
.btn-danger + .dropdown-menu & {
background-color: var(--danger);
}
.btn-info + .dropdown-menu & {
background-color: var(--info);
}
.dropdown-status-group .dropdown-menu &:not(.disabled) {
color: var(--template-text-light);
background-color: var(--template-bg-dark);
}
.dropdown-save-group .dropdown-menu &:not(.disabled) {
color: var(--template-text-light);
background-color: var(--success);
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
&:hover,
&:focus {
--dropdown-link-hover-bg: var(--gray-700);
--dropdown-link-hover-color: var(--body-color);
}
}
}
+ .dropdown-item {
border-top: 1px solid rgba(0, 0, 0, .1);
}
.dropdown-status-group .dropdown-menu &:not(.disabled) {
color: var(--action);
}
.dropdown-save-group .dropdown-menu &:not(.disabled) {
color: var(--success);
}
&.first:not(.last) {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
&.last:not(.first) {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
&:not(.first):not(.last):not(:only-of-type) {
border-radius: 0;
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.dropdown-item {
border-bottom: 1px solid rgba(255, 255, 255, .1);
}
}
}

View File

@ -0,0 +1,96 @@
// Form
label {
margin-bottom: 0;
}
td .form-control {
display: inline-block;
width: auto;
}
legend {
margin-bottom: 1.1rem;
font-size: 1rem;
font-weight: $font-weight-normal;
}
.checkboxes {
padding-top: 5px;
.checkbox input {
position: static;
margin-left: 0;
}
}
.form-check {
padding-top: 5px;
margin-bottom: 0;
}
.modal label {
width: 100%;
}
// Validation
.invalid {
color: var(--danger);
border-color: var(--danger);
}
.valid {
border-color: var(--success);
}
.form-control-feedback {
display: block;
}
[aria-grabbed="true"] {
box-shadow: 0 0 2px 1px var(--template-bg-dark);
}
select.form-control {
background-color: $form-select-bg;
}
.field-media-wrapper {
display: block;
width: 100%;
max-width: calc(50vw - 5rem);
.field-media-preview {
width: 100%;
max-width: none;
}
.button-select {
background-color: darken($success, 8%);
}
.button-clear {
background-color: darken($danger, 8%);
}
.button-clear > .#{$fa-css-prefix}-check,
.button-select > .#{$fa-css-prefix}-times {
color: $gray-100;
}
@include media-breakpoint-down(lg) {
min-width: 100%;
}
}
// Bootstrap 4 b/c
.form-inline .form-select, .form-inline .custom-select, .form-inline .form-control {
display: inline-block;
width: auto;
}
@include media-breakpoint-down(md) {
.form-inline .form-select, .form-inline .custom-select, .form-inline .form-control {
width: 100%;
}
}

View File

@ -0,0 +1,5 @@
// Lists
.list-unstyled .list-unstyled {
padding-left: 20px;
}

View File

@ -0,0 +1,108 @@
// 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;
}
&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;
}
}
.modal-dialog {
@include media-breakpoint-down(md) {
margin: 1.75rem auto;
}
.modal-body {
padding: 0;
}
}

View File

@ -0,0 +1,5 @@
// Pagination
.pagination {
margin: 1rem;
}

View File

@ -0,0 +1,8 @@
// Matches default `<td>` alignment by inheriting `text-align`.
// 1. Fix alignment for Safari
th {
text-align: inherit;
/* stylelint-disable-next-line */
text-align: -webkit-match-parent; // 1
}

View File

@ -0,0 +1,89 @@
// Table
.table {
> :not(:first-child) {
border-top: 2px solid #dee2e6;
}
thead {
th {
font-size: $label-font-size;
}
th,
td {
white-space: nowrap;
.sysinfo & {
white-space: normal;
}
}
a {
color: var(--template-link-color);
&#sorted {
font-weight: $medium-weight;
// This is the same as the bootstrap line because when it's sorted we want to undo the style
color: var(--table-color-state, var(--table-color-type,var(--table-color)));
}
}
.actions,
.actions-th1 {
@include media-breakpoint-down(md) {
width: 28%;
}
}
}
tbody {
tr {
&:hover,
&:focus,
&:active {
background-color: $table-hover-bg;
}
&:last-of-type {
th,
td {
border-bottom: 0;
}
}
}
.itemnumber a.btn,
.itemnumber span.btn {
padding: .1rem .5rem;
text-decoration: none;
}
th {
font-weight: $medium-weight;
}
a:not(.badge):not(.btn):not(.dropdown-item) {
text-decoration: underline;
}
}
th,
td {
label {
margin-bottom: 0;
}
.inactive [class^="#{$jicon-css-prefix}-"],
.inactive [class*=" #{$jicon-css-prefix}-"],
.inactive [class^="#{$fa-css-prefix}-"],
.inactive [class*=" #{$fa-css-prefix}-"] {
color: $gray-400;
}
}
.j-main-container > & {
box-shadow: $atum-box-shadow;
}
}

View File

@ -0,0 +1,219 @@
@import "../../../../../../vendor/bootstrap/scss/functions";
// Atum Variables
@import "../../variables";
@import "../../variables-dark";
@import "../../../../../../vendor/bootstrap/scss/variables";
@import "../../../../../../vendor/bootstrap/scss/mixins";
// choices.js
@import "../../../../../../vendor/choicesjs/scss/choices";
.choices {
border: $form-select-border-width solid $form-select-border-color;
@include border-radius($form-select-border-radius, 0);
@include box-shadow($form-select-box-shadow);
&.is-focused {
border-color: $form-select-focus-border-color;
@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;
}
}
}
.choices__inner {
min-height: 42px;
padding: .1rem 1rem;
margin-bottom: 0;
font-size: 1rem;
border: none;
border-radius: 0;
}
.choices__input {
padding: 0;
margin-bottom: 0;
font-size: 1rem;
background-color: transparent;
&::placeholder {
color: $gray-700;
opacity: 1;
}
@if $enable-dark-mode {
@include color-mode(dark) {
&::placeholder {
color: var(--gray-200);
}
}
}
}
.choices__list--dropdown {
z-index: $zindex-popover;
}
.choices__list--single {
padding: 7px 16px 0 4px;
}
.choices__list--multiple .choices__item {
position: relative;
margin: 2px;
background-color: var(--template-bg-dark);
margin-inline-end: 2px;
border: 0;
border-radius: $border-radius;
&.is-highlighted {
background-color: var(--template-bg-dark);
opacity: .9;
}
}
.choices .choices__list--dropdown {
background-color: var(--body-bg);
.choices__item {
padding-inline-end: 10px;
}
.choices__item--selectable {
&::after {
display: none;
}
@if $enable-dark-mode {
@include color-mode(dark) {
&.is-highlighted {
background-color: var(--gray-800);
}
}
}
}
}
.choices__button_joomla {
position: relative;
padding: 0 10px;
color: inherit;
text-indent: -9999px;
cursor: pointer;
background: none;
border: 0;
opacity: .5;
appearance: none;
&::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
text-align: center;
text-indent: 0;
content: "\00d7";
}
&:hover,
&:focus {
opacity: 1;
}
&:focus {
outline: none;
}
}
.choices[data-type*="select-one"],
.choices[data-type*="select-multiple"] {
.choices__inner {
padding-inline-end: $form-select-indicator-padding;
cursor: pointer;
background: url("../../../images/select-bg.svg") no-repeat 100%/116rem;
background-color: $form-select-bg;
[dir="rtl"] & {
background: url("../../../images/select-bg-rtl.svg") no-repeat 0/116rem;
background-color: $form-select-bg;
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices__inner {
background: url("../../../images/select-bg-dark.svg") no-repeat 100%/116rem;
background-color: $form-select-bg-dark;
[dir="rtl"] & {
background: url("../../../images/select-bg-rtl-dark.svg") no-repeat 0/116rem;
background-color: $form-select-bg-dark;
}
}
}
}
}
.choices[data-type*="select-one"] {
.choices__input {
background-color: var(--body-bg);
}
@if $enable-dark-mode {
@include color-mode(dark) {
.choices__input {
border-color: var(--gray-600);
}
}
}
.choices__item {
display: flex;
justify-content: space-between;
}
.choices__button_joomla {
position: absolute;
top: 50%;
inset-inline-end: 0;
width: 20px;
height: 20px;
padding: 0;
margin-block-start: -10px;
margin-inline-end: 50px;
border-radius: 10em;
opacity: .5;
&:hover,
&:focus {
opacity: 1;
}
&:focus {
box-shadow: 0 0 0 2px #00bcd4;
}
}
&::after {
display: none;
}
}
.choices[data-type*="select-multiple"],
.choices[data-type*="text"] {
.choices__input {
padding: .35rem 0;
}
}
.choices__heading {
font-size: 1.2rem;
}

View File

@ -0,0 +1,22 @@
// Override the font path
$fa-css-prefix: fa;
$fa-font-path: "../../../../../../vendor/fontawesome-free/webfonts" !default;
// Font Awesome 6 Free
@import "../../../../../../vendor/fontawesome-free/scss/fontawesome";
@import "../../../../../../vendor/fontawesome-free/scss/regular";
@import "../../../../../../vendor/fontawesome-free/scss/solid";
// Brands must be imported last
@import "../../../../../../vendor/fontawesome-free/scss/brands";
// B/C with Font Awesome 5
@import "../../../../../../vendor/fontawesome-free/scss/shims";
// B/C for Icomoon
@import "../../../../../../system/scss/icomoon";
// RTL override
html[dir=rtl] .float-right {
float: left;
}

View File

@ -0,0 +1,155 @@
@import "../../variables";
@import "../../variables-dark";
@import "../../../../../../vendor/joomla-custom-elements/css/joomla-alert";
@import "../../../../../../vendor/bootstrap/scss/mixins/color-mode";
// The following is a restyle for the system alerts
#system-message-container joomla-alert {
position: relative;
display: flex;
width: 100%;
min-width: 16rem;
padding: 0;
margin-bottom: 1rem;
color: var(--alert-accent-color, var(--template-bg-dark));
background-color: var(--alert-bg-color, var(--white));
border: 1px solid var(--alert-accent-color, var(--template-bg-dark));
border-radius: .25rem;
transition: opacity .15s linear;
.alert-heading {
display: flex;
flex-direction: column;
justify-content: center;
padding: .8rem;
line-height: normal;
color: var(--white);
background: var(--alert-accent-color, var(--template-bg-dark));
align-content: center;
.message::before,
.success::before {
display: inline-block;
width: 1em;
height: 1em;
content: "";
background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>');
background-size: 100%;
}
.notice::before,
.info::before {
display: inline-block;
width: 1em;
height: 1em;
content: "";
background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"/></svg>');
background-size: 100%;
}
.warning::before {
display: inline-block;
width: 1em;
height: 1em;
content: "";
background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M1024 1375v-190q0-14-9.5-23.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 23.5v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11h-220q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17h-1536q-34 0-63.5-17t-46.5-46q-37-63-2-126l768-1408q17-31 47-49t65-18 65 18 47 49z"/></svg>');
background-size: 100%;
}
.error::before,
.danger::before {
display: inline-block;
width: 1em;
height: 1em;
content: "";
background-image: url('data:image/svg+xml;utf8,<svg width="1792" height="1792" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(255, 255, 255, .95)" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"/></svg>');
background-size: 100%;
}
}
.alert-wrapper {
width: 100%;
}
.alert-link {
color: var(--template-link-color);
text-decoration: underline;
}
&[type="success"],
&[type="message"] {
--alert-accent-color: #{$state-success-text};
--alert-bg-color: #{$state-success-bg};
}
&[type="info"],
&[type="notice"] {
--alert-accent-color: #{$state-info-text};
--alert-bg-color: #{$state-info-bg};
@include color-mode(dark) {
p {
color: var(--body-color);
}
}
}
@include color-mode(dark) {
&[type="info"],
&[type="notice"] {
--alert-accent-color: #{$state-info-text-dark};
}
}
&[type="warning"] {
.joomla-alert--close {
color: #{$state-warning-text};
}
color: #{$state-warning-text};
--alert-accent-color: #{$warning};
--alert-bg-color: #{$state-warning-bg};
}
&[type="error"],
&[type="danger"] {
--alert-accent-color: #{$state-danger-text};
--alert-bg-color: #{$state-danger-bg};
}
.joomla-alert--close,
.joomla-alert-button--close {
position: absolute;
top: 0;
inset-inline-end: 0;
padding: .75rem .8rem;
font-size: 2rem;
line-height: 1rem;
color: var(--alert-accent-color);
text-shadow: none;
background: none;
border: 0;
opacity: 1;
&:hover,
&:focus {
text-decoration: none;
cursor: pointer;
opacity: .75;
}
}
div {
font-size: 1rem;
.alert-message {
padding: .15rem .3rem;
padding-inline-end: 2rem;
margin: .5rem;
}
.alert-message:not(:first-of-type) {
border-top: 1px solid var(--alert-accent-color);
}
}
}

View File

@ -0,0 +1,369 @@
@import "../../../../../../vendor/bootstrap/scss/functions";
// Atum Variables
@import "../../variables";
@import "../../../../../../vendor/bootstrap/scss/variables";
@import "../../../../../../vendor/bootstrap/scss/mixins";
// Tabs
//
// Base styles
//
joomla-tab {
display: flex;
flex-direction: column;
&[orientation=horizontal]:not([view=accordion]) {
margin-bottom: 0;
}
&[orientation=horizontal]:not([view=accordion]) > div[role=tablist] {
width: 100%;
margin-bottom: 0;
}
> div[role=tablist] {
display: flex;
flex-flow: wrap;
padding: 0;
white-space: nowrap;
list-style: outside none none;
border-bottom: 1px solid var(--template-bg-dark-10);
> button[role=tab] {
position: relative;
box-sizing: border-box;
display: block;
padding: .6rem 1rem;
text-decoration: none;
background-color: var(--body-bg);
border: 0;
box-shadow: none;
&:first-of-type,
&[aria-expanded=true]:first-of-type {
border-start-start-radius: .25rem;
}
&:focus-visible {
z-index: 1;
}
&[aria-expanded=true],
&:focus,
&:hover {
color: var(--template-bg-dark-60);
border: 0;
border-radius: 0;
box-shadow: none;
&::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: 3px;
content: "";
background-color: var(--template-link-color);
opacity: .8;
}
.text-muted {
color: var(--template-text-light) !important;
}
}
&[aria-expanded=true] {
font-weight: $font-weight-bold;
background: var(--template-bg-dark-3);
}
@if $enable-dark-mode {
@include color-mode(dark) {
/* stylelint-disable max-nesting-depth */
&[aria-expanded=true],
&:focus,
&:hover {
/* stylelint-enable max-nesting-depth */
color: var(--template-text-light);
}
/* stylelint-disable max-nesting-depth */
&[aria-expanded=true] {
/* stylelint-enable max-nesting-depth */
background: var(--template-bg-dark-60);
}
}
}
.text-muted {
color: var(--template-text-dark) !important;
}
@if $enable-dark-mode {
@include color-mode(dark) {
/* stylelint-disable max-nesting-depth */
.text-muted {
/* stylelint-enable max-nesting-depth */
color: var(--template-text-light) !important;
}
}
}
}
}
> button[role=region] {
width: 100%;
padding: .7rem;
color: var(--template-text-light);
text-align: start;
background-color: var(--template-link-color);
border: 1px solid var(--template-bg-dark-3);
border-top: 0;
&[aria-expanded=true],
&:hover,
&:focus {
color: var(--template-text-light);
background-color: var(--template-bg-dark);
}
.text-muted {
color: var(--template-text-light) !important;
}
}
@if $enable-dark-mode {
@include color-mode(dark) {
> button[role=region] {
border-color: var(--template-bg-dark-70);
}
}
}
> joomla-tab-element {
--gutter-x: 2rem;
display: none;
padding: 30px 2vw;
background-color: var(--body-bg);
border: 0;
border-radius: .25rem;
box-shadow: none;
&[active] {
display: block;
}
}
.main-card-columns > * > & {
height: 100%;
border-left: 1px solid var(--template-bg-dark-10);
}
}
joomla-tab[orientation=vertical] {
flex-direction: row;
align-items: flex-start;
width: 100%;
> div[role=tablist] {
flex: 0 0 25%;
flex-direction: column;
width: 100%;
min-width: 25%;
max-width: 25%;
height: auto;
padding: 0;
overflow: hidden;
border: 1px solid $gray-300;
border-radius: 0;
box-shadow: none;
@include media-breakpoint-down(lg) {
flex: 0 0 100%;
max-width: 100%;
}
> button[role=tab] {
text-align: start;
&[aria-expanded=true] {
color: var(--template-text-light);
background-color: var(--template-bg-dark-60);
}
}
> button[role=tab]:last-of-type {
border-bottom: 0;
}
> button[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
margin: -1px 0;
text-decoration: none;
border-top: 1px solid transparent;
border-bottom: 1px solid $gray-300;
box-shadow: none;
&[aria-expanded=true],
&:focus,
&:hover {
color: var(--template-text-light);
background-color: var(--template-bg-dark-60);
background-image: none;
border-right: 0;
box-shadow: none;
&::after {
top: 0;
bottom: 0;
left: -1px;
width: 5px;
height: auto;
background-color: var(--template-bg-dark);
}
.text-muted {
color: var(--template-text-light) !important;
}
}
.text-muted {
color: var(--template-text-dark) !important;
}
@if $enable-dark-mode {
@include color-mode(dark) {
/* stylelint-disable max-nesting-depth */
.text-muted {
/* stylelint-enable max-nesting-depth */
color: var(--template-text-light) !important;
}
}
}
}
}
> joomla-tab-element {
width: 100%;
padding: $grid-gutter-width-s 0 $grid-gutter-width-s $grid-gutter-width-s;
border: 0 none;
box-shadow: none;
}
}
joomla-tab[view=accordion] {
flex-direction: column;
white-space: normal;
border-radius: 0;
box-shadow: 0 1px $white inset, 0 0 3px rgba(0, 0, 0, .04);
> div[role=tablist] {
background-color: $white;
> button[role=tab] {
position: relative;
display: block;
padding: .75em 1em;
color: var(--template-text-light);
text-align: start;
text-decoration: none;
border: 0;
border-bottom: 1px solid $gray-300;
box-shadow: none;
&[aria-expanded=true]::after,
&:hover::after {
position: absolute;
top: auto;
right: -1px;
bottom: -1px;
left: -1px;
display: block;
width: calc(100% + 2px);
height: 5px;
content: "";
background-color: var(--template-bg-dark);
opacity: .8;
}
}
}
> joomla-tab-element {
display: none;
padding: 15px;
&[active] {
display: block;
width: 100%;
max-width: 100%;
border-bottom: 1px solid $gray-300;
}
}
[active],
[aria-expanded=true] {
background-color: var(--body-bg);
}
.col-md-6,
.col-md-9,
.col-md-3 {
padding: .5rem 0 0 !important;
}
#permissions-sliders > joomla-tab-element[active] {
padding: 0 !important;
@include media-breakpoint-down(lg) {
[dir=ltr] & .respTable {
text-align: right;
}
[dir=rtl] & .respTable {
text-align: left;
}
.respTable, .respTable thead, .respTable tbody, .respTable tr, .respTable th, .respTable td {
display: block;
}
.respTable thead {
position: absolute;
top: -1111px;
left: -1111px;
}
/* stylelint-disable */
.respTable td::before {
font-weight: $bold-weight;
content: attr(data-label) ":";
[dir=ltr] & {
float: left;
padding: 0 2em 0 0;
}
[dir=rtl] & {
float: right;
padding: 0 0 0 2em;
}
}
/* stylelint-enable */
.respTable td:nth-child(1) {
font-weight: $bold-weight;
}
.respTable td:last-child {
border-bottom: 1em var(--template-bg-dark-80) solid;
}
.oddCol {
background: var(--template-bg-light);
}
}
}
}

View File

@ -0,0 +1,17 @@
// Minicolours
@import "../../../../../../vendor/minicolors/css/jquery.minicolors";
.minicolors-theme-bootstrap {
.minicolors-input {
width: 140px;
}
.rgb {
width: 175px;
}
.rgba {
width: 220px;
}
}