ChatGPT-Next-Web/app/components/button.module.scss

53 lines
788 B
SCSS
Raw Normal View History

2023-03-09 17:01:40 +00:00
.icon-button {
background-color: var(--white);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
cursor: pointer;
2023-03-12 19:06:21 +00:00
transition: all 0.3s ease;
2023-03-09 17:01:40 +00:00
overflow: hidden;
user-select: none;
2023-04-06 13:02:48 +00:00
outline: none;
border: none;
2023-04-06 16:14:27 +00:00
color: var(--black);
2023-04-06 13:02:48 +00:00
&[disabled] {
cursor: not-allowed;
opacity: 0.5;
}
2023-03-09 17:01:40 +00:00
}
.shadow {
box-shadow: var(--card-shadow);
}
2023-03-09 17:01:40 +00:00
.border {
border: var(--border-in-light);
}
.icon-button:hover {
border-color: var(--primary);
2023-03-09 17:01:40 +00:00
}
.icon-button-icon {
width: 16px;
height: 16px;
display: flex;
justify-content: center;
align-items: center;
}
2023-03-20 16:51:20 +00:00
@media only screen and (max-width: 600px) {
.icon-button {
padding: 16px;
}
}
2023-03-09 17:01:40 +00:00
.icon-button-text {
margin-left: 5px;
font-size: 12px;
}