Responsive CSS updates.

This commit is contained in:
Mike Cao 2020-09-21 21:34:55 -07:00
parent 106fe90e26
commit c95aa4aa56
21 changed files with 124 additions and 73 deletions

View file

@ -19,7 +19,7 @@
}
.button:active {
color: var(--gray700);
color: var(--gray900);
}
.large {

View file

@ -17,7 +17,7 @@
text-align: center;
vertical-align: center;
height: 40px;
min-width: 40px;
width: 40px;
border-radius: 5px;
border: 1px solid transparent;
}
@ -103,3 +103,9 @@
.icon {
margin-left: 10px;
}
@media only screen and (max-width: 992px) {
.calendar table {
max-width: calc(100vw - 30px);
}
}

View file

@ -37,7 +37,7 @@ export default function MenuButton({
<div className={styles.container} ref={ref}>
<Button
icon={icon}
className={classNames({ [styles.open]: showMenu })}
className={classNames(styles.button, { [styles.open]: showMenu })}
onClick={toggleMenu}
variant="light"
>

View file

@ -4,6 +4,11 @@
cursor: pointer;
}
.button {
border: 1px solid transparent;
border-radius: 4px;
}
.menu {
z-index: 100;
}
@ -12,10 +17,8 @@
font-size: var(--font-size-small);
}
.open {
background: var(--gray200);
}
.open,
.open:hover {
background: var(--gray200);
background: var(--gray50);
border: 1px solid var(--gray500);
}