oders_helper_style.css 7.63 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
#new_order_area,
#existing_orders_area {
61 62 63
    margin-bottom: 40px;
}

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

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

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

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

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

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

/* - Main screen */

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

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

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

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

#actions_buttons_wrapper {
    position: relative;
135
    margin-right: 5px;
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 162
}

#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;
}

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

171 172 173 174 175
#common_info_editor_container {
    width: 50%;
    margin:  15px auto;
}

176 177
/* -- Order data */
#order_data_container {
178 179 180 181 182 183 184 185
    font-size: 1.8rem;
}

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

#order_forms_container {
186
    margin: 25px 0;
187
    display: flex;  
188
    flex-wrap: wrap;
189
    justify-content: space-evenly;
190 191
}

192 193 194 195
.order_form_item {
    margin-top: 10px;
}

196
#supplier_input {
197
    width: 350px;
Damien Moulard committed
198
    border-radius: 3px;
199 200
}

201 202 203 204 205
#stats_date_period_select {
    margin-left: 5px;
    min-width: 200px;
}

206
#date_planned_input, #coverage_days_input, #targeted_amount_input, #percent_adjust_input, #stats_date_period_select {
Damien Moulard committed
207
    border-radius: 3px;
208 209
}

210
#coverage_form > div {
211
    display:block;
212 213 214 215 216 217 218
    float:left;
}

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

219
#coverage_days_input, #targeted_amount_input, #percent_adjust_input {
220 221 222
    display:  block;
}

223
#coverage_days_input, #targeted_amount_input {
224 225 226
    margin-bottom: 3px;
}

227 228 229
/* -- Table */
#products_table_filter{
    text-align: right !important;
230 231
}

232
#products_table_filter input{
233 234
    height: 35px;
    width: 300px;
Damien Moulard committed
235
    border-radius: 3px;
236
}
237
#products_table .help {cursor: help;}
238 239 240 241 242 243 244
#table_header_select_all{
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

Damien Moulard committed
245 246 247 248 249
.select_all_text {
    margin-top: 5px;
    margin-bottom: 5px;
}

250 251 252 253
#table_header_select_all input{
    margin-left: 5px;
}

254 255
.main.fa-info-circle {
    color: #0275d8;
256 257
}
#coverage_form .fa-info-circle {
258 259
    cursor:  pointer;
}
260

261 262 263 264 265 266 267
.custom_cell_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

268 269 270 271
.product_qty_input {
    width: 100px;
}

Damien Moulard committed
272 273 274 275
.product_ref_input {
    padding: .5rem .5rem;
}

276 277
.supplier_package_qty,
.supplier_price {
278 279 280 281
    font-style: italic;
    font-size: 1.3rem;
}

282
.product_not_from_supplier {
Damien Moulard committed
283
    background-color: #e8ebf0;
284 285 286
    cursor: pointer;
}

287
.product_not_from_supplier:hover {
Damien Moulard committed
288 289 290 291 292 293
    background-color: #d3d7db;
}

.product_ref_cell:hover {
    background-color: #d3d7db;
    cursor: pointer;
294 295
}

Damien Moulard committed
296
.product_name, .supplier_name, .product_npa {
297 298 299
    font-weight: bold;
}

Damien Moulard committed
300
.select_product_cb, .product_npa_cb {
301 302 303
    cursor: pointer;
}

304 305 306 307
.focused_line {
    background-color: #76cf71 !important;
}

308 309 310 311 312 313 314 315
.dataTables_scrollHead {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0;
    z-index: 3;
    background-color: white;
}

316
/* -- Footer */
317

318
#main_content_footer {
319
    margin: 20px 0 40px 0;
320 321 322 323
}

#footer_actions {
    width: 100%;
324 325
    display: flex;
    justify-content: space-between;
326 327
}

328
/* -- Suppliers list */
Damien Moulard committed
329 330 331 332
#suppliers_container {
    display: flex;
    justify-content: center;
    align-items: center;
333
    flex-wrap: wrap; 
Damien Moulard committed
334
    margin: 15px 0;
Damien Moulard committed
335 336
    position: -webkit-sticky;
    position: sticky;
337
    top: 120px;
338
    z-index: 5;
339
    pointer-events: none;
Damien Moulard committed
340 341 342
}

.supplier_pill {
Damien Moulard committed
343 344
    background-color: #ffebcd;
    border: 2px solid black;
345
    pointer-events: auto;
346 347
}

Damien Moulard committed
348 349 350 351
.pill_supplier_name {
    font-weight: bold;
}

352
.supplier_data {
353
    font-size: 1.5rem;
354
    display: flex;
Damien Moulard committed
355 356 357 358 359 360
}

.remove_supplier_icon {
    color: red;
    margin-left: 5px;
    cursor: pointer;
361 362
}

363
/* -- Attach product to supplier modal */
364
.modal_input_area {
365 366 367 368 369 370
    margin-bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
}

371
.modal_input_container, .modal_input_label {
372 373 374 375
    width:50%;
    margin: 0 15px 0 15px;
}

376
.modal_input_label {
377 378 379 380 381
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

382 383 384 385
.modal_input {
    width: 90%;
}

386
/* -- Product actions modal*/
387 388 389 390 391 392 393 394
.npa-options {
    width: fit-content;
    text-align: left;
    margin: auto;
}
.npa-options label {
    display:  block;
}
395

396 397 398 399 400 401 402 403
.product_actions_container {
    display: flex;
    flex-direction: column;
}

.product_actions_section {
    width: 100%;
    display: flex;
404 405 406
    margin: 1em 0;
}

407 408 409 410 411 412 413 414
.product_actions_column {
    width: 50%;
}
.product_actions_full_column {
    width: 100%;
}

.product_actions_column .tooltip {
415 416 417
    margin-left: 5px;
}

418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
.product_prices_title {
    margin-bottom: 0 !important;
}

.product_prices_area {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product_price_action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

436 437 438 439 440 441 442 443 444 445 446 447
.modal_product_actions_title {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

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


448 449 450
/* - Orders created screen */

.order_created_header {
451
    margin-top: 5px;
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491
    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;
492 493
}

494 495


496 497 498 499
/* - Miscellaneous */

footer {
    display: none;
500
}