1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-28 17:55:15 +02:00
unleash.unleash/frontend/src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/variants.module.scss
Fredrik Strand Oseberg 37b818fce4 Feat/feature toggle view tags (#399)
* feat: new tags

* feat: archive

* wip: variants

* add support for deletion, variable/fixed weight toggle and weight editing

* Add confirmation dialogue for deleting variants

* feat: settings

* fix: recalculate on project name change

* feat: feature environment metrics

* feat: environment

* Add toggle for stale

* fix: refetch on create strategy

* fix: lint

* fix: update snapshots

* fix: add link to icon button

* fix: revert test user

* fix: increase size!

* fix: use permission attr for ResponsiveButton

* fix: dev dependency

* fix: theme

* fix: stale style

* Update src/component/feature/FeatureView2/FeatureSettings/FeatureSettingsMetadata/FeatureTypeSelect/FeatureTypeSelect.tsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

* Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsList.tsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

* Update src/component/feature/FeatureView2/FeatureVariants/FeatureVariantsList/FeatureVariantsListItem/useDeleteVariantMarkup.tsx

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <git@chriswk.no>
2021-10-08 11:23:29 +02:00

101 lines
1.2 KiB
SCSS

.variantTable {
width: 100%;
max-width: 700px;
th,
td {
text-align: center;
}
th:first-of-type,
td:first-of-type {
text-align: left;
width: 100%;
}
tbody tr:hover {
background-color: rgba(173, 216, 230, 0.2);
}
}
@media (max-width: 600px) {
th.labels {
display: none;
}
td.labels {
display: none;
}
}
th.labels {
text-align: right;
}
td.labels {
text-align: right;
vertical-align: top;
}
th.actions {
text-align: right;
}
td.actions {
height: 100%;
text-align: right;
vertical-align: top;
}
.actionsContainer {
display: flex;
align-items: center;
}
.modal {
max-width: 90%;
width: 600px;
position: absolute !important;
}
@media (max-width: 600px) {
.modal {
top: 0 !important;
}
}
.tooltip {
i {
font-size: 18px;
}
}
.inputWeight {
text-align: right;
}
.flexCenter {
display: flex;
justify-content: center;
align-items: center;
}
.flex {
display: flex;
align-items: center;
}
.marginL10 {
margin-left: 10px;
}
.addVariantButton {
margin: 1rem 0;
}
.paragraph {
max-width: 400px;
}
.helperText {
display: block;
margin-top: 0.5rem;
}