spee.ch/public/assets/css/BEM.css

276 lines
3 KiB
CSS
Raw Normal View History

2017-09-27 00:12:47 +02:00
2017-09-28 19:51:02 +02:00
/* GENERAL */
2017-09-27 00:12:47 +02:00
/* TEXT */
2017-08-20 21:01:52 +02:00
body, button, input, textarea, label, select, option {
font-family: serif;
}
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-28 17:47:02 +02:00
/* HEADERS */
h1 {
font-size: x-large;
}
h2 {
font-size: medium;
margin-top: 1em;
border-top: 1px #999 solid;
background-color: lightgray;
padding: 6px;
}
2017-09-28 19:51:02 +02:00
h3 {
color: black;;
}
.h3--secondary {
2017-09-29 01:45:14 +02:00
color: lightgray;
2017-09-28 19:51:02 +02:00
}
2017-09-28 17:47:02 +02:00
h4 {
padding: 3px;
}
2017-09-27 00:12:47 +02:00
/* CONTAINERS */
2017-09-20 23:39:20 +02:00
2017-06-23 06:43:53 +02:00
.wrapper {
margin-left: 20%;
width:60%;
}
2017-07-26 03:49:02 +02:00
.full {
clear: both;
2017-06-23 06:43:53 +02:00
}
.main {
float: left;
2017-07-06 08:22:47 +02:00
width: 65%;
2017-09-27 00:12:47 +02:00
}
.panel {
overflow: auto;
word-wrap: break-word;
2017-06-23 06:43:53 +02:00
}
.sidebar {
float: right;
2017-07-07 02:38:57 +02:00
width: 33%;
2017-06-23 06:43:53 +02:00
}
2017-06-27 03:14:42 +02:00
footer {
display: inline-block;
2017-06-27 03:14:42 +02:00
width: 100%;
margin-bottom: 2px;
padding-bottom: 2px;
border-bottom: 1px lightgrey solid;
margin-top: 2px;
padding-top: 2px;
border-top: 1px lightgrey solid;
text-align: center;
color: grey;
}
2017-09-27 00:12:47 +02:00
/* COLUMNS AND ROWS */
2017-06-23 06:43:53 +02:00
.col-left, .col-right {
overflow: auto;
margin: 0px;
width: 48%;
}
.col-left {
padding: 5px 10px 5px 0px;
float: left;
}
.col-right {
padding: 5px 0px 5px 10px;
float: right;
}
2017-09-27 00:12:47 +02:00
.row {
padding: 1em 2% 1em 2%;
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
.row--thin {
padding-top: 0.5em;
padding-bottom: 0.5em;
2017-06-23 06:43:53 +02:00
}
2017-09-27 00:12:47 +02:00
.top-bar {
margin: 2em 0px 2px 0px;
padding: 0px 0px 2px 0px;
border-bottom: 1px lightgrey solid;
overflow: auto;
text-align: right;
vertical-align: text-bottom;
2017-06-23 06:43:53 +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 {
width: 8%;
2017-06-23 06:43:53 +02:00
}
2017-09-27 00:12:47 +02:00
.column--2 {
width: 16%;
}
2017-09-27 00:12:47 +02:00
.column--3 {
width: 24%;
}
2017-07-03 20:16:51 +02:00
2017-09-27 00:12:47 +02:00
.column--4 {
width: 32%;
2017-06-23 06:43:53 +02:00
}
2017-09-27 00:12:47 +02:00
.column--5 {
width: 40%;
}
2017-06-23 06:43:53 +02:00
2017-09-27 00:12:47 +02:00
.column--6 {
width: 48%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--7 {
width: 56%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--8 {
width: 64%;
2017-09-20 23:39:20 +02:00
}
2017-09-27 00:12:47 +02:00
.column--9 {
width: 72%;
2017-06-23 21:33:09 +02:00
}
2017-09-27 00:12:47 +02:00
.column--10 {
width: 80%;
2017-06-27 03:14:42 +02:00
}
2017-09-27 00:12:47 +02:00
.column--11 {
width: 88%;
2017-07-06 08:22:47 +02:00
}
2017-09-27 00:12:47 +02:00
.column--12 {
width: 96%;
}
/* LINKS */
a, a:visited {
color: blue;
text-decoration: none;
}
/* 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-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 {
font-size: medium;
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-09-21 09:18:34 +02:00
.input-text--primary, .select--primary, .textarea--primary {
2017-09-21 02:14:33 +02:00
border-bottom: 1px solid blue;
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
}
.input-checkbox, .input-textarea {
border: 1px solid grey;
}
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 {
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-09-27 00:12:47 +02:00
button:hover {
border: 1px solid blue;
color: white;
background-color: blue;
}
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
button:active{
border: 1px solid blue;
color: white;
background-color: white;
}
2017-06-27 03:14:42 +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-09-27 00:12:47 +02:00
/* other */
2017-06-27 03:14:42 +02:00
2017-09-27 00:12:47 +02:00
.stop-float {
clear: both;
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-06-23 06:43:53 +02:00
}