mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
c0da8ed6bc
* feat: toggle overview accordions * feat: accordion metrics * feat: result * add permission button * fix: remove feature environment container from strategies tab * chore: delete unused code * fix: remove console log * fix: remove unused code * fix: cleanup * fix: refactor * fix: add empty states * fix: loading * feat: mobile accordions * fix: button * fix: strategies * fix: cleanup * fix: remove unused params * fix: strategy button container * fix: alter gradual rollout id * fix: update userid strategy item * fix: string truncator * fix: strategy link * fix: strategies tab * fix: remove unused imports * fix: visual improvements * fix: add border
141 lines
2.3 KiB
CSS
141 lines
2.3 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
overflow: auto;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
font-family: 'Sen', sans-serif;
|
|
}
|
|
|
|
button {
|
|
font-family: 'Sen', sans-serif;
|
|
}
|
|
|
|
.MuiButton-root {
|
|
border-radius: 3px;
|
|
text-transform: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.skeleton {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-color: #e2e8f0;
|
|
z-index: 9999;
|
|
box-shadow: none;
|
|
fill: none;
|
|
}
|
|
|
|
.skeleton::before {
|
|
background-color: #e2e8f0;
|
|
content: '';
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0;
|
|
content-visibility: hidden;
|
|
bottom: 0;
|
|
z-index: 5000;
|
|
left: 0;
|
|
}
|
|
|
|
.skeleton::after {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
transform: translateX(-100%);
|
|
background-image: linear-gradient(
|
|
90deg,
|
|
rgba(255, 255, 255, 0) 0,
|
|
rgba(255, 255, 255, 0.2) 100%,
|
|
rgba(255, 255, 255, 0.5) 100%,
|
|
rgba(255, 255, 255, 0)
|
|
);
|
|
animation: shimmer 3s infinite;
|
|
content: '';
|
|
z-index: 5001;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
:root {
|
|
/* FONT SIZE */
|
|
--h1-size: 1.25rem;
|
|
--p-size: 1rem;
|
|
--caption-size: 0.9rem;
|
|
|
|
/* PADDING */
|
|
--card-padding: 2rem;
|
|
--card-padding-x: 2rem;
|
|
--card-padding-y: 2rem;
|
|
--card-header-padding: 1rem 2rem;
|
|
--drawer-padding: 1rem 1.5rem;
|
|
--page-padding: 2rem 0;
|
|
--list-header-padding: 1rem;
|
|
|
|
/* MARGIN */
|
|
--card-margin-y: 1rem;
|
|
--card-margin-x: 1rem;
|
|
|
|
/* COLORS*/
|
|
--success: #3bd86e;
|
|
--danger: #d95e5e;
|
|
--warning: #d67c3d;
|
|
--drawer-link-active: #000;
|
|
--drawer-link-active-bg: #f1f1f1;
|
|
--drawer-link-inactive: #424242;
|
|
--primary: #607d8b;
|
|
|
|
/* WIDTHS */
|
|
--drawer-width: 250px;
|
|
--dropdownMenuWidth: 200px;
|
|
|
|
/* BOX SHADOWS */
|
|
--chip-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
|
0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
|
|
/* BORDERS */
|
|
--default-border: 1px solid #f1f1f1;
|
|
}
|
|
|
|
body {
|
|
font-size: 16px;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
padding: 0;
|
|
margin: 0;
|
|
line-height: 24px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
.MuiCardHeader-title {
|
|
font-size: var(--p-size);
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
:root {
|
|
--drawer-padding: 0.75rem 1.25rem;
|
|
}
|
|
}
|