517 lines
10 KiB
SCSS
517 lines
10 KiB
SCSS
@import '../includes/font-barlow';
|
|
|
|
$dashboard_items: (profil, demandes, famille, paiements, porte-doc, abonnements);
|
|
|
|
#nav-skip a {
|
|
color: white;
|
|
}
|
|
|
|
div#header-wrapper {
|
|
background: $primary-color;
|
|
height: 80px;
|
|
#logo-ville {
|
|
position: absolute;
|
|
left: 4rem;
|
|
top: 0px;
|
|
z-index: 10;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
left: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
h1 {
|
|
text-indent: -10000px;
|
|
}
|
|
#toplinks {
|
|
box-shadow: none;
|
|
background: transparent;
|
|
top: 1rem;
|
|
text-transform: uppercase;
|
|
font-size: 18px;
|
|
a {
|
|
color: white;
|
|
.connected-user {
|
|
font-weight: bold;
|
|
&::before {
|
|
content: "Bonjour ";
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div#nav-wrapper {
|
|
position: absolute;
|
|
top: 5.5rem;
|
|
right: 0rem;
|
|
width: 500px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
width: auto;
|
|
max-width: 100%;
|
|
}
|
|
z-index: 1000;
|
|
button {
|
|
position: absolute;
|
|
right: 4rem;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
top: 1rem;
|
|
right: 2.5rem;
|
|
}
|
|
border-radius: 10px;
|
|
.icon-bar {
|
|
z-index: 10;
|
|
}
|
|
&::before {
|
|
transition: all 250ms ease-in-out 0ms;
|
|
height: 4rem;
|
|
width: 4rem;
|
|
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20230%20230%22%20transform%3D%22rotate%280%29%22%3E%3Cg%20style%3D%22opacity%3A%201%22%3E%3Cpolygon%20stroke%3D%22%23000%22%20fill%3D%22%23000%22%20stroke-width%3D%2270%22%20stroke-linejoin%3D%22round%22%20points%3D%2277%2C180.9%20153%2C180.9%20191.1%2C115%20153%2C49.1%2077%2C49.1%2038.9%2C115%20%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
|
background-size: 100%;
|
|
left: -0.7rem;
|
|
position: absolute;
|
|
top: -0.7rem;
|
|
content: '';
|
|
-ms-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
z-index: 1;
|
|
}
|
|
&::after {
|
|
transition: all 250ms ease-in-out 0ms;
|
|
height: 5rem;
|
|
width: 5rem;
|
|
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20230%20230%22%20transform%3D%22rotate%280%29%22%3E%3Cg%20style%3D%22opacity%3A%200.5%22%3E%3Cpolygon%20stroke%3D%22%23373737%22%20fill%3D%22%23373737%22%20stroke-width%3D%2270%22%20stroke-linejoin%3D%22round%22%20points%3D%2277%2C180.9%20153%2C180.9%20191.1%2C115%20153%2C49.1%2077%2C49.1%2038.9%2C115%20%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
|
background-size: 100%;
|
|
left: -1.2rem;
|
|
position: absolute;
|
|
top: -1.2rem;
|
|
content: '';
|
|
position: absolute;
|
|
-ms-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
z-index: 0;
|
|
}
|
|
}
|
|
#nav > ul {
|
|
border-top: none;
|
|
position: relative;
|
|
top: $nav-menu-side;
|
|
a {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
#content {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
div#a-la-une {
|
|
div {
|
|
position: relative;
|
|
text-align: center;
|
|
&::before {
|
|
content: "";
|
|
height: 1px;
|
|
width: 100%;
|
|
background: $primary-color;
|
|
display: block;
|
|
position: relative;
|
|
top: 24px;
|
|
}
|
|
}
|
|
h1 {
|
|
margin: 0;
|
|
color: #373737;
|
|
font-weight: 400;
|
|
font-size: 2.5rem;
|
|
text-transform: uppercase;
|
|
background: white;
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 0 1rem;
|
|
}
|
|
}
|
|
|
|
div#a-la-une-texte {
|
|
position: relative;
|
|
height: 403px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
height: auto;
|
|
}
|
|
> div {
|
|
padding-left: 550px;
|
|
padding-right: 150px;
|
|
padding-top: 140px;
|
|
text-align: center;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
padding: 0 0 1rem 0;
|
|
background: $primary-color;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
border-radius: 10px;
|
|
max-width: 100%;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
h2, p {
|
|
position: relative;
|
|
z-index: 100;
|
|
color: white;
|
|
}
|
|
p:last-child {
|
|
position: static;
|
|
z-index: 0;
|
|
}
|
|
&::after {
|
|
content: '';
|
|
height: 320px;
|
|
width: 320px;
|
|
background-size: 100%;
|
|
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20230%20230%22%20transform%3D%22rotate%280%29%22%3E%3Cg%20style%3D%22opacity%3A%201%22%3E%3Cpolygon%20stroke%3D%22%23da3838%22%20fill%3D%22%23da3838%22%20stroke-width%3D%2270%22%20stroke-linejoin%3D%22round%22%20points%3D%2277%2C180.9%20153%2C180.9%20191.1%2C115%20153%2C49.1%2077%2C49.1%2038.9%2C115%20%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
|
-ms-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
z-index: 1;
|
|
position: absolute;
|
|
right: 90px;
|
|
bottom: 0;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
#columns {
|
|
h1 {
|
|
color: $primary-color;
|
|
font-size: 2rem;
|
|
margin: 0 0.5rem;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
div#sidebar {
|
|
h1 {
|
|
color: $primary-color;
|
|
font-size: 2.5rem;
|
|
margin: 0 0.5rem;
|
|
line-height: 100%;
|
|
}
|
|
}
|
|
|
|
.gru-content #sidebar div.cell {
|
|
margin-right: 40px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
margin-right: 0rem;
|
|
}
|
|
}
|
|
|
|
#content div.trackingcodeinputcell {
|
|
background: url(img/trackingcode.png) 2rem 1rem no-repeat;
|
|
border: 1px solid #c6c6c6;
|
|
border-radius: 10px;
|
|
padding: 1rem 3rem 1rem 160px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
background-position: top center;
|
|
padding: 80px 0 0 0;
|
|
h2 {
|
|
text-align: center;
|
|
}
|
|
}
|
|
form {
|
|
margin-left: 0;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
p {
|
|
width: 100%;
|
|
}
|
|
input {
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
margin-right: 2rem;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
@media screen and (max-width: $mobile-limit) {
|
|
margin: 0 1rem 1rem 1rem;
|
|
button {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
button {
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
div#content {
|
|
div#rub_service div.category ul,
|
|
div#services > ul > li > ul,
|
|
div#account-management ul,
|
|
div.links-list ul,
|
|
div.menucell ul,
|
|
div.wcsformcell,
|
|
div.notificationscell ul,
|
|
div.categoriescell ul,
|
|
div.wcsformsofcategorycell ul,
|
|
div.wcscurrentdraftscell ul,
|
|
div.wcscurrentformscell ul {
|
|
a {
|
|
color: #888;
|
|
padding: 0.5rem 0.5rem;
|
|
}
|
|
li:hover a,
|
|
li.selected a {
|
|
color: $primary-color;
|
|
border-bottom: 1px solid $primary-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
#columns {
|
|
div.textcell {
|
|
h1, h2, h3, h4, p, ul {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#columns {
|
|
div.wcsformsofcategorycell {
|
|
h2 {
|
|
background: transparent center left no-repeat;
|
|
height: 80px;
|
|
margin: 0;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-ms-justify-content: center;
|
|
justify-content: center;
|
|
padding-left: 80px;
|
|
text-align: left;
|
|
}
|
|
@media screen and (max-width: $mobile-limit) {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
div#gauche {
|
|
float: none;
|
|
width: auto;
|
|
& + div#rub_service {
|
|
float: none;
|
|
}
|
|
div#side {
|
|
border: 1px solid #c6c6c6;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
div#tracking-code {
|
|
background: transparent url(img/trackingcode.png) 2rem 1rem no-repeat;
|
|
padding: 1rem 3rem 1rem 130px;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
background-position: top left;
|
|
padding: 0 1rem 1rem 80px;
|
|
}
|
|
display: inline-block;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
h3 {
|
|
padding-bottom: 0;
|
|
}
|
|
a {
|
|
padding-top: 0;
|
|
padding-left: 0.5rem;
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
div#steps {
|
|
margin-top: 1rem;
|
|
&::before {
|
|
content: "";
|
|
height: 1px;
|
|
width: 80%;
|
|
margin-left: 10%;
|
|
background: $primary-color;
|
|
display: block;
|
|
position: relative;
|
|
top: 70px;
|
|
}
|
|
ol {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-justify-content: space-evenly;
|
|
justify-content: space-evenly;
|
|
}
|
|
li {
|
|
position: relative;
|
|
z-index: 10;
|
|
text-align: center;
|
|
width: 15ex;
|
|
border-bottom: 0;
|
|
background: url(img/step-g.png) top center no-repeat;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
background: none;
|
|
width: 2ex;
|
|
text-align: center;
|
|
padding-right: 0;
|
|
}
|
|
span.marker {
|
|
padding: 1.5rem 0;
|
|
color: white;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
padding: 0;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
span.label {
|
|
display: inline-block;
|
|
padding-top: 0.5rem;
|
|
@media screen and (max-width: $mobile-limit) {
|
|
display: none;
|
|
}
|
|
}
|
|
&.current {
|
|
background-image: url(img/step-r.png);
|
|
span.label {
|
|
color: $primary-color;
|
|
font-weight: normal;
|
|
}
|
|
@media screen and (max-width: $mobile-limit) {
|
|
background: none;
|
|
span.marker {
|
|
background: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div#rub_service {
|
|
float: none;
|
|
width: 80%;
|
|
margin-left: 10%;
|
|
}
|
|
|
|
|
|
div#rub_service {
|
|
h2 {
|
|
text-align: left;
|
|
font-size: 200%;
|
|
text-transform: none;
|
|
}
|
|
form div.buttons {
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-justify-content: space-between;
|
|
justify-content: space-between;
|
|
button {
|
|
margin-right: 0;
|
|
}
|
|
.submit-button {
|
|
-ms-order: 2;
|
|
order: 2;
|
|
}
|
|
.cancel-button button {
|
|
background: white;
|
|
border: 1px solid #ccc;
|
|
color: #666;
|
|
box-shadow: none;
|
|
font-weight: normal;
|
|
}
|
|
.savedraft-button {
|
|
display: none;
|
|
}
|
|
}
|
|
form#wf-actions div.buttons {
|
|
display: block;
|
|
}
|
|
|
|
div.text-check-before-submit, ul#evolutions, div.gru-content
|
|
#disclose-dataview, div#receipt-intro {
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
div.section {
|
|
h2 {
|
|
font-size: 180%;
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
|
|
ul#evolutions span.status {
|
|
font-weight: normal;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
ul#evolutions li {
|
|
background: url(img/step-g.png) 5px 15px no-repeat;
|
|
background-size: 50px;
|
|
span {
|
|
background: none !important;
|
|
box-shadow: none;
|
|
border: none;
|
|
&::before {
|
|
content: none;
|
|
}
|
|
}
|
|
&::after {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.back-home-button {
|
|
text-align: center;
|
|
a {
|
|
text-transform: uppercase;
|
|
border: 1px solid #ccc;
|
|
color: #666;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
}
|
|
|
|
#dashboard-menu {
|
|
li {
|
|
background: transparent left center no-repeat;
|
|
padding-left: 50px;
|
|
margin-bottom: 4px;
|
|
}
|
|
@each $dashboard_item in $dashboard_items {
|
|
li.menu-#{$dashboard_item} {
|
|
background-image: url(img/#{$dashboard_item}.png);
|
|
}
|
|
}
|
|
}
|
|
|
|
body.has-picture nav::after {
|
|
top: 0;
|
|
}
|
|
|
|
div#rub_service div.dataview, div#rub_service dl#evolutions, div#rub_service form {
|
|
padding: 1ex 0;
|
|
}
|
|
|
|
div.dataview span.label {
|
|
font-weight: normal;
|
|
color: #666;
|
|
}
|