oders_helper_style.css 6.96 KB
Newer Older
1 2 3 4 5 6
/* Comments : */
/* - Screens */
/* -- Sections */

/* - Common */

7 8 9 10
.page_body{
    position: relative;
}

11
.page_content, .login_area {
12 13 14 15
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
16 17
}

18 19 20
.pill {
    border-radius: 30px;
    min-width: 200px;
21
    min-height: 40px;
22 23 24 25
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
26
    padding: 7px 30px 7px 30px;
27
    margin: 0 10px 5px 10px;
28 29 30 31 32 33 34 35 36
}

.disabled {
    background-color: #c9cbce;
}

.disabled:hover {
    background-color: #a1a2a3;
}
37

38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
.link_as_button:hover {
    text-decoration: none;
    color: white;
}
.link_as_button:active {
    text-decoration: none;
    color: white;
}
.link_as_button:focus {
    text-decoration: none;
    color: white;
}

.remove_order_modal_text {
    font-size: 2rem;
}
.remove_order_name {
    font-weight: bold;
}

58
/* - Order selection screen */
59 60 61 62
#new_order_area {
    margin-bottom: 40px;
}

63 64
#new_order_form {
    margin-top: 20px;
65 66
}

67 68 69 70 71 72 73
#existing_orders {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
74
    padding-top: 15px;
75 76
}

77 78 79 80 81 82 83 84 85
.order_pill {
    flex-direction: row;
}

.pill_order_name {
    flex: 3 0 auto;
}
.remove_order_icon {
    flex: 0 1 auto;
86
    color: #912930;
87 88 89
    margin-left: 5px;
    cursor: pointer;
    z-index: 2;
90
    transform: scale(1.2);
91 92
}
.remove_order_icon:hover {
93
    color: #e62720;
94 95
}

96 97 98 99 100 101 102
.order_last_update {
    font-weight: bold;
}

.order_modified_msg {
    font-size: 2rem;
    color: #e62720;
103 104 105 106
}

/* - Main screen */

107 108 109 110 111
/* -- Top action button(s) */
#back_to_order_selection {
    position: absolute;
}

112
#main_content .actions_buttons_area {
113
    position: absolute;
114
    width: 100%;
115
    top: 0;
116 117 118 119 120 121 122 123 124 125
    display: flex;
    justify-content: space-between;
}

#orders_created .actions_buttons_area {
    position: absolute;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: flex-start;
126 127
}

128 129 130 131 132 133
.right_action_buttons {
    display: flex;
}

#actions_buttons_wrapper {
    position: relative;
134
    margin-right: 5px;
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
}

#toggle_action_buttons {
    width: 250px;
    position: relative;
}

.toggle_action_buttons_icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

#actions_buttons_container {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 250px;
    display: none;
}

.action_button {
    width: 100%;
    min-height: 45px;
}

162 163 164 165 166 167 168 169
#do_inventory {
    border-top: 1px solid #004aa6;
}
#refresh_order {
    border-top: 1px solid #004aa6;
    border-bottom: 1px solid #004aa6;
}

170 171
/* -- Order data */
#order_data_container {
172 173 174 175 176 177 178 179
    font-size: 1.8rem;
}

#order_data_separator {
    margin: 0 10px 0 10px;
}

#order_forms_container {
180
    margin-top: 20px;
181
    display: flex;  
182
    flex-wrap: wrap;
183
    justify-content: space-evenly;
184 185
}

186 187 188 189
.order_form_item {
    margin-top: 10px;
}

190
#supplier_input {
191
    width: 350px;
Damien Moulard committed
192
    border-radius: 3px;
193 194
}

195 196 197 198 199
#stats_date_period_select {
    margin-left: 5px;
    min-width: 200px;
}

200
#date_planned_input, #coverage_days_input, #targeted_amount_input, #percent_adjust_input, #stats_date_period_select {
Damien Moulard committed
201
    border-radius: 3px;
202 203
}

204
#coverage_form > div {
205
    display:block;
206 207 208 209 210 211 212
    float:left;
}

#coverage_form .input-wrapper {
    margin-right: 3px;
}

213
#coverage_days_input, #targeted_amount_input, #percent_adjust_input {
214 215 216
    display:  block;
}

217
#coverage_days_input, #targeted_amount_input {
218 219 220
    margin-bottom: 3px;
}

221 222 223
/* -- Table */
#products_table_filter{
    text-align: right !important;
224 225
}

226
#products_table_filter input{
227 228
    height: 35px;
    width: 300px;
Damien Moulard committed
229
    border-radius: 3px;
230
}
231
#products_table .help {cursor: help;}
232 233 234 235 236 237 238
#table_header_select_all{
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

Damien Moulard committed
239 240 241 242 243
.select_all_text {
    margin-top: 5px;
    margin-bottom: 5px;
}

244 245 246 247
#table_header_select_all input{
    margin-left: 5px;
}

248 249 250 251
.main.fa-info-circle {
    color: #0275d8;
    cursor:  pointer;
}
252 253 254 255 256 257 258
.custom_cell_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

259 260 261 262
.product_qty_input {
    width: 100px;
}

Damien Moulard committed
263 264 265 266
.product_ref_input {
    padding: .5rem .5rem;
}

267 268 269 270 271
.supplier_package_qty {
    font-style: italic;
    font-size: 1.3rem;
}

272
.product_not_from_supplier {
Damien Moulard committed
273
    background-color: #e8ebf0;
274 275 276
    cursor: pointer;
}

277
.product_not_from_supplier:hover {
Damien Moulard committed
278 279 280 281 282 283
    background-color: #d3d7db;
}

.product_ref_cell:hover {
    background-color: #d3d7db;
    cursor: pointer;
284 285
}

Damien Moulard committed
286
.product_name, .supplier_name, .product_npa {
287 288 289
    font-weight: bold;
}

Damien Moulard committed
290
.select_product_cb, .product_npa_cb {
291 292 293
    cursor: pointer;
}

294 295 296 297
.focused_line {
    background-color: #76cf71 !important;
}

298 299 300 301 302 303 304 305
.dataTables_scrollHead {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    z-index: 3;
    background-color: white;
}

306
/* -- Footer */
307

308
#main_content_footer {
309
    margin: 20px 0 40px 0;
310 311 312 313
}

#footer_actions {
    width: 100%;
314 315
    display: flex;
    justify-content: space-between;
316 317
}

318
/* -- Suppliers list */
Damien Moulard committed
319 320 321 322
#suppliers_container {
    display: flex;
    justify-content: center;
    align-items: center;
323
    flex-wrap: wrap; 
Damien Moulard committed
324
    margin: 15px 0;
Damien Moulard committed
325 326
    position: -webkit-sticky;
    position: sticky;
327
    top: 140px;
328
    z-index: 5;
Damien Moulard committed
329 330 331
}

.supplier_pill {
Damien Moulard committed
332 333
    background-color: #ffebcd;
    border: 2px solid black;
334 335
}

Damien Moulard committed
336 337 338 339
.pill_supplier_name {
    font-weight: bold;
}

340
.supplier_data {
341
    font-size: 1.5rem;
342
    display: flex;
Damien Moulard committed
343 344 345 346 347 348
}

.remove_supplier_icon {
    color: red;
    margin-left: 5px;
    cursor: pointer;
349 350
}

351
/* -- Attach product to supplier modal */
352
.modal_input_area {
353 354 355 356 357 358
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

359
.modal_input_container, .modal_input_label {
360 361 362 363
    width:50%;
    margin: 0 15px 0 15px;
}

364
.modal_input_label {
365 366 367 368 369
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

370 371 372 373
.modal_input {
    width: 90%;
}

374
/* -- Product actions modal*/
375 376 377 378 379 380 381 382
.npa-options {
    width: fit-content;
    text-align: left;
    margin: auto;
}
.npa-options label {
    display:  block;
}
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403

.modal_product_actions_section {
    margin: 1em 0;
}

.modal_product_actions_section .tooltip {
    margin-left: 5px;
}

.modal_product_actions_title {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.checkbox_action_disabled {
    cursor: not-allowed;
    opacity: .5;
}


404 405 406
/* - Orders created screen */

.order_created_header {
407
    margin-top: 5px;
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447
    margin-bottom: 40px;
}

#created_orders_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.new_order_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.download_order_file {
    margin-top: 10px;
}

#recap_delivery_date {
    font-weight: bold;
}

.mail_example_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    margin: 0 auto;
}

.mail_type_text {
    width: 100%;
}

.mail_example {
    background-color: #e7e9ed;
    width: 100%;
    padding: 15px;
448 449
}

450 451


452 453 454 455
/* - Miscellaneous */

footer {
    display: none;
456
}