950 lines
16 KiB
CSS
950 lines
16 KiB
CSS
:root {
|
|
--primary-color: #2c3e50;
|
|
--secondary-color: #3498db;
|
|
--success-color: #27ae60;
|
|
--warning-color: #f39c12;
|
|
--danger-color: #e74c3c;
|
|
--light-bg: #ecf0f1;
|
|
--white: #ffffff;
|
|
--text-dark: #2c3e50;
|
|
--text-light: #7f8c8d;
|
|
--border-color: #bdc3c7;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background-color: var(--light-bg);
|
|
color: var(--text-dark);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Login Page Styles */
|
|
.login-page {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
|
|
}
|
|
|
|
.login-container {
|
|
background: var(--white);
|
|
padding: 40px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
|
|
max-width: 400px;
|
|
width: 100%;
|
|
}
|
|
|
|
.login-container h1 {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
font-size: 2em;
|
|
}
|
|
|
|
.login-form {
|
|
display: none;
|
|
}
|
|
|
|
.login-form.active,
|
|
.login-form:first-of-type {
|
|
display: block;
|
|
}
|
|
|
|
.login-form h2 {
|
|
margin-bottom: 20px;
|
|
color: var(--primary-color);
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.login-form .form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.login-form label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 500;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.login-form input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.login-form input:focus {
|
|
outline: none;
|
|
border-color: var(--secondary-color);
|
|
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
|
|
}
|
|
|
|
.login-toggle {
|
|
text-align: center;
|
|
margin-top: 15px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.login-toggle button {
|
|
background: none;
|
|
border: none;
|
|
color: var(--secondary-color);
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
padding: 0;
|
|
font: inherit;
|
|
}
|
|
|
|
.login-info {
|
|
text-align: center;
|
|
margin-top: 15px;
|
|
font-size: 0.9em;
|
|
color: var(--text-light);
|
|
font-style: italic;
|
|
}
|
|
|
|
.error-message {
|
|
background-color: #ffebee;
|
|
color: var(--danger-color);
|
|
padding: 12px;
|
|
border-radius: 6px;
|
|
margin-bottom: 20px;
|
|
border-left: 4px solid var(--danger-color);
|
|
}
|
|
|
|
/* Main App Styles */
|
|
.main-app {
|
|
display: none;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
background: var(--primary-color);
|
|
color: var(--white);
|
|
padding: 40px 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.header-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
text-align: left;
|
|
}
|
|
|
|
.header-top h1 {
|
|
flex: 1;
|
|
font-size: 2.5em;
|
|
}
|
|
|
|
.user-menu {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.user-menu span {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#userMenuBtn {
|
|
background: rgba(255,255,255,0.2);
|
|
color: var(--white);
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
#userMenuBtn:hover {
|
|
background: rgba(255,255,255,0.3);
|
|
}
|
|
|
|
.user-dropdown {
|
|
position: absolute;
|
|
top: 100%;
|
|
right: 0;
|
|
background: var(--white);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
min-width: 150px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 12px 20px;
|
|
border: none;
|
|
background: none;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
color: var(--text-dark);
|
|
border-bottom: 1px solid var(--light-bg);
|
|
}
|
|
|
|
.dropdown-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: var(--light-bg);
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
main {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
section {
|
|
background: var(--white);
|
|
padding: 25px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
h2 {
|
|
color: var(--primary-color);
|
|
margin-bottom: 20px;
|
|
font-size: 1.5em;
|
|
border-bottom: 2px solid var(--secondary-color);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="number"],
|
|
input[type="password"],
|
|
select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
font-size: 1em;
|
|
font-family: inherit;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="number"]:focus,
|
|
input[type="password"]:focus,
|
|
select:focus {
|
|
outline: none;
|
|
border-color: var(--secondary-color);
|
|
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--secondary-color);
|
|
color: var(--white);
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #2980b9;
|
|
box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: var(--text-light);
|
|
color: var(--white);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #5a686f;
|
|
}
|
|
|
|
.btn-success {
|
|
background-color: var(--success-color);
|
|
color: var(--white);
|
|
padding: 8px 16px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.btn-success:hover {
|
|
background-color: #229954;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: var(--warning-color);
|
|
color: var(--white);
|
|
padding: 8px 16px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #d68910;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: var(--danger-color);
|
|
color: var(--white);
|
|
padding: 8px 16px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
.btn-info {
|
|
background-color: #17a2b8;
|
|
color: var(--white);
|
|
padding: 8px 16px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.btn-info:hover {
|
|
background-color: #138496;
|
|
}
|
|
|
|
.section-header {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.section-header h2 {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.header-actions {
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
gap: 10px;
|
|
width: fit-content;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-btn {
|
|
padding: 8px 16px;
|
|
border: 1px solid var(--border-color);
|
|
background: var(--white);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.filter-btn:hover {
|
|
border-color: var(--secondary-color);
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
.filter-btn.active {
|
|
background-color: var(--secondary-color);
|
|
color: var(--white);
|
|
border-color: var(--secondary-color);
|
|
}
|
|
|
|
.drugs-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.drug-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: var(--white);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
font-size: 0.95em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.drug-item:hover {
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.drug-item.low-stock {
|
|
border-left: 4px solid var(--warning-color);
|
|
background: #fffdf0;
|
|
}
|
|
|
|
.drug-info {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.drug-name {
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
min-width: 200px;
|
|
}
|
|
|
|
.drug-description {
|
|
color: var(--text-light);
|
|
font-size: 0.9em;
|
|
flex: 1;
|
|
}
|
|
|
|
.drug-quantity {
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
min-width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.drug-unit {
|
|
color: var(--text-light);
|
|
min-width: 80px;
|
|
}
|
|
|
|
.drug-status {
|
|
min-width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.drug-badge {
|
|
display: inline-block;
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
font-size: 0.8em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.badge-normal {
|
|
background-color: #d5f4e6;
|
|
color: var(--success-color);
|
|
}
|
|
|
|
.badge-low {
|
|
background-color: #fdeef0;
|
|
color: var(--danger-color);
|
|
}
|
|
|
|
.drug-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-left: 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.expand-icon {
|
|
font-size: 1.2em;
|
|
color: var(--text-light);
|
|
cursor: pointer;
|
|
margin-left: 8px;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.drug-item.expanded .expand-icon {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.drug-variants {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease-in-out;
|
|
margin-top: 12px;
|
|
padding: 0 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.drug-variants.expanded {
|
|
max-height: 1000px; /* Adjust based on content */
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 6px 12px;
|
|
font-size: 0.85em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
color: var(--text-light);
|
|
padding: 40px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.empty {
|
|
text-align: center;
|
|
color: var(--text-light);
|
|
padding: 40px;
|
|
}
|
|
|
|
footer {
|
|
background: var(--primary-color);
|
|
color: var(--white);
|
|
text-align: center;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Actions Section */
|
|
.actions-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.action-buttons .btn {
|
|
padding: 12px 24px;
|
|
font-size: 1em;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* Search Section */
|
|
.search-section {
|
|
margin-bottom: 15px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
max-width: none;
|
|
padding: 12px 16px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 8px;
|
|
font-size: 1em;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: var(--secondary-color);
|
|
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
|
|
}
|
|
|
|
/* List Section */
|
|
.list-section {
|
|
background: var(--white);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Modal Styles */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0,0,0,0.5);
|
|
animation: fadeIn 0.2s;
|
|
}
|
|
|
|
.modal.show {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: var(--white);
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
|
|
animation: slideIn 0.3s;
|
|
}
|
|
|
|
.modal-content.modal-large {
|
|
max-width: 700px;
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.close {
|
|
color: var(--text-light);
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.close:hover {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.form-actions .btn {
|
|
flex: 1;
|
|
}
|
|
|
|
/* History Styles */
|
|
.history-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.history-item {
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.history-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.history-variant {
|
|
font-weight: 600;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.history-datetime {
|
|
font-size: 0.9em;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.history-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.history-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.history-label {
|
|
font-weight: 600;
|
|
color: var(--text-dark);
|
|
min-width: 70px;
|
|
}
|
|
|
|
.history-value {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
main {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.section-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.filters {
|
|
width: 100%;
|
|
}
|
|
|
|
.filter-btn {
|
|
flex: 1;
|
|
}
|
|
|
|
.drug-details {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.drug-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
/* Variants Section */
|
|
.variants-list {
|
|
display: grid;
|
|
gap: 15px;
|
|
}
|
|
|
|
.variant-item {
|
|
background: var(--white);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
padding: 12px 16px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.variant-item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.variant-item.low-stock {
|
|
border-left: 4px solid var(--danger-color);
|
|
}
|
|
|
|
.variant-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.variant-details {
|
|
flex: 1;
|
|
}
|
|
|
|
.variant-name {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.variant-strength {
|
|
color: var(--text-light);
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.variant-quantity {
|
|
font-size: 1.1em;
|
|
font-weight: 500;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.variant-unit {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.variant-status {
|
|
text-align: right;
|
|
}
|
|
|
|
.variant-badge {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.badge-normal {
|
|
background-color: var(--success-color);
|
|
color: var(--white);
|
|
}
|
|
|
|
.badge-low {
|
|
background-color: var(--danger-color);
|
|
color: var(--white);
|
|
}
|
|
|
|
.variant-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 6px 12px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
transform: translateY(-50px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* User Management Styles */
|
|
.user-management-content {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.user-management-content h3 {
|
|
margin-top: 20px;
|
|
margin-bottom: 15px;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.user-management-content .form-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.user-management-content input {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.user-management-content .btn {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.users-list {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.users-table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.user-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 6px;
|
|
gap: 15px;
|
|
}
|
|
|
|
.admin-badge {
|
|
padding: 4px 12px;
|
|
background: var(--warning-color);
|
|
color: var(--white);
|
|
border-radius: 20px;
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Responsive Styles */
|
|
@media (max-width: 768px) {
|
|
header {
|
|
padding: 20px 10px;
|
|
}
|
|
|
|
.header-top {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.header-top h1 {
|
|
flex: none;
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.user-menu {
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 90%;
|
|
max-width: none;
|
|
}
|
|
|
|
.drug-item {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.drug-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.variant-item {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.variant-actions {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|