Skip to content

Commit bdc4f66

Browse files
authored
Add Joomla 4.3 support
1 parent 5f2a114 commit bdc4f66

File tree

2 files changed

+68
-86
lines changed

2 files changed

+68
-86
lines changed

media/scss/template-rtl.scss

+1-78
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,2 @@
11
@import "template";
2-
@import "../../cassiopeia/scss/vendor/bootstrap/bootstrap-rtl";
3-
4-
body,
5-
.dropdown-item {
6-
text-align: right;
7-
}
8-
9-
.float-right {
10-
float: left !important;
11-
}
12-
13-
.float-left {
14-
float: right !important;
15-
}
16-
17-
.form-check {
18-
padding-right: 1.25rem;
19-
padding-left: 0;
20-
}
21-
22-
.form-check-input {
23-
margin-right: -1.25rem;
24-
}
25-
26-
.list-unstyled {
27-
padding-right: 0;
28-
}
29-
30-
.nav {
31-
padding-right: 0;
32-
}
33-
34-
.container-header {
35-
background-image: $cassiopeia-header-grad-rtl;
36-
37-
.container-nav .container-search:only-child {
38-
margin-right: auto;
39-
margin-left: 0;
40-
}
41-
42-
.mod-menu {
43-
> li {
44-
margin-left: 1.55em;
45-
}
46-
}
47-
}
48-
49-
// SearchTools rounded corners
50-
.awesomplete {
51-
input {
52-
@include border-start-radius(0);
53-
}
54-
}
55-
56-
.input-group > .form-control:not(:last-child),
57-
.input-group > .form-select:not(:last-child) {
58-
@include border-start-radius(0);
59-
@include border-end-radius($border-radius);
60-
}
61-
62-
.btn-group > .btn:first-child:not(.dropdown-toggle) {
63-
@include border-end-radius($border-radius);
64-
}
65-
66-
.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
67-
.btn-group > .btn-group:not(:last-child) > .btn {
68-
@include border-start-radius(0);
69-
margin-left: -1px;
70-
}
71-
72-
.btn-group > .btn:last-child:not(.dropdown-toggle) {
73-
@include border-start-radius($border-radius);
74-
}
75-
76-
.btn-group > .btn:not(:first-child),
77-
.btn-group > .btn-group:not(:first-child) {
78-
@include border-end-radius(0);
79-
}
2+
@import "../../cassiopeia/scss/template";

media/scss/template.scss

+67-8
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,74 @@ $standard-color-hover: lighten($standard-color-primary, 5%);
66

77
// Override default bootstrap colors
88
//-----------------------------------------------------------------------
9+
$white: hsl(0, 0%, 100%);
10+
$gray-100: hsl(210, 17%, 98%);
11+
$gray-200: hsl(210, 16%, 93%);
12+
$gray-300: hsl(210, 14%, 89%);
13+
$gray-400: hsl(210, 14%, 83%);
14+
$gray-500: hsl(210, 11%, 71%);
15+
$gray-600: hsl(210, 7%, 46%);
16+
$gray-700: hsl(210, 9%, 31%);
17+
$gray-800: hsl(210, 10%, 23%);
18+
$gray-900: hsl(210, 11%, 15%);
19+
$black: hsl(0, 0%, 0%);
20+
21+
$grays: (
22+
100: $gray-100,
23+
200: $gray-200,
24+
300: $gray-300,
25+
400: $gray-400,
26+
500: $gray-500,
27+
600: $gray-600,
28+
700: $gray-700,
29+
800: $gray-800,
30+
900: $gray-900
31+
);
32+
33+
$blue: hsl(240, 98%, 17%);
34+
$indigo: hsl(263, 90%, 51%);
35+
$purple: hsl(261, 51%, 51%);
36+
$pink: hsl(332, 79%, 58%);
37+
$red: hsl(3, 75%, 37%);
38+
$orange: hsl(27, 98%, 54%);
39+
$yellow: hsl(34, 100%, 34%);
40+
$green: hsl(120, 32%, 39%);
41+
$teal: hsl(194, 66%, 61%);
42+
$cyan: hsl(207, 49%, 37%);
43+
44+
$colors: (
45+
"blue": $blue,
46+
"indigo": $indigo,
47+
"purple": $purple,
48+
"pink": $pink,
49+
"red": $red,
50+
"orange": $orange,
51+
"yellow": $yellow,
52+
"green": $green,
53+
"teal": $teal,
54+
"cyan": $cyan,
55+
"white": $white
56+
);
57+
958
$primary: $standard-color-primary;
10-
$primaryBS: $standard-color-primary;
11-
$secondary: grey;
12-
$success: green;
13-
$info: cyan;
14-
$warning: orange;
15-
$danger: red;
16-
$light: silver;
17-
$dark: darkslategray;
59+
$secondary: hsl(210, 7%, 46%);
60+
$success: hsl(34, 100%, 34%);
61+
$info: hsl(207, 49%, 37%);
62+
$warning: hsl(27, 98%, 54%);
63+
$danger: hsl(3, 75%, 37%);
64+
$light: hsl(210, 17%, 98%);
65+
$dark: hsl(0, 0%, 12%);
66+
67+
$theme-colors: (
68+
primary: $standard-color-primary,
69+
secondary: $secondary,
70+
success: $success,
71+
info: $info,
72+
warning: $warning,
73+
danger: $danger,
74+
light: $light,
75+
dark: $dark
76+
);
1877

1978
// Set Bootstrap options
2079
//-----------------------------------------------------------------------

0 commit comments

Comments
 (0)