SMMP/public_html/css/min/global.css

277 lines
7.4 KiB
CSS
Raw Permalink Normal View History

/* COULEUR DU THEME */
/* COULEUR DU SOUS-MENU */
/* COULEUR DES ERREURS */
/* FORMULAIRES */
/* GESTION DES LONGUEURS */
/* [3] Formulaires
=========================================================*/
section > form, .form {
display: inline-block;
position: relative;
left: 50%;
margin: .3em 0;
padding: 1em;
border-radius: 3px;
border-color: #d52918;
box-shadow: 0 0 1px #b7b7b7;
background-color: #fff;
-webkit-transform: translateX(-50%);
2017-11-12 14:10:40 +00:00
transform: translateX(-50%); }
section > form#choose-cluster, .form#choose-cluster {
left: 0;
-webkit-transform: none;
transform: none; }
section > form.valid, .form.valid {
border-color: #27a560; }
section > form.neutral, .form.neutral {
border-color: #2193e6; }
section > form.search, .form.search {
border-color: #2193e6; }
section > form .edit_search_view,
section > form .remove_search_view, .form .edit_search_view,
.form .remove_search_view {
display: inline-block;
width: 100%;
text-align: center;
color: #aaaaaa; }
section > form .edit_search_view span,
section > form .remove_search_view span, .form .edit_search_view span,
.form .remove_search_view span {
color: #888888; }
section > form span.error-msg, .form span.error-msg {
display: inline-block;
color: #F03C3C;
font-size: 0.7em; }
/* (1) Champs de texte */
input[type=text],
input[type=mail],
input[type=password],
select,
.invalid > input[type=text],
.invalid > input[type=mail],
.invalid > input[type=password],
.invalid > select,
input.invalid[type=text],
input.invalid[type=mail],
input.invalid[type=password],
select.invalid {
display: inline-block;
margin: 1em 0;
padding: .7em 1em;
border-radius: 3px;
border: 1px solid #d7dde8;
color: #2f3033;
2017-11-12 14:10:40 +00:00
transition: border .4s ease-in-out; }
input[type=text]:focus, input[type=text]:hover,
input[type=mail]:focus,
input[type=mail]:hover,
input[type=password]:focus,
input[type=password]:hover,
select:focus,
select:hover,
.invalid > input[type=text]:focus,
.invalid > input[type=text]:hover,
.invalid > input[type=mail]:focus,
.invalid > input[type=mail]:hover,
.invalid > input[type=password]:focus,
.invalid > input[type=password]:hover,
.invalid > select:focus,
.invalid > select:hover,
input.invalid[type=text]:focus,
input.invalid[type=text]:hover,
input.invalid[type=mail]:focus,
input.invalid[type=mail]:hover,
input.invalid[type=password]:focus,
input.invalid[type=password]:hover,
select.invalid:focus,
select.invalid:hover {
border-color: #d52918; }
select {
width: 100%;
display: block;
2017-11-12 14:10:40 +00:00
background: #fff; }
select option {
padding: .5em; }
.valid > input[type=text]:focus, .valid > input[type=text]:hover,
.valid > input[type=mail]:focus,
.valid > input[type=mail]:hover,
.valid > input[type=password]:focus,
.valid > input[type=password]:hover,
.valid > select:focus,
.valid > select:hover,
input.valid[type=text]:focus,
input.valid[type=text]:hover,
input.valid[type=mail]:focus,
input.valid[type=mail]:hover,
input.valid[type=password]:focus,
input.valid[type=password]:hover,
select.valid:focus,
select.valid:hover {
2017-11-12 14:10:40 +00:00
border-color: #27a560; }
.neutral > input[type=text]:focus, .neutral > input[type=text]:hover,
.neutral > input[type=mail]:focus,
.neutral > input[type=mail]:hover,
.neutral > input[type=password]:focus,
.neutral > input[type=password]:hover,
.neutral > select:focus,
.neutral > select:hover,
input.neutral[type=text]:focus,
input.neutral[type=text]:hover,
input.neutral[type=mail]:focus,
input.neutral[type=mail]:hover,
input.neutral[type=password]:focus,
input.neutral[type=password]:hover,
select.neutral:focus,
select.neutral:hover {
2017-11-12 14:10:40 +00:00
border-color: #2193e6; }
.search > input[type=text]:focus, .search > input[type=text]:hover,
.search > input[type=mail]:focus,
.search > input[type=mail]:hover,
.search > input[type=password]:focus,
.search > input[type=password]:hover,
.search > select:focus,
.search > select:hover,
input.search[type=text]:focus,
input.search[type=text]:hover,
input.search[type=mail]:focus,
input.search[type=mail]:hover,
input.search[type=password]:focus,
input.search[type=password]:hover {
2017-11-12 14:10:40 +00:00
border-color: #5630ed; }
/* (2) Boutons */
button,
button.invalid,
.invalid > button {
display: inline-block;
position: relative;
left: 50%;
padding: .7em 1em;
border-radius: 3px;
border: 1px solid #d52918;
background: #d52918 center center no-repeat;
color: #fff;
transition: background .4s ease-in-out;
-webkit-transform: translateX(-50%);
2017-11-12 14:10:40 +00:00
transform: translateX(-50%); }
button:hover, button:focus, button:disabled,
button.invalid:hover,
button.invalid:focus,
button.invalid:disabled,
.invalid > button:hover,
.invalid > button:focus,
.invalid > button:disabled {
background-color: #fff;
color: #d52918; }
button.grey,
.grey > button {
border-color: #8d8d8d;
2017-11-12 14:10:40 +00:00
background-color: #8d8d8d; }
button.grey:hover, button.grey:focus, button.grey:disabled,
.grey > button:hover,
.grey > button:focus,
.grey > button:disabled {
background-color: #fff;
color: #8d8d8d; }
button.valid,
.valid > button {
border-color: #27a560;
2017-11-12 14:10:40 +00:00
background-color: #27a560; }
button.valid:hover, button.valid:focus, button.valid:disabled,
.valid > button:hover,
.valid > button:focus,
.valid > button:disabled {
background-color: #fff;
color: #27a560; }
button.neutral,
.neutral > button {
border-color: #2193e6;
2017-11-12 14:10:40 +00:00
background-color: #2193e6; }
button.neutral:hover, button.neutral:focus, button.neutral:disabled,
.neutral > button:hover,
.neutral > button:focus,
.neutral > button:disabled {
background-color: #fff;
color: #2193e6; }
button.search,
.search > button {
border-color: #5630ed;
2017-11-12 14:10:40 +00:00
background-color: #5630ed; }
button.search:hover, button.search:focus, button.search:disabled,
.search > button:hover,
.search > button:focus,
.search > button:disabled {
background-color: #fff;
color: #5630ed; }
.invalid > button.active,
button.invalid.active,
button.active {
background-color: #fff;
background-image: url("/src/static/container/active@d52918.svg") !important;
background-size: 1em auto;
2017-11-12 14:10:40 +00:00
color: transparent !important; }
button.valid.active,
.valid > button.active {
2017-11-12 14:10:40 +00:00
background-image: url("/src/static/container/active@27a560.svg") !important; }
button.neutral.active,
.neutral > button.active {
2017-11-12 14:10:40 +00:00
background-image: url("/src/static/container/active@2193e6.svg") !important; }
button.search.active,
.search > button.active {
2017-11-12 14:10:40 +00:00
background-image: url("/src/static/container/active@5630ed.svg") !important; }
hr.OR[data-label] {
display: block;
position: relative;
width: 100%;
height: 0;
border: 0;
2017-11-12 14:10:40 +00:00
border-bottom: 1px dashed #d52918; }
hr.OR[data-label]:before {
content: attr(data-label);
display: inline-block;
position: relative;
top: 50%;
left: 50%;
padding: 0 1em;
background-color: #fff;
color: #d52918;
-webkit-transform: translateX(-50%) translatey(-50%);
transform: translateX(-50%) translatey(-50%); }
.valid > hr.OR,
hr.OR.valid {
2017-11-12 14:10:40 +00:00
border-bottom: 1px dashed #27a560; }
.valid > hr.OR:before,
hr.OR.valid:before {
color: #27a560; }
.neutral > hr.OR,
hr.OR.neutral {
2017-11-12 14:10:40 +00:00
border-bottom: 1px dashed #2193e6; }
.neutral > hr.OR:before,
hr.OR.neutral:before {
color: #2193e6; }
.search > hr.OR,
hr.OR.search {
2017-11-12 14:10:40 +00:00
border-bottom: 1px dashed #5630ed; }
.search > hr.OR:before,
hr.OR.search:before {
color: #5630ed; }
2016-10-18 14:03:03 +00:00
/*# sourceMappingURL= global.css.map */