Move all files to 2017/
This commit is contained in:
parent
ac7370f67f
commit
2875863330
15717 changed files with 0 additions and 0 deletions
35
2017/web/themes/dcb2017/sass/_global.scss
Normal file
35
2017/web/themes/dcb2017/sass/_global.scss
Normal file
|
@ -0,0 +1,35 @@
|
|||
html {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a,
|
||||
a:visited {
|
||||
color: $dcb-grey;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.4em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.4em
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
text-transform: uppercase;
|
||||
}
|
36
2017/web/themes/dcb2017/sass/base/_mixins.scss
Normal file
36
2017/web/themes/dcb2017/sass/base/_mixins.scss
Normal file
|
@ -0,0 +1,36 @@
|
|||
// Tablet size breakpoint 600px.
|
||||
@mixin media-tablet {
|
||||
@media screen and (min-width: 37.5rem) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
// Desktop size breakpoint 900px.
|
||||
@mixin media-large {
|
||||
@media screen and (min-width: 56.25rem) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
// Wide Desktop size breakpoint 1200px.
|
||||
@mixin media-wide {
|
||||
@media screen and (min-width: 75rem) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin button {
|
||||
background: $dcb-blue;
|
||||
border: 0;
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
padding: 0.5rem 1rem;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $dcb-green;
|
||||
}
|
||||
}
|
7
2017/web/themes/dcb2017/sass/base/_variables.scss
Normal file
7
2017/web/themes/dcb2017/sass/base/_variables.scss
Normal file
|
@ -0,0 +1,7 @@
|
|||
// Custom variables, colours etc.
|
||||
|
||||
$dcb-green: #0fa877;
|
||||
$dcb-blue: #b33ee9;
|
||||
$dcb-purple: #ec16a8;
|
||||
|
||||
$dcb-grey: #666;
|
174
2017/web/themes/dcb2017/sass/components/_blocks.scss
Normal file
174
2017/web/themes/dcb2017/sass/components/_blocks.scss
Normal file
|
@ -0,0 +1,174 @@
|
|||
.block-system-branding-block {
|
||||
margin: 0.5rem auto;
|
||||
width: 8rem;
|
||||
|
||||
@include media-tablet {
|
||||
float: left;
|
||||
margin: 0.5rem 2rem;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.site-logo img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
width: 11rem;
|
||||
}
|
||||
|
||||
#block-homepagehero {
|
||||
font-size: 1.8rem;
|
||||
line-height: 1.2;
|
||||
margin: auto;
|
||||
max-width: 30rem;
|
||||
padding: 3rem 1rem;
|
||||
text-align: center;
|
||||
|
||||
@include media-large {
|
||||
padding: 6rem 1rem;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
padding: 10rem 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
a.tickets,
|
||||
a.submit {
|
||||
@include button;
|
||||
display: inline-block;
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0.5rem 0.5rem;
|
||||
padding: 0.8rem 1.6rem;
|
||||
}
|
||||
|
||||
a.tickets {
|
||||
background-color: $dcb-purple;
|
||||
}
|
||||
}
|
||||
|
||||
#block-dcbschedule {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
.field {
|
||||
box-sizing: border-box;
|
||||
padding: 2rem 2rem 2rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
|
||||
@include media-large {
|
||||
float: left;
|
||||
padding: 3rem 3rem 3rem;
|
||||
position: static;
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
padding: 5rem 4rem 4rem;
|
||||
}
|
||||
|
||||
&:before {
|
||||
bottom: 0;
|
||||
content: '';
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
|
||||
@include media-large {
|
||||
width: 33.333%;
|
||||
}
|
||||
}
|
||||
|
||||
&.field--name-field-cxo-text:before {
|
||||
background-image: url('../images/cxo.jpg');
|
||||
|
||||
@include media-large {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
&.field--name-field-dev-text:before {
|
||||
background-image: url('../images/dev.jpg');
|
||||
|
||||
@include media-large {
|
||||
left: 33.333%;
|
||||
}
|
||||
}
|
||||
&.field--name-field-sprint-text:before {
|
||||
background-image: url('../images/sprint.jpg');
|
||||
|
||||
@include media-large {
|
||||
left: 66.666%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p, h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 5rem;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
|
||||
@include media-large {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
font-size: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.schedule-day {
|
||||
font-size: 2.5rem;
|
||||
font-weight: bold;
|
||||
|
||||
@include media-large {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.schedule-location {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 600;
|
||||
padding-top: 2rem;
|
||||
|
||||
@include media-large {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
.schedule-date {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 600;
|
||||
|
||||
@include media-large {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
}
|
18
2017/web/themes/dcb2017/sass/components/_forms.scss
Normal file
18
2017/web/themes/dcb2017/sass/components/_forms.scss
Normal file
|
@ -0,0 +1,18 @@
|
|||
.form-item > label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
|
||||
&.option {
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.form-submit {
|
||||
@include button;
|
||||
}
|
||||
|
||||
.form-text,
|
||||
.form-email {
|
||||
max-width: 95%;
|
||||
}
|
39
2017/web/themes/dcb2017/sass/components/_menus.scss
Normal file
39
2017/web/themes/dcb2017/sass/components/_menus.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
ul.menu {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
|
||||
@include media-tablet {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
li.menu-item {
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1rem;
|
||||
text-transform: uppercase;
|
||||
|
||||
@include media-tablet {
|
||||
padding: 1rem 0.8rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.is-active {
|
||||
color: $dcb-green;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
nav.menu--main {
|
||||
font-weight: bold;
|
||||
|
||||
@include media-tablet {
|
||||
margin: 0.8rem;
|
||||
float: right;
|
||||
}
|
||||
}
|
58
2017/web/themes/dcb2017/sass/components/_schedule.scss
Normal file
58
2017/web/themes/dcb2017/sass/components/_schedule.scss
Normal file
|
@ -0,0 +1,58 @@
|
|||
.view-schedule {
|
||||
.view-grouping-header {
|
||||
background: $dcb-green;
|
||||
color: white;
|
||||
font-size: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.8em;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.3em
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.node--type-session {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
.group-wrapper {
|
||||
@include media-large {
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
padding-right: 2em;
|
||||
|
||||
h2 {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: $dcb-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.view-grouping-content {
|
||||
overflow: hidden;
|
||||
|
||||
&.col-2 .group-wrapper {
|
||||
@include media-large {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
&.col-3 .group-wrapper {
|
||||
@include media-large {
|
||||
width: 33.33%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
65
2017/web/themes/dcb2017/sass/components/_views.scss
Normal file
65
2017/web/themes/dcb2017/sass/components/_views.scss
Normal file
|
@ -0,0 +1,65 @@
|
|||
.views-view-table {
|
||||
td {
|
||||
display: block;
|
||||
vertical-align: top;
|
||||
|
||||
&.views-field-field-logo {
|
||||
padding: 1em 0;
|
||||
text-align: center;
|
||||
|
||||
@include media-large {
|
||||
padding: 2em 2em 2em 0;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-large {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
|
||||
.views-field-body a {
|
||||
@include button;
|
||||
}
|
||||
}
|
||||
|
||||
.view-silver-sponsors,
|
||||
.view-supporting-partners {
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
|
||||
.sponsor {
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
padding: 1em;
|
||||
width: 100%;
|
||||
|
||||
@include media-tablet {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@include media-large {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
@include media-wide {
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.view-display-id-sponsor_logo_gold {
|
||||
.view-content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.views-row {
|
||||
display: inline-block;
|
||||
padding: 0.5em 1.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
21
2017/web/themes/dcb2017/sass/content/_session.scss
Normal file
21
2017/web/themes/dcb2017/sass/content/_session.scss
Normal file
|
@ -0,0 +1,21 @@
|
|||
.node--type-session {
|
||||
.field--name-field-category,
|
||||
.field--name-field-level,
|
||||
.field--name-field-length {
|
||||
padding-right: 5em;
|
||||
|
||||
@include media-tablet {
|
||||
float: left;
|
||||
font-weight: 600;
|
||||
|
||||
.field__label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.field--name-body {
|
||||
clear: both;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
}
|
36
2017/web/themes/dcb2017/sass/content/_speaker.scss
Normal file
36
2017/web/themes/dcb2017/sass/content/_speaker.scss
Normal file
|
@ -0,0 +1,36 @@
|
|||
.node--type-speaker {
|
||||
.node__content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@include media-tablet {
|
||||
.profile-picture {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
min-height: 7em;
|
||||
padding-left: 9em;
|
||||
}
|
||||
}
|
||||
|
||||
&.node--view-mode-speaker-profile {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.speaker-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.speaker-twitter {
|
||||
background: url('../images/twitter-1.png') no-repeat left center transparent;
|
||||
padding: 0 10px 0 20px;
|
||||
}
|
||||
|
||||
.speaker-drupal {
|
||||
background: url('../images/drop-1.png') no-repeat left center transparent;
|
||||
padding: 0 10px 0 20px;
|
||||
}
|
39
2017/web/themes/dcb2017/sass/layout/_content-bottom.scss
Normal file
39
2017/web/themes/dcb2017/sass/layout/_content-bottom.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
.region-content-bottom {
|
||||
margin: 2em 0 4em;
|
||||
text-align: center;
|
||||
|
||||
h2 {
|
||||
font-size: 2em;
|
||||
font-weight: 700;
|
||||
|
||||
@include media-tablet {
|
||||
font-size: 3em;
|
||||
}
|
||||
@include media-large {
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
span {
|
||||
color: $dcb-green;
|
||||
}
|
||||
}
|
||||
|
||||
.block {
|
||||
margin: 2em 1em;
|
||||
}
|
||||
|
||||
.all-sponsors-link a {
|
||||
@include button;
|
||||
background-color: $dcb-green;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $dcb-purple;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
3
2017/web/themes/dcb2017/sass/layout/_content-top.scss
Normal file
3
2017/web/themes/dcb2017/sass/layout/_content-top.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.region-content-top {
|
||||
overflow: hidden;
|
||||
}
|
9
2017/web/themes/dcb2017/sass/layout/_content.scss
Normal file
9
2017/web/themes/dcb2017/sass/layout/_content.scss
Normal file
|
@ -0,0 +1,9 @@
|
|||
.region-content {
|
||||
margin: 0 auto;
|
||||
max-width: 72rem;
|
||||
padding: 1rem;
|
||||
|
||||
.block-views {
|
||||
margin-bottom: 5em;
|
||||
}
|
||||
}
|
36
2017/web/themes/dcb2017/sass/layout/_featured.scss
Normal file
36
2017/web/themes/dcb2017/sass/layout/_featured.scss
Normal file
|
@ -0,0 +1,36 @@
|
|||
.region-featured {
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
background-image: url('../images/dcb-bg.jpg');
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
||||
.featured-footer {
|
||||
background: black;
|
||||
color: white;
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
|
||||
a {
|
||||
color: $dcb-purple;
|
||||
text-decoration: none;
|
||||
|
||||
&:focus,
|
||||
&:hover {
|
||||
color: $dcb-grey;
|
||||
}
|
||||
}
|
||||
}
|
11
2017/web/themes/dcb2017/sass/layout/_footer.scss
Normal file
11
2017/web/themes/dcb2017/sass/layout/_footer.scss
Normal file
|
@ -0,0 +1,11 @@
|
|||
.region-footer {
|
||||
margin: 0 auto;
|
||||
max-width: 72rem;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.layout-container > footer {
|
||||
background-image: url('../images/dcb-bg.jpg');
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
}
|
5
2017/web/themes/dcb2017/sass/layout/_header.scss
Normal file
5
2017/web/themes/dcb2017/sass/layout/_header.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
.region-header {
|
||||
margin: 0 auto;
|
||||
max-width: 72rem;
|
||||
overflow: hidden;
|
||||
}
|
22
2017/web/themes/dcb2017/sass/style.scss
Normal file
22
2017/web/themes/dcb2017/sass/style.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
// External libraries.
|
||||
|
||||
|
||||
@import 'base/variables';
|
||||
@import 'base/mixins';
|
||||
|
||||
@import 'global'; // Global Theme Customizations.
|
||||
@import 'layout/header';
|
||||
@import 'layout/featured';
|
||||
@import 'layout/content';
|
||||
@import 'layout/content-top';
|
||||
@import 'layout/content-bottom';
|
||||
@import 'layout/footer';
|
||||
|
||||
@import 'components/menus';
|
||||
@import 'components/blocks';
|
||||
@import 'components/forms';
|
||||
@import 'components/views';
|
||||
@import 'components/schedule';
|
||||
|
||||
@import 'content/session';
|
||||
@import 'content/speaker';
|
Reference in a new issue