Skip to content
Snippets Groups Projects
Commit 7b6a11a0 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3594: updating stylings for FF

parent a62a8a86
No related branches found
No related tags found
No related merge requests found
...@@ -74,12 +74,13 @@ $highlighted-fact-round: $global-rounded; ...@@ -74,12 +74,13 @@ $highlighted-fact-round: $global-rounded;
float: left; float: left;
height: auto; height: auto;
margin-bottom: 0; margin-bottom: 0;
margin-left: 5px; margin-left: auto;
margin-right: 5px; margin-right: auto;
max-height: 30rem; max-height: 30rem;
min-height: 20rem; min-height: 20rem;
padding: 1rem; padding: 1rem;
position: relative; position: relative;
text-align: center;
width: 100%; width: 100%;
&.no-icon { &.no-icon {
...@@ -92,11 +93,8 @@ $highlighted-fact-round: $global-rounded; ...@@ -92,11 +93,8 @@ $highlighted-fact-round: $global-rounded;
} }
&__text { &__text {
clear: both;
color: $uw-black; color: $uw-black;
display: block; display: block;
float: none;
text-align: center;
&--big { &--big {
font-family: BureauGrotCond,impact,"avenir next condensed heavy","Droid Sans",sans-serif; font-family: BureauGrotCond,impact,"avenir next condensed heavy","Droid Sans",sans-serif;
...@@ -107,6 +105,7 @@ $highlighted-fact-round: $global-rounded; ...@@ -107,6 +105,7 @@ $highlighted-fact-round: $global-rounded;
&--small { &--small {
background-color: $uw-gold; background-color: $uw-gold;
display: inline-block !important;
font-family: Typ1451-Medium, verdana, sans-serif; font-family: Typ1451-Medium, verdana, sans-serif;
font-size: 1rem; font-size: 1rem;
hyphens: none; hyphens: none;
......
<div id="uw-ff-{{ ffs.id }}" class="uw-ff {{ ffs.show ? 'uw-ff--with-bubbles' }}"> <div id="uw-ff-{{ ffs.id }}" class="uw-ff {{ ffs.show ? 'uw-ff--with-bubbles' }}" data-carousel="Yes" data-num-per-carousel="3" data-id="{{ ffs.id }}">
<div class="uw-ff__wrapper"> <div class="uw-ff__wrapper">
{% embed '@layouts/carousel/carousel.twig' %} {% embed '@layouts/carousel/carousel.twig' %}
{% block content %} {% block content %}
{% for ff in ffs.facts %} {% for details in ffs.details %}
<div class="uw-ff__fact {{ icon != '' ? 'with-icon' : 'no-icon' }}"> <div class="uw-ff__fact {{ icon != '' ? 'with-icon' : 'no-icon' }}">
{% for detail in ff.details %} {% for detail in details %}
<span class="uw-ff__text uw-ff__text--{{ detail.type }}">{{ detail.text }}</span> <span class="uw-ff__text uw-ff__text--{{ detail.type }}">{{ detail.text }}</span>
{% endfor %} {% endfor %}
</div> </div>
...@@ -13,3 +13,4 @@ ...@@ -13,3 +13,4 @@
{% endembed %} {% endembed %}
</div> </div>
</div> </div>
ffs: ffs:
id: 1
show: true show: true
theme: 'uwaterloo' theme: 'uwaterloo'
text_align: 'center' text_align: 'center'
facts: details:
- -
id: '1' -
details: text: 'Big #1'
- type: 'big'
text: 'Big #1' -
type: 'big' text: 'Small #1'
- text: 'Small #1' type: 'small'
type: 'small'
- -
id: '2' -
details: text: 'Big #2'
- text: 'Big #2' type: 'big'
type: 'big' -
- text: 'Small #2' text: 'Small #1'
type: 'small' type: 'small'
- -
id: '3' -
details: text: 'Big #3'
- text: 'Big #3' type: 'big'
type: 'big' -
- text: 'Small #3' text: 'Small #3'
type: 'small' type: 'small'
-
id: '4'
details:
- text: 'Big #4'
type: 'big'
- text: 'Small #4'
type: 'small'
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