Skip to content
Snippets Groups Projects
Commit a3a8b61c authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-5732:adding css for the filters presentation changes

parent 793d5a00
1 merge request!40Feature/istwcms 5732 m26lebla update filter look
...@@ -12,9 +12,8 @@ ...@@ -12,9 +12,8 @@
border: var(--size-xs) solid #bfbfbf; border: var(--size-xs) solid #bfbfbf;
border-bottom:var(--size-xs) solid var(--uw-black-primary); border-bottom:var(--size-xs) solid var(--uw-black-primary);
border-radius: var(--radius-1); border-radius: var(--radius-1);
box-shadow: var(--shadow-1); box-shadow: var(--shadow-0);
color: var(--uw-black-primary); color: var(--uw-black);
font-family: var(--font-book);
margin: var(--size-3) 0; margin: var(--size-3) 0;
transition: box-shadow 300ms ease; transition: box-shadow 300ms ease;
width:100%; width:100%;
...@@ -98,7 +97,6 @@ ...@@ -98,7 +97,6 @@
background: var(--uw-white); background: var(--uw-white);
border: var(--size-xs) solid var(--gray-2); border: var(--size-xs) solid var(--gray-2);
border-top: 0; border-top: 0;
font-family:inherit;
padding: var(--size-2); padding: var(--size-2);
> :last-child { > :last-child {
...@@ -107,14 +105,14 @@ ...@@ -107,14 +105,14 @@
.uw-label, .uw-label,
label{ label{
margin-bottom:0; margin-bottom:0;
margin-top: var(--size-2); margin-top: var(--size-105);
} }
} }
.details__description, .details__description,
.seven-details__description{ .seven-details__description{
font-family: var(--font-systemmedium) !important;
font-size: var(--font-size-000) !important;
color: var(--uw-black); color: var(--uw-black);
font-family: var(--font-book);
font-size: var(--font-size-00);
margin-bottom: var(--size-2); margin-bottom: var(--size-2);
> :last-child { > :last-child {
margin-bottom: 0; margin-bottom: 0;
......
...@@ -18,4 +18,8 @@ label, ...@@ -18,4 +18,8 @@ label,
display: inline; display: inline;
font-size: var(--font-size-1); font-size: var(--font-size-1);
} }
&.option{
font-family: inherit;
font-size: inherit;
}
} }
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
font-size: var(--font-size-0); font-size: var(--font-size-0);
font-weight: var(--font-weight-400); font-weight: var(--font-weight-400);
letter-spacing: inherit; letter-spacing: inherit;
margin-left: 0.2rem; margin-left: var(--size-05);
padding-left: 0.25rem; padding-left: var(--size-105);
} }
:where(optgroup) { :where(optgroup) {
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
margin: 0; margin: 0;
} }
.option { label.option,
.option{
display: inline; display: inline;
font-family: var(--font-book); font-family: var(--font-systemmedium) !important;
font-size: var(--font-size-0); font-size: var(--font-size-000) !important;
font-weight: normal; font-weight: normal;
letter-spacing:inherit; letter-spacing:inherit;
margin-left: 0.2rem; margin-left: var(--size-05);
padding-left: 0.25rem; padding: var(--size-1) 0 var(--size-1) var(--size-4);
} }
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
:where(select) { :where(select) {
@include svg-background(select-arrows); @include svg-background(select-arrows);
appearance: none;
background-color: var(--gray-2); background-color: var(--gray-2);
background-position: right 10px center; // LTR background-position: right 10px center; // LTR
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -15,8 +16,8 @@ ...@@ -15,8 +16,8 @@
font-family: var(--font-systemmedium); font-family: var(--font-systemmedium);
font-size: inherit; font-size: inherit;
letter-spacing: inherit; letter-spacing: inherit;
//padding-block: .75ch; padding-block: .75ch;
//padding-inline: 1.25ch 0; padding-inline: 1.25ch 0;
padding-right: 10px; // LTR padding-right: 10px; // LTR
touch-action: manipulation; touch-action: manipulation;
&:-moz-focusring { &:-moz-focusring {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
--gray-0: #ffffff; --gray-0: #ffffff;
--gray-1: #fafafa; --gray-1: #fafafa;
--gray-2: #eee; --gray-2: #eee;
--gray-3: #ccc; --gray-3: #dbdbdb;
--gray-4: #a2a2a2; --gray-4: #a2a2a2;
--gray-5: #757575; --gray-5: #757575;
--gray-6: #4e4e4e; --gray-6: #4e4e4e;
......
...@@ -10,10 +10,10 @@ button{ ...@@ -10,10 +10,10 @@ button{
&.button--medium { &.button--medium {
font-size: var(--font-size-000); font-size: var(--font-size-000);
padding: var(--size-105); padding: var(--size-2);
&:hover, &:hover,
&:focus { &:focus {
padding: var(--size-105); padding: var(--size-2);
} }
} }
&.button--small { &.button--small {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Styles for Cards.. // Styles for Cards..
@use '../../01-core' as *; @use '../../01-core' as *;
$card-border-color: var(--gray-2); $card-border-color: var(--gray-3);
$card-accent-border-color: var(--uw-black-primary) !default; $card-accent-border-color: var(--uw-black-primary) !default;
$card-link-color: var(--uw-black-primary) !default; $card-link-color: var(--uw-black-primary) !default;
$card-link-color-hover: var(--gray-5) !default; $card-link-color-hover: var(--gray-5) !default;
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
background: var(--uw-white); background: var(--uw-white);
border: var(--size-xs) solid var(--gray-3); border: var(--size-xs) solid var(--gray-3);
border-width: var(--size-xs) var(--size-xs) 0 var(--size-xs); border-width: var(--size-xs) var(--size-xs) 0 var(--size-xs);
box-shadow: none;
font-family: var(--font-systembold); font-family: var(--font-systembold);
font-size: var(--font-size-000); font-size: var(--font-size-000);
margin: 0; margin: 0;
...@@ -66,4 +65,58 @@ ...@@ -66,4 +65,58 @@
} }
} }
} }
input[type="radio"],
input[type="checkbox"] {
position: absolute;
top: 0;
left: -9999px;
visibility: hidden;
&:checked + label {
&::before {
//
}
&::after {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}
}
label.option {
cursor: pointer;
display: block;
font-family: inherit;
font-size: inherit;
position: relative;
&::before,
&::after {
content: '';
position: absolute;
top: 50%;
}
&::before {
background: var(--gray-2);
box-shadow: 0 0 1px var(--gray-4);
height: 20px;
margin: -10px 0 0;
left: 0;
width: 20px;
}
&::after {
background: var(--uw-black);
height: 15px;
margin: -7px 0 0;
left: 3px;
opacity: 0;
transform: translate3d(-40px, 0, 0) scale(0.5);
transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
width: 15px;
}
}
}
.form-type-radio label.option {
&::before,
&::after {
border-radius: 50% !important;
}
} }
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
'is_demo': false, 'is_demo': false,
'url': '#offcanvasbutton', 'url': '#offcanvasbutton',
'text': 'Close X', 'text': 'Close X',
'modifier_classes': 'button view-filters__close', 'modifier_classes': 'button--medium view-filters__close',
} %} } %}
</div> </div>
<h2> <h2>
......
...@@ -54,7 +54,6 @@ $sidebar-width: 18.75rem; ...@@ -54,7 +54,6 @@ $sidebar-width: 18.75rem;
width: 100%; width: 100%;
} }
} }
&-content--message { &-content--message {
grid-column: 1 / 2; grid-column: 1 / 2;
grid-row: 2 / 3; grid-row: 2 / 3;
...@@ -142,7 +141,6 @@ $sidebar-width: 18.75rem; ...@@ -142,7 +141,6 @@ $sidebar-width: 18.75rem;
} }
} }
} }
// Ovewrite the view for when in services or catalog // Ovewrite the view for when in services or catalog
&-uw-view-catalog-show-nodes, &-uw-view-catalog-show-nodes,
&-uw-view-catalog-show-terms, &-uw-view-catalog-show-terms,
...@@ -201,8 +199,6 @@ $sidebar-width: 18.75rem; ...@@ -201,8 +199,6 @@ $sidebar-width: 18.75rem;
} }
} }
} }
//Setting the views views-row item grids. //Setting the views views-row item grids.
.path-news, .path-news,
.path-blog, .path-blog,
......
...@@ -49,6 +49,11 @@ ...@@ -49,6 +49,11 @@
.image-button { .image-button {
margin: 0; margin: 0;
} }
label{
font-family: var(--font-book);
font-size: var(--font-size-00);
font-weight: var(--font-weight-300);
}
} }
@media(min-width: $screen-lg) { @media(min-width: $screen-lg) {
.uw-input, .uw-input,
...@@ -60,4 +65,15 @@ ...@@ -60,4 +65,15 @@
padding: 0 !important; padding: 0 !important;
} }
} }
.bef-toggle{
display: inline-block;
font-family: var(--font-systemmedium) !important;
font-size: var(--font-size-000) !important;
margin-bottom: var(--size-2) !important;
text-decoration: underline;
&:hover,
&:focus{
text-decoration: none;
}
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment