.order-header { display: flex; flex-direction: column; margin-top: 20px; font-size: 2em; border-bottom: 1px solid #ccc; } .monospace { font-family: monospace; background-color: rgb(209, 209, 209); font-size: 0.9em; padding: 5px; } .order-header-subtitle { font-size: 0.6em; margin-bottom: 20px; margin-top: 10px; } .order-body { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; width: 100%; } .order-body-item { display: flex; flex-direction: column; width: 100%; order: 0; } .order-breakdown-table { margin-top: 20px; width: 100%; flex-wrap: wrap; display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; } .order-breakdown-table-item { display: flex; flex-direction: column; width: 30%; height: 7em; border: #ccc 1px solid; /* background-color: #FAFBFB; */ padding: 10px; margin-bottom: 10px; box-shadow: 0 0 5px rgba(0,0,0,0.75); clip-path: inset(0px -5px 0px 0px); } .order-breakdown-table-header { font-size: 1.2em; font-weight: bold; color: #444; margin-bottom: 10px; text-transform: uppercase; } .order-breakdown-table-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; margin-bottom: 10px; } .order-breakdown-table-row-value { font-size: 1em; margin-bottom: 6px; } .order-price-table-row { width: 100%; margin-top: 10px; font-size: 1em; color: #444; font-weight: lighter; border-bottom: 1px solid #ccc; display: flex; flex-direction: row; justify-content: space-between; align-items: flex-end; } @media (pointer:none), (pointer:coarse), screen and (max-width: 900px) { .order-breakdown-table { flex-direction: column; } .order-breakdown-table-item { width: 100%; height: auto; } } .order-body-item-table { width: 100%; margin-top: 10px; display: flex; flex-direction: row; justify-content: space-between; } .order-body-item-left { width: 49%; order: 0; } .order-body-item-right { width: 49%; height: auto; order: 1; } .order-list { height: min-content; } .order-body-header { margin-top: 20px; font-size: 1.3em; padding-bottom: 5px; border-bottom: 1px solid #ccc; margin-bottom: 10px; } /* loosely based on https://codepen.io/luisar/pen/JjoOZav */ .order-track-step { display: flex; height: 7rem; } .order-track-step:last-child { overflow: hidden; height: 4rem; } .order-track-step:last-child .order-track-status div:last-of-type { display: none; } .order-track-status { margin-right: 1.5rem; position: relative; } .order-track-step-icon { display: block; width: 1.8em; height: 1.8em; border-radius: 50%; background: #F2CA52; } .order-track-step-line { display: block; margin: 0 auto; width: 4px; height: 7rem; background: #F2CA52; } .completed { background: #0EAD69; } .order-body-status-title { transform: translateY(-0.6em); font-size: 1.2em; font-weight: 500; margin-bottom: 3px; } .when { font-size: 1em; color: #444; font-weight: lighter; } .order-track { margin-top: 20px; transition: all .3s height 0.3s; transform-origin: top center; } a { text-decoration: none; color: #444; } .orders-list-body { height: 100%; display: flex; flex-direction: column; align-items: flex-start; width: 100%; } .orders-list-item { display: flex; flex-direction: column; margin-top: 30px; width: 100%; order: 0; border-bottom: 1px solid #ccc; } .order-list-item-header { display: flex; flex-direction: row; justify-content: space-between; font-weight: bold; margin-bottom: 10px; } .order-list-item-header-subtitle { font-weight: lighter; } .order-list-item-body { display: flex; flex-direction: column; width: 100%; order: 0; }