mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
The Admin V3 styles are now the primary styles for the application. This change promotes the `admin_v3` directory to `admin` and archives the old styles. Changes: - Renamed `app/webpacker/css/admin_v3` to `app/webpacker/css/admin`. - Renamed the previous `app/webpacker/css/admin` to `app/webpacker/css/admin_legacy`. - Moved all files referenced by V3 styles from the legacy directory to the new `admin` directory. - Updated imports in `all.scss` to distinct local files instead of relative paths. - Cleaned up `admin_legacy` by removing files that are duplicates (by name or content) of the new admin styles. - Updated `admin-style-v3` pack to point to the new location.
121 lines
2.2 KiB
SCSS
121 lines
2.2 KiB
SCSS
.enterprise_package_panel,
|
|
.enterprise_producer_panel {
|
|
.info {
|
|
p {
|
|
font-size: 1rem;
|
|
margin: 10px 0px;
|
|
}
|
|
}
|
|
|
|
a.selector {
|
|
display: block;
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
border: 2px solid black;
|
|
text-align: center;
|
|
// width: 100%;
|
|
cursor: pointer;
|
|
&,
|
|
& * {
|
|
color: white;
|
|
}
|
|
&:hover {
|
|
&:after {
|
|
border-top-color: $spree-green;
|
|
}
|
|
}
|
|
&.disabled {
|
|
background-color: #c1c1c1;
|
|
}
|
|
.bottom {
|
|
background: repeating-linear-gradient(
|
|
60deg,
|
|
rgba(84, 152, 218, 0),
|
|
rgba(84, 152, 218, 0) 5px,
|
|
rgba(255, 255, 255, 0.25) 5px,
|
|
rgba(255, 255, 255, 0.25) 10px
|
|
);
|
|
margin-top: 1em;
|
|
margin-left: -15px;
|
|
margin-right: -15px;
|
|
padding: 5px;
|
|
text-transform: uppercase;
|
|
}
|
|
&.selected {
|
|
background-color: #000000;
|
|
|
|
&:after {
|
|
top: 50%;
|
|
left: 0;
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
|
|
border-top: 20px solid transparent;
|
|
border-bottom: 20px solid transparent;
|
|
border-right: 20px solid #000000;
|
|
margin-top: -20px;
|
|
margin-left: -20px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.enterprise_status_panel {
|
|
.status-ok {
|
|
margin: 30px 0px;
|
|
i.icon-ok-sign {
|
|
color: $spree-green;
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
td.description {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
td.severity {
|
|
text-align: center;
|
|
|
|
i {
|
|
font-size: 1.5rem;
|
|
|
|
&.issue {
|
|
color: $color-warning;
|
|
}
|
|
|
|
&.warning {
|
|
color: #ff9848;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tags-input .tags li.tag-item {
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
-ms-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
border-radius: 3px;
|
|
margin: 2px 0 2px 3px;
|
|
background-image: none;
|
|
background-color: $teal;
|
|
border: none;
|
|
box-shadow: none;
|
|
color: white !important;
|
|
font-size: 85%;
|
|
height: 25px;
|
|
}
|
|
|
|
tags-input .tags .tag-item .remove-button {
|
|
color: white;
|
|
}
|
|
|
|
table th.actions .no-text[class*="icon-"],
|
|
table td.actions .no-text[class*="icon-"] {
|
|
cursor: pointer;
|
|
}
|