Update Theme and Links

Main Update to Design Theme Package and Update to links
This commit is contained in:
2025-04-24 19:53:17 +01:00
parent 41f9f1f86c
commit 920bc9070b
62 changed files with 14350 additions and 4209 deletions

View File

@@ -7,79 +7,61 @@
/* Form */
form {
$gutter: _size(element-margin) * 0.75;
margin: 0 0 _size(element-margin) 0;
.field {
margin: 0 0 ($gutter * 1) 0;
clear: both;
&.half {
clear: none;
width: 50%;
float: left;
padding: 0 0 0 ($gutter * 1 * 0.5);
&.first {
padding: 0 ($gutter * 1 * 0.5) 0 0;
}
}
&.third {
clear: none;
width: (100% / 3);
float: left;
padding: 0 0 0 ($gutter * 1 * 0.5);
&.first {
padding: 0 ($gutter * 1 * 0.5) 0 0;
}
}
> :last-child {
margin-bottom: 0;
}
> .actions {
clear: both;
margin: ($gutter * 1.25) 0 0 0 !important;
}
> .fields {
$gutter: (_size(element-margin) * 0.75);
@include breakpoint(small) {
.field {
margin: 0 0 ($gutter * 0.75) 0;
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
@include vendor('flex-grow', '0');
@include vendor('flex-shrink', '0');
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
padding: 0 0 0 ($gutter * 0.75 * 0.5);
&.first {
padding: 0 ($gutter * 0.75 * 0.5) 0 0;
}
}
}
> .actions {
margin: ($gutter * 1) 0 0 0 !important;
}
}
@include breakpoint(xsmall) {
.field {
&.half {
width: 100%;
float: none;
padding: 0;
&.first {
padding: 0;
}
width: calc(50% - #{$gutter * 0.5});
}
&.third {
width: 100%;
float: none;
padding: 0;
width: calc(#{100% / 3} - #{$gutter * (1 / 3)});
}
&.first {
padding: 0;
&.quarter {
width: calc(25% - #{$gutter * 0.25});
}
}
}
@include breakpoint('<=xsmall') {
> .fields {
$gutter: (_size(element-margin) * 0.75);
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
width: calc(100% - #{$gutter * 1});
}
&.third {
width: calc(100% - #{$gutter * 1});
}
&.quarter {
width: calc(100% - #{$gutter * 1});
}
}
}
@@ -118,25 +100,21 @@
}
}
.select-wrapper {
@include icon;
display: block;
position: relative;
select {
background-size: 1.25rem;
background-repeat: no-repeat;
background-position: calc(100% - 1rem) center;
height: _size(element-height);
padding-right: _size(element-height);
text-overflow: ellipsis;
&:before {
content: '\f078';
display: block;
height: _size(element-height);
line-height: _size(element-height);
pointer-events: none;
position: absolute;
right: 0;
text-align: center;
top: 0;
width: _size(element-height);
&:focus {
&::-ms-value {
background-color: transparent;
}
}
select::-ms-expand {
&::-ms-expand {
display: none;
}
}
@@ -166,7 +144,7 @@
z-index: -1;
& + label {
@include icon;
@include icon(false, solid);
@include vendor('user-select', 'none');
cursor: pointer;
display: inline-block;
@@ -182,9 +160,10 @@
border: solid _size(border-width);
content: '';
display: inline-block;
font-size: 0.8rem;
height: (_size(element-height) * 0.6);
left: 0;
line-height: (_size(element-height) * 0.575);
line-height: (_size(element-height) * 0.6);
position: absolute;
text-align: center;
top: 0;
@@ -231,10 +210,6 @@
opacity: 1.0;
}
.formerize-placeholder {
opacity: 1.0;
}
@mixin color-form($p: null) {
label {
color: _palette($p, fg-bold);
@@ -256,9 +231,12 @@
}
}
.select-wrapper {
&:before {
color: _palette($p, border);
select {
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
option {
color: _palette(fg-bold);
background: _palette(bg);
}
}
@@ -303,10 +281,6 @@
:-ms-input-placeholder {
color: _palette($p, fg-light) !important;
}
.formerize-placeholder {
color: _palette($p, fg-light) !important;
}
}
@include color-form;