Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4028 lines
78 KiB

$bug-list: (
"search-element-appearance": (),
"abbr-title-border-missing": false,
"dfn-not-italic": false,
"small-size-not-80-percent": false,
"hr-height-is-messed": false,
"pre-overflow-not-auto": false,
"code-font-not-ems-and-not-monospace": false
);
$markup-settings: ("audio": false);
@import "bumbleberry";
@import "settings";
$zindex-base: 0;
html, body {
color: $black;
position: relative;
z-index: $zindex-base;
}
9 years ago
body {
background-color: $white;
padding-bottom: 20vw;
9 years ago
}
h1, h2, h3, h4, h5, h6, label, button, .button, dt, th, .table-th, nav.sub-menu, legend {
@include font-family(secondary);
font-weight: normal;
}
h2 {
margin: 0;
font-size: 6vw;
}
h3, legend {
font-size: 4.5vw;
margin: 0.75em 0;
}
h4 {
font-size: 1.25em;
}
h5 {
font-size: 1.125em;
}
h6 {
font-size: 1em;
}
legend {
font-size: 1.25em;
}
p {
font-size: 4vw;
&.center {
text-align: center;
}
&.small {
font-size: 3.5vw;
}
}
u {
@include _(text-decoration-color, rgba($black, 0.5));
text-decoration-skip: ink;
}
a {
text-decoration: none;
color: $link-colour;
border-bottom: 0 solid;
outline: 0;
position: relative;
cursor: pointer;
@include after {
content: '';
position: absolute;
border-bottom: 0 solid;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
@include _(transition, all 150ms ease-in-out);
@include _(transform-origin, 25% 50%);
@include _(transform, scaleX(0));
}
&:hover,
&:active,
&:focus {
@include after {
border-bottom: 0.1em solid;
opacity: 1;
@include _(transform, scaleX(1));
}
}
}
.target:target {
text-decoration: underline;
text-decoration-color: $yellow;
text-decoration-style: wavy;
}
9 years ago
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
width: 1px;
overflow: hidden;
position: absolute !important;
9 years ago
}
table, .table {
margin-bottom: 2em;
margin-left: 1em;
th, td, .table-th, .table-td {
text-align: left;
padding: 0.25em 0.5em;
border: 0.1rem solid $light-gray;
&.center {
text-align: center;
}
&.big {
font-size: 1.5em;
}
&.status {
width: 0.1rem;
background-color: transparent;
border: 0;
}
&.state {
background-size: 1.333em;
background-repeat: no-repeat;
background-position: center;
width: 1.75em;
&.happy {
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 87.8 73.2'><polygon fill='#{$colour-5}' points='34.3 73.2 0 32.6 18.7 16.8 35.4 36.5 70.1 0 87.8 16.8 '/></svg>");
}
&.unhappy {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path xmlns="http://www.w3.org/2000/svg" d="M50 5C25.1 5 5 25.1 5 50c0 24.9 20.1 45 45 45s45-20.1 45-45C95 25.1 74.9 5 50 5zM72.5 64.3l-8.2 8.2L50 58.2 35.7 72.5l-8.2-8.2L41.8 50 27.5 35.7l8.2-8.2L50 41.8l14.3-14.3 8.2 8.2L58.2 50 72.5 64.3z" fill="#{$colour-4}"/></svg>');
}
}
}
th, .table-th {
background-color: $extra-light-gray;
&.corner {
background-color: transparent;
border: 0;
}
}
td, .table-td {
&.inner-table {
padding: 0;
table {
margin: 0;
width: 100%;
}
tr:first-child {
td, th {
border-top: 0;
}
}
tr:last-child {
td, th {
border-bottom: 0;
}
}
td, th {
&:first-child {
border-left: 0
}
&:last-child {
border-right: 0
}
}
}
&.bold {
@include font-family(secondary);
}
}
tbody th {
width: 0.1rem;
}
&#review {
margin: 0 auto;
.table-th {
width: auto;
vertical-align: top;
}
.scroller {
font-size: 0.75em;
max-width: 50em;
max-height: 25em;
overflow: auto;
}
}
&.admin-edit {
width: 100%;
}
tr.hidden {
display: none;
}
tr[data-key] {
cursor: cell;
&.editable:hover {
background-color: lighten($colour-2, 33%);
}
+ .editor {
display: none;
background-color: lighten($colour-1, 50%);
td {
opacity: 0.5;
&.has-editor {
opacity: 1;
@include after {
content: '';
position: absolute;
top: 100%;
right: 0;
left: 0;
height: 0.25em;
background-color: rgba($black, 0.125);
}
}
.cell-editor {
&[type=number]::-webkit-inner-spin-button,
&[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}
}
select.cell-editor {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
cursor: pointer;
}
&.date .cell-editor {
text-align-last: right;
}
}
}
+ .editor, &.always-edit {
td {
position: relative;
vertical-align: top;
background: inherit;
cursor: default;
.cell-editor {
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: inherit;
font: inherit;
margin: inherit;
background: inherit;
border: 0;
min-height: 0;
width: 100% !important;
border-radius: 0;
line-height: inherit;
overflow: hidden;
box-shadow: none;
text-align: inherit;
}
}
}
&.always-edit td .cell-editor {
position: absolute;
}
&.editing {
display: none;
+ .editor {
display: table-row;
.cell-editor {
position: absolute;
}
}
}
}
&.always-editing {
tr {
cursor: default;
&:hover {
background-color: transparent;
}
}
.cell-editor {
position: absolute;
}
td.text {
height: 5em;
}
}
tr.editable, tr.editor {
td {
white-space: nowrap;
&.date, &.datetime, &.money, &.number {
font-family: monospace;
font-size: 1.25em;
text-align: right;
}
&.text {
max-width: 20em;
}
}
}
tr.editable td.text,
tr.editor td.text .value {
overflow: hidden;
text-overflow: ellipsis;
}
tr.editor {
td.text .cell-editor {
white-space: normal;
bottom: auto;
height: 10em;
z-index: 1;
background: inherit;
overflow: auto !important;
}
}
}
.table-scroller {
overflow: auto;
background-color: $extra-light-gray;
@include _(box-shadow, inset 0 0 10em 0 rgba(0,0,0,0.125));
table {
background-color: $white;
margin: 0 0 8.5em;
}
body.expanded-element .expanded & {
overflow: visible;
}
}
.goes-fullscreen {
[data-contracts] {
display: none;
}
}
body.modal-open {
overflow: hidden;
}
body.expanded-element {
overflow: hidden;
.goes-fullscreen.expanded {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
background-color: $white;
overflow: auto;
padding: 0 1em;
[data-expands] {
display: none;
}
[data-contracts] {
display: block;
}
}
}
.centered {
text-align: center;
}
#main .columns .modal-edit {
display: none;
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 1001;
margin: 0;
background-color: rgba($black, 0.5);
&.open {
display: flex;
}
.modal-edit-overlay {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
cursor: pointer;
}
table {
margin: 0;
background-color: $white;
td.empty {
background-color: $extra-light-gray;
border-bottom-color: $extra-light-gray;
}
}
thead th {
text-align: center;
font-size: 1.125em;
color: $white;
border-color: lighten($colour-1, 12.5%);
background-color: $colour-1;
}
tbody th {
white-space: nowrap;
}
.modal-edit-content {
position: relative;
min-width: 50em;
max-width: 75em;
margin: auto;
overflow: auto;
z-index: 1002;
background-color: $extra-light-gray;
flex: 1;
}
.actions {
margin: 1em 1em 0;
}
}
.table {
display: table;
border-collapse: collapse;
}
.table-tr {
display: table-row;
}
.table-th, .table-td {
display: table-cell;
}
.responsive-table {
display: block;
.table-td {
padding: 1em;
}
.table-tr, .table-th, .table-td {
display: block;
overflow: auto;
}
.table-tr {
margin-bottom: 1em;
}
}
button,
.button {
@include button;
vertical-align: top;
#main &[type="submit"] {
background-color: $colour-5;
&[value="send"] {
background-color: $colour-4;
}
}
&.register {
background-color: $colour-2;
}
form.logout & {
background-color: #666;
}
#main &.modify {
background-color: $colour-5;
}
&.delete,
#main &.delete {
background-color: $red;
}
9 years ago
&.subdued, #main &.subdued {
background-color: #888;
}
9 years ago
#main &.accented {
background-color: $colour-2;
}
9 years ago
&.facebook {
background-color: #3A5795;
}
&.small {
font-size: 0.9em;
}
#main &.unstyled {
height: 4em;
margin: 0;
padding: 0;
border: 0;
border-radius: 0;
font-family: inherit;
color: $black;
@include _(box-shadow, none);
@include _(text-stroke, 0);
&.secondary {
opacity: 0.5;
}
&.edit {
height: 1.5em;
border: 0.1em solid;
padding: 0.125em 0.5em;
background-color: $light-gray;
margin-left: 1em;
font-size: 1em;
line-height: 1em;
float: right;
}
}
}
#main table.calendar {
width: 100%;
table-layout: fixed;
margin: 0;
button {
width: 100%;
height: 10vw;
background-color: $white;
&.during-conference {
background-color: rgba($colour-1, 0.25);
}
&.selected {
border: 0.25em solid $selected-colour;
}
}
td {
padding: 0;
background-color: $extra-light-gray;
}
tr.month th {
background-color: rgba($colour-5, 0.25);
font-size: 1.5em;
}
}
#main .actions {
margin-top: 4em;
&.center {
text-align: center;
button, .button {
margin-left: 0.5em;
}
}
&.right {
text-align: right;
}
.buttons {
display: inline-block;
display: flex;
text-align: right;
justify-content: center;
flex-wrap: wrap;
button, .button {
margin: 0.333em;
}
}
button[value="back"] {
float: left;
order: -1;
background-color: $mid-gray;
}
button[value="review"] {
float: right;
background-color: $blue;
}
button[value="cancel"], button.red {
background-color: $red;
}
button.back {
background-color: $mid-gray;
}
}
#main {
.registration-step-options,
.vertical-registration-step-options {
text-align: center;
button {
display: block;
width: 100%;
padding: 0 2em;
border: 0.05em solid $black;
background-color: $white;
&.selected {
box-shadow: 0 0 0 0.25em $selected-colour;
}
}
}
.registration-step-options {
margin: 0 auto;
.options {
+ fieldset {
margin: 2em 0;
}
}
button {
margin: 0.5em auto;
height: 3em;
}
.check-box-field {
box-shadow: none;
margin: 0;
font-size: 0.9em;
}
.option-space {
margin: 1.5em 0;
}
.setting-option {
p {
display: inline-block;
margin: 0;
}
button {
vertical-align: middle;
}
}
.custom-option {
text-align: right;
background-color: $white;
input {
width: 100%;
height: 3em;
margin: 0;
font-family: inherit;
border: 0;
border-right: 0;
text-align: center;
background-color: transparent;
border: 0.05rem solid $black;
border-bottom-style: none;
}
button {
width: 100%;
margin: 0;
// border: 0;
// border-top: inherit;
background-color: lighten($colour-1, 25%);
}
}
}
.vertical-registration-step-options {
text-align: center;
.options {
display: inline-block;
}
button {
width: 100%;
margin: 0.5em auto;
}
}
}
ul.menu {
list-style: none;
margin-top: 0;
padding-left: 0;
li {
display: inline;
padding: 0;
@include after {
content: '|';
margin: 0 0.333em 0 0.5em;
}
&:last-child {
@include after {
display: none;
}
}
}
}
.back-to {
float: left;
margin-right: 0.5em;
font-size: 1.2em;
@include font-family(secondary);
}
#step-content {
form {
margin-top: 1em;
}
}
#action-message {
display: none;
text-align: center;
margin-bottom: 3em;
&.error, &.complete, &.warning {
display: block;
}
.message {
display: inline-block;
@include font-family(secondary);
font-size: 1.25em;
padding: 1em 2em;
border: 0.25rem solid $blue;
background-color: rgba($blue, 0.25);
}
&.error .message {
border-color: $red;
background-color: rgba($red, 0.25);
}
&.complete .message {
border-color: $green;
background-color: rgba($green, 0.25);
}
&.warning .message {
border-color: $yellow;
background-color: rgba($yellow, 0.25);
}
}
a.button {
text-align: center;
@include after {
border-bottom: 1em solid transparent;
left: auto;
bottom: auto;
@include _(transform, none);
}
}
nav.sub-menu {
display: inline-block;
margin: 2rem 0 0;
text-align: center;
a {
margin: 0 1em 0.5em 0;
background-color: $gray;
color: #888;
display: inline-block;
padding: 0.25em 0.75em 0.333em;
font-size: 0.9em;
border: 1px solid #AAA;
border-bottom-width: 0.2em;
@include _(border-radius, 0.15em);
@include default-box-shadow(top, 2);
@include _(text-shadow, 0 0.05em 0.05em #FFF);
&:hover, &:active, &:focus {
background-color: #D8D8D8;
}
&.current {
background-color: #CCC;
color: #666;
padding: 0.333em 0.75em 0.25em;
}
@include after {
display: none;
}
}
@include breakpoint(medium) {
border: 1px solid #AAA;
background-color: #AAA;
border-bottom-width: 0.125em;
@include _(border-radius, 0.15em);
@include default-box-shadow(top, 2);
a {
border: 0;
margin: 0 1px 0 0;
float: left;
@include _(border-radius, 0);
@include _(box-shadow, none);
&:last-child {
margin: 0;
}
}
}
}
9 years ago
textarea, .textarea {
display: block;
width: 100%;
margin: 1em 0;
border: 0.1rem solid $gray;
@include _(border-radius, 0.25rem);
@include _(box-shadow, 0 0 0 0 rgba(0,0,0,0.05));
@include _(transition, box-shadow 200ms ease-in-out);
will-change: box-shadow;
&:hover, &:focus, &:active {
@include _(box-shadow, 0 0 0 0.3em rgba(0,0,0,0.05));
}
}
.ql-toolbar button {
@include _(box-shadow, none);
}
.textarea {
.ql-editor p, .ql-editor ol, .ql-editor ul, .ql-editor pre, .ql-editor blockquote, .ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4, .ql-editor h5, .ql-editor h6 {
margin-bottom: 1em;
}
}
textarea, .textarea .ql-editor {
background-image: repeating-linear-gradient(135deg, rgba(#000, 0.025), rgba(#000, 0.025) 0.1em, transparent 0.1em, transparent 0.4em);
min-height: 15em;
font-size: 1.25em;
line-height: 1.5em;
padding: 0.75em;
outline: 0;
color: inherit;
&.short {
min-height: 10em;
}
9 years ago
}
.textarea, .workshop-description {
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
p {
font-size: 1.125em;
}
h1 {
font-size: 1.667em;
}
h2 {
font-size: 1.25em;
}
}
input {
&[type="text"], &[type="password"], &[type="tel"], &[type="search"], &[type="email"], &[type="url"], &[type="number"] {
display: block;
font-size: 1.25em;
outline: 0;
border: 0;
margin: 1em 0;
width: 100%;
padding: 0.25em 0.5em;
border-bottom: 0.15em solid transparent;
}
&[type="number"], &[type="tel"] {
@include font-family(secondary);
}
}
.multi-field {
margin-bottom: 4em;
}
.number-field,
.email-field,
.search-field,
.telephone-field,
.password-field,
.text-field {
position: relative;
margin-bottom: 2em;
color: inherit;
&.empty {
label {
z-index: $zindex-base + 3;
@include _(transform, translateY(-100%) scale(1));
background-color: transparent;
color: #666;
}
}
&.big input {
@include font-family(secondary);
.composition & {
margin-top: 1em;
}
}
label,
&.focused label {
position: absolute;
z-index: $zindex-base + 3;
font-size: 1em;
padding: 0.25em 0.667em;
width: auto;
@include _(transition, 'transform 250ms ease-in-out, color 250ms ease-in-out, background-color 250ms ease-in-out');
top: 100%;
left: 0;
@include _(transform, translateY(0) scale(0.75));
@include _(transform-origin, 0 0);
line-height: 1.5em;
background-color: transparent;
color: $black;
cursor: text;
will-change: transform, color, background-color;
}
input {
margin: 0;
position: relative;
z-index: $zindex-base + 2;
padding: 0.15em 0.5em;
background-color: $extra-light-gray;
@include _(border-radius, 0.25rem);
@include _(box-shadow, 0 0 0 0 rgba(0,0,0,0.05));
@include _(transition, box-shadow 200ms ease-in-out);
background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 0.1rem, transparent 0.1rem, transparent 0.4rem);
border: 0.1rem solid $gray;
will-change: box-shadow;
}
&:focus, &:active, &:focus {
label {
color: $black;
}
}
input {
&:focus, &:active, &:hover {
@include _(box-shadow, 0 0 0 0.3em rgba(0,0,0,0.05));
}
&[readonly] {
@include _(box-shadow, none);
@include _(opacity, 0.75);
}
}
9 years ago
}
.number-field,
.email-field,
.password-field,
.telephone-field,
.search-field,
.text-field,
.text-area-field {
text-align: left;
}
9 years ago
.text-area-field {
clear: both;
}
.telephone-field {
max-width: 15em;
}
.file-field {
label {
display: inline-block;
cursor: pointer;
}
.file-field-selector {
display: block;
text-align: right;
padding: 0.5em;
background-color: $extra-light-gray;
@include _(border-radius, 0.25rem);
@include _(box-shadow, 0 0 0 0 rgba(0,0,0,0.05));
@include _(transition, box-shadow 200ms ease-in-out);
background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 0.1rem, transparent 0.1rem, transparent 0.4rem);
border: 0.1rem solid $gray;
will-change: box-shadow;
.file-field-name {
display: inline-block;
padding: 0.25em 0.5em;
}
.unselected {
color: $mid-gray;
}
.button {
vertical-align: middle;
margin-left: 1em;
}
img {
display: none;
max-width: 100%;
margin-bottom: 1em;
&[src] {
display: block;
}
&.changed {
opacity: 0.5;
}
}
}
label:hover, input:focus + label, input:active + label, label:focus, label:active {
.file-field-selector {
@include _(box-shadow, 0 0 0 0.3em rgba(0,0,0,0.05));
}
}
}
9 years ago
@include keyframes(bend) {
to {
@include _(transform, skewX(-5deg));
}
9 years ago
}
.hidden {
display: none !important;
}
.field-error {
display: block;
background-color: rgba($colour-2, 0.333);
@include font-family(secondary);
padding: 0.5em 1em;
margin: 0 0.2em;
text-align: center;
@include default-box-shadow(top, 2);
}
9 years ago
.input-field {
.field-error {
float: right;
@include _(transform, skewX(-15deg));
@include _(transform-origin, 0 100%);
@include _(animation, bend ease-in-out 500ms infinite alternate both);
}
&.check-box-field {
&.has-error {
margin-top: 3em;
}
.field-error {
position: absolute;
bottom: 100%;
right: 0;
margin-right: 0;
}
}
&.small select,
&.small input {
font-size: 1em;
@include font-family(secondary)
}
}
.input-field.other-field label {
input {
float: left;
margin: 0.33em 0;
&:checked {
+ div input {
z-index: $zindex-base + 2;
@include _(opacity, 1);
}
}
}
div {
float: left;
position: relative;
margin: 0 0.25em;
font-size: 1em;
input {
//display: none;
@include _(opacity, 0);
@include _(transition, opacity 250ms ease-in-out);
z-index: $zindex-base;
position: absolute;
width: auto;
margin: 0;
border: 1px solid #CCC;
height: 1.5em;
left: 0;
top: 0;
}
}
}
.number-field {
display: inline-block;
font-size: 1.5em;
input {
text-align: right;
}
}
.input-field-help {
margin: 0.5em 1em;
line-height: 1.3333em;
font-size: 1.125em;
}
.check-box-field,
9 years ago
.check-box-field.vertical,
.radio-button-field {
@include clearfix;
margin-bottom: 3em;
position: relative;
@include default-box-shadow(top);
td &,
.table-td & {
@include _(box-shadow, none);
margin: 0;
}
label {
display: block;
background-color: #FFF;
height: 2.333em;
font-weight: normal;
font-size: 1.25em;
@include font-family(secondary);
text-align: center;
position: relative;
padding: 0.5em 0.5em 0.5em 3em;
cursor: pointer;
border: 0.1em solid;
border-top: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
@include _(transition, #{'transform, background-color 100ms, 100ms ease-in-out, ease-in-out'});
@include before-and-after {
content: '';
position: absolute;
@include _(transition, transform 200ms ease-in-out);
}
@include before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 2.333em;
height: 100%;
border-right: inherit;
}
@include after {
content: '';
position: absolute;
visibility: hidden;
left: 0.75em;
top: 0.25em;
border: 0.2em solid #FFF;
width: 0.75em;
height: 1.5em;
border-width: 0 .2em 0.2em 0;
@include _(transform, rotate(45deg) scale(0));
@include _(transition, transform 200ms cubic-bezier(0, 0.38, 0.9, 2));
}
}
input:first-child + label {
border: 0.1em solid;
}
input {
position: fixed;
opacity: 0 !important;
left: -100000px;
z-index: -10;
&:checked + label {
@include before {
background-color: $colour-5;
}
@include after {
visibility: visible;
@include _(transform, rotate(45deg) scale(1));
}
}
&:hover + label {
@include before {
background-color: $colour-3;
}
}
&[type="radio"] + label {
@include after {
content: '+';
border: 0;
font-size: 2.5em;
top: -0.125em;
left: 0.075em;
line-height: 1em;
color: #FFF;
height: 1em;
width: 1em;
}
}
}
&.inline input[type="radio"] + label {
@include after {
top: -0.15em;
left: 0.05em;
}
}
.other {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 2.333em;
input {
z-index: 1;
opacity: 1!important;
position: static;
margin: 0;
font: inherit;
height: 100%;
text-align: inherit;
cursor: inherit;
}
}
}
9 years ago
.check-box-field.vertical {
display: block;
margin: 0 2em 5em;
font-size: 0.75em;
input[type="radio"] + label {
@include after {
top: -0.15em;
left: 0.05em;
}
}
9 years ago
}
.check-box-field.inline {
display: inline-block;
label {
min-width: 7.5em;
}
}
.check-box-field.small {
font-size: 0.75em;
&.small label {
font-size: 1.125em;
}
}
.check-box-field.big {
font-size: 1em;
}
.requesting {
opacity: 0.5;
-webkit-filter: blur(5px);
}
form {
@include _(transition, 'opacity 250ms ease-in-out, filter 250ms ease-in-out, -webkit-filter 250ms ease-in-out');
&.composition {
textarea {
height: 16em;
}
}
&.mini-flex-form {
@include _-(display, flex);
@include _(align-items, flex-start);
.input-field {
@include _(flex, 1);
}
button, .button {
margin-left: 1em;
height: 2.6em;
}
}
button[value="upload"] {
display: none;
&[data-enabled="1"] {
display: inline-block;
}
}
#main .columns &.inline {
display: inline-block;
margin: 0;
}
&.right {
float: right;
}
}
#main .columns th form {
display: inline;
vertical-align: super;
margin: 0 0 0 0.5em;
button {
float: right;
}
}
#main .columns th.form,
#main .columns .table-th.form {
display: none;
}
#main .columns td.form,
#main .columns .table-td.form {
border: 0;
width: 1px;
form {
margin: 0;
}
button, .button {
display: block;
width: 100%;
white-space: nowrap;
+ button {
margin-top: 0.5em;
}
}
}
fieldset {
margin: 0;
padding: 0;
border: 0;
&.centered {
margin-top: 3em;
}
&.right-help {
text-align: center;
.input-field {
margin: 0;
}
+ .input-field-help {
overflow: auto;
margin-bottom: 2em;
}
}
&.inline {
display: inline-block;
}
&.inline-label {
legend {
display: inline-block;
}
}
.field-error {
color: $red;
background-color: transparent;
@include _(box-shadow, none);
}
}
.fieldgroup {
@include _(align-items, flex-end);
@include _(flex-wrap, wrap);
margin: 0 0 3em 1em;
> .input-field {
margin-right: 1em;
@include _(flex, 1);
}
}
#main article fieldset.translator {
.fieldgroup {
display: block;
> .input-field {
flex: none;
}
}
.locale-select, .text-editors {
list-style: none;
padding: 0;
margin: 0;
clear: left;
}
.locale-select {
@include _-(display, flex);
@include _(flex-wrap, wrap);
margin: 0 0.5em;
text-align: center;
border: 0.1em solid $gray;
border-bottom: 0;
@include default-box-shadow(top, 2);
li {
@include _(flex, 1);
position: relative;
margin: 0;
&:hover {
background-color: $light-gray;
color: $black;
}
&.selected {
background-color: $gray;
z-index: 1;
}
}
a {
display: block;
@include font-family(secondary);
color: inherit;
padding: 0.25em 0.75em;
@include after {
display: none;
}
}
}
.text-editors {
position: relative;
background-color: $white;
li[data-locale] {
display: none;
&.selected {
display: block;
}
}
}
&.multi-field-translator {
.text-editors {
border: 0.1em solid $gray;
padding: 1em 1em 0;
@include default-box-shadow(top, 2);
}
}
.textarea {
margin-top: 0;
}
}
.view-object {
margin-bottom: 3em;
}
9 years ago
.comments {
list-style: none;
.comment {
position: relative;
border: 0.1rem solid $light-gray;
border-radius: 0.25rem;
padding: 1em;
margin-top: 2em;
}
.comment-body {
font-size: 0.9em;
}
.comment-title {
position: absolute;
top: -0.75em;
left: 0.5em;
margin: 0;
padding: 0 0.5em;
background-color: #FFF;
}
time {
position: absolute;
top: -0.75em;
right: 0.75em;
background-color: #FFF;
padding: 0 0.5em;
}
.sub-comment {
font-size: 0.8em;
.comment-title, time {
top: -1em;
}
}
.text-area-field {
overflow: hidden;
max-height: 0;
padding: 0.3em;
@include _(transition, max-height 150ms ease-in-out);
}
#main .columns & form {
margin-top: 0;
button {
@include _(transition, background-color 150ms ease-in-out);
background-color: #888;
}
&.open {
@include _(opacity, 1);
.text-area-field {
max-height: 12em;
}
button {
background-color: $colour-5;
}
}
}
button {
margin: 0;
}
9 years ago
}
#comments {
textarea {
font-size: 1.25em;
min-height: 7.5em;
}
9 years ago
.actions {
margin: 0;
9 years ago
button {
margin: 0;
}
}
9 years ago
}
9 years ago
.flex-form, .flex-column {
button, .button {
width: 100%;
text-align: center;
+ button, + .button {
margin-top: 0.75em;
}
}
&.address-form {
.city {
@include _(align-self, flex-end);
@include font-family(secondary);
text-align: right;
margin-bottom: 2.5em;
}
}
9 years ago
}
.flex-inputs {
@include _-(display, flex);
@include _(align-items, flex-end);
@include _(flex-wrap, wrap);
@include _(justify-content, flex-end);
margin-bottom: 2em;
.input-field {
margin: 0 0.5em;
}
.stretch-item {
@include _(flex, 1);
@include _(flex-basis, 100%);
select {
width: 100%;
}
}
}
9 years ago
ul.warnings {
list-style: none;
padding: 0;
9 years ago
}
.warning-info,
.info-message {
position: relative;
min-height: 4em;
border: 0.2em solid rgba(0, 0, 0, 0.1);
background-color: rgba($colour-3, 0.333);
padding: 1em 1em 1em 4em;
@include font-family(secondary);
text-align: left;
margin: 1em;
width: auto;
@include default-box-shadow(top, 2);
@include before {
content: '!';
display: block;
position: absolute;
top: 0.5em;
left: 0.5em;
width: 1.5em;
height: 1.5em;
background-color: $black;
color: $white;
text-align: center;
line-height: 1.5em;
font-size: 1.5em;
background-color: $colour-3;
@include _(border-radius, 50%);
@include default-box-shadow(top, 2);
}
&.make-room {
margin-bottom: 2em;
}
.text-field & {
margin: 0 0 1em 0;
}
}
.success-info {
background-color: rgba($colour-5, 0.333);
@include before {
background-color: $colour-5;
}
}
.error-info {
background-color: rgba($red, 0.333);
@include before {
background-color: $red;
}
}
.info-messages {
text-align: center;
.info-message {
display: inline-block;
}
}
9 years ago
.warning-info {
display: inline-block;
margin: 0;
vertical-align: bottom;
}
::-webkit-resizer {
visibility: hidden;
cursor: nw-resize;
}
@include selection {
background-color: rgba($colour-2, 0.75);
color: rgba($white, 0.75);
}
#main-nav {
overflow: hidden;
@include font-family(secondary);
.nav {
position: fixed;
z-index: 100;
bottom: 0;
left: 0;
right: 0;
padding: 0;
font-size: 6vw;
background-color: #FFF;
@include _-(display, flex);
@include _(box-shadow, 0 0 2em -0.5em rgba(0, 0, 0, 0.5));
a.policy {
background-color: $colour-5;
}
a.about {
background-color: $colour-3;
}
a.conferences {
background-color: $colour-2;
}
a {
display: inline-block;
8 years ago
width: 33.333%;
float: left;
@include _(flex, 1);
text-align: center;
padding: 0;
margin: 0;
font-weight: normal;
padding: 0.5em 0;
color: #FFF;
@include _(border-radius, 0);
@include _(box-shadow, inset 0 0 1.5em 0.25em rgba(0, 0, 0, 0.125));
@include _(text-shadow, 0 0 0.25em rgba(0,0,0,0.5));
@include after {
display: none;
}
.title {
font-size: 0.8em;
}
}
body.error-locale-not-available & {
display: none;
}
}
.logo {
font-size: 5em;
}
.locale-nav {
text-align: center;
}
.locales {
list-style: none;
padding: 0;
text-transform: uppercase;
line-height: 1.5em;
font-size: 1em;
a {
color: inherit;
padding: 0 0.333em;
display: inline-block;
&:hover {
@include after {
display: none;
}
}
}
li {
border: 0.1em solid transparent;
margin-bottom: 0.25em;
display: inline-block;
&.current {
border-color: #CCC;
background-color: $extra-light-gray;
}
&:hover {
border-color: $light-gray;
}
}
}
9 years ago
}
.clearfix {
@include clearfix;
}
.flow-steps {
width: 100%;
list-style: none;
text-align: center;
font-size: 0.85em;
@include font-family(secondary);
ul {
@if not capable_of(flexbox, true) {
display: table;
width: 100%;
}
@if capable_of(flexbox, true) {
@include _-(display, flex);
}
list-style: none;
margin: 2em 2em 5em 0;
padding: 0;
}
li {
position: relative;
@if not capable_of(flexbox, true) {
display: table-cell;
}
@if capable_of(flexbox, true) {
@include _(flex, 1);
}
padding-top: 1.5em;
@include after {
content: '';
position: absolute;
top: 0;
left: -50%;
width: 100%;
@include _(opacity, 0.5);
border-top: 0.25em dashed #CCC;
}
&:first-child {
@include after {
left: 0;
width: 50%;
}
}
&.enabled {
@include after {
border-color: $colour-1;
border-color: rgba($colour-1, 0.5);
}
&.post {
@include after {
border-color: $colour-1;
border-color: rgba($colour-5, 0.5);
}
}
}
@include before {
content: '';
position: absolute;
background-color: #CCC;
@include _(box-shadow, 0 0 0.25rem #CCC);
font-size: 1.3em;
top: -0.2em;
width: 0.55em;
height: 0.55em;
left: 0;
right: 0;
margin: auto;
z-index: 1;
@include _(border-radius, 50%);
}
&.enabled {
@include after {
border-top-style: solid;
}
@include before {
background-color: $colour-1;
@include _(box-shadow, 0 0 0.25rem $colour-1);
}
&.post {
@include before {
background-color: $colour-5;
@include _(box-shadow, 0 0 0.25rem $colour-5);
}
}
&.current {
@include before {
top: -0.25em;
font-size: 3em;
background-color: $white;
border: 0.075em solid $colour-1;
}
&.post {
@include before {
border-color: $colour-5;
}
}
}
}
}
.step {
color: #CCC;
position: absolute;
@include _(transform-origin, 10% 60%);
@include _(transform, rotate(45deg));
text-align: left;
top: 0.5em;
left: 50%;
line-height: 1.2em;
}
a {
position: static;
color: inherit;
@include _(color, 0.5);
@include _(transition, color 150ms ease-in-out);
@include before {
content: '';
position: absolute;
top: -1em;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}
@include after {
display: none;
}
}
.current .step {
@include _(transform-origin, 10% 100%);
}
.current .step,
a:hover,
a:focus {
color: $black;
}
}
.link-dump {
a {
margin: 0.25em;
}
}
.details {
display: table;
width: 100%;
&.inline {
width: auto;
}
}
.details.org-members {
padding: 1em;
border: 0.1rem solid $light-gray;
border-bottom: 0;
}
#schedule-preview {
overflow: auto;
}
table.schedule {
width: 100%;
margin: 0 0 1em;
tbody {
border: 0.1rem solid $light-gray;
th {
white-space: nowrap;
text-align: right;
}
}
&.locations-1 td.workshop.filled {
width: 100%;
}
&.locations-2 td.workshop.filled {
width: 50%;
}
&.locations-3 td.workshop.filled {
width: 33.333%;
}
&.locations-4 td.workshop.filled {
width: 25%;
}
&.locations-5 td.workshop.filled {
width: 20%;
}
&.locations-6 td.workshop.filled {
width: 16.66667%;
}
td {
text-align: center;
border: 0;
background-color: $extra-light-gray;
&.workshop {
&.filled {
background-color: lighten($colour-1, 25%);
border: 0.1rem solid $light-gray;
}
&.open {
#admin-schedule & {
background-color: lighten($colour-1, 40%);
cursor: pointer;
white-space: nowrap;
border: 0.1rem solid $light-gray;
&:hover {
background-color: lighten($colour-1, 25%);
}
}
}
}
&.event {
background-color: lighten($colour-2, 25%);
border: 0.1rem solid $light-gray;
}
&.meal {
background-color: lighten($colour-3, 25%);
border: 0.1rem solid $light-gray;
}
.title {
@include font-family(secondary);
}
.event-detail-link {
display: inline-block;
display: inline-flex;
position: relative;
height: 100%;
width: 100%;
color: inherit;
align-items: center;
@include after {
display: none;
}
.details {
flex: 1;
}
}
.status {
display: inline-block;
text-align: left;
float: right;
font-size: 0.9em;
margin-top: 0.5em;
}
.conflict-score {
text-align: right;
.title {
@include font-family(secondary);
}
}
.errors {
position: relative;
border-top: 0.1rem solid #666;
margin-top: 0.5em;
padding-top: 0.25em;
@include before {
content: '!';
display: inline-block;
position: absolute;
z-index: 1;
top: 0;
left: -1.2em;
width: 1em;
color: $white;
@include font-family(secondary);
}
@include after {
content: '';
position: absolute;
top: 0.1em;
left: -1.333em;
width: 0;
height: 0;
font-size: 1.25em;
border: 0.5em solid;
border-left-color: transparent;
border-right-color: transparent;
border-width: 0 0.5em 0.75em;
color: darken($colour-2, 25%);
}
}
#main .columns & form {
margin-top: 0;
button {
margin-top: 0.5em;
float: left;
z-index: 1;
}
}
}
}
body.home table.schedule td .event-detail-link:hover {
outline: 0.33rem solid #02CA9E;
outline-offset: 0.25rem;
z-index: 1;
}
.event-dlg {
@include _-(flex, 0);
position: relative;
z-index: 1000;
background-color: $white;
text-align: left;
padding: 2em 2em 0.5em;
min-width: 100%;
max-height: 100%;
overflow: auto;
margin: auto;
@include _(opacity, 0);
@include _(transition, opacity 150ms ease-in-out);
@include default-box-shadow(top, 2);
.actions {
margin: 2em 0 0;
}
&.open {
@include _(opacity, 1);
}
}
.event-details {
.title {
margin: 0 0 0.5em;
}
.address {
text-align: center;
}
}
#main {
position: relative;
background-color: $white;
padding-bottom: rems(2);
@include _(flex, 1);
article {
padding: rems(2.5) 0;
margin: 0 1em;
ul {
font-size: 1.125em;
line-height: 1.5em;
}
li {
margin-bottom: 0.5em;
}
}
.featured-image-container {
@include _-(display, flex);
@include _(flex-wrap, wrap);
figure {
@include _(order, 1);
width: 100%;
height: 12em;
margin: 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
ul {
clear: left;
}
}
}
a.logo {
display: inline-block;
font-size: rems(5);
text-decoration: none;
padding: 0.1em;
border: 0;
float: left;
overflow: auto;
@include clearfix;
&:hover,
&:active,
&:focus {
@include after {
display: none;
}
}
}
@if capable_of(svg) {
@include keyframes(active-logo) {
0% { fill: $colour-1; }
15% { fill: $colour-5; }
30% { fill: $colour-3; }
45% { fill: $colour-4; }
60% { fill: $colour-2; }
}
svg.bb-icon-logo {
fill: $colour-1;
}
svg.bb-icon-logo-text {
fill: $black;
}
.logo:hover svg.bb-icon-logo {
@include _(animation, active-logo 4s infinite);
}
}
.logo .icons {
display: inline-block;
height: 1em;
width: 1em;
float: left;
}
#banner {
clear: left;
float: none;
margin: 1em auto 0;
text-align: center;
9 years ago
figure {
position: relative;
width: 100%;
max-width: rems(60);
margin: 0;
}
img {
width: 100%;
}
}
.conference-banner {
text-align: center;
padding: 0;
8 years ago
margin: 0;
9 years ago
.title {
font-size: 5vw;
8 years ago
margin: 1em auto 0;
9 years ago
h1, h2 {
margin: 0;
}
9 years ago
h2 {
font-size: 1.15em;
}
}
.secondary {
font-size: 0.85em;
line-height: 2em;
}
img {
max-width: 100%;
8 years ago
margin-top: 2em;
}
}
.conference-details {
.links {
text-align: center;
margin-bottom: 2em;
.button {
margin: 0 0.25em 0.5em;
vertical-align: middle;
}
.register {
font-size: 1.5em;
}
}
}
$header-tilt: 8deg;
#header-title {
font-size: 2.25vw;
background-size: cover;
background-position: 50% 20%;
background-repeat: no-repeat;
background-color: $colour-1;
color: $light-gray;
overflow: hidden;
position: relative;
z-index: $zindex-base;
.row, .columns {
position: static;
}
rect {
fill: $colour-1;
}
.cover {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $zindex-base;
background-size: inherit;
background-position: inherit;
}
@if capable_of(css-mixblendmode) {
position: relative;
.cover {
-webkit-filter: saturate(25%);
filter: saturate(25%);
@include _(mix-blend-mode, multiply);
}
}
&.no-image,
&.short {
h1 {
text-align: center;
font-size: 3.5em;
margin: 1.75em 0 .75em;
position: relative;
z-index: $zindex-base + 2;
@include _(text-shadow, 0 0 0.15em #000);
}
}
&.map {
background-position: 0 0;
background-repeat: repeat;
background-size: 30px 30px;
@include _(animation, barberpole 500ms linear infinite);
background-image: linear-gradient(
45deg,
rgba($white, 0.1) 25%,
transparent 25%,
transparent 50%,
rgba($white, 0.1) 50%,
rgba($white, 0.1) 75%,
transparent 75%,
transparent
);
svg {
vertical-align: middle;
background-color: transparent;
width: 100%;
@include _(transition, background-color 1s ease-in-out);
&.loaded {
background-color: $colour-1;
}
}
.country {
fill: $colour-5;
stroke: rgba($black, 0.02);
stroke-width: 1px;
}
.cities {
fill: $colour-4;
opacity: 0.75;
.city {
opacity: 0.9;
cursor: pointer;
@include _(animation, fade-out ease-in-out 3s infinite alternate both);
&:hover {
fill: $colour-3;
stroke: rgba($white, 0.125);
stroke-width: 6px;
}
}
&.annual-conferences {
fill: $colour-2;
}
}
#tooltip {
position: absolute;
left: 0;
bottom: 0;
right: 0;
opacity: 0;
background-color: rgba($black, 0.25);
padding: 0.5em 0;
pointer-events: none;
text-shadow: 0 0 0.5em $black;
@include _(transition, opacity 250ms ease-in-out);
&.open {
opacity: 1;
}
h3 {
margin: 0;
padding-right: 0.5em;
}
.conference-details {
margin: 0.25em 0;
div {
display: inline-block;
@include after {
content: '|';
margin: 0 0.75em;
}
&:last-child {
@include after {
display: none;
}
}
}
}
}
}
.title {
position: relative;
padding: 1%;
overflow: hidden;
text-align: center;
@include _(text-shadow, 0 0.2em 0.5em rgba(32, 32, 32, 0.5))
}
.background {
position: absolute;
@include _(transform, rotate($header-tilt));
color: $colour-1;
@include _(opacity, 0.65);
margin: -4% -2%;
@if capable_of(calc) {
font-size: calc(5vw + #{rems(7)});
} @else {
font-size: rems(11);
}
display: none;
}
.details {
position: relative;
display: inline-block;
color: $white;
@include _(text-shadow, 0 0.2em 0.5em rgba(32, 32, 32, 0.75));
}
.primary {
font-size: 2.5em;
margin: 0;
}
.secondary {
font-size: 1.5em;
}
body.error-locale-not-available & {
background-color: $colour-5;
}
body.error-500 & {
background-position: 50% 50%;
background-color: $colour-2;
}
body.error-403 & {
background-position: 50% 33%;
}
body.admin & {
background-color: $colour-4;
}
body.banner-bottom & {
background-position: center bottom;
}
}
#footer {
padding: 1em;
footer {
@include _-(display, flex);
@include _(flex-flow, row wrap);
@include _(align-items, flex-end);
font-size: 4.1vw;
}
.site-info, .user-controls, .external {
width: 100%;
text-align: center;
a {
text-align: right;
white-space: nowrap;
color: #666;
}
}
.external {
margin-bottom: 1em;
}
.my-account {
margin-right: 0.5em;
}
.logout {
margin-left: 0.5em;
}
.contact-us {
line-height: 2.5em;
}
.facebook {
a {
&:hover, &:active, &:focus {
svg {
fill: #3B579D;
}
}
}
}
.github, .facebook {
display: inline-block;
margin: 0.5em;
a {
@include after {
display: none;
}
svg {
@include _(transition, fill 250ms ease-in-out);
}
}
.icons {
width: 1.5em;
height: 1.5em;
fill: $black;
vertical-align: middle;
}
}
.github {
a {
@include after {
display: none;
}
}
&:hover .icons {
fill: #4183C4;
}
}
ul.locales {
@include _(flex, 1);
@include _(flex-basis, 100%);
padding: 0;
margin: 1em 0;
list-style: none;
text-align: center;
}
body.error-locale-not-available & {
.github, .facebook, .locales {
visibility: hidden;
}
}
9 years ago
}
body.error-locale-not-available {
.locales {
list-style: none;
padding: 0;
text-align: center;
li {
margin-bottom: 1em;
}
}
}
body {
#primary-content {
@include _(transition, 'filter 250ms ease-in-out, -webkit-filter 250ms ease-in-out');
8 years ago
@if capable_of(flexbox, true) {
display: -webkit-flex;
flex-direction: column;
}
min-height: 100vh;
overflow: hidden;
}
&.has-overlay {
overflow: hidden;
#primary-content {
-webkit-filter: blur(5px);
@include _(filter, blur(5px));
}
#overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
cursor: pointer;
z-index: 1000;
}
}
}
#content-overlay {
display: none;
body.has-overlay & {
display: block;
}
body.has-overlay.is-event-dlg & {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
@include _-(display, flex);
}
.dlg {
@include before {
content: '';
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba($black, 0);
@include _(transition, background-color 250ms ease-in-out);
}
&.open {
@include before {
background-color: rgba($black, 0.5);
}
.dlg-content {
@include _(transform, rotateZ(0deg));
}
}
}
.dlg-content {
position: fixed;
right: 0;
bottom: 0;
left: 0;
max-width: 50rem;
max-height: 100%;
font-size: 0.9em;
overflow-y: auto;
margin: auto;
z-index: 1001;
background-color: $white;
text-align: center;
@include _(transition, transform 500ms ease-in-out);
@include _(transform, rotateX(-90deg));
@include _(transform-origin, center 250%);
}
.dlg {
.title {
padding: 0.5em;
background-color: $colour-5;
color: $white;
@include _(text-stroke, 1px rgba(0, 0, 0, 0.25));
}
}
button, .button {
margin: 0 0.25em 0.5em;
}
.dlg-inner {
padding: 0 2em 2em;
}
.message {
margin-bottom: 2em;
}
#info-dlg .title {
background-color: $colour-1;
font-size: 1.5em;
text-align: left;
}
#info-dlg .message {
text-align: left;
p, h4 {
font-size: 0.8em;
}
h3 {
font-size: 1em;
}
h5 {
font-size: 0.667em;
}
h6 {
font-size: 0.8em;
}
}
#login-dlg .title {
font-size: 2em;
margin-bottom: 1em;
}
#contact-dlg {
.title {
background-color: $colour-4;
}
.email-field {
margin-top: 2em;
}
textarea {
min-height: 7.5em;
}
}
}
@include keyframes(fade-out) {
to {
@include _(opacity, 0.6667);
}
}
@include keyframes(barberpole) {
to { background-position: 60px 30px; }
}
html :focus {
outline: 0;
}
@mixin header-colour($page, $colour) {
body.#{$page} {
#header-title {
background-color: $colour;
}
}
}
9 years ago
@include header-colour(about, $colour-3);
@include header-colour(policy, $colour-5);
#main .graded-options {
text-align: center;
button {
background-color: $colour-4;
@include font-family(secondary);
margin-top: 1em;
margin-bottom: 1em;
&.option-1 {
background-color: $colour-3;
}
&:last-child {
background-color: $colour-5;
}
}
&.option-count-4 button.option-3,
&.option-count-5 button.option-4 {
background-color: mix($colour-3, $colour-5);
}
&.option-count-5 {
button.option-2 {
background-color: mix($colour-3, $colour-4);
}
}
}
9 years ago
#main .skip {
button {
background-color: #888;
}
}
9 years ago
#main form.custom-payment {
9 years ago
input[type="number"] {
width: 4em;
margin-right: 0.5em;
}
9 years ago
button {
background-color: $colour-1;
}
9 years ago
.currency {
color: #888;
font-size: 1.5em;
}
.number-field {
margin-bottom: 0;
}
}
.conferences-register #main article .policy-agreement {
ul {
padding: 0;
list-style: none;
}
.term {
display: block;
font-style: italic;
overflow: auto;
padding: 0.5em;
border-bottom: 0.1em solid rgba(51, 51, 51, 0.125);
font-family: inherit;
}
li {
margin-bottom: 0;
&:last-child .term {
border: 0;
}
}
input {
width: 1.1em;
height: 1.1em;
margin-top: 0.75em;
margin-left: 0.5em;
float: right;
cursor: pointer;
&:hover + .term {
background-color: rgba($colour-3, 0.25);
}
&:checked + .term {
font-style: normal;
background-color: rgba($colour-5, 0.125);
}
}
}
9 years ago
body.policy .policy-agreement ul {
padding: 0 1.5em 0;
}
9 years ago
.facilitators {
display: inline-block;
.facilitator {
margin: 0 0 0.5em 0.5em;
padding: 1.5em 0.5em 0.5em;
border-top: 0.1em solid #CCC;
&:first-child {
border: 0;
padding-top: 0;
}
}
.name {
position: relative;
font-weight: bold;
}
.details {
margin-top: 0.5em;
}
.email {
margin-bottom: 0.5em;
}
.name, .role {
display: inline;
}
.role {
color: #666;
white-space: nowrap;
@include before {
content: '(';
}
@include after {
content: ')';
}
&:last-child {
@include after {
content: ')';
}
}
}
}
.list-view {
ul {
list-style: none;
padding: 0;
&.break {
border-top: 0.25em solid $light-gray;
margin-top: 2em;
padding-top: 1em;
}
}
li {
box-shadow: 0 0.15em 0 -0.1em $light-gray;
&:last-child {
box-shadow: 0 0.333em 0 -0.1em $light-gray;
}
> div {
vertical-align: top;
margin-top: 2em;
h3, p:first-child {
margin-top: 0;
}
&:first-child {
padding-right: 1em;
}
}
}
.info {
.title {
margin: 0 0 0.5em;
}
.conference-details {
margin-bottom: 1em;
}
}
.img {
text-align: center;
img {
max-width: 100%;
}
}
.actions {
margin: 1em 0;
}
}
9 years ago
.workshop-notes {
p {
font-size: 1em;
}
}
8 years ago
.major-group {
border-bottom: 0.333em solid $light-gray;
padding-bottom: 2em;
margin-bottom: 1em;
8 years ago
&:last-child {
border-bottom: 0;
}
8 years ago
}
#main .workshop-list {
list-style: none;
padding: 0;
.workshop-description {
font-size: 0.9em;
max-height: 20em;
padding: 1em;
overflow: hidden;
}
> li {
position: relative;
margin-bottom: 1em;
border-bottom: 0.1rem solid $light-gray;
ul {
padding-left: 2.5em;
margin-bottom: 1.5em;
}
li {
border: 0;
}
&:last-child {
border: 0;
}
}
.actions {
position: relative;
margin: 0 0 1em;
@include _(box-shadow, 0 -1em 1em $white);
}
.title {
margin: 0;
}
p {
font-size: 1em;
}
h5, h6 {
margin: 1em 0 0;
}
}
.interest-button {
button {
margin: 0 0 0 1em;
font-size: 0.8em;
padding-top: 0.333em;
padding-bottom: 0.333em;
background-color: $colour-5;
}
}
#main .workshop-interest, .workshop-interest {
text-align: right;
form {
display: inline;
}
button {
font-size: 0.9em;
margin: 1em;
background-color: $colour-5;
vertical-align: middle;
&.delete {
background-color: $colour-4;
}
}
}
.original-text {
margin: 0 0 1em 1em;
.value {
border: 0.1em solid #DDD;
padding: 1em;
margin: 1em 0 3em 0;
background-color: $extra-light-gray;
@include _(border-radius, 0.25em);
}
h4, h5, h6 {
margin: 0;
}
h5 {
font-size: 1em;
}
h6 {
font-size: 0.9em;
}
p {
margin: 0.5em 0;
font-size: 0.9em;
}
}
.facilitator .button {
font-size: 0.9em;
vertical-align: -0.75em;
}
#main form.add-facilitator {
button {
height: 2.4em;
font-size: 0.9em;
}
}
.select-field {
line-height: 1.75em;
position: relative;
select {
display: block;
width: 100%;
height: 1.75em;
font-family: inherit;
font-size: 1.5em;
padding: 0 0.5em;
border: 0.1em solid;
cursor: pointer;
@include default-box-shadow(top, 1.5, false);
td &,
.table-td & {
@include _(box-shadow, none);
}
}
@if capable_of(pointer-events) {
label {
@include after {
content: '';
position: absolute;
display: block;
border: 0.1em solid;
width: 1.75em;
height: 1.75em;
background-color: $colour-5;
font-size: 1.5em;
z-index: 1;
right: 0em;
bottom: 0em;
pointer-events: none;
}
@include before {
content: '';
position: absolute;
display: block;
@include _(transform, rotate(-45deg));
border: 0 solid $white;
border-width: 0 0 0.25em 0.25em;
width: 1em;
height: 1em;
right: 0.75em;
bottom: 1em;
z-index: 2;
pointer-events: none;
}
}
&:hover label {
@include after {
background-color: $colour-3;
}
}
select {
padding-right: 2.25em;
-webkit-appearance: none;
@include _(appearance, none);
}
&.small label {
@include after {
font-size: 1em;
}
@include before {
font-size: 0.725em;
}
}
}
&.full select {
width: 100%;
margin-bottom: 2em;
}
&.inline-label {
display: inline-block;
label {
float: left;
margin-right: 0.5em;
}
}
}
.toggleable {
@include _(transition, 'transform 250ms ease-in-out, max-height 250ms ease-in-out, visibility 0s linear 250ms');
@include _(transform, scaleY(0));
@include _(transform-origin, 0 0);
max-height: 0;
visibility: hidden;
&.open {
@include _(transition, 'transform 250ms ease-in-out, max-height 250ms ease-in-out');
max-height: 100em;
visibility: visible;
@include _(transform, scaleX(1));
}
}
@include breakpoint(medium) {
:focus,
input[type="submit"]:focus,
.check-box-field input:focus + label,
.radio-button-field input:focus + label,
.select-field select:focus,
.workshop-link:focus .title,
#main-nav .nav a:focus .title {
html[data-input="kb"] & {
outline: 0.25rem solid rgba($colour-2, 0.5);
outline-offset: 0.2rem;
z-index: 1;
}
}
html[data-input="kb"] {
#main-nav .logo:focus {
outline-offset: -0.2em;
}
.workshop-link:focus,
#main-nav .nav a:focus {
outline: none;
}
}
body {
padding-bottom: 0;
}
h2 {
font-size: 2.25em;
}
h3, legend {
font-size: 1.75em;
}
p {
font-size: 1.25em;
&.small {
font-size: 1.125em;
}
}
fieldset {
&.right-help {
float: left;
text-align: left;
margin-right: 1.5em;
}
}
form {
&.flex-form {
@include _-(display, flex);
@include _(align-items, flex-start);
.input-field {
@include _(flex, 1);
}
button, .button {
margin-left: 1em;
height: 2.6em;
+ button, + .button {
margin-top: 0;
margin-left: 0.75em;
}
}
}
}
.input-field {
&.big select,
&.big input {
font-size: 2em;
}
}
.multi-field {
display: table;
width: 100%;
.input-field {
display: table-cell;
padding-right: 1em;
&:last-child {
padding-right: 0;
}
}
}
.flex-column {
@include _-(display, flex);
@include _(align-items, flex-start);
margin-top: 1em;
p:first-child {
margin-top: 0;
}
.stretch-item {
@include _(flex, 1);
margin-right: 1em;
}
.select-field ~ .number-field,
.select-field ~ .email-field,
.select-field ~ .search-field,
.select-field ~ .telephone-field,
.select-field ~ .password-field,
.select-field ~ .text-field {
margin-top: 1em;
}
}
.flex-form, .flex-column {
button, .button {
width: auto;
}
}
#main-nav {
.logo {
margin-top: 0;
padding-top: 0.1em;
font-size: 4.25em;
}
.nav {
position: static;
font-size: 1.75em;
display: block;
text-align: center;
background-color: transparent;
@include _(box-shadow, none);
}
.nav a {
&[class] {
width: auto;
8 years ago
float: none;
overflow: visible;
margin-left: 0.725em;
padding: 0.25em 0.5em;
@include _(box-shadow, none);
@include _(text-shadow, none);
background-color: transparent;
@include _(transform, 'translateY(0)');
@include _(transition, transform 150ms ease-in-out);
}
@include before {
content: '';
position: absolute;
top: -0.375em;
left: 0;
width: 100%;
height: 0.5em;
background-color: currentColor;
}
.title {
position: relative;
color: $black;
}
&.policy {
color: $colour-5;
}
&.about {
color: $colour-3;
}
&.conferences {
color: $colour-2;
}
&:hover {
@include _(transform, 'translateY(0.25em)');
}
&.current {
@include _(transform, 'translateY(0.333em)');
@include before {
height: 0.5em;
border-bottom: 0.2em solid rgba($white, 0.25);
}
}
}
}
.conference-banner {
margin: 0 auto;
width: 100%;
.title {
font-size: 1.9em;
margin: 0 0 1em;
}
img {
max-height: 62em;
max-width: 100%;
margin-bottom: 5.5em;
@include _(box-shadow, 0 0 2em -0.5em rgba(0, 0, 0, 0.5));
}
}
ul.warnings {
li {
margin: 1em 4em;
}
}
.warning-info {
margin-left: 1em;
}
.list-view {
ul {
display: table;
width: 100%;
}
li {
display: table-row;
&.not-public {
background-color: lighten($yellow, 33%);
}
}
.info, .img {
display: table-cell;
}
.img {
padding: 2em 0 1em;
}
.info {
padding: 2em 1em 2em 0;
}
}
.workshop-list {
padding: 0 2em;
}
.event-dlg {
min-width: 75%;
}
#main {
clear: right;
article {
padding: rems(2.5) 7.5%;
}
.columns {
form {
margin-top: 2em;
}
}
.featured-image-container {
display: block;
figure {
float: left;
width: 33%;
margin: 0 1.5em 1em -1.5em;
}
}
}
.conferences-register #main article .policy-agreement .term {
// make it a little more difficult for desktop users
// to help ensure they read each point
pointer-events: none;
}
#header-title {
min-height: rems(35);
font-size: 1em;
h1 {
margin: 0.67em 0 0.5em;
}
.row {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
&.short {
font-size: 2em;
min-height: rems(15);
h1 {
position: absolute;
bottom: 0;
text-align: left;
font-size: 2em;
}
@include before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $zindex-base + 2;
@include _(box-shadow, inset 0 -13rem 3em -4rem rgba(0, 0, 0, 0.8));
@include _(transition, opacity 250ms ease-in-out);
}
}
&.map {
min-height: 0;
}
&.no-image {
min-height: 0;
font-size: 1em;
}
svg {
display: block;
}
svg rect {
@include _(animation, banner-load 1s ease-in-out);
}
.title {
text-align: left;
width: 110%;
background-color: rgba($white, 0.5);
@include _(transform, rotate(-$header-tilt) translate3d(0, 0, 0));
@include _(transform-origin, 0 100%);
}
.details {
text-align: right;
color: #000;
}
.background {
display: block;
}
.primary {
padding: 12% 0 0 0.25em;
}
}
#footer {
footer {
font-size: 1em;
}
.github {
@if capable_of(flexbox, true) {
@include _(flex, none);
@include _(flex-basis, auto);
}
margin: 0 1em;
}
.facebook, .external {
margin: 0;
}
.site-info {
width: auto;
text-align: right;
}
.site-info, .user-controls, .external {
width: auto;
}
ul.locales {
@include _(flex, none);
@include _(flex-basis, auto);
@include _(flex-grow, 1);
margin: 0 0 0 2em;
text-align: left;
}
@if not capable_of(flexbox, true) {
margin-top: 5em;
.external {
float: left;
margin-top: 2.25em;
}
.user-controls {
float: left;
margin-top: 2.5em;
}
}
}
.check-box-field,
.radio-button-field {
@include _-(display, flex);
label {
@include _(flex, 1);
border: 0.1em solid;
border-left: 0;
text-align: left;
}
input:first-child + label {
border: 0.1em solid;
}
input[type="radio"] + label {
@include after {
top: -0.025em;
left: 0.175em;
}
}
&.inline {
label {
float: left;
}
&.vertical {
label {
float: none;
}
}
input[type="radio"] + label {
@include after {
top: -0.025em;
left: 0.175em;
}
}
}
}
.fieldgroup {
@include _-(display, flex);
@include _-(display, inline-flex);
}
.select-field {
select {
width: auto;
min-width: 100%;
}
}
.flow-steps {
ul {
margin: 2em 0 1em 0;
}
.step {
position: static;
text-align: center;
white-space: normal;
@include _(transform, none);
}
}
#main table.calendar {
button {
height: 4em;
}
}
#main .registration-step-options {
display: table;
table-layout: fixed;
.options {
display: table-row;
}
button {
display: table-cell;
margin: 0 0.5em;
width: auto;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
}
fieldset {
margin-bottom: 3em;
}
.custom-option {
margin-top: 1em;
display: table-row;
input {
display: table-cell;
// width: 10em;
width: 50%;
border-right-style: none;
border-bottom-style: solid;
}
button {
display: table-cell;
width: 50%;
}
}
}
.responsive-table {
display: table;
.table-tr {
display: table-row;
}
.table-td {
padding: 0.25em 0.5em;
}
.table-th, .table-td {
display: table-cell;
}
}
} // medium
9 years ago
@include breakpoint(large) {
#main {
padding-left: $sidebar-width;
}
#header-title {
&.no-image {
min-height: 0;
}
&.short {
min-height: rems(25);
}
&.no-image,
&.short {
h1 {
text-align: left;
margin: 0.67em 0;
}
}
&.map {
svg {
height: 35em;
}
}
}
#main-nav .logo {
font-size: 5em;
}
a.logo {
display: block;
float: none;
padding: 0.2em;
}
.actions {
margin: 4em 2em 0 0;
}
#footer {
overflow: visible;
padding: 0;
width: 100%;
margin-bottom: 2.5em;
footer {
max-width: $row-width;
margin: 0 auto;
}
}
#main table.calendar {
button {
height: 5em;
}
}
}
@include breakpoint(small, medium) {
#main-nav .columns.medium-3 {
width: auto;
}
9 years ago
}