publik-base-theme/static/nanterre/_custom.scss

353 lines
6.3 KiB
SCSS

@import '../includes/fonts/asap';
body {
background: #fff;
max-width: 1600px;
margin: 0 auto;
}
#logo {
padding-top: 12px;
padding-bottom: 12px;
}
#logo a {
text-indent: -10000px;
overflow: hidden;
display: block;
color: $primary-color;
background: url(img/logo_nanterre.png) top left no-repeat;
width: 482px;
height: 52px;
}
div#nav > ul > li > a {
font-size: 90%;
}
div#main-content-wrapper {
#main-content {
margin-top: 12px;
}
}
#content div.cell.dashboard-title {
margin-bottom: 0;
}
#content div.cell.menucell.dashboard-menu {
margin-top: 0;
background: white;
ul {
position: relative;
top: -1px;
}
ul li {
border-right: 1px solid #DEDEDE;
text-align: center;
background: white;
width: 50%;
float: left;
display: inline-block;
a {
position: relative;
padding: 0;
display: block;
height: 112px;
span {
position: absolute;
bottom: 25px;
width: 100%;
left: 0;
color: $font-color;
}
}
a {
background: transparent url(img/tab_mr.png) 50% 15px no-repeat;
&:hover {
background-color: #f0f0f0;
}
}
/* supports both current and potential page names */
&.menu-profile a { background-image: url(img/tab_mr.png); }
&.menu-dossier a { background-image: url(img/tab_mr.png); }
&.menu-famille a { background-image: url(img/tab_famille.png); }
&.menu-factures a { background-image: url(img/tab_facture.png); }
&.menu-paiements a { background-image: url(img/tab_facture.png); }
&.menu-porte-doc a { background-image: url(img/tab_doc.png); }
&.menu-documents a { background-image: url(img/tab_doc.png); }
&.menu-demandes a { background-image: url(img/tab_question.png); }
&.menu-demarches a { background-image: url(img/tab_question.png); }
&.menu-lecteur a { background-image: url(img/tab_livre.png); }
&.menu-liens a { background-image: url(img/tab_livre.png); }
}
ul::after {
display: block;
content: "";
clear: both;
}
}
#content div.rsu-frontoffice-app-title {
margin-bottom: 10px;
display: none; // show via javascript in rsu-frontoffice-app.html
}
#content div.rsu-frontoffice-app {
margin-bottom: 0;
border: 0;
background: transparent;
p {
margin-top: -10px;
border-bottom: 1px solid #DEDEDE;
text-align: center;
width: 100%;
float: left;
display: inline-block;
a {
position: relative;
padding: 0;
display: block;
height: 112px;
background: white url(img/app_technocarte.png) 50% 15px no-repeat;
span {
position: absolute;
bottom: 25px;
width: 100%;
left: 0;
color: $font-color;
}
&:hover {
background-color: #f0f0f0;
}
}
&.rsu-frontoffice-app-technocarte a { background-image: url(img/app_technocarte.png); }
&.rsu-frontoffice-app-infor a { background-image: url(img/app_infor.png); }
}
}
#footer .textcell.adresse {
background: url(img/marker.png) 0 1em no-repeat;
padding-left: 40px;
}
#footer a {
color: $font-color;
border-bottom: 1px solid #c1c1c1;
&:hover {
border-bottom-color: transparent;
}
}
#toplinks {
box-shadow: none;
border-color: #5BC2EB;
border-radius: 0;
border-width: 2px;
top: 10px;
max-width: auto;
padding: 0;
transition: border-color 0.3s, background-color 0.3s;
a, a::after, a::before {
transition: border-color 0.3s, background-color 0.3s;
}
&:hover {
border-color: #1ba7de;
a.logout::after {
background-color: #1ba7de;
}
}
a {
display: inline-block;
height: 35px;
line-height: 35px;
padding-left: 50px;
padding-right: 2ex;
position: relative;
font-family: Arial;
font-size: 90%;
}
a::before {
position: absolute;
left: 0;
content: "";
width: 40px;
height: 100%;
display: inline-block;
background: #5BC2EB url(img/picto_user.png) center center no-repeat;
}
a:hover::before {
background-color: #1ba7de;
}
.logged-in a span.connected-user {
padding-right: 2ex;
border-right: 2px solid $font-color;
}
.logged-in a {
padding-left: 2ex;
}
.logged-in a::before {
content: none;
}
a.logout {
padding-left: 0;
padding-right: 50px;
}
a.logout::after {
position: absolute;
right: 0;
content: "";
width: 40px;
height: 100%;
display: inline-block;
background: #5BC2EB url(img/picto_close.png) center center no-repeat;
}
a.registration::before {
background-image: url(img/picto_pencil.png);
}
}
#content div.cell.black h2:first-child {
background: #282828;
}
div#content button,
input[type=submit],
div.buttons input {
font-weight: bold;
&.cancel {
font-weight: normal;
}
}
div#content button:disabled {
pointer-events: none;
box-shadow: none;
cursor: not-allowed;
background: grayscale($button-background);
border: 1px solid grayscale($button-background);
color: grayscale($button-color);
}
div#rub_service {
div.submit-button {
float: right;
}
div.previous-button button,
div.cancel-button button {
background: white;
border: 1px solid #aaa;
color: #666;
box-shadow: none;
font-weight: normal;
&:hover {
background: #eee;
}
}
form + br.quixoteform {
display: none;
}
}
div#side > div {
background: white;
}
#content div.dashboard-menu {
border: none;
margin-top: 2em;
}
div.part {
background: #F5F5F5;
padding: 10px 0;
margin-top: 10px;
position: relative;
.edit-button {
position: absolute;
right: 10px;
top: 15px;
padding: 3px 2ex;
border: 2px solid $primary-color;
color: $primary-color;
background: white;
display: inline-block;
text-transform: uppercase;
font-size: 90%;
transition: all 0.3s;
&:hover {
background: $primary-color;
color: white;
}
}
h3 {
font-size: 110%;
}
div.newline {
clear: both;
}
}
div.invoices div.buttons {
margin: 0 0 1ex 1ex;
}
/* fargo */
div#user-files {
background: white;
padding: 10px;
}
@media screen and ($max-mobile-viewport) {
div#toplinks {
max-width: 100%;
border-width: 0 0 2px 2px;
top: 0px;
}
#logo {
padding-top: 50px;
a {
max-width: 100%;
background-size: 100%;
}
}
#nav-wrapper {
margin-top: -80px;
}
div.part .edit-button {
position: static;
float: right;
margin-right: 10px;
}
}
// Steps
@include desktop-vertical-steps() {
.wcs-steps {
font-size: 1.4em;
}
.wcs-step--label {
margin-left: 0;
}
}
.form-content {
border-radius: 5px;
background: white;
&::after {
content: "";
display: block;
clear: both;
}
div#tracking-code {
background: #e9e9e9;
h3 {
background-color: #232323;
}
}
}