|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524 |
- /**
- Copyright distrib (2018)
-
- contact@opendistrib.net
-
- Ce logiciel est un programme informatique servant à aider les producteurs
- à distribuer leur production en circuits courts.
-
- Ce logiciel est régi par la licence CeCILL soumise au droit français et
- respectant les principes de diffusion des logiciels libres. Vous pouvez
- utiliser, modifier et/ou redistribuer ce programme sous les conditions
- de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA
- sur le site "http://www.cecill.info".
-
- En contrepartie de l'accessibilité au code source et des droits de copie,
- de modification et de redistribution accordés par cette licence, il n'est
- offert aux utilisateurs qu'une garantie limitée. Pour les mêmes raisons,
- seule une responsabilité restreinte pèse sur l'auteur du programme, le
- titulaire des droits patrimoniaux et les concédants successifs.
-
- A cet égard l'attention de l'utilisateur est attirée sur les risques
- associés au chargement, à l'utilisation, à la modification et/ou au
- développement et à la reproduction du logiciel par l'utilisateur étant
- donné sa spécificité de logiciel libre, qui peut le rendre complexe à
- manipuler et qui le réserve donc à des développeurs et des professionnels
- avertis possédant des connaissances informatiques approfondies. Les
- utilisateurs sont donc invités à charger et tester l'adéquation du
- logiciel à leurs besoins dans des conditions permettant d'assurer la
- sécurité de leurs systèmes et ou de leurs données et, plus généralement,
- à l'utiliser et l'exploiter dans les mêmes conditions de sécurité.
-
- Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
- pris connaissance de la licence CeCILL, et que vous en avez accepté les
- termes.
- */
-
- @import "compass" ;
-
- $dir-fonts: '../fonts/' ;
- @import "_fonts.scss" ;
-
- $color1: #FF7F00 ;
- $color2: white ;
-
- .clr {
- clear: both ;
- }
-
- h1, h2, h3, h4, h5, h6 {
- font-family: 'myriadpro-light' ;
- }
-
- a {
- color: $color1;
-
- &:hover, &:focus, &:active {
- color: darken($color1, 10) ;
- }
- }
-
- #block-demo {
- padding: 10px 0px ;
- background-color: $color2 ;
- color: $color1;
- text-align: left ;
- margin-bottom: 20px ;
- border: solid 1px lighten($color1,10) ;
- @include border-radius(5px) ;
-
- a {
- text-decoration: underline ;
- }
- }
-
- #env-dev {
- font-family: 'comfortaabold' ;
- text-align: center ;
- font-size: 18px ;
- padding: 5px 10px ;
- color: white ;
- position: fixed ;
- top: 9px ;
- left: 66px ;
- z-index: 1031 ;
- }
-
- .wrap {
- .btn-primary {
- background: none ;
- background-color: $color1 ;
- border: solid 1px $color1 ;
-
- &:hover, &:focus, &:active {
- background-color: darken($color1, 10) ;
- border: solid 1px darken($color1, 10) ;
- }
- }
- }
-
- .nav-header {
- .retour-site {
- border-left : solid 1px $color2 ;
- padding: 10px 15px ;
- }
- }
-
- .navbar-brand {
- .logo {
- height: 40px ;
- position: relative ;
- top: -10px ;
- }
- }
-
- .container-body {
- padding-top: 117px ;
- padding-bottom: 50px ;
- }
-
- .navbar-inverse {
- background: none;
- background-color: $color1 ;
- border-bottom: 0px none ;
-
- .navbar-nav {
- padding-top: 12px ;
- }
-
- .navbar-nav > li > a {
- color: white ;
- margin-left: 3px;
- padding: 3px 11px ;
-
- &:hover {
- color: $color2 ;
- //background-color: $color2 ;
- }
- }
-
- .navbar-nav > li.active,
- .navbar-nav > .open {
- a {
- background: none ;
- @include box-shadow(none) ;
- @include text-shadow(none) ;
- margin-left: 3px ;
- background-color: $color2 ;
- color: $color1 ;
- padding: 3px 11px ;
- @include border-radius(5px) ;
-
- &:hover,
- &:focus {
- background-color: $color2 ;
- color: $color1 ;
- }
- }
- }
-
- .navbar-nav > .open {
- a.dropdown-toggle {
- @include border-radius(5px 5px 0px 0px) ;
- }
-
- ul.dropdown-menu {
- @include box-shadow(0px 0px 5px gray) ;
- @include border-radius(5px 0px 5px 5px) ;
- border-top: 0px none ;
- right: -1px ;
- li {
- a {
- background-color: transparent ;
-
- &:hover {
- color: darken($color1,10) ;
- }
- }
- }
- }
- }
-
-
- .navbar-nav > .open > a,
- .navbar-nav > .open > a:hover,
- .navbar-nav > .open > a:focus {
-
- }
- }
-
- .select2 {
- width: 100%;
-
- .select2-selection {
- border: 1px solid #ccc;
- @include border-radius(0px);
- height: 34px;
- }
- }
-
- .select2-container--default .select2-results__option--highlighted[aria-selected] {
- background-color: $color1 !important;
- }
-
- .select2-container {
- z-index: 9999;
- }
-
- #alerts-fixed {
- position: fixed ;
- bottom: 20px ;
- left: 20px ;
-
- .alert {
- margin-top: 20px ;
- }
- }
-
- .name-producer {
- //font-family: 'Georgia' ;
- margin-bottom: 15px ;
- text-align: left ;
- position: fixed ;
- top: 51px ;
- left: 0px ;
- width: 100% ;
- background-color: #515151 ;
- background-color: $color2 ;
- color: darken($color1,15) ;
- z-index: 100 ;
- font-size: 20px ;
- padding: 8px 15px ;
- padding-bottom: 2px ;
- padding-top: 5px ;
- border-bottom: solid 1px #e0e0e0 ;
- @include box-shadow(0px 0px 5px gray) ;
-
- #select-producer {
- float: left ;
- font-size: 15px ;
- }
-
- .label {
- font-size: 11px ;
- margin-left: 10px ;
- position: relative ;
- bottom: 3px ;
- a {
- color: white ;
- &:hover {
- text-decoration: none ;
- }
- }
- }
- }
-
-
- .table {
- thead {
- th.actions {
- width: 220px ;
- }
- th.order {
- width: 58px ;
- }
- th.actif {
- width: 75px ;
- text-align: center;
- }
- }
- tbody {
- td.center {
- text-align: center ;
- }
- }
- }
-
- .footer {
- .pull-left {
- a {
- margin-right: 5px ;
- margin-left: 5px ;
- color: gray ;
- }
- }
-
- #code-source {
- img {
- height: 20px ;
- }
- }
- }
-
- a.btn, button.btn {
- position: relative ;
-
- .glyphicon-triangle-bottom {
- display: none;
- position: absolute;
- top: 26px;
- left: 50%;
- margin-left: -10px;
- font-size: 20px;
- color: #FF7F00;
- }
-
- &.btn-primary {
- .glyphicon-triangle-bottom {
- display: block ;
- }
- }
- }
-
- .app-vuejs {
- #loading {
- position: fixed ;
- top: 50% ;
- left: 50% ;
- width: 100px ;
- height: 100px ;
- @include border-radius(50px) ;
- background-color: white ;
- z-index: 10 ;
- @include box-shadow(0px 0px 5px #d0d0d0) ;
-
- img {
- position: relative ;
- top: 35px ;
- left: 35px ;
- width: 30px ;
- height: 30px ;
- }
- }
- }
-
- #nav-params {
- margin-bottom: 30px ;
-
- button {
- margin-right: 10px ;
- }
- }
-
- .panel {
- .panel-heading {
- .panel-title {
- .btn {
- float: right ;
- }
- }
- }
- }
-
- /* modals */
-
- .modal-mask {
- position: fixed;
- z-index: 9998;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, .5);
- display: table;
- transition: opacity .3s ease;
- }
-
- .modal-wrapper {
- display: table-cell;
- vertical-align: middle;
- }
-
- .modal-container {
- width: 70%;
- margin: 0px auto;
- padding: 20px 30px;
- background-color: #fff;
- border-radius: 2px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
- transition: all .3s ease;
- font-family: Helvetica, Arial, sans-serif;
- }
-
- .modal-header {
- padding-bottom: 0px ;
- h3 {
- margin-top: 0;
- color: #333;
- text-transform: uppercase ;
- margin-bottom: 0px ;
- }
- }
-
- .modal-body {
- margin: 20px 0;
- max-height: 300px ;
- height: 300px ;
- overflow-y: scroll ;
- }
-
- .modal-default-button {
- float: right;
- }
-
- /*
- * The following styles are auto-applied to elements with
- * transition="modal" when their visibility is toggled
- * by Vue.js.
- *
- * You can easily play with the modal transition by editing
- * these styles.
- */
-
- .modal-enter {
- opacity: 0;
- }
-
- .modal-leave-active {
- opacity: 0;
- }
-
- .modal-enter .modal-container,
- .modal-leave-active .modal-container {
- -webkit-transform: scale(1.1);
- transform: scale(1.1);
- }
-
- // liste de commandes
- .site-index, .user-commandes {
- #last-orders, #history-orders {
-
- tr.order-update {
- td {
- background-color: $color2 ;
- }
- .update {
- color: $color1 ;
- }
- }
-
- tr.order-delete {
- td {
- background-color: lighten(#C9302C, 40);
- }
- .delete {
- color: #C9302C ;
- }
- }
-
- td.history {
- min-width: 170px ;
- .small {
- margin-bottom: 7px ;
- }
-
- strong {
- }
- }
-
- .small, .locality {
- font-size: 12px ;
- color: gray ;
- }
- .comment {
- font-size: 12px ;
- }
-
- .date {
- text-align: center ;
- }
-
- .comment {
- position: relative ;
- margin-top: 4px ;
- padding-left: 20px ;
- font-style: italic ;
-
- .glyphicon {
- position: absolute ;
- left: 0px ;
- }
- }
- }
- }
-
- // tableau de bord
- .site-index {
- .panel {
- .panel-title {
- .btn {
- float: right ;
- font-family: 'myriadpro-regular' ;
-
- &.margin-left {
- margin-left: 5px ;
- }
- }
- }
- .panel-body {
- //height: 250px ;
- }
- }
-
- #billing {
- h2 {
- font-size: 25px ;
- text-align: center ;
- }
-
- .current-month {
- .amount span {
- background-color: white ;
- color: #333 ;
- border: solid 1px gray ;
- }
- }
-
- .amount {
- margin-top: 35px ;
- text-align: center ;
- span {
- font-size: 22px ;
- color: white ;
- background-color: $color1 ;
- padding: 7px 10px 3px;
- font-family: 'myriadpro-regular' ;
- @include border-radius(5px) ;
- }
- }
- }
-
- }
-
- #page-order {
-
- #row2 {
-
- }
-
- h1 {
- .btn-group {
- float: right ;
- }
- }
-
- #col-left, #col-right {
- padding-left: 0px ;
- padding-right: 0px ;
- }
- #col-right {
- padding-left: 20px ;
- }
-
- #jours-production {
- display: none ;
- }
-
- #calendar {
- h2 {
- font-size: 20px ;
- position: relative ;
- top: 3px ;
- }
-
- .fc-header-title {
- margin-left: 10px ;
- }
-
- $back-day-with-event: lighten(#FDD44B,13) ;
- //$back-day-with-event: #FDD44B ;
- .dayWithEvent {
- background-color: $back-day-with-event ;
- cursor: pointer;
- }
- .fc-event-container {display: none;}
- .fc-today {
- border-bottom: solid 1px #C9302C ;
- background-color: white ;
-
- &.dayWithEvent {
- background-color: $back-day-with-event ;
- }
- }
-
- .fc-day {
- cursor: pointer ;
- text-align: center ;
- &:hover {
- @include box-shadow(0px 0px 2px black inset) ;
- }
- }
-
- .current-date {
- @include box-shadow(0px 0px 2px black inset) ;
- }
-
- .fc-day-number {
- float: none ;
- padding-top: 2px ;
- }
- }
-
- .btn-active-week {
- display: block ;
- margin-top: 10px ;
- }
-
- #bloc-production {
-
- .label {
- float: right ;
- font-size: 13px ;
- }
-
- #productions-point-vente {
- margin-top: 15px ;
- padding: 10px ;
- border: solid 1px #e0e0e0 ;
- background-color: #F5F5F5 ;
- @include border-radius(5px) ;
- label {
- display: block ;
- font-weight: normal ;
- }
-
- .checkbox-list {
- margin-left: 10px ;
- margin-top: 10px ;
- }
- }
- }
-
- #produits-production {
-
- .overflow {
-
- table {
- width: 100%;
- }
-
- thead, tbody, tr, td, th { display: block; }
-
- tr:after {
- content: ' ';
- display: block;
- visibility: hidden;
- clear: both;
- }
-
- thead th {
- height: 30px;
-
- }
-
- tbody {
- height: 500px;
- overflow-y: auto;
- }
-
- thead {
- }
-
- thead th {
- width: 32%;
- float: left;
- }
-
- tbody td{
- width: 33%;
- float: left;
- }
-
- .td-produit {
- width: 60% ;
- }
- .td-active, .td-max {
- width: 20% ;
- text-align: center ;
- }
-
- thead {
- .td-product {
- width: 57% ;
- }
- }
- }
-
- input.quantity-max {
- background-color: white;
- border: 1px solid #e0e0e0;
- text-align: center;
- width: 50px;
- }
-
- td {
- label {
- font-weight: normal ;
- }
- }
- }
-
- #btn-export-commandes,
- #btn-commandes-auto {
- float: right ;
- position: relative;
- top: -5px ;
- right: -7px ;
- padding: 2px 5px ;
- }
-
- #btn-export-commandes,
- #btn-commandes-auto {
- color: white ;
- margin-left: 10px ;
- padding: 1px 5px ;
- }
-
- #btn-commandes-auto {
- top: -7px ;
- .btn {
- padding: 2px 5px;
- span {
- top: 2px ;
- }
- }
- }
-
- #bloc-totaux {
- .table-products {
- .depasse {
- color: #b32815 ;
- }
-
- .total strong span {
- font-weight: normal ;
- font-size: 13px ;
- }
- }
- }
-
- #commandes-points-vente {
-
- .tab-pane {
- padding-top: 20px ;
- }
-
- .recap-pv {
-
- &.no-commande {
- .recettes {
- display: none;
- }
- }
-
- .recettes {
- float: right ;
- color: $color1 ;
- border: solid 1px $color1 ;
- padding: 4px 10px ;
- @include border-radius(10px) ;
- font-weight: bold ;
- position: relative ;
- top: -3px ;
- }
- }
-
- .alert.comment {
- display: none ;
- }
-
- ul.liste-commandes {
- margin-top: 10px ;
- list-style-type: none ;
- height: 100% ;
- max-height: 400px ;
- margin-left: 0 ;
- padding-left: 0 ;
- margin-top: 0px ;
- width: 100% ;
- overflow-y: scroll ;
-
- &.no-commande {
- display: none ;
- }
-
- li {
- padding: 0 ;
- margin: 0 ;
- a {
- text-align: left;
- @include border-radius(0px) ;
- display: block ;
- padding: 7px ;
- color: #333 ;
-
- .montant {
- float: right ;
- color: $color1 ;
- font-weight: bold ;
-
- &.paye {
- color: #5cb85c ;
- color: #519951 ;
- }
- }
-
- .glyphicon-comment {
- color: $color1 ;
- }
-
- &:hover, &:active, &.active {
- text-decoration: none ;
- background-color: #FCF8E3 ;
- outline: none ;
- border-color: #ccc ;
- @include transition(all 0.1s) ;
- }
- }
- }
- }
-
- .creer-commande,
- .commandes-auto {
- width: 100% ;
- margin-bottom: 10px ;
- }
-
- .bloc-commande {
- padding-top: 20px ;
- margin-top: 20px ;
- display: none ;
- }
-
- .title-user {
- display: none ;
- font-size: 19px ;
- margin-top: 0px ;
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif ;
-
- .btn-edit, .btn-remove,
- .btn-cancel, .btn-save {
- float: right ;
- position: relative ;
- top: -6px ;
- }
-
- .btn-edit, .btn-cancel {
- margin-right: 10px ;
- }
-
- .buttons-save-cancel {
- display: none ;
- }
-
- .choix-user {
- display: none ;
-
- .form-control {
- width: 200px ;
- display: inline ;
- }
- }
- }
-
- table.table-produits {
- .td-order {
- text-align: center ;
- }
- input.form-control {
- text-align: center ;
- }
-
- tr.disabled {
- .td-product {
- color: gray ;
- }
- }
- }
-
- .td-produit,
- .th-produit {
- width: 70% ;
- }
-
- .td-commande,
- .th-commande {
- width: 30% ;
- text-align: center ;
- }
-
- .td-produit {
- text-transform: uppercase ;
- }
-
- .td-commande {
- font-weight: bold ;
- }
-
- .td-total {
- font-size: 18px ;
- text-align: center ;
-
- span {
- padding: 2px 10px ;
- background-color: $color1 ;
- color: white ;
- font-weight: bold ;
- @include border-radius(8px) ;
- }
- }
-
- .td-paiement {
- .buttons-credit {
- float: right ;
- }
- }
-
- .panel-commande-auto {
- .field-subscriptionform-id_user,
- .field-subscriptionform-id_producer
- {
- display: none ;
- }
-
- .days {
- .form-group {
- float: left ;
- margin-right: 10px ;
- }
- }
- }
-
- }
-
- #old-commandes {
- display: none ;
- }
-
- .form-commandes-point-vente {
-
- margin-top: 20px ;
-
- table {
- border-bottom: solid 1px #e0e0e0 ;
- }
-
- .title-point-sale {
- background-color: lighten(#fdd44b, 30) ;
- border-left: solid 3px $color1 ;
- font-weight: bold ;
- text-align: left ;
- padding: 10px ;
- }
-
- .title-totals {
- text-align: center ;
- }
-
- .border-left {
- border-left: solid 1px #e0e0e0 ;
- }
-
- .border-right {
- border-right: solid 1px #e0e0e0 ;
- }
-
- input.quantity {
- width: 30px ;
- background-color: white ;
- border: solid 1px #e0e0e0 ;
- text-align: center ;
- }
-
- .td-product {
- text-align: center ;
- }
-
- .submit-point-sale {
- float: right ;
- }
-
- .select-user {
- background-color: #F9F9F9 ;
- border: solid 1px #e0e0e0 ;
- }
-
- .date-order {
- font-size: 12px ;
- }
-
- .datepicker, .text {
- background-color: white ;
- border: solid 1px #e0e0e0 ;
- margin-top: 3px ;
- width: 100px ;
- }
-
-
- td.center {
- text-align: center ;
- }
-
- .depasse {
- color: #b32815 ;
- }
-
- .total strong span {
- font-weight: normal ;
- font-size: 13px ;
- }
-
- td.user {
- text-align: left ;
- padding: 3px ;
- .date-order {
- color: gray ;
- }
- }
-
- }
-
- .table-header-rotated {
- border-top: 0px ;
- border-left: 0px ;
- border-right: 0px ;
- width: 100% ;
- width: auto ;
-
- .total strong {
- border-bottom: solid 1px gray ;
- }
- }
-
- .table-header-rotated th.row-header{
- width: auto;
- }
-
- .table-header-rotated td{
- width: 40px;
- border-top: 1px solid #dddddd;
- border-left: 1px solid #dddddd;
- border-right: 1px solid #dddddd;
- vertical-align: middle;
- text-align: center;
- }
-
- .table-header-rotated th.rotate-45{
- font-weight: normal ;
- height: 80px;
- width: 40px;
- min-width: 40px;
- max-width: 40px;
- position: relative;
- vertical-align: bottom;
- padding: 0;
- font-size: 14px;
- line-height: 1;
- border: 0px none;
- }
-
- .table-header-rotated th.rotate-45 > div{
- background-color: #F5F5F5 ;
- position: relative;
- top: 0px;
- left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
- height: 100%;
- -ms-transform:skew(-45deg,0deg);
- -moz-transform:skew(-45deg,0deg);
- -webkit-transform:skew(-45deg,0deg);
- -o-transform:skew(-45deg,0deg);
- transform:skew(-45deg,0deg);
- overflow: hidden;
- border-left: 1px solid #dddddd;
- border-right: 1px solid #dddddd;
- border-top: 1px solid #dddddd;
- }
-
- .table-header-rotated th.rotate-45 span {
- -ms-transform:skew(45deg,0deg) rotate(315deg);
- -moz-transform:skew(45deg,0deg) rotate(315deg);
- -webkit-transform:skew(45deg,0deg) rotate(315deg);
- -o-transform:skew(45deg,0deg) rotate(315deg);
- transform:skew(45deg,0deg) rotate(315deg);
- position: absolute;
- bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
- left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
- display: inline-block;
- // width: 100%;
- width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
- text-align: left;
- // white-space: nowrap; /*whether to display in one line or not*/
- }
-
- .table-header-rotated .disabled {
- color: gray ;
- }
-
- }
-
- .product-create, .product-update {
- #days-distribution {
- .form-group {
- float: left ;
- margin-right: 15px ;
-
- label {
- font-weight: normal ;
- }
- }
- }
- .field-product-id_producer {
- display: none;
- }
- }
-
- .table-striped > tbody > tr:nth-of-type(2n) {
- background-color: white ;
- }
-
-
- /* communiquer */
-
- .communicate-index {
- #email {
- .btn-point-sale {
- margin-bottom: 8px ;
- margin-right: 5px ;
- }
- }
- }
-
- .communicate-instructions {
-
- border: solid 1px #e0e0e0 ;
- padding: 10px ;
- @include border-radius(10px) ;
- margin-bottom: 30px ;
- font-family: 'Arial' ;
-
- .header {
- .logo {
- display: none ;
- float: left ;
- width: 75px ;
- padding-right: 20px ;
- padding-top: 10px ;
-
- img {
- width: 75px ;
- }
- }
- }
-
- h1, h2, h3, h4 {
- text-align: center ;
- }
-
- h1 {
- font-family: 'highvoltageregular' ;
- font-size: 40px ;
- line-height: 40px ;
- margin-top: 0px ;
- margin-bottom: 0px ;
- font-weight: normal ;
- }
-
- h2 {
- margin-top: 0px ;
- font-family: 'capsuularegular' ;
- font-size: 20px ;
- margin-top: 0px ;
- position: relative ;
- left: 2px ;
- font-weight: normal ;
- }
-
- h3 {
- font-size: 18px ;
- color: $color1 ;
- margin-top: 0px ;
- margin-bottom: 0px ;
- line-height: 20px;
- font-family: 'capsuularegular' ;
- }
-
- h4 {
- font-size: 16px ;
- margin-top: 8px ;
- font-weight: normal;
- font-family: 'capsuularegular' ;
-
- span {
- border-bottom: dotted 1px black ;
- }
-
- }
- }
-
- .communicate-instructions-inset {
- width: auto ;
- margin-top: 20px ;
- .header {
- .logo {
- width: 60px ;
- margin-right: 20px ;
- padding-top: 5px ;
-
- img {
- width: 60px ;
-
- }
- }
-
- h1 {
- margin-bottom: 3px ;
- }
-
- }
-
- h3 {
- margin-top: 15px ;
- margin-bottom: 0px ;
- font-size: 18px ;
- }
-
- h4 {
-
- }
- }
-
- .block-instructions-pdf {
- width: 49.9% ;
- float: left;
- border-bottom: dotted 1px gray ;
- }
-
- .block-instructions-border {
- border-right: dotted 1px gray ;
- border-bottom: dotted 1px gray ;
- }
-
- .communicate-instructions-pdf {
- border: 0px none ;
- //border-bottom: dotted 1px gray ;
- @include border-radius(0px) ;
- margin-bottom: 0px;
- padding: 20px 0px 20px 30px ;
-
- .header {
- .logo {
- float: left ;
- width: 55px ;
- padding-right: 15px ;
- padding-top: 10px ;
-
- img {
- width: 55px ;
- }
- }
- h1 {
- font-size: 32px ;
- }
- h2 {
- font-size: 16px ;
- }
- }
-
- h3 {
- font-weight: normal ;
- }
- }
-
- .block-instructions-bottom {
- border-bottom: 0px none ;
- border-bottom: solid 1px white;
- }
-
-
- /* abonnements */
-
- .subscription-form {
-
- #block-select-user {
- padding-left: 0px ;
- }
-
- #or-user {
- font-size: 20px ;
- text-align: center ;
- span {
- position: relative ;
- top: 24px ;
- }
- }
-
- .field-subscriptionform-id_producer {
- display: none ;
- }
- .days {
- .form-group {
- float: left;
- margin-right: 20px ;
- }
- }
-
- .products {
- .table {
- width: 500px ;
- }
- .quantity {
- text-align: center ;
- }
- }
- }
-
- /* points de vente */
-
- .point-sale-form {
- #pointsale-users {
- display: none ;
- height: 500px ;
- overflow-y: scroll ;
- label {
- font-weight: normal ;
- display: block ;
- }
- .comment {
- display: none ;
- margin-left: 17px ;
- width: 200px ;
- }
- }
-
- #delivery-days {
- .form-group {
- float: left ;
- margin-right: 15px ;
-
- label {
- font-weight: normal ;
- }
- }
- }
- }
-
- /* utilisateurs */
-
- #menu-users {
- #nav-points-sale {
- margin-bottom: 30px ;
- }
-
- #submenu {
- margin-bottom: 30px ;
- text-align: left ;
- }
-
- a {
- margin-bottom: 15px ;
- }
- }
-
- .user-index {
- .input-group {
- width: 180px ;
-
- .input-credit {
- text-align: center ;
- }
- }
- }
-
- .user-credit {
- .the-credit {
- float: right ;
- font-weight: bold ;
- background-color: $color1 ;
- color: white ;
- @include border-radius(8px) ;
- padding: 3px 10px ;
- padding-top: 7px ;
- position: relative ;
- top: -12px ;
- }
- }
-
- /* facturation */
-
- #free-price {
- padding: 20px ;
- background-color: #F9F9F9 ;
-
- h2 {
- font-family: 'myriadpro-it' ;
- }
- .amount {
- span {
- font-size: 25px ;
- color: white ;
- background-color: $color1 ;
- @include border-radius(5px) ;
- padding: 3px 10px ;
- padding-top: 7px ;
- font-family: 'myriadpro-regular' ;
- }
- }
-
- label {
- text-transform: uppercase ;
- font-family: "myriadpro-light" ;
- font-size: 20px ;
-
- span {
- font-size: 16px ;
- }
- }
-
- .field-producer-free_price {
- .input-group {
- width: 200px ;
- }
- }
-
- .field-user-free_price {
- label {
- display: none ;
- }
- }
-
- #producer-free_price {
- width: 100px ;
- height: 60px ;
- font-size: 30px ;
- padding: 10px ;
- text-align: center ;
- }
- }
-
- .development-index {
- ul#tabs-status-developments {
- margin-bottom: 30px ;
- border-bottom: solid 3px $color1 ;
-
- a {
- text-transform: uppercase ;
- }
- .active {
- border: 0px none ;
- background: none ;
- a {
- background-color: $color1 ;
- color: white ;
- }
- }
- }
-
- #tab-developments {
- .btn-group-priority {
- width: 100% ;
- margin-bottom: 5px ;
-
- .btn-priority {
- display: block ;
- float: none ;
- width: 100% ;
- }
- }
-
- .label-priority {
- display: block ;
- width: 100% ;
- margin-bottom: 2px ;
- padding: 5px 8px ;
- }
- }
- }
-
- /* stats */
-
- .stats-products {
-
- #nav-year {
- float: right ;
- }
-
- tr.month {
- th {
- text-align: center ;
- }
- }
- tr.sub-head {
- th {
- font-weight: normal ;
- font-size: 12px ;
- }
- }
-
- td.name {
- text-transform: uppercase ;
- }
-
- td.align-center {
- text-align: center ;
- }
- }
-
- @import "_adminlte.scss" ;
- @import "_alerts.scss" ;
- @import "site/_index.scss" ;
- @import "subscription/_index.scss" ;
- @import "subscription/_form.scss" ;
- @import "product/_index.scss" ;
- @import "product/_form.scss" ;
- @import "stats/_products.scss" ;
- @import "distribution/_index.scss" ;
- @import "user/_emails.scss" ;
- @import "user/_credit.scss" ;
- @import "user/_form.scss" ;
- @import "producer/_update.scss" ;
- @import "point_sale/_index.scss" ;
- @import "report/_index.scss" ;
- @import "document/_form.scss" ;
- @import "document/_index.scss" ;
- @import "development/_index.scss" ;
- @import "_responsive.scss" ;
|