Leve organização em alguns stylesheets
This commit is contained in:
1 parent
acd8225c3d
commit
39bd2be04a
5 files changed
+335
-17
No files matched your search
@@ -7,6 +7,11 @@ body {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
a {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* SIDE BAR */
|
||||
.sidebar {
|
||||
position: fixed;
|
||||
@@ -194,8 +199,4 @@ body.sidebar-collapsed .main-content {
|
||||
.username {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,267 @@
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.header-left p {
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.farm-info {
|
||||
min-width: 100px;
|
||||
padding: 14px;
|
||||
text-align: center;
|
||||
background: white;
|
||||
border: 1px solid #e9ecef;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,.04);
|
||||
}
|
||||
|
||||
.farm-info p:first-child {
|
||||
font-size: .8rem;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.farm-info p:last-child {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Containers */
|
||||
.farm-config-container,
|
||||
.batch-type-config-container,
|
||||
.allowed-users-container,
|
||||
.available-farms-container {
|
||||
background: white;
|
||||
overflow: hidden;
|
||||
padding: 22px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
/* Headers */
|
||||
.allowed-users-header,
|
||||
.batch-type-config-header,
|
||||
.section-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.allowed-users-title,
|
||||
.available-farms-title,
|
||||
.batch-type-title,
|
||||
.farm-config-title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.allowed-users-header a,
|
||||
.batch-type-config-header a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
background-color: #198754;
|
||||
border-radius: 5px;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
/* Consumptions */
|
||||
.farm-config-container form {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.config-card {
|
||||
flex: 1;
|
||||
background: #f8f9fa;
|
||||
border-radius: 10px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.config-card-title {
|
||||
margin-bottom: 8px;
|
||||
font-size: .85rem;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.config-card input {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 8px;
|
||||
color: #44494e;
|
||||
}
|
||||
|
||||
.config-card input:focus {
|
||||
color: #000000;
|
||||
outline-color: #6c757d;
|
||||
}
|
||||
|
||||
.config-submit {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.config-submit button {
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
margin: auto;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
background: #198754;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: .15s ease;
|
||||
}
|
||||
|
||||
.config-submit button:hover {
|
||||
opacity: .92;
|
||||
}
|
||||
|
||||
/* Batchtypes */
|
||||
.batch-type-card {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
padding: 14px;
|
||||
margin-bottom: 10px;
|
||||
background: #f8f9fa;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.type-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.type-consumption-factor {
|
||||
color: #6c757d;
|
||||
font-size: .9rem;
|
||||
}
|
||||
|
||||
.batch-type-right {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.edit-type,
|
||||
.delete-type {
|
||||
text-decoration: none;
|
||||
font-size: .9rem;
|
||||
}
|
||||
|
||||
.edit-type {
|
||||
color: #0d6efd;
|
||||
}
|
||||
|
||||
.delete-type {
|
||||
color: #dc3545;
|
||||
}
|
||||
|
||||
/* Allowed Users */
|
||||
.allowed-user-card {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 14px;
|
||||
margin-bottom: 10px;
|
||||
background: #f8f9fa;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.user-remove {
|
||||
color: #dc3545;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Farms */
|
||||
.available-farms-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.available-farms-title {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.available-farm-card {
|
||||
background: #f8f9fa;
|
||||
border-radius: 10px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.available-farm-name {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.available-farm-ifo {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
color: #6c757d;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.available-farm-options {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.available-farm-select {
|
||||
text-decoration: none;
|
||||
color: #198754;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.available-farm-delete {
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
color: #dc3545;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.header-right {
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.farm-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.farm-config-container form {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.config-submit button {
|
||||
min-height: 48px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.allowed-users-header, .batch-type-config-header {
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
@@ -7,13 +7,6 @@
|
||||
margin-top: var(--space-lg);
|
||||
}
|
||||
|
||||
.entity_search h1 {
|
||||
font-size: var(--font-xl);
|
||||
color: var(--color-text-dark);
|
||||
margin: 0;
|
||||
margin-right: var(--space-lg);
|
||||
}
|
||||
|
||||
/* SEARCH FORM */
|
||||
.entity_search form {
|
||||
display: flex;
|
||||
@@ -208,3 +201,15 @@ table a:hover {
|
||||
color: var(--color-text-dark);
|
||||
transition: all var(--transition-speed);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.entity_search {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
|
||||
.entity_search form {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@@ -1,19 +1,63 @@
|
||||
.open-rotations-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 30px;
|
||||
gap: 15px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: none;
|
||||
padding: 10px 5px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
/* Active rotation cards */
|
||||
.active-rotation-card {
|
||||
min-width: 300px;
|
||||
box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.15);
|
||||
max-width: 300px;
|
||||
background: #ffffff;
|
||||
color: #212529;
|
||||
border: 1px solid #e9ecef;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
background-color: #343a40;
|
||||
color: white;
|
||||
padding: 12px 14px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
transition: 0.2s ease;
|
||||
}
|
||||
|
||||
.active-rotation-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.active-rotation-card p {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.active-rotation-card .identification p {
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.active-rotation-card .duration p {
|
||||
font-size: 13px;
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.active-rotation-card .details {
|
||||
margin-top: auto;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.active-rotation-card .details p {
|
||||
font-size: 12px;
|
||||
color: #6c757d;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
@media (max-width: 760px){
|
||||
@@ -21,6 +65,7 @@
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
max-height: 300px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user