<span class="sr-only">Toggle navigation</span> | <span class="sr-only">Toggle navigation</span> | ||||
</a> | </a> | ||||
<span class="producer<?php if(!$producer->logo): ?> without-logo<?php endif; ?>"> | |||||
<span class="producer-panel<?php if(!$producer->logo): ?> without-logo<?php endif; ?>"> | |||||
<?php if($producer->logo): ?> | <?php if($producer->logo): ?> | ||||
<span class="logo"> | <span class="logo"> | ||||
<img class="img-logo" | <img class="img-logo" |
background-color: white; | background-color: white; | ||||
} | } | ||||
/* line 29, ../sass/_adminlte.scss */ | /* line 29, ../sass/_adminlte.scss */ | ||||
body.skin-black .main-header .navbar .producer { | |||||
float: left; | |||||
padding: 15px; | |||||
padding-left: 57px; | |||||
} | |||||
/* line 34, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .producer.without-logo { | |||||
padding-left: 10px; | |||||
} | |||||
/* line 38, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .producer .logo { | |||||
position: absolute; | |||||
top: 5px; | |||||
left: 50px; | |||||
background-color: white; | |||||
width: 40px; | |||||
height: 40px; | |||||
-moz-border-radius: 50px; | |||||
-webkit-border-radius: 50px; | |||||
border-radius: 50px; | |||||
border: solid 1px #e0e0e0; | |||||
text-align: center; | |||||
overflow: hidden; | |||||
} | |||||
/* line 50, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .producer .logo .img-logo { | |||||
position: absolute; | |||||
top: 50%; | |||||
left: 50%; | |||||
transform: translate(-50%, -50%); | |||||
max-width: 35px; | |||||
max-height: 35px; | |||||
body.skin-black .main-header .navbar .producer-panel { | |||||
margin-left: 7px; | |||||
} | } | ||||
/* line 60, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .producer .title { | |||||
position: relative; | |||||
top: 2px; | |||||
text-transform: uppercase; | |||||
} | |||||
/* line 67, ../sass/_adminlte.scss */ | |||||
/* line 33, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .sidebar-toggle { | body.skin-black .main-header .navbar .sidebar-toggle { | ||||
color: #333; | color: #333; | ||||
} | } | ||||
/* line 71, ../sass/_adminlte.scss */ | |||||
/* line 37, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .navbar-custom-menu .navbar-nav > li > a, | body.skin-black .main-header .navbar .navbar-custom-menu .navbar-nav > li > a, | ||||
body.skin-black .main-header .navbar .navbar-right > li > a { | body.skin-black .main-header .navbar .navbar-right > li > a { | ||||
border-left: solid 1px #e0e0e0; | border-left: solid 1px #e0e0e0; | ||||
color: #333; | color: #333; | ||||
} | } | ||||
/* line 77, ../sass/_adminlte.scss */ | |||||
/* line 43, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .nav > li > a:hover, body.skin-black .main-header .navbar .nav > li > a:active, body.skin-black .main-header .navbar .nav > li > a:focus, | body.skin-black .main-header .navbar .nav > li > a:hover, body.skin-black .main-header .navbar .nav > li > a:active, body.skin-black .main-header .navbar .nav > li > a:focus, | ||||
body.skin-black .main-header .navbar .nav .open > a, body.skin-black .main-header .navbar .nav .open > a:hover, body.skin-black .main-header .navbar .nav .open > a:focus, | body.skin-black .main-header .navbar .nav .open > a, body.skin-black .main-header .navbar .nav .open > a:hover, body.skin-black .main-header .navbar .nav .open > a:focus, | ||||
body.skin-black .main-header .navbar .nav > .active > a { | body.skin-black .main-header .navbar .nav > .active > a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 83, ../sass/_adminlte.scss */ | |||||
/* line 49, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .dropdown-menu { | body.skin-black .main-header .navbar .dropdown-menu { | ||||
-moz-box-shadow: 0px 0px 4px gray; | -moz-box-shadow: 0px 0px 4px gray; | ||||
-webkit-box-shadow: 0px 0px 4px gray; | -webkit-box-shadow: 0px 0px 4px gray; | ||||
box-shadow: 0px 0px 4px gray; | box-shadow: 0px 0px 4px gray; | ||||
} | } | ||||
/* line 88, ../sass/_adminlte.scss */ | |||||
/* line 54, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .logo, body.skin-black .main-header .navbar .sidebar-toggle { | body.skin-black .main-header .logo, body.skin-black .main-header .navbar .sidebar-toggle { | ||||
border-right: solid 1px #e0e0e0; | border-right: solid 1px #e0e0e0; | ||||
} | } | ||||
/* line 92, ../sass/_adminlte.scss */ | |||||
/* line 58, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .link-control-sidebar { | body.skin-black .main-header .link-control-sidebar { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 97, ../sass/_adminlte.scss */ | |||||
/* line 63, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .notifications-menu ul.menu { | body.skin-black .main-header .notifications-menu ul.menu { | ||||
max-height: 300px; | max-height: 300px; | ||||
} | } | ||||
/* line 100, ../sass/_adminlte.scss */ | |||||
/* line 66, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .notifications-menu ul.menu li a { | body.skin-black .main-header .notifications-menu ul.menu li a { | ||||
padding-top: 4px; | padding-top: 4px; | ||||
padding-bottom: 4px; | padding-bottom: 4px; | ||||
} | } | ||||
/* line 104, ../sass/_adminlte.scss */ | |||||
/* line 70, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .notifications-menu ul.menu li a h5 { | body.skin-black .main-header .notifications-menu ul.menu li a h5 { | ||||
margin-bottom: 2px; | margin-bottom: 2px; | ||||
} | } | ||||
/* line 107, ../sass/_adminlte.scss */ | |||||
/* line 73, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .notifications-menu ul.menu li a h5 small { | body.skin-black .main-header .notifications-menu ul.menu li a h5 small { | ||||
float: right; | float: right; | ||||
} | } | ||||
/* line 112, ../sass/_adminlte.scss */ | |||||
/* line 78, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .notifications-menu ul.menu li a p { | body.skin-black .main-header .notifications-menu ul.menu li a p { | ||||
margin-left: 10px; | margin-left: 10px; | ||||
} | } | ||||
/* line 122, ../sass/_adminlte.scss */ | |||||
/* line 88, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .nav li.producer-menu .label { | body.skin-black .main-header .navbar .nav li.producer-menu .label { | ||||
position: relative; | position: relative; | ||||
top: -2px; | top: -2px; | ||||
left: 0px; | left: 0px; | ||||
} | } | ||||
/* line 128, ../sass/_adminlte.scss */ | |||||
/* line 94, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .nav li.producer-menu #link-display-producers-offline { | body.skin-black .main-header .navbar .nav li.producer-menu #link-display-producers-offline { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 132, ../sass/_adminlte.scss */ | |||||
/* line 98, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-header .navbar .nav li.producer-menu .offline { | body.skin-black .main-header .navbar .nav li.producer-menu .offline { | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 138, ../sass/_adminlte.scss */ | |||||
/* line 104, ../sass/_adminlte.scss */ | |||||
body.skin-black .sidebar-menu > li.active > a { | body.skin-black .sidebar-menu > li.active > a { | ||||
border-color: #FF7F00; | border-color: #FF7F00; | ||||
} | } | ||||
/* line 143, ../sass/_adminlte.scss */ | |||||
/* line 109, ../sass/_adminlte.scss */ | |||||
body.skin-black section.sidebar .user-panel { | body.skin-black section.sidebar .user-panel { | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 146, ../sass/_adminlte.scss */ | |||||
/* line 112, ../sass/_adminlte.scss */ | |||||
body.skin-black section.sidebar .user-panel .image { | body.skin-black section.sidebar .user-panel .image { | ||||
margin-bottom: 3px; | margin-bottom: 3px; | ||||
} | } | ||||
/* line 150, ../sass/_adminlte.scss */ | |||||
/* line 116, ../sass/_adminlte.scss */ | |||||
body.skin-black section.sidebar .user-panel .title { | body.skin-black section.sidebar .user-panel .title { | ||||
font-weight: bold; | font-weight: bold; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 157, ../sass/_adminlte.scss */ | |||||
/* line 123, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper { | body.skin-black .content-wrapper { | ||||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||||
} | } | ||||
/* line 160, ../sass/_adminlte.scss */ | |||||
/* line 126, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .content-header { | body.skin-black .content-wrapper .content-header { | ||||
background-color: #F5F5F5; | background-color: #F5F5F5; | ||||
padding-bottom: 15px; | padding-bottom: 15px; | ||||
border-bottom: solid 1px #e0e0e0; | border-bottom: solid 1px #e0e0e0; | ||||
border-top: solid 1px #e0e0e0; | border-top: solid 1px #e0e0e0; | ||||
} | } | ||||
/* line 166, ../sass/_adminlte.scss */ | |||||
/* line 132, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .content-header .btn { | body.skin-black .content-wrapper .content-header .btn { | ||||
padding: 3px 6px; | padding: 3px 6px; | ||||
font-size: 10px; | font-size: 10px; | ||||
font-family: Arial; | font-family: Arial; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
} | } | ||||
/* line 173, ../sass/_adminlte.scss */ | |||||
/* line 139, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .content-header h1 { | body.skin-black .content-wrapper .content-header h1 { | ||||
font-family: 'myriadpro-light'; | font-family: 'myriadpro-light'; | ||||
font-size: 20px; | font-size: 20px; | ||||
} | } | ||||
/* line 178, ../sass/_adminlte.scss */ | |||||
/* line 144, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper a { | body.skin-black .content-wrapper a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 182, ../sass/_adminlte.scss */ | |||||
/* line 148, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .btn { | body.skin-black .content-wrapper .btn { | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 186, ../sass/_adminlte.scss */ | |||||
/* line 152, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .btn-default { | body.skin-black .content-wrapper .btn-default { | ||||
color: #333; | color: #333; | ||||
background-color: white; | background-color: white; | ||||
} | } | ||||
/* line 191, ../sass/_adminlte.scss */ | |||||
/* line 157, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .btn-primary { | body.skin-black .content-wrapper .btn-primary { | ||||
background-color: #FF7F00; | background-color: #FF7F00; | ||||
color: white; | color: white; | ||||
border-color: #FF7F00; | border-color: #FF7F00; | ||||
} | } | ||||
/* line 198, ../sass/_adminlte.scss */ | |||||
/* line 164, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .alert a { | body.skin-black .content-wrapper .alert a { | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 201, ../sass/_adminlte.scss */ | |||||
/* line 167, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .alert a.btn { | body.skin-black .content-wrapper .alert a.btn { | ||||
color: #333; | color: #333; | ||||
text-decoration: none; | text-decoration: none; | ||||
} | } | ||||
/* line 206, ../sass/_adminlte.scss */ | |||||
/* line 172, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .alert .close { | body.skin-black .content-wrapper .alert .close { | ||||
font-size: 30px; | font-size: 30px; | ||||
position: relative; | position: relative; | ||||
color: white; | color: white; | ||||
opacity: 0.6; | opacity: 0.6; | ||||
} | } | ||||
/* line 214, ../sass/_adminlte.scss */ | |||||
/* line 180, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .alert .close:hover { | body.skin-black .content-wrapper .alert .close:hover { | ||||
opacity: 1; | opacity: 1; | ||||
} | } | ||||
/* line 221, ../sass/_adminlte.scss */ | |||||
/* line 187, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .callout h4 .fa { | body.skin-black .content-wrapper .callout h4 .fa { | ||||
margin-right: 7px; | margin-right: 7px; | ||||
} | } | ||||
/* line 224, ../sass/_adminlte.scss */ | |||||
/* line 190, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .callout a { | body.skin-black .content-wrapper .callout a { | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 227, ../sass/_adminlte.scss */ | |||||
/* line 193, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .callout .btn { | body.skin-black .content-wrapper .callout .btn { | ||||
color: #333; | color: #333; | ||||
text-decoration: none; | text-decoration: none; | ||||
} | } | ||||
/* line 234, ../sass/_adminlte.scss */ | |||||
/* line 200, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .table th { | body.skin-black .content-wrapper .table th { | ||||
font-size: 13px; | font-size: 13px; | ||||
} | } | ||||
/* line 237, ../sass/_adminlte.scss */ | |||||
/* line 203, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions { | body.skin-black .content-wrapper .table th.column-actions, body.skin-black .content-wrapper .table td.column-actions { | ||||
width: 150px; | width: 150px; | ||||
text-align: right; | text-align: right; | ||||
} | } | ||||
/* line 241, ../sass/_adminlte.scss */ | |||||
/* line 207, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small { | body.skin-black .content-wrapper .table td.text-small, body.skin-black .content-wrapper .table th.text-small { | ||||
font-size: 12px; | font-size: 12px; | ||||
} | } | ||||
/* line 246, ../sass/_adminlte.scss */ | |||||
/* line 212, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus { | body.skin-black .content-wrapper .pagination > .active > a, body.skin-black .content-wrapper .pagination > .active > span, body.skin-black .content-wrapper .pagination > .active > a:hover, body.skin-black .content-wrapper .pagination > .active > span:hover, body.skin-black .content-wrapper .pagination > .active > a:focus, body.skin-black .content-wrapper .pagination > .active > span:focus { | ||||
background-color: #FF7F00; | background-color: #FF7F00; | ||||
border: solid 1px #FF7F00; | border: solid 1px #FF7F00; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 251, ../sass/_adminlte.scss */ | |||||
/* line 217, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span { | body.skin-black .content-wrapper .pagination > li > a, body.skin-black .content-wrapper .pagination > li > span { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 253, ../sass/_adminlte.scss */ | |||||
/* line 219, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover { | body.skin-black .content-wrapper .pagination > li > a:hover, body.skin-black .content-wrapper .pagination > li > span:hover { | ||||
color: #cc6600; | color: #cc6600; | ||||
} | } | ||||
/* line 258, ../sass/_adminlte.scss */ | |||||
/* line 224, ../sass/_adminlte.scss */ | |||||
body.skin-black .content-wrapper .submenu { | body.skin-black .content-wrapper .submenu { | ||||
margin-bottom: 25px; | margin-bottom: 25px; | ||||
} | } | ||||
/* line 264, ../sass/_adminlte.scss */ | |||||
/* line 230, ../sass/_adminlte.scss */ | |||||
body.skin-black .main-footer a { | body.skin-black .main-footer a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 270, ../sass/_adminlte.scss */ | |||||
/* line 236, ../sass/_adminlte.scss */ | |||||
body.login-page { | body.login-page { | ||||
background: none; | background: none; | ||||
background-color: white; | background-color: white; | ||||
} | } | ||||
/* line 274, ../sass/_adminlte.scss */ | |||||
/* line 240, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-logo { | body.login-page .login-box .login-logo { | ||||
text-align: center; | text-align: center; | ||||
font-family: "comfortaalight"; | font-family: "comfortaalight"; | ||||
} | } | ||||
/* line 277, ../sass/_adminlte.scss */ | |||||
/* line 243, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-logo img { | body.login-page .login-box .login-logo img { | ||||
width: 50px; | width: 50px; | ||||
} | } | ||||
/* line 282, ../sass/_adminlte.scss */ | |||||
/* line 248, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-box-body .btn-primary { | body.login-page .login-box .login-box-body .btn-primary { | ||||
background-color: #FF7F00; | background-color: #FF7F00; | ||||
border-color: #FF7F00; | border-color: #FF7F00; | ||||
padding: 5px 10px; | padding: 5px 10px; | ||||
} | } | ||||
/* line 287, ../sass/_adminlte.scss */ | |||||
/* line 253, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-box-body .btn-primary:active { | body.login-page .login-box .login-box-body .btn-primary:active { | ||||
background-color: #ff8c1a; | background-color: #ff8c1a; | ||||
border-color: #FF7F00; | border-color: #FF7F00; | ||||
} | } | ||||
/* line 293, ../sass/_adminlte.scss */ | |||||
/* line 259, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-box-body a { | body.login-page .login-box .login-box-body a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 295, ../sass/_adminlte.scss */ | |||||
/* line 261, ../sass/_adminlte.scss */ | |||||
body.login-page .login-box .login-box-body a:hover { | body.login-page .login-box .login-box-body a:hover { | ||||
color: #ff8c1a; | color: #ff8c1a; | ||||
} | } |
.navbar { | .navbar { | ||||
background-color: white ; | background-color: white ; | ||||
.producer { | |||||
float: left; | |||||
padding: 15px; | |||||
padding-left: 57px; | |||||
&.without-logo { | |||||
padding-left: 10px; | |||||
} | |||||
.logo { | |||||
position: absolute; | |||||
top: 5px; | |||||
left: 50px; | |||||
background-color: white; | |||||
width: 40px; | |||||
height: 40px; | |||||
@include border-radius(50px); | |||||
border: solid 1px #e0e0e0; | |||||
text-align: center; | |||||
overflow: hidden; | |||||
.img-logo { | |||||
position: absolute; | |||||
top: 50%; | |||||
left: 50%; | |||||
transform: translate(-50%, -50%); | |||||
max-width: 35px; | |||||
max-height: 35px; | |||||
} | |||||
} | |||||
.title { | |||||
position: relative; | |||||
top: 2px; | |||||
text-transform: uppercase; | |||||
} | |||||
.producer-panel { | |||||
margin-left: 7px; | |||||
} | } | ||||
.sidebar-toggle { | .sidebar-toggle { |
font-weight: normal; | font-weight: normal; | ||||
font-style: normal; | font-style: normal; | ||||
} | } | ||||
/* line 2, ../sass/_common.scss */ | |||||
/* line 4, ../sass/_common.scss */ | |||||
.producer-panel { | |||||
position: relative; | |||||
float: left; | |||||
padding: 15px; | |||||
padding-left: 50px; | |||||
} | |||||
/* line 10, ../sass/_common.scss */ | |||||
.producer-panel.without-logo { | |||||
padding-left: 10px; | |||||
} | |||||
/* line 14, ../sass/_common.scss */ | |||||
.producer-panel .logo { | |||||
position: absolute; | |||||
top: 5px; | |||||
left: 0px; | |||||
background-color: white; | |||||
width: 40px; | |||||
height: 40px; | |||||
-moz-border-radius: 50px; | |||||
-webkit-border-radius: 50px; | |||||
border-radius: 50px; | |||||
border: solid 1px #e0e0e0; | |||||
text-align: center; | |||||
overflow: hidden; | |||||
} | |||||
/* line 26, ../sass/_common.scss */ | |||||
.producer-panel .logo .img-logo { | |||||
position: absolute; | |||||
top: 50%; | |||||
left: 50%; | |||||
transform: translate(-50%, -50%); | |||||
max-width: 35px; | |||||
max-height: 35px; | |||||
} | |||||
/* line 36, ../sass/_common.scss */ | |||||
.producer-panel .title { | |||||
position: relative; | |||||
top: 2px; | |||||
text-transform: uppercase; | |||||
} | |||||
/* line 43, ../sass/_common.scss */ | |||||
.block-date { | .block-date { | ||||
margin: 0px auto; | margin: 0px auto; | ||||
padding-top: 0px; | padding-top: 0px; | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 7, ../sass/_common.scss */ | |||||
/* line 48, ../sass/_common.scss */ | |||||
.block-date .day { | .block-date .day { | ||||
text-transform: capitalize; | text-transform: capitalize; | ||||
line-height: 15px; | line-height: 15px; | ||||
font-size: 13px; | font-size: 13px; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
} | } | ||||
/* line 14, ../sass/_common.scss */ | |||||
/* line 55, ../sass/_common.scss */ | |||||
.block-date .num { | .block-date .num { | ||||
font-size: 30px; | font-size: 30px; | ||||
line-height: 35px; | line-height: 35px; | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } | ||||
/* line 20, ../sass/_common.scss */ | |||||
/* line 61, ../sass/_common.scss */ | |||||
.block-date .month { | .block-date .month { | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
line-height: 15px; | line-height: 15px; | ||||
color: #e67200; | color: #e67200; | ||||
} | } | ||||
/* line 32, ../sass/_common.scss */ | |||||
/* line 73, ../sass/_common.scss */ | |||||
#footer #code-source img, | #footer #code-source img, | ||||
#footer #social-mastodon img, | #footer #social-mastodon img, | ||||
#footer #social-diaspora img { | #footer #social-diaspora img { |
@import "compass"; | |||||
.producer-panel { | |||||
position: relative; | |||||
float: left; | |||||
padding: 15px; | |||||
padding-left: 50px; | |||||
&.without-logo { | |||||
padding-left: 10px; | |||||
} | |||||
.logo { | |||||
position: absolute; | |||||
top: 5px; | |||||
left: 0px; | |||||
background-color: white; | |||||
width: 40px; | |||||
height: 40px; | |||||
@include border-radius(50px); | |||||
border: solid 1px #e0e0e0; | |||||
text-align: center; | |||||
overflow: hidden; | |||||
.img-logo { | |||||
position: absolute; | |||||
top: 50%; | |||||
left: 50%; | |||||
transform: translate(-50%, -50%); | |||||
max-width: 35px; | |||||
max-height: 35px; | |||||
} | |||||
} | |||||
.title { | |||||
position: relative; | |||||
top: 2px; | |||||
text-transform: uppercase; | |||||
} | |||||
} | |||||
.block-date { | .block-date { | ||||
margin: 0px auto ; | margin: 0px auto ; | ||||
padding-top: 0px ; | padding-top: 0px ; |
<div id="back"></div> | <div id="back"></div> | ||||
<section id="section-user-top"> | <section id="section-user-top"> | ||||
<nav class="navbar navbar-inverse"> | |||||
<nav class="navbar navbar-default"> | |||||
<div class="container"> | <div class="container"> | ||||
<?php if($userManager->isCurrentProducer()): ?> | |||||
<?php if ($userManager->isCurrentProducer()): ?> | |||||
<div class="navbar-header"> | <div class="navbar-header"> | ||||
<span class="navbar-brand" href="javascript:void(0);"><?= Html::encode($producer->name); ?></span> | |||||
<span class="producer-panel<?php if (!$producer->logo): ?> without-logo<?php endif; ?>"> | |||||
<?php if ($producer->logo): ?> | |||||
<span class="logo"> | |||||
<img class="img-logo" | |||||
src="<?= \Yii::$app->urlManagerProducer->baseUrl; ?>/uploads/<?= $producer->logo; ?>" | |||||
alt="Logo <?= Html::encode($producer->name) ?>"/> | |||||
</span> | |||||
<?php endif; ?> | |||||
<span class="title"><?= Html::encode($producer->name); ?></span> | |||||
</span> | |||||
</div> | </div> | ||||
<?php endif; ?> | <?php endif; ?> | ||||
#section-user-top { | #section-user-top { | ||||
.navbar { | .navbar { | ||||
background-color: #333; | |||||
margin-bottom: 0px; | margin-bottom: 0px; | ||||
@include border-radius(0px none); | @include border-radius(0px none); | ||||
} | } |
*/ | */ | ||||
use common\logic\Order\Order\Model\Order; | use common\logic\Order\Order\Model\Order; | ||||
use common\logic\Producer\Producer\Wrapper\ProducerManager; | |||||
use common\logic\User\User\Wrapper\UserManager; | |||||
use common\logic\User\UserProducer\Model\UserProducer; | use common\logic\User\UserProducer\Model\UserProducer; | ||||
use yii\bootstrap\Nav; | use yii\bootstrap\Nav; | ||||
use common\helpers\GlobalParam; | use common\helpers\GlobalParam; | ||||
\common\assets\CommonAsset::register($this); | \common\assets\CommonAsset::register($this); | ||||
\producer\assets\AppAsset::register($this); | \producer\assets\AppAsset::register($this); | ||||
$userManager = UserManager::getInstance(); | |||||
$userCurrent = GlobalParam::getCurrentUser(); | $userCurrent = GlobalParam::getCurrentUser(); | ||||
$producerManager = ProducerManager::getInstance(); | |||||
$producerUser = null; | |||||
if($userManager->isCurrentProducer()) { | |||||
$producerUser = $producerManager->findOneProducerById($userCurrent->id_producer); | |||||
} | |||||
$producer = $this->context->getProducerCurrent(); | $producer = $this->context->getProducerCurrent(); | ||||
if (!Yii::$app->user->isGuest) { | if (!Yii::$app->user->isGuest) { | ||||
$userProducer = UserProducer::findOne(['id_user' => GlobalParam::getCurrentUserId(), 'id_producer' => $producer->id]); | |||||
$userProducer = UserProducer::findOne(['id_user' => GlobalParam::getCurrentUserId(), 'id_producer' => $producer->id]); | |||||
} | } | ||||
?> | ?> | ||||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||||
<meta name="base-url" content="<?= \Yii::$app->urlManager->baseUrl; ?>"> | <meta name="base-url" content="<?= \Yii::$app->urlManager->baseUrl; ?>"> | ||||
<meta name="slug-producer" content="<?= $producer->slug; ?>"> | <meta name="slug-producer" content="<?= $producer->slug; ?>"> | ||||
<?= Html::csrfMetaTags() ?> | |||||
<?= Html::csrfMetaTags() ?> | |||||
<link rel="icon" type="image/png" | <link rel="icon" type="image/png" | ||||
href="<?php echo \Yii::$app->urlManager->getBaseUrl(); ?>/img/favicon-distrib.png"/> | href="<?php echo \Yii::$app->urlManager->getBaseUrl(); ?>/img/favicon-distrib.png"/> | ||||
<?php $this->head() ?> | |||||
<?php $this->head() ?> | |||||
<?= $this->render('@common/views/matomo.php') ?> | <?= $this->render('@common/views/matomo.php') ?> | ||||
</head> | </head> | ||||
<body class="<?= \Yii::$app->controller->id . '-' . \Yii::$app->controller->action->id ?>"> | <body class="<?= \Yii::$app->controller->id . '-' . \Yii::$app->controller->action->id ?>"> | ||||
<?php $this->beginBody() ?> | <?php $this->beginBody() ?> | ||||
<div id="header-bap"> | |||||
<?php | |||||
echo Nav::widget([ | |||||
<section id="section-user-top"> | |||||
<nav class="navbar navbar-default"> | |||||
<div class="container"> | |||||
<?php if ($userManager->isCurrentProducer()): ?> | |||||
<div class="navbar-header"> | |||||
<span class="producer-panel<?php if (!$producerUser->logo): ?> without-logo<?php endif; ?>"> | |||||
<?php if ($producerUser->logo): ?> | |||||
<span class="logo"> | |||||
<img class="img-logo" | |||||
src="<?= \Yii::$app->urlManagerProducer->baseUrl; ?>/uploads/<?= $producerUser->logo; ?>" | |||||
alt="Logo <?= Html::encode($producerUser->name) ?>"/> | |||||
</span> | |||||
<?php endif; ?> | |||||
<span class="title"><?= Html::encode($producerUser->name); ?></span> | |||||
</span> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php | |||||
echo Nav::widget([ | |||||
'encodeLabels' => false, | 'encodeLabels' => false, | ||||
'options' => ['class' => 'nav nav-pills navbar-nav navbar-right'], | |||||
'items' => [ | 'items' => [ | ||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-menu-hamburger"></span>', | |||||
'options' => ['id' => 'label1'], | |||||
'url' => '#', | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/signup']), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/login', 'return_url' => \Yii::$app->urlManager->createAbsoluteUrl(['site/index'])]), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
], | |||||
'visible' => \Yii::$app->user->isGuest | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-cog"></span> Administration', | |||||
'url' => $this->getUrlManagerBackend()->createAbsoluteUrl(['site/index']), | |||||
'visible' => $userManager->isCurrentProducer() | |||||
], | |||||
/*[ | |||||
'label' => '<span class="glyphicon glyphicon-search"></span> Producteurs', | |||||
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producers']), | |||||
'visible' => true | |||||
],*/ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> ' . ((!Yii::$app->user->isGuest) ? Html::encode(Yii::$app->user->identity->name . ' ' . strtoupper(substr(Yii::$app->user->identity->lastname, 0, 1))) : '') . '. ', | |||||
'options' => ['id' => 'label1'], | |||||
'url' => '#', | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Profil', | |||||
'url' => $this->getUrlManagerFrontend()->createUrl(['user/update']), | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion', | |||||
'url' => $this->getUrlManagerFrontend()->createUrl(['site/logout']), | |||||
] | |||||
], | ], | ||||
'visible' => !Yii::$app->user->isGuest | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion', | |||||
'url' => $this->getUrlManagerFrontend()->createUrl(['site/login']), | |||||
'visible' => \Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'site/login' | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription', | |||||
'url' => $this->getUrlManagerFrontend()->createUrl(['site/signup']), | |||||
'visible' => \Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'site/signup' | |||||
], | |||||
]]); | |||||
?> | |||||
</div> | |||||
</nav> | |||||
</section> | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-menu-hamburger"></span>', | |||||
'options' => ['id' => 'label1'], | |||||
'url' => '#', | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']), | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Profil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['user/update']), | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion<br /><small>' . (!Yii::$app->user->isGuest ? Html::encode(Yii::$app->user->identity->name . ' ' . strtoupper(substr(Yii::$app->user->identity->lastname, 0, 1))) : '') . '.</small>', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/logout']), | |||||
] | |||||
], | |||||
'visible' => !Yii::$app->user->isGuest | |||||
], | |||||
<!-- | |||||
<div id="header-bap"> | |||||
<?php | |||||
echo Nav::widget([ | |||||
'encodeLabels' => false, | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-menu-hamburger"></span>', | |||||
'options' => ['id' => 'label1'], | |||||
'url' => '#', | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | ], | ||||
'options' => ['id' => 'nav-bap'], | |||||
]); | |||||
?> | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Inscription', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/signup']), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-log-in"></span> Connexion', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/login', 'return_url' => \Yii::$app->urlManager->createAbsoluteUrl(['site/index'])]), | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
], | |||||
'visible' => \Yii::$app->user->isGuest | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-menu-hamburger"></span>', | |||||
'options' => ['id' => 'label1'], | |||||
'url' => '#', | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-chevron-left"></span> Retour à l\'accueil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/index']), | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-user"></span> Profil', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['user/update']), | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-off"></span> Déconnexion<br /><small>' . (!Yii::$app->user->isGuest ? Html::encode(Yii::$app->user->identity->name . ' ' . strtoupper(substr(Yii::$app->user->identity->lastname, 0, 1))) : '') . '.</small>', | |||||
'url' => \Yii::$app->urlManagerFrontend->createAbsoluteUrl(['site/logout']), | |||||
] | |||||
], | |||||
'visible' => !Yii::$app->user->isGuest | |||||
], | |||||
], | |||||
'options' => ['id' => 'nav-bap'], | |||||
]); | |||||
?> | |||||
</div> | </div> | ||||
--> | |||||
<div class="container"> | <div class="container"> | ||||
<div id="left" class="col-md-3"> | <div id="left" class="col-md-3"> | ||||
<div class="fixed"> | <div class="fixed"> | ||||
<?php if (strlen($producer->logo)): ?> | |||||
<div id="logo"<?php if (!is_null($producer->background_color_logo) && strlen($producer->background_color_logo)): ?> style="background-color:<?= Html::encode($producer->background_color_logo); ?>"<?php endif; ?>> | |||||
<a href="<?= \Yii::$app->urlManager->createUrl(['site/index']) ?>"> | |||||
<img class="img-logo" | |||||
src="<?= \Yii::$app->urlManager->baseUrl; ?>/uploads/<?= $producer->logo; ?>" | |||||
alt="Logo <?= Html::encode($producer->name) ?>"/> | |||||
</a> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->logo)): ?> | |||||
<div id="logo"<?php if (!is_null($producer->background_color_logo) && strlen($producer->background_color_logo)): ?> style="background-color:<?= Html::encode($producer->background_color_logo); ?>"<?php endif; ?>> | |||||
<a href="<?= \Yii::$app->urlManager->createUrl(['site/index']) ?>"> | |||||
<img class="img-logo" | |||||
src="<?= \Yii::$app->urlManager->baseUrl; ?>/uploads/<?= $producer->logo; ?>" | |||||
alt="Logo <?= Html::encode($producer->name) ?>"/> | |||||
</a> | |||||
</div> | |||||
<?php endif; ?> | |||||
<h1><?= Html::encode($producer->name); ?></h1> | <h1><?= Html::encode($producer->name); ?></h1> | ||||
<h2><?= Html::encode($producer->type) ?> à <?= Html::encode($producer->city); ?> | <h2><?= Html::encode($producer->type) ?> à <?= Html::encode($producer->city); ?> | ||||
(<?= Html::encode($producer->postcode); ?>)</h2> | (<?= Html::encode($producer->postcode); ?>)</h2> | ||||
<nav id="main-nav"> | <nav id="main-nav"> | ||||
<?php | |||||
<?php | |||||
$credit = ''; | |||||
if (isset($userProducer) && $userProducer) { | |||||
$labelType = $userProducer->credit > 0 ? 'success' : 'danger'; | |||||
$credit = ' <span class="label label-' . $labelType . '">' . number_format($userProducer->credit, 2) . ' €</span>'; | |||||
} | |||||
$credit = ''; | |||||
if (isset($userProducer) && $userProducer) { | |||||
$labelType = $userProducer->credit > 0 ? 'success' : 'danger'; | |||||
$credit = ' <span class="label label-' . $labelType . '">' . number_format($userProducer->credit, 2) . ' €</span>'; | |||||
} | |||||
$countSubcriptions = 0; | |||||
if($userCurrent) { | |||||
$countSubcriptions = $this->getSubscriptionManager()->countSubscriptionsByUser( | |||||
$userCurrent | |||||
); | |||||
} | |||||
$countSubcriptions = 0; | |||||
if ($userCurrent) { | |||||
$countSubcriptions = $this->getSubscriptionManager()->countSubscriptionsByUser( | |||||
$userCurrent | |||||
); | |||||
} | |||||
$labelSubscription = $countSubcriptions > 0 ? 'success' : 'default'; | |||||
$labelSubscription = $countSubcriptions > 0 ? 'success' : 'default'; | |||||
$countOrders = Order::find() | |||||
->joinWith(['distribution']) | |||||
->where([ | |||||
'id_user' => GlobalParam::getCurrentUserId(), | |||||
'distribution.id_producer' => GlobalParam::getCurrentProducerId() | |||||
]) | |||||
->params([':date_today' => date('Y-m-d')]) | |||||
->andWhere('distribution.date >= :date_today') | |||||
->count(); | |||||
$labelOrders = $countOrders > 0 ? 'success' : 'default'; | |||||
$countOrders = Order::find() | |||||
->joinWith(['distribution']) | |||||
->where([ | |||||
'id_user' => GlobalParam::getCurrentUserId(), | |||||
'distribution.id_producer' => GlobalParam::getCurrentProducerId() | |||||
]) | |||||
->params([':date_today' => date('Y-m-d')]) | |||||
->andWhere('distribution.date >= :date_today') | |||||
->count(); | |||||
$labelOrders = $countOrders > 0 ? 'success' : 'default'; | |||||
echo Nav::widget([ | |||||
'encodeLabels' => false, | |||||
'options' => ['class' => 'nav'], | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-th-large"></span> Accueil', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['site/index']), | |||||
'active' => $this->getControllerAction() == 'site/index', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-plus"></span> Commander', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['order/order']), | |||||
'visible' => $producer->option_allow_order_guest || !Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/order', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-plus"></span> Commander', | |||||
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producer', 'id' => $this->context->getProducerCurrent()->id, 'return_url' => \Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order', 'slug_producer' => $this->context->getProducerCurrent()->slug])]), | |||||
'visible' => !$producer->option_allow_order_guest && \Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/order', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-folder-open"></span> Mes commandes <span class="label label-' . $labelOrders . '">' . $countOrders . '</span>', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['order/history']), | |||||
'visible' => !Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/history', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-repeat"></span> Abonnements <span class="label label-' . $labelSubscription . '">' . $countSubcriptions . '</span>', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['subscription/index']), | |||||
'visible' => !Yii::$app->user->isGuest && $producer->user_manage_subscription, | |||||
'active' => $this->getControllerAction() == 'subscription/index', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-euro"></span> Crédit' . $credit, | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['credit/history']), | |||||
'visible' => !Yii::$app->user->isGuest && $producer->credit, | |||||
'active' => $this->getControllerAction() == 'credit/history', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-envelope"></span> Contact', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['site/contact']), | |||||
'active' => $this->getControllerAction() == 'site/contact', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-cog"></span> Administration', | |||||
'url' => $this->getUrlManagerBackend()->createAbsoluteUrl(['site/index']), | |||||
'visible' => isset(Yii::$app->user->identity) && $this->getUserManager()->isProducer(\Yii::$app->user->identity), | |||||
'options' => ['id' => 'btn-administration'] | |||||
], | |||||
], | |||||
]); | |||||
?> | |||||
echo Nav::widget([ | |||||
'encodeLabels' => false, | |||||
'options' => ['class' => 'nav'], | |||||
'items' => [ | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-th-large"></span> Accueil', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['site/index']), | |||||
'active' => $this->getControllerAction() == 'site/index', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-plus"></span> Commander', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['order/order']), | |||||
'visible' => $producer->option_allow_order_guest || !Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/order', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-plus"></span> Commander', | |||||
'url' => $this->getUrlManagerFrontend()->createAbsoluteUrl(['site/producer', 'id' => $this->context->getProducerCurrent()->id, 'return_url' => \Yii::$app->urlManagerProducer->createAbsoluteUrl(['order/order', 'slug_producer' => $this->context->getProducerCurrent()->slug])]), | |||||
'visible' => !$producer->option_allow_order_guest && \Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/order', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-folder-open"></span> Mes commandes <span class="label label-' . $labelOrders . '">' . $countOrders . '</span>', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['order/history']), | |||||
'visible' => !Yii::$app->user->isGuest, | |||||
'active' => $this->getControllerAction() == 'order/history', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-repeat"></span> Abonnements <span class="label label-' . $labelSubscription . '">' . $countSubcriptions . '</span>', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['subscription/index']), | |||||
'visible' => !Yii::$app->user->isGuest && $producer->user_manage_subscription, | |||||
'active' => $this->getControllerAction() == 'subscription/index', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-euro"></span> Crédit' . $credit, | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['credit/history']), | |||||
'visible' => !Yii::$app->user->isGuest && $producer->credit, | |||||
'active' => $this->getControllerAction() == 'credit/history', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-envelope"></span> Contact', | |||||
'url' => $this->getUrlManagerProducer()->createUrl(['site/contact']), | |||||
'active' => $this->getControllerAction() == 'site/contact', | |||||
], | |||||
[ | |||||
'label' => '<span class="glyphicon glyphicon-cog"></span> Administration', | |||||
'url' => $this->getUrlManagerBackend()->createAbsoluteUrl(['site/index']), | |||||
'visible' => isset(Yii::$app->user->identity) && $this->getUserManager()->isProducer(\Yii::$app->user->identity), | |||||
'options' => ['id' => 'btn-administration'] | |||||
], | |||||
], | |||||
]); | |||||
?> | |||||
</nav> | </nav> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div id="main" class="col-md-9"> | <div id="main" class="col-md-9"> | ||||
<?php if (strlen($producer->photo)): ?> | |||||
<div id="img-big"> | |||||
<img class="img-photo" src="<?= \Yii::$app->urlManager->baseUrl; ?>/uploads/<?= $producer->photo; ?>" | |||||
alt="Photo <?= Html::encode($producer->name) ?>"/> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->photo)): ?> | |||||
<div id="img-big"> | |||||
<img class="img-photo" src="<?= \Yii::$app->urlManager->baseUrl; ?>/uploads/<?= $producer->photo; ?>" | |||||
alt="Photo <?= Html::encode($producer->name) ?>"/> | |||||
</div> | |||||
<?php endif; ?> | |||||
<div id="infos-producer"> | <div id="infos-producer"> | ||||
<?php if(!$this->getProducerManager()->hasSpecificDelays($producer) && $producer->order_deadline && $producer->order_delay): ?> | |||||
<span data-toggle="tooltip" data-placement="bottom" title="Heure limite de commande"> | |||||
<?php if (!$this->getProducerManager()->hasSpecificDelays($producer) && $producer->order_deadline && $producer->order_delay): ?> | |||||
<span data-toggle="tooltip" data-placement="bottom" title="Heure limite de commande"> | |||||
<span class="glyphicon glyphicon-time"></span> Commande avant | <span class="glyphicon glyphicon-time"></span> Commande avant | ||||
<strong><?php echo Html::encode($producer->order_deadline) ?> h</strong></span>, | <strong><?php echo Html::encode($producer->order_deadline) ?> h</strong></span>, | ||||
<span data-toggle="tooltip" data-placement="bottom" | |||||
title="Exemple : commande le lundi pour le | |||||
<span data-toggle="tooltip" data-placement="bottom" | |||||
title="Exemple : commande le lundi pour le | |||||
<?php if ($producer->order_delay == 1): ?>mardi<?php elseif ($producer->order_delay == 2): ?>mercredi | <?php if ($producer->order_delay == 1): ?>mardi<?php elseif ($producer->order_delay == 2): ?>mercredi | ||||
<?php elseif ($producer->order_delay == 3): ?>jeudi<?php elseif ($producer->order_delay == 4): ?>vendredi | <?php elseif ($producer->order_delay == 3): ?>jeudi<?php elseif ($producer->order_delay == 4): ?>vendredi | ||||
<?php elseif ($producer->order_delay == 5): ?>samedi<?php elseif ($producer->order_delay == 6): ?>dimanche | <?php elseif ($producer->order_delay == 5): ?>samedi<?php elseif ($producer->order_delay == 6): ?>dimanche | ||||
<?php elseif ($producer->order_delay == 7): ?>lundi d'après<?php endif; ?>"><strong><?= Html::encode($producer->order_delay) ?> jour<?php if ($producer->order_delay > 1): ?>s<?php endif; ?></strong> à l'avance</span> | <?php elseif ($producer->order_delay == 7): ?>lundi d'après<?php endif; ?>"><strong><?= Html::encode($producer->order_delay) ?> jour<?php if ($producer->order_delay > 1): ?>s<?php endif; ?></strong> à l'avance</span> | ||||
<?php endif; ?> | |||||
<?php endif; ?> | |||||
<?php if (!Yii::$app->user->isGuest): ?> | |||||
<span class="favorite"> | |||||
<?php if (!Yii::$app->user->isGuest): ?> | |||||
<span class="favorite"> | |||||
<?php if ($userProducer && $userProducer->bookmark): ?> | <?php if ($userProducer && $userProducer->bookmark): ?> | ||||
<span class="glyphicon glyphicon-star"></span> <a | <span class="glyphicon glyphicon-star"></span> <a | ||||
href="<?= \Yii::$app->urlManagerProducer->createUrl(['site/bookmarks', 'action' => 'delete']); ?>" | href="<?= \Yii::$app->urlManagerProducer->createUrl(['site/bookmarks', 'action' => 'delete']); ?>" | ||||
title="Ajouter à mes favoris">Favoris</a> | title="Ajouter à mes favoris">Favoris</a> | ||||
<?php endif; ?> | <?php endif; ?> | ||||
</span> | </span> | ||||
<?php endif; ?> | |||||
<?php endif; ?> | |||||
<div class="clr"></div> | <div class="clr"></div> | ||||
</div> | </div> | ||||
<?php if (strlen($this->getTitle())): ?> | |||||
<h2 id="page-title"> | |||||
<?= $this->getTitle(); ?> | |||||
<?php | |||||
if ($this->buttons && count($this->buttons)): ?> | |||||
<span id="buttons"> | |||||
<?php if (strlen($this->getTitle())): ?> | |||||
<h2 id="page-title"> | |||||
<?= $this->getTitle(); ?> | |||||
<?php | |||||
if ($this->buttons && count($this->buttons)): ?> | |||||
<span id="buttons"> | |||||
<?php foreach ($this->buttons as $button) { | <?php foreach ($this->buttons as $button) { | ||||
echo '<a href="' . \Yii::$app->urlManagerProducer->createUrl($button['url']) . '" class="' . $button['class'] . '">' . $button['label'] . '</a>'; | |||||
echo '<a href="' . \Yii::$app->urlManagerProducer->createUrl($button['url']) . '" class="' . $button['class'] . '">' . $button['label'] . '</a>'; | |||||
} | } | ||||
?> | ?> | ||||
</span> | </span> | ||||
<?php endif; ?> | |||||
</h2> | |||||
<?php endif; ?> | |||||
<?php endif; ?> | |||||
</h2> | |||||
<?php endif; ?> | |||||
<section id="content"> | <section id="content"> | ||||
<?php if (Yii::$app->session->hasFlash('error')): ?> | |||||
<div class="alert alert-danger" role="alert"> | |||||
<?= \Yii::$app->session->getFlash('error') ?> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php if (Yii::$app->session->hasFlash('success')): ?> | |||||
<div class="alert alert-success" role="alert"> | |||||
<?= \Yii::$app->session->getFlash('success') ?> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php if (Yii::$app->session->hasFlash('error')): ?> | |||||
<div class="alert alert-danger" role="alert"> | |||||
<?= \Yii::$app->session->getFlash('error') ?> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?php if (Yii::$app->session->hasFlash('success')): ?> | |||||
<div class="alert alert-success" role="alert"> | |||||
<?= \Yii::$app->session->getFlash('success') ?> | |||||
</div> | |||||
<?php endif; ?> | |||||
<?= $content ?> | |||||
<?= $content ?> | |||||
</section> | </section> | ||||
<?php if (strlen($producer->mentions) || strlen($producer->gcs)): ?> | |||||
<section id="footer-producer"> | |||||
<?= Html::encode($producer->name) ?> : | |||||
<?php if (strlen($producer->mentions)): ?> | |||||
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/mentions']); ?>">Mentions | |||||
légales</a> | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->mentions) && strlen($producer->gcs)): ?> | |||||
• | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->gcs)): ?> | |||||
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/gcs']); ?>">Conditions générales | |||||
de vente</a> | |||||
<?php endif; ?> | |||||
</section> | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->mentions) || strlen($producer->gcs)): ?> | |||||
<section id="footer-producer"> | |||||
<?= Html::encode($producer->name) ?> : | |||||
<?php if (strlen($producer->mentions)): ?> | |||||
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/mentions']); ?>">Mentions | |||||
légales</a> | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->mentions) && strlen($producer->gcs)): ?> | |||||
• | |||||
<?php endif; ?> | |||||
<?php if (strlen($producer->gcs)): ?> | |||||
<a href="<?php echo \Yii::$app->urlManager->createUrl(['site/gcs']); ?>">Conditions générales | |||||
de vente</a> | |||||
<?php endif; ?> | |||||
</section> | |||||
<?php endif; ?> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
z-index: 10; | z-index: 10; | ||||
} | } | ||||
/* line 67, ../sass/_layout.scss */ | |||||
/* line 68, ../sass/_layout.scss */ | |||||
#section-user-top .navbar-default { | |||||
background-color: white; | |||||
} | |||||
/* line 73, ../sass/_layout.scss */ | |||||
#main { | #main { | ||||
position: relative; | position: relative; | ||||
} | } | ||||
/* line 69, ../sass/_layout.scss */ | |||||
/* line 75, ../sass/_layout.scss */ | |||||
#main .btn-primary { | #main .btn-primary { | ||||
background-color: #FF7F00; | background-color: #FF7F00; | ||||
border: solid 1px #FF7F00; | border: solid 1px #FF7F00; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 74, ../sass/_layout.scss */ | |||||
/* line 80, ../sass/_layout.scss */ | |||||
#main .btn-primary:hover, #main .btn-primary:active, #main .btn-primary:focus { | #main .btn-primary:hover, #main .btn-primary:active, #main .btn-primary:focus { | ||||
background-color: #e67200; | background-color: #e67200; | ||||
border: solid 1px #FF7F00; | border: solid 1px #FF7F00; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 83, ../sass/_layout.scss */ | |||||
/* line 89, ../sass/_layout.scss */ | |||||
.btn { | .btn { | ||||
background-image: none; | background-image: none; | ||||
} | } | ||||
/* line 87, ../sass/_layout.scss */ | |||||
/* line 93, ../sass/_layout.scss */ | |||||
#main .alert { | #main .alert { | ||||
background-image: none; | background-image: none; | ||||
background-color: white; | background-color: white; | ||||
border-bottom-width: 3px; | border-bottom-width: 3px; | ||||
} | } | ||||
/* line 95, ../sass/_layout.scss */ | |||||
/* line 101, ../sass/_layout.scss */ | |||||
.alert.alert-warning a { | .alert.alert-warning a { | ||||
color: #8a6d3b; | color: #8a6d3b; | ||||
text-decoration: underline; | text-decoration: underline; | ||||
} | } | ||||
/* line 102, ../sass/_layout.scss */ | |||||
/* line 108, ../sass/_layout.scss */ | |||||
.alert.alert-danger a { | .alert.alert-danger a { | ||||
color: #a94442; | color: #a94442; | ||||
text-decoration: underline; | text-decoration: underline; | ||||
} | } | ||||
/* line 112, ../sass/_layout.scss */ | |||||
/* line 118, ../sass/_layout.scss */ | |||||
ul.pagination li.active a { | ul.pagination li.active a { | ||||
background-color: #FF7F00; | background-color: #FF7F00; | ||||
border: solid 1px #FF7F00; | border: solid 1px #FF7F00; | ||||
} | } | ||||
/* line 116, ../sass/_layout.scss */ | |||||
/* line 122, ../sass/_layout.scss */ | |||||
ul.pagination li.active a:hover { | ul.pagination li.active a:hover { | ||||
background-color: white; | background-color: white; | ||||
border: solid 1px white; | border: solid 1px white; | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 123, ../sass/_layout.scss */ | |||||
/* line 129, ../sass/_layout.scss */ | |||||
ul.pagination li a { | ul.pagination li a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 126, ../sass/_layout.scss */ | |||||
/* line 132, ../sass/_layout.scss */ | |||||
ul.pagination li a:hover, ul.pagination li a:focus, ul.pagination li a:active { | ul.pagination li a:hover, ul.pagination li a:focus, ul.pagination li a:active { | ||||
background-color: white; | background-color: white; | ||||
border: solid 1px white; | border: solid 1px white; | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 135, ../sass/_layout.scss */ | |||||
/* line 141, ../sass/_layout.scss */ | |||||
#header-bap { | #header-bap { | ||||
position: absolute; | position: absolute; | ||||
right: 0px; | right: 0px; | ||||
text-align: center; | text-align: center; | ||||
z-index: 1000; | z-index: 1000; | ||||
} | } | ||||
/* line 146, ../sass/_layout.scss */ | |||||
/* line 152, ../sass/_layout.scss */ | |||||
#header-bap .container { | #header-bap .container { | ||||
padding-left: 0px; | padding-left: 0px; | ||||
padding-right: 0px; | padding-right: 0px; | ||||
} | } | ||||
/* line 151, ../sass/_layout.scss */ | |||||
/* line 157, ../sass/_layout.scss */ | |||||
#header-bap a#logo { | #header-bap a#logo { | ||||
color: black; | color: black; | ||||
text-decoration: none; | text-decoration: none; | ||||
position: relative; | position: relative; | ||||
top: 3px; | top: 3px; | ||||
} | } | ||||
/* line 157, ../sass/_layout.scss */ | |||||
/* line 163, ../sass/_layout.scss */ | |||||
#header-bap a#logo img { | #header-bap a#logo img { | ||||
width: 45px; | width: 45px; | ||||
} | } | ||||
/* line 162, ../sass/_layout.scss */ | |||||
/* line 168, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap { | #header-bap ul#nav-bap { | ||||
float: right; | float: right; | ||||
} | } | ||||
/* line 166, ../sass/_layout.scss */ | |||||
/* line 172, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li a { | #header-bap ul#nav-bap li a { | ||||
color: black; | color: black; | ||||
font-size: 15px; | font-size: 15px; | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 171, ../sass/_layout.scss */ | |||||
/* line 177, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li a:hover, #header-bap ul#nav-bap li a:focus { | #header-bap ul#nav-bap li a:hover, #header-bap ul#nav-bap li a:focus { | ||||
color: #333; | color: #333; | ||||
color: #FF7F00; | color: #FF7F00; | ||||
background: none; | background: none; | ||||
} | } | ||||
/* line 178, ../sass/_layout.scss */ | |||||
/* line 184, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li ul { | #header-bap ul#nav-bap li ul { | ||||
background-color: white; | background-color: white; | ||||
border-top: solid 2px #FF7F00; | border-top: solid 2px #FF7F00; | ||||
top: 50px; | top: 50px; | ||||
width: 200px; | width: 200px; | ||||
} | } | ||||
/* line 186, ../sass/_layout.scss */ | |||||
/* line 192, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li ul li a { | #header-bap ul#nav-bap li ul li a { | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
font-size: 13px; | font-size: 13px; | ||||
} | } | ||||
/* line 190, ../sass/_layout.scss */ | |||||
/* line 196, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li ul li a:hover { | #header-bap ul#nav-bap li ul li a:hover { | ||||
color: #ff9933; | color: #ff9933; | ||||
} | } | ||||
/* line 194, ../sass/_layout.scss */ | |||||
/* line 200, ../sass/_layout.scss */ | |||||
#header-bap ul#nav-bap li ul li a small { | #header-bap ul#nav-bap li ul li a small { | ||||
font-size: 10px; | font-size: 10px; | ||||
line-height: 13px; | line-height: 13px; | ||||
margin-left: 18px; | margin-left: 18px; | ||||
} | } | ||||
/* line 206, ../sass/_layout.scss */ | |||||
/* line 212, ../sass/_layout.scss */ | |||||
#left { | #left { | ||||
background-color: #FFF8DC; | background-color: #FFF8DC; | ||||
text-align: center; | text-align: center; | ||||
padding: 0px; | padding: 0px; | ||||
position: relative; | position: relative; | ||||
} | } | ||||
/* line 213, ../sass/_layout.scss */ | |||||
/* line 219, ../sass/_layout.scss */ | |||||
#left .fixed { | #left .fixed { | ||||
position: fixed; | position: fixed; | ||||
display: none; | display: none; | ||||
} | } | ||||
/* line 219, ../sass/_layout.scss */ | |||||
/* line 225, ../sass/_layout.scss */ | |||||
#left #logo { | #left #logo { | ||||
position: relative; | position: relative; | ||||
background-color: white; | background-color: white; | ||||
text-align: center; | text-align: center; | ||||
overflow: hidden; | overflow: hidden; | ||||
} | } | ||||
/* line 231, ../sass/_layout.scss */ | |||||
/* line 237, ../sass/_layout.scss */ | |||||
#left #logo img { | #left #logo img { | ||||
position: absolute; | position: absolute; | ||||
top: 50%; | top: 50%; | ||||
max-width: 90px; | max-width: 90px; | ||||
max-height: 90px; | max-height: 90px; | ||||
} | } | ||||
/* line 241, ../sass/_layout.scss */ | |||||
/* line 247, ../sass/_layout.scss */ | |||||
#left h1, #left h2, #left #infos, #left #infos a { | #left h1, #left h2, #left #infos, #left #infos a { | ||||
color: #323232; | color: #323232; | ||||
} | } | ||||
/* line 245, ../sass/_layout.scss */ | |||||
/* line 251, ../sass/_layout.scss */ | |||||
#left h1 { | #left h1 { | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
font-family: "highvoltageregular"; | font-family: "highvoltageregular"; | ||||
text-align: center; | text-align: center; | ||||
font-weight: normal; | font-weight: normal; | ||||
} | } | ||||
/* line 256, ../sass/_layout.scss */ | |||||
/* line 262, ../sass/_layout.scss */ | |||||
#left h2 { | #left h2 { | ||||
font-family: "capsuularegular"; | font-family: "capsuularegular"; | ||||
font-size: 15px; | font-size: 15px; | ||||
font-weight: normal; | font-weight: normal; | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 262, ../sass/_layout.scss */ | |||||
/* line 268, ../sass/_layout.scss */ | |||||
#left h2 .favorite { | #left h2 .favorite { | ||||
padding-left: 0px; | padding-left: 0px; | ||||
} | } | ||||
/* line 265, ../sass/_layout.scss */ | |||||
/* line 271, ../sass/_layout.scss */ | |||||
#left h2 .favorite .glyphicon { | #left h2 .favorite .glyphicon { | ||||
font-size: 14px; | font-size: 14px; | ||||
} | } | ||||
/* line 270, ../sass/_layout.scss */ | |||||
/* line 276, ../sass/_layout.scss */ | |||||
#left h2 a { | #left h2 a { | ||||
color: #323232; | color: #323232; | ||||
} | } | ||||
/* line 276, ../sass/_layout.scss */ | |||||
/* line 282, ../sass/_layout.scss */ | |||||
#left nav#main-nav { | #left nav#main-nav { | ||||
background-color: white; | background-color: white; | ||||
border: solid 1px #e0e0e0; | border: solid 1px #e0e0e0; | ||||
border-bottom: 0px none; | border-bottom: 0px none; | ||||
margin-top: 20px; | margin-top: 20px; | ||||
} | } | ||||
/* line 283, ../sass/_layout.scss */ | |||||
/* line 289, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li { | #left nav#main-nav ul li { | ||||
display: block; | display: block; | ||||
} | } | ||||
/* line 286, ../sass/_layout.scss */ | |||||
/* line 292, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li a { | #left nav#main-nav ul li a { | ||||
color: #323232; | color: #323232; | ||||
color: black; | color: black; | ||||
display: block; | display: block; | ||||
text-align: left; | text-align: left; | ||||
} | } | ||||
/* line 295, ../sass/_layout.scss */ | |||||
/* line 301, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li a .glyphicon { | #left nav#main-nav ul li a .glyphicon { | ||||
font-size: 15px; | font-size: 15px; | ||||
margin-right: 3px; | margin-right: 3px; | ||||
} | } | ||||
/* line 300, ../sass/_layout.scss */ | |||||
/* line 306, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li a span.label { | #left nav#main-nav ul li a span.label { | ||||
padding-bottom: 3px; | padding-bottom: 3px; | ||||
font-family: "Arial"; | font-family: "Arial"; | ||||
float: right; | float: right; | ||||
} | } | ||||
/* line 308, ../sass/_layout.scss */ | |||||
/* line 314, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li.active span.label, #left nav#main-nav ul li a:hover span.label { | #left nav#main-nav ul li.active span.label, #left nav#main-nav ul li a:hover span.label { | ||||
background-color: #e67200; | background-color: #e67200; | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 314, ../sass/_layout.scss */ | |||||
/* line 320, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li a:hover, #left nav#main-nav ul li.active a { | #left nav#main-nav ul li a:hover, #left nav#main-nav ul li.active a { | ||||
background: #FF7F00; | background: #FF7F00; | ||||
color: white; | color: white; | ||||
-webkit-border-radius: 0px; | -webkit-border-radius: 0px; | ||||
border-radius: 0px; | border-radius: 0px; | ||||
} | } | ||||
/* line 323, ../sass/_layout.scss */ | |||||
/* line 329, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li#btn-administration a { | #left nav#main-nav ul li#btn-administration a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 326, ../sass/_layout.scss */ | |||||
/* line 332, ../sass/_layout.scss */ | |||||
#left nav#main-nav ul li#btn-administration a:hover { | #left nav#main-nav ul li#btn-administration a:hover { | ||||
color: white; | color: white; | ||||
} | } | ||||
/* line 334, ../sass/_layout.scss */ | |||||
/* line 340, ../sass/_layout.scss */ | |||||
#left nav#main-nav #user { | #left nav#main-nav #user { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
float: right; | float: right; | ||||
padding: 10px; | padding: 10px; | ||||
} | } | ||||
/* line 342, ../sass/_layout.scss */ | |||||
/* line 348, ../sass/_layout.scss */ | |||||
#main { | #main { | ||||
background-color: #FFF8DC; | background-color: #FFF8DC; | ||||
border: solid 1px #e0e0e0; | border: solid 1px #e0e0e0; | ||||
padding: 0px; | padding: 0px; | ||||
background-color: white; | background-color: white; | ||||
} | } | ||||
/* line 349, ../sass/_layout.scss */ | |||||
/* line 355, ../sass/_layout.scss */ | |||||
#main #img-big { | #main #img-big { | ||||
height: 130px; | height: 130px; | ||||
overflow: hidden; | overflow: hidden; | ||||
position: relative; | position: relative; | ||||
} | } | ||||
/* line 354, ../sass/_layout.scss */ | |||||
/* line 360, ../sass/_layout.scss */ | |||||
#main #img-big img.img-photo { | #main #img-big img.img-photo { | ||||
width: 100%; | width: 100%; | ||||
position: absolute; | position: absolute; | ||||
left: 50%; | left: 50%; | ||||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||||
} | } | ||||
/* line 364, ../sass/_layout.scss */ | |||||
/* line 370, ../sass/_layout.scss */ | |||||
#main #infos-producer { | #main #infos-producer { | ||||
padding: 5px 10px; | padding: 5px 10px; | ||||
margin-bottom: 0px; | margin-bottom: 0px; | ||||
border-bottom: solid 1px #e0e0e0; | border-bottom: solid 1px #e0e0e0; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 373, ../sass/_layout.scss */ | |||||
/* line 379, ../sass/_layout.scss */ | |||||
#main #infos-producer strong { | #main #infos-producer strong { | ||||
font-weight: bold; | font-weight: bold; | ||||
} | } | ||||
/* line 377, ../sass/_layout.scss */ | |||||
/* line 383, ../sass/_layout.scss */ | |||||
#main #infos-producer .favorite { | #main #infos-producer .favorite { | ||||
float: right; | float: right; | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 380, ../sass/_layout.scss */ | |||||
/* line 386, ../sass/_layout.scss */ | |||||
#main #infos-producer .favorite a { | #main #infos-producer .favorite a { | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 386, ../sass/_layout.scss */ | |||||
/* line 392, ../sass/_layout.scss */ | |||||
#main h2#page-title { | #main h2#page-title { | ||||
padding-left: 15px; | padding-left: 15px; | ||||
padding-right: 15px; | padding-right: 15px; | ||||
top: -10px; | top: -10px; | ||||
text-align: left; | text-align: left; | ||||
} | } | ||||
/* line 400, ../sass/_layout.scss */ | |||||
/* line 406, ../sass/_layout.scss */ | |||||
#main h2#page-title #buttons { | #main h2#page-title #buttons { | ||||
margin-bottom: 15px; | margin-bottom: 15px; | ||||
font-family: "Arial"; | font-family: "Arial"; | ||||
} | } | ||||
/* line 407, ../sass/_layout.scss */ | |||||
/* line 413, ../sass/_layout.scss */ | |||||
#main #content { | #main #content { | ||||
padding: 0px 20px 20px 20px; | padding: 0px 20px 20px 20px; | ||||
padding-bottom: 40px; | padding-bottom: 40px; | ||||
min-height: 300px; | min-height: 300px; | ||||
} | } | ||||
/* line 412, ../sass/_layout.scss */ | |||||
/* line 418, ../sass/_layout.scss */ | |||||
#main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 { | #main #content h1, #main #content h2, #main #content h3, #main #content h4, #main #content h5, #main #content h6 { | ||||
font-family: "highvoltageregular"; | font-family: "highvoltageregular"; | ||||
margin-top: 30px; | margin-top: 30px; | ||||
margin-bottom: 20px; | margin-bottom: 20px; | ||||
} | } | ||||
/* line 417, ../sass/_layout.scss */ | |||||
/* line 423, ../sass/_layout.scss */ | |||||
#main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first { | #main #content h1.first, #main #content h2.first, #main #content h3.first, #main #content h4.first, #main #content h5.first, #main #content h6.first { | ||||
margin-top: 0px; | margin-top: 0px; | ||||
} | } | ||||
/* line 422, ../sass/_layout.scss */ | |||||
/* line 428, ../sass/_layout.scss */ | |||||
#main #content h1 { | #main #content h1 { | ||||
font-size: 30px; | font-size: 30px; | ||||
} | } | ||||
/* line 426, ../sass/_layout.scss */ | |||||
/* line 432, ../sass/_layout.scss */ | |||||
#main #content h2 { | #main #content h2 { | ||||
font-size: 25px; | font-size: 25px; | ||||
} | } | ||||
/* line 431, ../sass/_layout.scss */ | |||||
/* line 437, ../sass/_layout.scss */ | |||||
#main #content h3 { | #main #content h3 { | ||||
font-family: "capsuularegular"; | font-family: "capsuularegular"; | ||||
text-transform: uppercase; | text-transform: uppercase; | ||||
margin-bottom: 30px; | margin-bottom: 30px; | ||||
margin-top: 45px; | margin-top: 45px; | ||||
} | } | ||||
/* line 439, ../sass/_layout.scss */ | |||||
/* line 445, ../sass/_layout.scss */ | |||||
#main #content h3 span { | #main #content h3 span { | ||||
padding-top: 14px; | padding-top: 14px; | ||||
color: #323232; | color: #323232; | ||||
} | } | ||||
/* line 445, ../sass/_layout.scss */ | |||||
/* line 451, ../sass/_layout.scss */ | |||||
#main #content h4 { | #main #content h4 { | ||||
font-size: 20px; | font-size: 20px; | ||||
} | } | ||||
/* line 449, ../sass/_layout.scss */ | |||||
/* line 455, ../sass/_layout.scss */ | |||||
#main #content h5 { | #main #content h5 { | ||||
font-size: 18px; | font-size: 18px; | ||||
} | } | ||||
/* line 453, ../sass/_layout.scss */ | |||||
/* line 459, ../sass/_layout.scss */ | |||||
#main #content h6 { | #main #content h6 { | ||||
font-size: 16px; | font-size: 16px; | ||||
} | } | ||||
/* line 459, ../sass/_layout.scss */ | |||||
/* line 465, ../sass/_layout.scss */ | |||||
#main #content form .form-group .hint-block { | #main #content form .form-group .hint-block { | ||||
color: gray; | color: gray; | ||||
} | } | ||||
/* line 467, ../sass/_layout.scss */ | |||||
/* line 473, ../sass/_layout.scss */ | |||||
#footer-producer { | #footer-producer { | ||||
text-align: center; | text-align: center; | ||||
position: absolute; | position: absolute; | ||||
left: 0px; | left: 0px; | ||||
width: 100%; | width: 100%; | ||||
} | } | ||||
/* line 474, ../sass/_layout.scss */ | |||||
/* line 480, ../sass/_layout.scss */ | |||||
#footer-producer a { | #footer-producer a { | ||||
color: #FF7F00; | color: #FF7F00; | ||||
} | } | ||||
/* line 476, ../sass/_layout.scss */ | |||||
/* line 482, ../sass/_layout.scss */ | |||||
#footer-producer a:active { | #footer-producer a:active { | ||||
text-decoration: underline; | text-decoration: underline; | ||||
} | } | ||||
/* line 482, ../sass/_layout.scss */ | |||||
/* line 488, ../sass/_layout.scss */ | |||||
#footer { | #footer { | ||||
background-color: #FFF8DC; | background-color: #FFF8DC; | ||||
height: 100px; | height: 100px; | ||||
float: right; | float: right; | ||||
text-align: center; | text-align: center; | ||||
} | } | ||||
/* line 488, ../sass/_layout.scss */ | |||||
/* line 494, ../sass/_layout.scss */ | |||||
#footer .content { | #footer .content { | ||||
padding-top: 20px; | padding-top: 20px; | ||||
color: black; | color: black; | ||||
} | } | ||||
/* line 492, ../sass/_layout.scss */ | |||||
/* line 498, ../sass/_layout.scss */ | |||||
#footer .content a { | #footer .content a { | ||||
color: black; | color: black; | ||||
font-family: "capsuularegular"; | font-family: "capsuularegular"; | ||||
padding-left: 10px; | padding-left: 10px; | ||||
padding-right: 10px; | padding-right: 10px; | ||||
} | } | ||||
/* line 499, ../sass/_layout.scss */ | |||||
/* line 505, ../sass/_layout.scss */ | |||||
#footer .content a:hover { | #footer .content a:hover { | ||||
text-decoration: underline; | text-decoration: underline; | ||||
} | } | ||||
/* line 506, ../sass/_layout.scss */ | |||||
/* line 512, ../sass/_layout.scss */ | |||||
#footer #code-source img { | #footer #code-source img { | ||||
height: 20px; | height: 20px; | ||||
} | } |
z-index: 10 ; | z-index: 10 ; | ||||
} | } | ||||
#section-user-top { | |||||
.navbar-default { | |||||
background-color: white; | |||||
} | |||||
} | |||||
#main { | #main { | ||||
position: relative ; | position: relative ; | ||||
.btn-primary { | .btn-primary { |