spee.ch/public/assets/css/general.css

592 lines
7.8 KiB
CSS
Raw Normal View History

2017-10-12 18:24:03 +02:00
@font-face {
font-family: 'Lekton';
src: url('../font/Lekton/Lekton-Regular.ttf');
}
@font-face {
font-family: 'Lekton';
src: url('../font/Lekton/Lekton-Bold.ttf');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Lekton';
src: url('../font/Lekton/Lekton-Italic.ttf');
font-weight: normal;
font-style: italic;
}
2017-10-02 20:47:12 +02:00
html, body {
margin: 0;
padding: 0;
height: 100%;
}
2017-10-30 18:07:23 +01:00
body, .flex-container--column, .flex-container--row {
2017-10-23 22:07:05 +02:00
display: -webkit-flex;
display: flex;
2017-10-24 21:14:58 +02:00
}
body, .flex-container--column {
2017-10-23 22:07:05 +02:00
-webkit-flex-direction: column;
flex-direction: column;
}
2017-10-24 21:14:58 +02:00
.flex-container--row {
-webkit-flex-direction: row;
flex-direction: row;
}
.flex-container--wrap {
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
2017-10-30 18:07:23 +01:00
.flex-container--left-bottom {
justify-content: flex-start;
align-items: baseline;
}
.flex-container--left-center {
justify-content: flex-start;
align-items: center;
}
2017-10-30 18:07:23 +01:00
.flex-container--center-center {
2017-10-23 22:07:05 +02:00
justify-content: center;
2017-10-30 18:07:23 +01:00
align-items: center;
2017-10-23 22:07:05 +02:00
}
2017-10-30 18:07:23 +01:00
.flex-container--space-between-bottom {
2017-10-25 20:22:15 +02:00
justify-content: space-between;
2017-10-28 00:15:05 +02:00
align-items: baseline;
}
2017-10-30 19:28:44 +01:00
.flex-container--space-between-center {
justify-content: space-between;
align-items: center;
}
2017-10-23 22:07:05 +02:00
.hidden {
display: none;
}
2017-09-27 00:12:47 +02:00
/* TEXT */
2017-10-23 18:46:55 +02:00
body, button, input, textarea, label, select, option {
2017-10-12 18:24:03 +02:00
font-family: 'Lekton', monospace;
font-size: large;
2017-10-23 18:46:55 +02:00
}
h3, p {
2017-10-24 01:00:03 +02:00
2017-10-23 18:46:55 +02:00
font-size: x-large;
}
2017-10-28 00:15:05 +02:00
.text--large {
font-size: 2rem;
}
2017-09-29 23:11:00 +02:00
.pull-quote {
2017-10-23 18:46:55 +02:00
font-size: 3rem;
2017-10-24 01:00:03 +02:00
margin-top: 1rem;
2017-09-29 23:11:00 +02:00
}
2017-10-24 07:29:20 +02:00
.fine-print {
2017-10-16 21:04:02 +02:00
font-size: small;
}
2017-10-24 07:29:20 +02:00
.blue {
2017-10-25 18:17:47 +02:00
color: #4156C5;
2017-10-24 07:29:20 +02:00
}
.blue--underlined {
color: #4156C5;
text-decoration: underline;
}
/* TOOL TIPS */
/* Tooltip container */
.tooltip {
position: relative;
}
/* Tooltip text */
.tooltip > .tooltip-text {
visibility: hidden;
width: 15em;
background-color: #9b9b9b;
color: #fff;
text-align: center;
padding: 0.5em;
/* Position the tooltip text */
position: absolute;
z-index: 1;
bottom: 110%;
left: 50%;
margin-left: -8em; /* Use half of the width (120/2 = 60), to center the tooltip */
}
/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover > .tooltip-text {
visibility: visible;
}
2017-10-06 18:21:03 +02:00
/* arrow at bottom of tooltip text */
.tooltip > .tooltip-text::after {
content: " ";
position: absolute;
2017-10-06 18:21:03 +02:00
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #9b9b9b transparent transparent transparent;
}
2017-09-29 23:11:00 +02:00
/* LINKS */
a, a:visited {
text-decoration: none;
2017-09-29 20:59:53 +02:00
}
2017-10-25 18:17:47 +02:00
.link--primary, .link--primary:visited {
color: #4156C5;
}
.link--primary.fine-print {
text-align: center;
}
2017-10-25 18:17:47 +02:00
.link--nav {
color: black;
border-bottom: 2px solid white;
}
.link--nav:hover {
color: #4156C5;
}
.link--nav-active {
color: #4156C5;
border-bottom: 2px solid #4156C5;
}
2017-09-27 00:12:47 +02:00
/* COLUMNS AND ROWS */
2017-06-23 06:43:53 +02:00
2017-09-27 00:12:47 +02:00
.row {
2017-09-29 20:59:53 +02:00
clear: both;
2017-09-27 00:12:47 +02:00
margin: 0px;
2017-06-23 06:43:53 +02:00
}
2017-09-20 23:39:20 +02:00
2017-10-23 22:07:05 +02:00
.row--padded {
2017-10-24 22:39:06 +02:00
padding: 3rem;
}
.row--margined {
margin: 3rem;
2017-10-23 22:07:05 +02:00
}
2017-09-27 00:12:47 +02:00
.row--wide {
padding-right: 0px;
padding-left: 0px;
}
2017-09-27 00:12:47 +02:00
2017-10-02 20:47:12 +02:00
.row--short {
2017-10-03 01:23:09 +02:00
padding-top: 0px;
padding-bottom: 0px;
2017-06-23 06:43:53 +02:00
}
2017-10-23 22:07:05 +02:00
.row--tall {
flex: 1 0 auto;
2017-09-30 01:01:28 +02:00
}
2017-10-12 18:58:31 +02:00
.row--no-top {
padding-top: 0px;
}
.row--no-bottom {
padding-bottom: 0px;
}
2017-10-25 18:17:47 +02:00
.row--no-right {
padding-right: 0px;
}
2017-09-27 00:12:47 +02:00
.column {
display: inline-block;
padding: 0px;
margin: 0px;
2017-07-07 02:38:57 +02:00
}
2017-09-27 00:12:47 +02:00
.column--1 {
2017-09-29 20:59:53 +02:00
width: 10%;
2017-06-23 06:43:53 +02:00
}
2017-09-27 00:12:47 +02:00
.column--2 {
2017-09-29 20:59:53 +02:00
width: 20%;
}
2017-09-27 00:12:47 +02:00
.column--3 {
2017-09-29 20:59:53 +02:00
width: 30%;
2017-09-27 00:12:47 +02:00
}
2017-07-03 20:16:51 +02:00
2017-09-27 00:12:47 +02:00
.column--4 {
2017-09-29 20:59:53 +02:00
width: 40%;
2017-06-23 06:43:53 +02:00
}
2017-09-27 00:12:47 +02:00
.column--5 {
2017-09-29 20:59:53 +02:00
width: 50%;
}
2017-06-23 06:43:53 +02:00
2017-09-27 00:12:47 +02:00
.column--6 {
2017-09-29 20:59:53 +02:00
width: 60%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--7 {
2017-09-29 20:59:53 +02:00
width: 70%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--8 {
2017-09-29 20:59:53 +02:00
width: 80%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--9 {
2017-09-29 20:59:53 +02:00
width: 90%;
2017-06-23 21:33:09 +02:00
}
2017-09-27 00:12:47 +02:00
.column--10 {
2017-09-29 20:59:53 +02:00
width: 100%;
}
/* ALIGNMENT */
2017-10-28 00:15:05 +02:00
.align-content-left {
2017-09-29 20:59:53 +02:00
text-align: left;
}
.align-content-center {
text-align: center;
}
.align-content-right {
text-align: right;
}
.align-content-top {
vertical-align: top;
}
.align-content-right {
vertical-align: bottom;
}
2017-10-12 22:10:44 +02:00
2017-09-27 00:12:47 +02:00
/* ERROR MESSAGES */
2017-09-19 21:54:23 +02:00
2017-10-28 00:15:05 +02:00
.info-message--success, .info-message--failure {
2017-10-24 01:00:03 +02:00
font-size: medium;
margin: 0px;
padding: 0.3em;
2017-09-19 21:54:23 +02:00
}
.info-message--success {
color: green;
}
.info-message--failure {
2017-07-14 18:06:04 +02:00
color: red;
}
2017-10-12 18:24:03 +02:00
.info-message-placeholder {
2017-10-12 18:24:03 +02:00
}
2017-09-27 00:12:47 +02:00
/* INPUT FIELDS */
2017-10-04 01:26:43 +02:00
/* blocks */
2017-09-20 23:39:20 +02:00
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}
.label, .input-text, .select, .textarea, .text--large {
margin: 0px;
2017-09-27 00:12:47 +02:00
padding: 0.3em;
2017-09-19 21:54:23 +02:00
outline: none;
border: 0px;
2017-09-20 23:39:20 +02:00
background-color: white;
2017-10-10 19:14:43 +02:00
display: inline-block;
2017-09-19 21:54:23 +02:00
}
2017-10-04 01:26:43 +02:00
.input-disabled {
border: 1px solid black;
padding: 0.5em;
margin: 0px;
color: black;
background-color: white;
}
2017-10-03 23:52:50 +02:00
option {
font-family: monospace;
}
2017-10-04 01:26:43 +02:00
2017-10-06 20:18:51 +02:00
.input-checkbox {
border: 1px solid black;
2017-10-06 20:18:51 +02:00
background: white;
2017-10-04 01:26:43 +02:00
}
.input-file {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
2017-10-10 19:54:51 +02:00
.input-radio, .label--pointer {
cursor: pointer;
}
2017-10-28 00:15:05 +02:00
#claim-name-input {
}
2017-10-28 00:15:05 +02:00
#input-success-claim-name {
2017-10-04 01:26:43 +02:00
}
2017-10-28 00:15:05 +02:00
.span--relative {
position: relative;
}
2017-10-28 00:15:05 +02:00
.span--absolute {
position: absolute;
bottom: 0px;
right: 0px;
}
2017-10-10 19:14:43 +02:00
/* modifiers */
2017-10-03 01:23:09 +02:00
.select--arrow {
-moz-appearance:none;
-webkit-appearance: none;
2017-10-25 00:34:05 +02:00
background: url('../icon/Shape.svg') no-repeat right;
2017-10-25 01:09:04 +02:00
cursor: pointer;
2017-10-25 00:34:05 +02:00
padding-right: 1.5em;
2017-10-03 01:23:09 +02:00
}
2017-10-25 01:09:04 +02:00
2017-10-11 23:23:46 +02:00
.input-text--primary, .select--primary {
border-bottom: 1px solid #9b9b9b;
2017-09-19 21:54:23 +02:00
}
2017-10-11 23:23:46 +02:00
.input-text--primary:focus, .select--primary:focus {
border-bottom: 1px solid #9b9b9b;
2017-10-11 23:23:46 +02:00
}
.textarea--primary {
border-bottom: 1px solid #9b9b9b;
2017-10-11 23:23:46 +02:00
}
.textarea--primary:focus {
border-bottom: 1px solid #9b9b9b;
2017-10-03 02:36:25 +02:00
}
.input-text--full-width, .textarea--full-width {
width: calc(100% - 0.6em);
}
2017-10-04 01:26:43 +02:00
.input-disabled--full-width {
width: calc(100% - 1em - 2px);
2017-09-30 00:56:13 +02:00
}
2017-10-28 00:15:05 +02:00
.url-text--primary, .url-text--secondary {
margin:0px;
padding:0px;
}
.url-text--primary {
color: black;
}
.url-text--secondary {
color: #9b9b9b;
}
2017-09-27 00:12:47 +02:00
/* BUTTONS */
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
button {
2017-10-03 02:36:25 +02:00
cursor: pointer;
}
.button--primary {
2017-09-27 00:12:47 +02:00
border: 1px solid black;
padding: 0.5em;
margin: 0.5em 0.3em 0.5em 0.3em;
color: black;
background-color: white;
2017-06-27 03:14:42 +02:00
}
2017-10-03 02:36:25 +02:00
.button--primary:hover {
2017-10-25 18:17:47 +02:00
border: 1px solid #4156C5;
2017-09-27 00:12:47 +02:00
color: white;
2017-10-25 18:17:47 +02:00
background-color: #4156C5;
2017-09-27 00:12:47 +02:00
}
2017-06-27 03:14:42 +02:00
2017-10-03 02:36:25 +02:00
.button--primary:active{
2017-10-25 18:17:47 +02:00
border: 1px solid #4156C5;
2017-09-27 00:12:47 +02:00
color: white;
background-color: white;
}
2017-06-27 03:14:42 +02:00
2017-10-03 02:36:25 +02:00
.button--large{
margin: 0px;
width: calc(100% - 2px);
padding: 2rem;
font-size: x-large;
}
.button--cancel{
border: 0px;
background-color: white;
color: #9b9b9b;
2017-10-03 02:36:25 +02:00
}
2017-09-27 00:12:47 +02:00
/* TABLES */
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
table {
width: 100%;
text-align: left;
2017-06-27 03:14:42 +02:00
}
2017-10-03 02:36:25 +02:00
/* NAV BAR */
2017-10-25 01:09:04 +02:00
.nav-bar {
border-bottom: 0.5px solid #cacaca;
2017-10-03 02:36:25 +02:00
}
2017-10-25 07:04:23 +02:00
.nav-bar--left {
align-self: center;
2017-10-19 00:47:06 +02:00
}
2017-10-25 01:09:04 +02:00
.nav-bar-tagline {
2017-10-09 19:30:19 +02:00
font-size: small;
}
2017-10-03 02:36:25 +02:00
.nav-bar-link {
2017-10-25 01:09:04 +02:00
padding: 1.5rem;
display: inline-block;
2017-10-03 02:36:25 +02:00
}
2017-10-03 23:52:50 +02:00
/* PUBLISH FORM */
.dropzone {
2017-10-17 19:26:48 +02:00
border: 2px dashed #9b9b9b;
2017-10-03 23:52:50 +02:00
text-align: center;
position: relative;
2017-10-03 23:52:50 +02:00
}
.dropzone:hover, .dropzone--drag-over {
2017-10-25 18:17:47 +02:00
border: 2px dashed #4156C5;
2017-10-10 20:52:34 +02:00
cursor: pointer;
2017-10-24 07:29:20 +02:00
}
#primary-dropzone-instructions, #dropbzone-dragover {
z-index: -1;
2017-10-03 23:52:50 +02:00
}
2017-10-03 02:36:25 +02:00
.position-absolute {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
2017-10-03 02:36:25 +02:00
}
2017-10-03 23:52:50 +02:00
#asset-preview-holder {
position: relative;
2017-10-03 02:36:25 +02:00
}
2017-10-03 23:52:50 +02:00
#asset-preview {
2017-10-03 02:36:25 +02:00
display: block;
2017-10-03 23:52:50 +02:00
padding: 0.5rem;
width: calc(100% - 1rem);
2017-10-03 02:36:25 +02:00
}
/* Show page */
2017-10-10 19:14:43 +02:00
.video-show, .gifv-show, .image-show {
2017-10-03 02:36:25 +02:00
display: block;
width: 100%;
}
#video-player {
background-color: #fff;
cursor: pointer;
margin: 0 auto;
margin-top: 2%;
border: 1px solid #d0d0d0;
padding:6px;
2017-10-10 19:14:43 +02:00
}
2017-11-09 00:36:00 +01:00
.showlite-asset {
2017-10-26 18:50:45 +02:00
max-width: 50%;
2017-10-21 00:12:09 +02:00
}
2017-10-03 02:36:25 +02:00
/* item lists */
.content-list-item-asset {
width: 90%;
}
2017-10-25 18:17:47 +02:00
/* progress bar */
2017-10-03 02:36:25 +02:00
2017-10-25 18:17:47 +02:00
.progress-bar--inactive {
color: lightgrey;
2017-10-03 02:36:25 +02:00
}
2017-10-25 18:17:47 +02:00
.progress-bar--active {
color: #4156C5;
2017-09-27 00:12:47 +02:00
}
2017-06-27 03:14:42 +02:00
2017-10-25 18:17:47 +02:00
/* other */
2017-09-27 00:12:47 +02:00
.wrap-words {
word-wrap: break-word;
2017-10-03 02:36:25 +02:00
}
2017-10-13 18:29:29 +02:00
2017-10-23 22:07:05 +02:00
#new-release-banner {
font-size: small;
2017-10-25 18:17:47 +02:00
background-color: #4156C5;
2017-10-23 22:07:05 +02:00
color: white;
text-align: center;
}
2017-10-13 18:29:29 +02:00
/* ---- grid items ---- */
.grid-item {
2017-10-19 18:18:40 +02:00
width: calc(33% - 2rem);
2017-10-13 18:29:29 +02:00
padding: 0px;
margin: 1rem;
float: left;
2017-10-25 20:22:15 +02:00
border: 0.5px solid white;
}
.grid-item-image {
width: 100%;
}
.grid-item-details {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
cursor: pointer;
}
.grid-item-details-text {
font-size: medium;
margin: 0px;
text-align: center;
padding: 1em 0px 1em 0px;
width: 100%;
}