owncast/web/styles/ant-overrides.scss
2022-07-10 16:45:17 -07:00

56 lines
1.2 KiB
SCSS

/* ------------------------- //
BUTTONS
// ------------------------- */
.ant-btn {
height: 2rem;
padding: .3rem 1rem;
background-color: var(--theme-unknown);
font-size: .85rem;
font-weight: bold;
border-radius: var(--theme-rounded-corners);
border-color: transparent;
color: var(--theme-unknown-2);
&:hover,
&:focus {
background-color: var(--theme-primary);
border-color: transparent;
color: var(--theme-unknown-2);
}
&:focus {
border-color: var(--theme-unknown-2);
}
&[ant-click-animating-without-extra-node]:after {
animation: 0s !important;
}
}
.ant-btn-primary {
background-color: var(--theme-unknown);
}
.ant-btn-primary[disabled] {
background-color: var(--theme-unknown);
color: var(--theme-unknown-2);
&:hover {
background-color: var(--theme-unknown);
}
}
.ant-btn-background-ghost {
border: 0px;
box-shadow: none !important;
&:hover,
&:focus {
background-color: var(--theme-unknown);
}
}
/* ------------------------- //
DROPDOWN
// ------------------------- */
.ant-dropdown-menu {
border-radius: var(--theme-rounded-corners);
background-color: var(--color-background-secondary);
}