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

406 lines
5.1 KiB
CSS
Raw Normal View History

2017-10-02 20:47:12 +02:00
html, body {
margin: 0;
padding: 0;
height: 100%;
}
2017-09-27 00:12:47 +02:00
/* TEXT */
2017-08-20 21:01:52 +02:00
body, button, input, textarea, label, select, option {
2017-09-29 20:59:53 +02:00
font-family: monospace;
font-size: large;
2017-10-04 01:26:43 +02:00
word-wrap: break-word;
2017-08-20 21:01:52 +02:00
}
2017-09-21 02:14:33 +02:00
2017-09-27 00:12:47 +02:00
p {
padding-left: 0.3em;
}
2017-09-28 17:47:02 +02:00
.center-text {
text-align: center;
}
.url-text {
margin:0px;
padding:0px;
}
2017-09-29 23:11:00 +02:00
.pull-quote {
font-size: 3rem;
}
/* LINKS */
a, a:visited {
text-decoration: none;
2017-09-29 20:59:53 +02:00
}
2017-09-28 17:47:02 +02:00
/* HEADERS */
h1 {
2017-09-29 23:11:00 +02:00
font-size: xx-large;
2017-09-28 17:47:02 +02:00
}
h2 {
2017-09-29 23:11:00 +02:00
font-size: x-large;
2017-09-28 17:47:02 +02:00
}
2017-10-03 01:45:57 +02:00
.h2--secondary {
font-weight: normal;
color: lightgrey;
}
2017-10-03 02:49:04 +02:00
.h2--top {
margin-top: 0px;
}
2017-09-28 19:51:02 +02:00
h3 {
2017-09-29 23:11:00 +02:00
font-size: large;
2017-09-29 20:59:53 +02:00
font-weight: normal;
2017-06-27 03:14:42 +02:00
}
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-10-03 01:23:09 +02:00
padding: 2rem 2rem 2rem 2rem;
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-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-09-30 01:01:28 +02:00
.row--full-height {
2017-10-03 01:23:09 +02:00
height: calc(100% - 9rem);
2017-09-30 01:01:28 +02:00
}
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 */
.align-content-left {
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-09-27 00:12:47 +02:00
/* ERROR MESSAGES */
2017-09-19 21:54:23 +02:00
.info-message {
2017-07-14 18:06:04 +02:00
font-weight: bold;
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-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;
}
2017-09-27 00:12:47 +02:00
.label, .input-text, .select, .textarea {
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-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
.input-checkbox, .input-textarea {
border: 1px solid grey;
}
.input-file {
width: 0.1px;
height: 0.1px;
opacity: 0;
overflow: hidden;
position: absolute;
z-index: -1;
}
.input-file-label {
color: dodgerblue;
text-decoration: underline;
cursor: pointer;
}
2017-10-03 01:23:09 +02:00
.select--no-arrow {
-moz-appearance:none;
-webkit-appearance: none;
2017-10-03 02:36:25 +02:00
cursor: pointer;
2017-10-03 01:23:09 +02:00
}
.select--arrow {
-moz-appearance:none;
-webkit-appearance: none;
background: url('../img/down_triangle.png') no-repeat right;
2017-10-03 23:52:50 +02:00
padding-right: 1em;
2017-10-03 01:23:09 +02:00
}
2017-10-04 01:26:43 +02:00
/* modifiers */
2017-09-21 09:18:34 +02:00
.input-text--primary, .select--primary, .textarea--primary {
2017-10-02 20:47:12 +02:00
border-bottom: 1px solid dodgerblue;
2017-09-19 21:54:23 +02:00
}
2017-09-21 09:18:34 +02:00
.input-text--primary:focus, .select--primary:focus, .textarea--primary:focus {
2017-09-21 02:14:33 +02:00
border-bottom: 1px solid grey;
2017-09-19 21:54:23 +02:00
}
2017-10-03 02:36:25 +02:00
.input-text--large, .select--large, .textarea--large {
font-size: 2rem;
border-left: 1px solid dodgerblue;
}
.input-text--large:focus, .select--large:focus, .textarea--large:focus {
border-left: 1px solid grey;
}
.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-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-02 20:47:12 +02:00
border: 1px solid dodgerblue;
2017-09-27 00:12:47 +02:00
color: white;
2017-10-02 20:47:12 +02:00
background-color: dodgerblue;
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-02 20:47:12 +02:00
border: 1px solid dodgerblue;
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: grey;
}
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 */
.nav-bar {
height: 5rem;
}
.nav-bar-title-section, .nav-bar-link-section {
padding: 0px 1em 0px 1em;
}
.nav-bar-title-section {
overflow: hidden;
border-bottom: 2px solid #eaeaea;
position: relative;
}
.nav-bar-link-section {
position: absolute;
bottom: 0px;
right: 0px;
z-index: 1;
}
.nav-bar-logo, .nav-bar-title, .nav-bar-link {
padding: 2rem 0.5rem 1.5rem 0.5rem;
display: inline-block;
color: black;
}
.nav-bar-title--superscript {
font-size: small;
vertical-align: top;
}
.nav-bar-link {
border-bottom: 2px solid white;
}
.nav-bar-link--active {
color: #1e90ff;
border-bottom: 2px solid #1e90ff;
}
2017-10-03 23:52:50 +02:00
/* PUBLISH FORM */
.dropzone {
border: 2px dashed lightgrey;
text-align: center;
}
.dropzone:hover {
border: 2px dashed #1e90ff;
}
2017-10-03 02:36:25 +02:00
#publish-dropzone-wrapper, #publish-form-wrapper {
height: 100%;
}
#publish-dropzone {
2017-10-03 23:52:50 +02:00
height: calc(100% - 4px);
2017-10-03 02:36:25 +02:00
position: relative;
}
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
#publish-dropzone-instructions, #preview-dropzone-instructions {
2017-10-03 02:36:25 +02:00
position: absolute;
top: 40%;
left: 50%;
transform: translateX(-50%) translateY(-40%);
}
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 */
.asset-display {
display: block;
width: 100%;
}
/* item lists */
.content-list-item {
}
.content-list-item-asset {
width: 90%;
}
.content-list-item-link {
}
2017-09-27 00:12:47 +02:00
/* other */
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
.toggle-link {
float: right;
}
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
.wrap-words {
word-wrap: break-word;
2017-10-03 02:36:25 +02:00
}