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

ISTWCMS-5709: css for teasers, and adjustments to buttons in multi-list and...

ISTWCMS-5709: css for teasers, and adjustments to buttons in multi-list and throughout, no longer upper-case, no more max-widths, from UR flow3 doc.
parent ca4646dd
No related branches found
No related tags found
1 merge request!37ISTWCMS-5709: css for teasers, and adjustments to buttons in multi-list and...
...@@ -75,6 +75,7 @@ button { ...@@ -75,6 +75,7 @@ button {
bottom: 0; bottom: 0;
display: flex; display: flex;
height: auto; height: auto;
gap: var(--size-05);
left: 0; left: 0;
margin: 0; margin: 0;
padding: var(--size-1); padding: var(--size-1);
...@@ -98,6 +99,12 @@ button { ...@@ -98,6 +99,12 @@ button {
.form-item-toggle-content-preview { .form-item-toggle-content-preview {
margin-top: var(--size-2); margin-top: var(--size-2);
.option{
font-size: var(--font-size-000);
@media(min-width: $screen-md) {
font-size: var(--font-size-00);
}
}
} }
input [type='submit']{ input [type='submit']{
margin-top: 0; margin-top: 0;
......
...@@ -36,7 +36,7 @@ $button-font-size: var(--font-size-1) !default; ...@@ -36,7 +36,7 @@ $button-font-size: var(--font-size-1) !default;
display: inline-block; display: inline-block;
font-family: var(--font-condensedbook); font-family: var(--font-condensedbook);
font-size: $button-font-size; font-size: $button-font-size;
font-weight: var(--font-weight-300); font-weight: var(--font-weight-200);
letter-spacing: var(--font-letterspacing-2); letter-spacing: var(--font-letterspacing-2);
line-height: var(--font-lineheight-4); line-height: var(--font-lineheight-4);
padding: var(--size-2) var(--size-4); padding: var(--size-2) var(--size-4);
......
...@@ -170,13 +170,13 @@ form { ...@@ -170,13 +170,13 @@ form {
// Edits of buttons in the wcms forms // Edits of buttons in the wcms forms
.button, .button,
button { button {
.layout-builder-form &, [aria-label="Layout Builder tools"] & {
.form-actions & { font-size: var(--font-size-00);
font-size: var(--font-size-000);
height: 2.5rem; height: 2.5rem;
line-height: 2.75; line-height: var(--font-lineheight-2);
max-width: inherit; max-width: inherit;
padding: var(--size-05); padding: var(--size-05);
width: 100%;
&:hover, &:hover,
&:focus { &:focus {
padding: var(--size-05); padding: var(--size-05);
...@@ -187,7 +187,7 @@ button { ...@@ -187,7 +187,7 @@ button {
.paragraph-type-top &, .paragraph-type-top &,
.paragraphs-dropbutton-wrapper &, .paragraphs-dropbutton-wrapper &,
.user-login-form &{ .user-login-form &{
font-size: var(--font-size-000); font-size: var(--font-size-00);
font-weight: 200; font-weight: 200;
height: inherit; height: inherit;
//letter-spacing:inherit; //letter-spacing:inherit;
...@@ -206,6 +206,7 @@ button { ...@@ -206,6 +206,7 @@ button {
.ui-dialog-buttonset.form-actions & { .ui-dialog-buttonset.form-actions & {
max-width: 10rem; max-width: 10rem;
width: 100%;
} }
.user-login-form .form-actions & { .user-login-form .form-actions & {
...@@ -230,6 +231,19 @@ button { ...@@ -230,6 +231,19 @@ button {
width: inherit; width: inherit;
} }
} }
.views-exposed-form .form-actions & {
font-size: var(--font-size-00);
height: 2.5rem;
line-height: var(--font-lineheight-2);
padding: var(--size-05);
width: 100%;
&:hover,
&:focus {
padding: var(--size-05);
}
}
} }
// Reset the button in media dialog // Reset the button in media dialog
......
...@@ -28,22 +28,20 @@ button{ ...@@ -28,22 +28,20 @@ button{
// This custom button class, included as an example, is not output by Drupal by default. // This custom button class, included as an example, is not output by Drupal by default.
.button--medium { .button--medium {
font-size: var(--font-size-000); font-size: var(--font-size-000);
max-width: var(--size-20); padding: var(--size-105);
padding: var(--size-1);
&:hover, &:hover,
&:focus { &:focus {
padding: var(--size-1); padding: var(--size-105);
} }
} }
// This custom button class, included as an example, is not output by Drupal by default. // This custom button class, included as an example, is not output by Drupal by default.
.button--small { .button--small {
font-size: var(--font-size-0000); font-size: var(--font-size-0000);
max-width: var(--size-12); padding: var(--size-1);
padding: var(--size-05);
&:hover, &:hover,
&:focus { &:focus {
padding: var(--size-05); padding: var(--size-1);
} }
} }
...@@ -53,7 +51,7 @@ button{ ...@@ -53,7 +51,7 @@ button{
color: var(--uw-white); color: var(--uw-white);
&:hover, &:hover,
&:focus { &:focus {
background-color: var(--green-9); background-color: #315631ff;
color: var(--uw-white); color: var(--uw-white);
} }
} }
...@@ -76,10 +74,13 @@ button{ ...@@ -76,10 +74,13 @@ button{
color: var(--uw-white); color: var(--uw-white);
&:hover, &:hover,
&:focus { &:focus {
background-color: var(--orange-8); background-color: var(--orange-9);
color: var(--uw-white); color: var(--uw-white);
} }
} }
.button[data-drupal-selector="edit-cancel"]{
line-height: 2.125;
}
// Css within pattern lab. // Css within pattern lab.
.pattern-lab-content .mobile-menu-button, .pattern-lab-content .mobile-menu-button,
.pl-c-pattern__extra-toggle{ .pl-c-pattern__extra-toggle{
......
...@@ -3,30 +3,25 @@ banners: ...@@ -3,30 +3,25 @@ banners:
autoplay: 1 autoplay: 1
slide_speed: 7000 slide_speed: 7000
transition_speed: 400 transition_speed: 400
faculty: 'org-default'
images: images:
- - sources:
sources: - srcset: '../../images/president_xlarge.jpg'
-
srcset: '../../../../source/images/president/president_xlarge.jpg'
media: 'all and (min-width: 63.19rem)' media: 'all and (min-width: 63.19rem)'
type: 'image/jpeg' type: 'image/jpeg'
- - srcset: '../../images/president_large.jpg'
srcset: '../../../../source/images/president/president_large.jpg'
media: 'all and (min-width: 49.81rem)' media: 'all and (min-width: 49.81rem)'
type: 'image/jpeg' type: 'image/jpeg'
- - srcset: '../../images/president_medium.jpg'
srcset: '../../../../source/images/president/president_medium.jpg'
media: 'all and (min-width: 30rem)' media: 'all and (min-width: 30rem)'
type: 'image/jpeg' type: 'image/jpeg'
- - srcset: '../../images/president_small.jpg'
srcset: '../../../../source/images/president/president_small.jpg'
media: 'all and (min-width: 25rem)' media: 'all and (min-width: 25rem)'
type: 'image/jpeg' type: 'image/jpeg'
- - srcset: '../../images/president_xsmall.jpg'
srcset: '../../../../source/images/president/president_xsmall.jpg'
media: 'all and (min-width: 15rem)' media: 'all and (min-width: 15rem)'
type: 'image/jpeg' type: 'image/jpeg'
img_element: '../../../../source/images/president/president_xlarge.jpg' img_element: '../../images/president_xlarge.jpg'
alt: 'Alternative text' alt: 'Alternative text'
link: 'http://google.ca' link: 'http://google.ca'
big_text: 'President Goel leads Waterloo into bold new futures' big_text: 'President Goel leads Waterloo into bold new futures'
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
.card__tags { .card__tags {
line-height: var(--line-height-2); line-height: var(--line-height-2);
margin: 0 auto 0 var(--size-2); margin: auto auto 0 var(--size-2);
padding: 0; padding: 0;
max-width: 90%; max-width: 90%;
} }
......
...@@ -6,9 +6,6 @@ teasers: ...@@ -6,9 +6,6 @@ teasers:
date: date:
0: 'Friday, September 19, 2020' 0: 'Friday, September 19, 2020'
title: 'Blog Teaser' title: 'Blog Teaser'
author:
name: 'Blog Author'
link: '#'
footer: footer:
tags: tags:
- -
...@@ -67,9 +64,6 @@ teasers: ...@@ -67,9 +64,6 @@ teasers:
date: date:
0: 'Friday, September 19, 2020' 0: 'Friday, September 19, 2020'
title: 'News Teaser' title: 'News Teaser'
author:
name: 'News Author'
link: '#'
footer: footer:
tags: tags:
- -
......
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