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;
}
* {
font-family: FiraSansRegular;
font-size: 16px;
}
h1, h2 {
font-family: SansusWebissimoRegular;
}
h1 {
font-size: 42px;
}
h2 {
font-size: 35px;
}
h3 {
font-size: 18px;
font-family: FiraSansMedium;
}
@media only screen and (min-width: 768px) {
section.container-fluid {
padding-left: 10%;
padding-right: 10%;
}
section:last-of-type {
padding-bottom: 90px;
}
.container-fluid .navbar-header {
margin-left: 10%;
}
}
.text-center {
margin-top: 0;
margin-bottom: O;
}
.page-header {
border: none;
margin-top: 8px;
margin-bottom: 8px;
}
.page-header hr {
border-color: #ccd3dd;
}
.page-header h1 span {
text-transform: uppercase;
}
.page-header h2 span,
.page-header h1 span {
font-family: inherit;
font-size: inherit;
}
.strike-through h2,
.strike-through h1 {
overflow: hidden;
margin-bottom: 28px;
margin-top: 28px;
}
.strike-through h2 span,
.strike-through h1 span {
position: relative;
}
.strike-through h2 span:before,
.strike-through h2 span:after,
.strike-through h1 span:before,
.strike-through h1 span:after {
content: "";
position: absolute;
border-bottom: 1px solid #497ed5;
width: 600px;
height: 8px;
top: 50%;
margin-top: -10px;
}
.light-blue .strike-through h2 span:before,
.light-blue .strike-through h2 span:after,
.light-blue .strike-through h1 span:before,
.light-blue .strike-through h1 span:after {
border-color: #2f5188;
}
.strike-through h2 span:before,
.strike-through h1 span:before {
right: 100%;
margin-right: 15px;
}
.strike-through h2 span:after,
.strike-through h1 span:after {
left: 100%;
margin-left: 15px;
}
.navbar-default {
background-color: white;
color: #3b68b0;
margin-bottom: 0px;
min-height: 35px;
border: none;
border-radius: 0px;
}
.navbar-default .navbar-nav > li > a {
color: #3b68b0;
font-size: 18px;
font-family: FiraSansBook;
}
.navbar-default:not(#up-bar) .navbar-nav > li > a.on,
.navbar-default:not(#up-bar) .navbar-nav > li > a:hover {
color: #3b68b0;
font-family: FiraSansMedium;
font-size: 18px;
}
section {
padding-bottom: 24px;
padding-top: 24px;
}
.dark-blue, .dark-blue .navbar-nav > li > a {
background-color: #2f5188;
color: #ffffff;
}
nav.dark-blue {
/*padding-right: 5%;*/
}
#up-bar, #up-bar > .navbar-nav, #up-bar > .navbar-nav > li, #up-bar > .navbar-nav > li > a {
height: 38px;
}
#up-bar > .navbar-nav > li > a {
padding-top: 7px;
padding-bottom: 7px;
}
.navbar-brand {
padding: 0;
z-index: 1000;
position: absolute;
}
.dark-blue .navbar-nav > li > a,
.navbar-nav.blue > li > a {
font-weight: bold;
font-size: 13px;
}
.dark-blue .navbar-nav > li > a:hover,
.navbar-nav.blue > li > a:hover {
color: #ffffff;
}
.dark-blue .navbar-nav > li > a:hover {
font-size: 13px;
}
.navbar-nav.blue > li > a:hover {
font-size: 18px;
}
.blue {
background-color: #3b68b0;
color: #ffffff;
}
.navbar-nav.blue > li > a {
background-color: #3b68b0;
color: #ffffff;
font-size: 18px;
padding-left: 5px;
padding-right: 5px;
}
.light-blue {
background-color: #497ed5;
color: #ffffff;
}
@media only screen and (min-width: 768px) {
.white {
background-repeat: no-repeat;
background-position: bottom left, bottom right, bottom, top left, top right;
background-color: #ebf3ff;
color: #3b68b0;
background-size: 25%, 25%, 100% 26px, 30%, 30%;
}
}
@media only screen and (max-width: 767px) {
.white {
background-image: linear-gradient(white 0px, #497ed5 0px), url('/static/img/left.png'), url('/static/img/right.png');
background-repeat: no-repeat;
background-position: bottom, top left, top right;
background-color: #ebf3ff;