Commit b570362b authored by cynddl's avatar cynddl

Add styles without JS

parent ea7e4725
/*
Basis
*/
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
background-color: #f2f2f2;
margin: 1em;
}
a {
color: #487ED6;
font-size: inherit;
font-weight: inherit;
font-family: inherit;
}
a:hover {
color: #B0B0B0;
text-decoration:none;
}
.center {
text-align: center;
}
li {
display: inline-block;
padding: 0px 2em;
font-weight: bold;
}
h2 {
font-weight: bold;
}
table {
width: 100%;
border-top: 1px solid black;
border-left: 1px solid black;
}
label {
padding-left: 1em;
vertical-align: top;
}
#ajout label {
width: 8%;
}
th {
text-align: center;
padding: 0em 1.618em;
}
th, td {
border-bottom: 1px solid black;
border-right: 1px solid black;
}
tr:hover {
background-color: #e2e2e2;
}
td {
padding: 0.1em 1em;
vertical-align: top;
}
.inline {
white-space: nowrap;
}
.error {
color: red;
font-weight: bold;
border: 1px solid red;
background-color: #ffcccc;
padding: 3px 6px;
width: 30%;
border-radius: 6px;
}
.result {
color: green;
font-weight: bold;
border: 1px solid green;
background-color: #ccffcc;
padding: 3px 6px;
width: 30%;
border-radius: 6px;
}
.message {
color: blue;
border: 1px solid blue;
background-color: #ccccff;
padding: 3px 6px;
width: 30%;
border-radius: 6px;
}
#stats table {
margin: 2em 0em;
width: inherit;
}
.lien {
cursor: pointer;
color: #487ED6;
font-size: inherit;
font-weight: inherit;
font-family: inherit;
text-decoration: underline;
}
.lien:hover {
color: #B0B0B0;
text-decoration: none;
}
.pixel {
display: inline-block;
width: 2em;
height: 1em;
}
.clickable {
cursor: pointer;
color: #487ED6;
font-size: inherit;
font-weight: inherit;
font-family: inherit;
text-decoration: underline;
}
.clickable:hover {
cursor: pointer;
color: #B0B0B0;
font-size: inherit;
font-weight: inherit;
font-family: inherit;
text-decoration: none;
}
.off {
display: none;
}
.on {
}
This diff is collapsed.
.collapsible > input[type="checkbox"] {
display: none;
}
.collapsible > input[type="checkbox"] + .panel-heading label {
cursor: pointer;
line-height: 26px;
vertical-align: middle;
}
.collapsible > input[type="checkbox"]:not(:checked) + .panel-heading + .collapsed {
height: 0px;
overflow: hidden;
}
.collapsible > input[type="checkbox"] + label {
cursor: pointer;
}
.collapsible > input[type="checkbox"]:checked + .panel-heading + .collapsed {
height: inherit;
overflow: none;
}
.collapsible > input[type="checkbox"] + .panel-heading .panel-caret::after {
content: url('/static/img/arrow_down_white.png');
line-height: 26px;
vertical-align: middle;
}
.collapsible > input[type="checkbox"]:checked + .panel-heading .panel-caret::after {
content: url('/static/img/arrow_up_darkblue.png');
line-height: 26px;
vertical-align: middle;
}
.collapsible-white > input[type="checkbox"]:checked + .panel-heading {
background-color: #dde5f1;
color: #2f5188;
border-bottom: 1px solid #2f5188;
}
.collapsible-white-pure > input[type="checkbox"]:checked + .panel-heading {
background-color: #fff;
color: #3b68b0;
border-bottom: 1px solid #3b68b0;
}
.menu-collapsed * {
display: none;
}
.menu-collapsed-target {
position: fixed;
top: 0px;
left: 0px;
visibility: hidden;
}
.menu-collapsed-target:target + .menu-collapsed * {
display: inherit;
}
.menu-collapsed .navbar-nav {
margin-bottom: 0px;
}
.menu-collapsed .navbar-nav > li {
border-top: 1px solid #2f5188;
text-align: center;
}
.menu-collapsed .navbar-nav > li:last-of-type {
border-bottom: 1px solid #2f5188;
}
This diff is collapsed.
@font-face {
font-family: 'SansusWebissimoItalic';
src: url('https://fonts.lqdn.fr/collections/Sansus_Webissimo/SansusWebissimo-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'SansusWebissimoRegular';
src: url('https://fonts.lqdn.fr/collections/Sansus_Webissimo/SansusWebissimo-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'FiraSansRegular';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'FiraSansMedium';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Medium.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'FiraSansSemiBold';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-SemiBold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'FiraSansBook';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Book.woff2') format('woff2');
font-weight: lighter;
font-style: normal;
}
input[type="radio"]:not(:checked),
input[type="radio"]:checked {
position: absolute;
left: -9999px;
}
#monthly {
padding: 0px;
margin-top: 0.8em;
margin-bottom: auto;
}
.radio[type="radio"]:not(:checked) + label,
.radio[type="radio"]:checked + label {
position: relative;
cursor: pointer;
padding-left: 20px;
font-family: FiraSansRegular;
font-size: 12px;
line-height: 15px;
}
.radio[type="radio"]:not(:checked) + label:before,
.radio[type="radio"]:checked + label:before {
content: '';
position: absolute;
left: 0px;
top: 0px;
width: 15px;
height: 15px;
border-radius: 7px;
background-color: #fff;
border: solid 1px #ccd3dd;
}
.radio[type="radio"]:checked + label:before {
content: '';
background-color: #758aac;
font-size: 30px;
box-shadow: 0 0 0 3px white inset;
}
.radio-row [type="radio"]:not(:checked) + label,
.radio-row [type="radio"]:checked + label {
float: left;
width: 55px;
height: 45px;
font-family: FiraSansMedium;
font-size: 18px;
line-height: 40px;
text-align: center;
margin: 1px;
}
.radio-row [type="radio"]:not(:checked) + label {
color: #3b68b0;
border-radius: 2px;
border: solid 1px #ccd3dd;
background-color: #ffffff;
}
.radio-row [type="radio"]:checked + label {
color: #ffffff;
border-radius: 2px;
border: solid 1px #ccd3dd;
background-color: #528eef;
}
.form-accent {
background-color: #f5f7fb;
font-size: 18px;
font-family: FiraSansBook;
margin: 5px;
line-height: 60px;
text-align: left;
}
.form-accent label {
color: #3b68b0;
width: 20%;
}
.form-accent input {
border-radius: 2px;
border: solid 1px #ccd3dd;
height: 45px;
width: 70% !important;
}
/* Class used as a way to display a value */
.display-only input {
background-color: #fff !important;
color: #3b68b0 !important;
font-size: 30px;
padding: 10px;
border: none;
text-align: right;
max-width: 150px;
height: 50px;
font-family: SansusWebissimoRegular;
border-radius: 0px;
}
input {
font-weight: normal;
}
.form-inline .form-group {
margin: 0px;
}
.form-control {
box-shadow: none !important;
}
.radio-row {
width: 95%;
margin-left: auto;
margin-right: auto;
}
This diff is collapsed.
.modal-form-only{
display: none !important;
}
.modal-row {
margin: 0px;
}
*:target .modal-form-only,
*.visible .modal-form-only,
.modal-form-only.visible,
.modal-form-only:target{
display: inherit !important;
}
*:target .unmodal,
.unmodal:target {
display: none;
}
.unmodal {
display: visible;
font-size: 13px;
}
.unmodal b {
font-size: 13px;
}
.modal-form.visible,
.modal-form:target {
z-index: 1000;
left: 0;
top: 0;
position: fixed;
background-color: rgba(0, 0, 0, 0.4);
width: 100%;
height: 100%;
}
.modal-form.visible .modal-form-body,
.modal-form.visible .modal-form-title,
.modal-form:target .modal-form-body,
.modal-form:target .modal-form-title {
background-color: #ffffff;
}
@media only screen and (max-width: 767px) {
.modal-form.visible .modal-form-body,
.modal-form.visible .modal-form-title,
.modal-form:target .modal-form-body,
.modal-form:target .modal-form-title {
width: 100%;
}
}
@media only screen and (min-width: 768px) {
.modal-form.visible .modal-form-body,
.modal-form.visible .modal-form-title,
.modal-form:target .modal-form-body,
.modal-form:target .modal-form-title {
width: 35%;
margin-left: auto;
margin-right: auto;
margin-top: 3%;
}
}
.modal-form.visible .modal-form-body,
.modal-form:target .modal-form-body {
background-color: #ffffff;
font-family: FiraSansMedium;
max-height: 75%;
overflow: auto;
margin-top: 0%;
padding-bottom: 38px;
}
.modal-form.visible .modal-form-title h1,
.modal-form:target .modal-form-title h1 {
text-align: center;
font-family: SansusWebissimoRegular;
font-size: 42px;
color: #3b68b0;
margin: 0;
padding: 38px;
}
@media only screen and (min-width: 768px) {
.modal-form.visible .close,
.modal-form:target .close {
float: right;
text-decoration: underline;
color: #ffffff;
margin-top: -35px;
opacity: 1;
}
}
@media only screen and (max-width: 767px) {
.modal-form.visible .close,
.modal-form:target .close {
float: right;
color: #2f5188;
opacity: 1;
}
}
.modal-form.visible .modal-form-body > fieldset,
.modal-form:target .modal-form-body > fieldset {
margin-left: 38px;
margin-right: 38px;
width: auto;
}
.modal-form.visible .modal-form-body > fieldset > legend,
.modal-form:target .modal-form-body > fieldset > legend {
text-align: center;
font-size: 18px;
border-bottom: 1px solid white;
background-color: #eef2f8;
padding: 23px;
margin: 0px;
color: #3b68b0;
}
.modal-form.visible .modal-form-body > fieldset > legend::first-letter,
.modal-form:target .modal-form-body > fieldset > legend::first-letter {
font-size: 27px;
}
.modal-form.visible .modal-row ,
.modal-form:target .modal-row {
margin: 0px;
background-color: #eef2f8;
color: #3b68b0;
width: 100%;
text-align: center;
}
input.form-control {
color: black;
}
.modal-form p {
text-align: justify;
}
.modal-form.visible .btn,
.modal-form:target .btn {
margin-left: auto;
margin-right: auto;
}
.modal-form.visible .btn .btn-default,
.modal-form:target .btn .btn-default{
margin-right: auto;
text-align: center;
}
.modal-form-body .btn-default:hover {
color: #ffffff;
background-color: #3b68b0;
}
.modal-form-body .modal-row {
overflow: hidden;
padding: 12px;
margin: 0px;
}
.modal-form-body .modal-row:first-of-type {
padding-top: 23px;
}
.modal-form-body .modal-row:last-of-type {
padding-bottom: 23px;
}
table.article-table {
}
table.article-table thead {
background-color: #ebf3ff;
border: none;
}
table.article-table td, table.article-table th {
word-wrap: break-word; /* All browsers since IE 5.5+ */
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
padding: .5rem;
vertical-align: baseline;
border-color: #ebf3ff;
}
table.article-table > tbody > tr {
border: 1px solid #ebf3ff;
}
table.article-table tr.empty-row {
border: none;
}
table.article-table > tbody > tr.empty-row td {
padding-bottom: 0.5rem;
}
/* Special cells */
ul.votes-list, ul.actions-list {
list-style-type: none;
padding: 0;
overflow: hidden;
white-space: nowrap;
}
table.article-table td.actions-cell {
background-color: #ebf3ff;
padding: 1rem 1.5rem;
}
table.article-table ul {
padding: 0;
margin: 0;
}
table.article-table td.icon-cell {
text-align: center;
}
* {
font-family: FiraSansRegular;
font-size: 16px;
}
h1, h2 {
font-family: SansusWebissimoRegular;
}
body {
background-color: #497ED5;
}
.wait {
padding: 100px;
text-align: center;
}
.wait-title {
font-family:;
font-size: 124px;
background: #497ED5;
color: #DDE5F1;
-webkit-animation: neon1 1.5s ease-in-out infinite alternate;
-moz-animation: neon1 1.5s ease-in-out infinite alternate;
animation: neon1 1.5s ease-in-out infinite alternate;
}
.wait-image {
animation-duration: 1.5s;
animation-name: cochon;
animation-iteration-count: infinite;
animation-direction: alternate-reverse;
max-width: 100%;
height: auto;
}
@keyframes cochon {
from {
transform: rotate(15deg);
}
to {
transform: rotate(-15deg);
}
}
@-webkit-keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #3B68B0, 0 0 70px #3B68B0, 0 0 80px #3B68B0, 0 0 100px #3B68B0, 0 0 150px #3B68B0;
}
to {
text-shadow: 0 0 5px #fff , 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #3B68B0, 0 0 35px #3B68B0, 0 0 40px #3B68B0, 0 0 50px #3B68B0, 0 0 75px #3B68B0;
}
}
/*glow for mozilla*/
@-moz-keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff0, 0 0 30px #fff, 0 0 40px #3B68B0, 0 0 70px #3B68B0, 0 0 80px #3B68B0, 0 0 100px #3B68B0, 0 0 150px #3B68B0;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #3B68B0, 0 0 35px #3B68B0, 0 0 40px #3B68B0, 0 0 50px #3B68B0, 0 0 75px #3B68B0;
}
}
/*glow*/
@keyframes neon1 {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #3B68B0, 0 0 70px #3B68B0, 0 0 80px #3B68B0, 0 0 100px #3B68B0, 0 0 150px #3B68B0;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #3B68B0, 0 0 35px #3B68B0, 0 0 40px #3B68B0, 0 0 50px #3B68B0, 0 0 75px #3B68B0;
}
}