Files
Iris/src/scss/global/_core.scss

350 lines
5.2 KiB
SCSS
Raw Normal View History

body,
html {
background: $off_white;
color: #000000;
2017-06-16 20:05:32 +12:00
font-family: "Roboto Condensed", Helvetica, Arial, sans-serif;
font-size: 14px;
touch-action: manipulation;
}
body {
overflow-y: scroll;
overflow-x: hidden;
2017-01-24 10:13:12 +13:00
&.modal-open {
overflow-y: hidden;
}
@include responsive( $bp_medium ){
&.context-menu-open {
overflow-y: hidden;
}
}
}
2016-10-31 09:25:15 +13:00
main,
footer {
margin-left: 220px;
2016-11-21 21:46:53 +13:00
@include responsive( null, null, $bp_shallow ){
2016-11-22 11:10:30 +13:00
padding-bottom: 60px;
}
@include responsive( $bp_medium ){
2016-11-21 21:46:53 +13:00
margin-left: 0;
}
2016-10-31 09:25:15 +13:00
}
2016-10-31 09:25:15 +13:00
main {
position: relative;
min-height: 100vh;
a {
color: inherit;
text-decoration: none;
border-bottom: 1px dotted transparent;
2017-01-22 12:54:20 +13:00
cursor: pointer;
&:hover {
border-color: #000000;
}
}
p {
font-size: 18px;
line-height: 1.5em;
white-space: pre-wrap;
}
section.grid-wrapper,
section.text-wrapper {
padding: 40px;
}
section.list-wrapper {
padding: 20px 0;
2016-10-25 14:09:53 +13:00
}
2016-11-28 07:27:30 +13:00
@include responsive( $bp_medium ){
section.grid-wrapper,
section.text-wrapper {
padding: 20px;
}
section.list-wrapper {
padding: 10px 0;
}
}
pre {
padding: 20px;
background: $faint_grey;
white-space: pre-wrap;
2016-12-15 12:54:41 +13:00
word-wrap: break-word;
}
2016-11-14 17:32:36 +13:00
}
2016-10-25 14:09:53 +13:00
2016-11-14 17:32:36 +13:00
h1 {
2017-06-16 20:05:32 +12:00
font-weight: 700;
font-size: 3rem;
font-family: "Montserrat";
2016-11-14 17:32:36 +13:00
}
2016-10-26 08:51:28 +13:00
2016-11-14 17:32:36 +13:00
h2 {
2017-06-16 20:05:32 +12:00
font-size: 2.5rem;
2016-11-14 17:32:36 +13:00
font-weight: 500;
2017-06-16 20:05:32 +12:00
font-family: "Montserrat";
2016-11-14 17:32:36 +13:00
}
2016-10-31 16:49:42 +13:00
2016-11-14 17:32:36 +13:00
h3 {
font-weight: 100;
font-style: italic;
font-size: 20px;
&.bottom-padding {
padding-bottom: 30px;
}
2016-11-14 17:32:36 +13:00
}
2016-10-31 16:49:42 +13:00
2016-11-14 17:32:36 +13:00
h4 {
font-size: 14px;
margin-bottom: 14px;
text-transform: uppercase;
2016-10-25 17:01:37 +13:00
2016-11-14 17:32:36 +13:00
&.underline {
padding-bottom: 4px;
border-bottom: 1px solid #000000;
}
2016-10-26 21:20:48 +13:00
2016-11-14 17:32:36 +13:00
&:not(:first-child){
padding-top: 40px;
2016-10-25 14:09:53 +13:00
}
2016-11-14 17:32:36 +13:00
}
2016-10-26 08:51:28 +13:00
.placeholder {
display: inline-block;
height: 1.2em;
width: 100px;
max-width: 100%;
background: rgba(150,150,150,0.15);
pointer-events: none !important;
}
h1 .placeholder {
width: 50%;
}
h2 .placeholder,
h3 .placeholder,
h4 .placeholder {
max-width: 50%;
width: 150px;
}
button.placeholder {
border-color: transparent;
height: auto;
}
.list-wrapper .placeholder {
display: block;
width: auto;
margin: 25px 40px;
height: 10px;
2017-02-26 18:33:20 +13:00
@include responsive( $bp_medium ){
margin-left: 20px;
margin-right: 20px;
}
}
.grid-wrapper .placeholder {
height: auto;
&:after {
content: ' ';
display: block;
padding-bottom: 100%;
}
}
.related-artists .list-wrapper .placeholder {
position: relative;
margin: 40px 20px 50px 65px;
&:after {
content: ' ';
display: block;
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(150,150,150,0.15);
position: absolute;
top: -20px;
left: -65px;
}
}
2016-11-14 17:32:36 +13:00
.no-top-padding { padding-top: 0 !important; }
.no-bottom-padding { padding-bottom: 0 !important; }
.no-right-padding { padding-right: 0 !important; }
.no-left-padding { padding-left: 0 !important; }
2017-02-05 19:57:29 +13:00
.no-top-margin { margin-top: 0 !important; }
.no-bottom-margin { margin-bottom: 0 !important; }
2016-10-26 08:51:28 +13:00
2016-11-14 17:32:36 +13:00
.top-padding { padding-top: 20px; }
.bottom-padding { padding-bottom: 20px; }
.right-padding { padding-right: 40px; }
.left-padding { padding-left: 40px; }
2016-10-25 21:36:33 +13:00
.col {
min-height: 1px;
float: left;
2016-10-26 08:51:28 +13:00
&.w5 { width: 5%; }
&.w10 { width: 10%; }
&.w15 { width: 15%; }
&.w20 { width: 20%; }
&.w25 { width: 25%; }
&.w30 { width: 30%; }
&.w33 { width: 33.3334%; }
&.w35 { width: 35%; }
&.w40 { width: 40%; }
&.w45 { width: 45%; }
&.w50 { width: 50%; }
&.w55 { width: 55%; }
&.w60 { width: 60%; }
&.w65 { width: 65%; }
&.w66 { width: 66.6667%; }
&.w70 { width: 70%; }
&.w75 { width: 75%; }
&.w80 { width: 80%; }
&.w85 { width: 85%; }
&.w90 { width: 90%; }
&.w95 { width: 95%; }
2016-11-01 19:27:59 +13:00
&.w100 { width: 100%; }
2016-10-25 21:36:33 +13:00
}
2016-11-03 18:22:26 +13:00
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.cf {
2016-10-25 21:36:33 +13:00
@include clearfix;
}
2016-11-06 15:47:37 +13:00
.one-liner { @include one_line_text; }
2016-11-25 22:49:34 +13:00
.grey-text { color: $mid_grey !important; }
.red-text { color: $red !important; }
.green-text { color: $green !important; }
2017-02-21 08:35:24 +13:00
.orange-text { color: $orange !important; }
2016-11-25 22:49:34 +13:00
.dark-text { color: $dark_grey !important; }
.centred-text { text-align: center; }
2016-10-31 09:25:15 +13:00
footer {
display: block;
color: $light_grey;
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
2016-10-31 16:49:42 +13:00
}
2016-11-02 21:23:35 +13:00
.details {
list-style-type: none;
color: $mid_grey;
li {
2017-02-07 20:07:04 +13:00
display: inline-block;
&:not(:first-child){
@include bullet();
2017-02-07 20:07:04 +13:00
}
2016-11-02 21:23:35 +13:00
}
}
2016-11-18 15:31:06 +13:00
.flag {
font-size: 12px;
display: inline-block;
padding: 2px 4px;
background: $light_grey;
color: $dark_grey;
&.blue {
background: $blue;
color: #FFFFFF;
}
}
2016-11-28 07:27:30 +13:00
2017-04-21 08:43:20 +12:00
.has-tooltip {
position: relative;
.tooltip {
@include animate();
opacity: 0;
position: absolute;
pointer-events: none;
background: $overlay_dark;
display: block;
max-width: 200px;
padding: 5px;
color: $white;
font-size: 11px;
line-height: 11px;
top: -16px;
left: 4px;
z-index: 97;
&::before {
content: '';
display: block;
width: 6px;
height: 6px;
background: $overlay_dark;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
bottom: -3px;
left: 9px;
}
}
&:hover {
.tooltip {
opacity: 1;
top: -18px;
}
}
}
2016-11-28 07:27:30 +13:00
@include responsive( $bp_medium ){
2017-04-21 08:43:20 +12:00
.right-padding {
padding-right: 20px;
}
.left-padding {
padding-left: 20px;
}
2016-11-28 07:27:30 +13:00
h1 {
font-size: 30px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 18px;
}
2016-11-28 07:27:30 +13:00
}