136 lines
2.4 KiB
SCSS
136 lines
2.4 KiB
SCSS
@use 'sae-lib/src/styles/_variables.scss' as variables;
|
|
|
|
.prompt-input {
|
|
margin: 20px auto;
|
|
background: variables.$neutral-white;
|
|
border-radius: 0.5rem;
|
|
padding: 10px 10px;
|
|
box-shadow: 0 5px 10px variables.$shadow-color;
|
|
height: 3.8em;
|
|
|
|
|
|
.column {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
input {
|
|
width: 326px;
|
|
max-width: 100%;
|
|
border: 0;
|
|
padding: 10px;
|
|
@extend .is-shadowed !optional;
|
|
float: left;
|
|
|
|
.is-expanded-right & {
|
|
width: 968px;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
button {
|
|
background: variables.$neutral-white;
|
|
padding: 10px;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
border-radius: 10px;
|
|
|
|
&:hover {
|
|
color: variables.$main-color-active;
|
|
fill: variables.$main-color-active;
|
|
background: 1px solid variables.$bg-color-button;
|
|
}
|
|
|
|
&.submit {
|
|
position: relative;
|
|
top: 0;
|
|
right: 0;
|
|
|
|
float: right;
|
|
display: inline-block;
|
|
z-index: 10;
|
|
|
|
}
|
|
}
|
|
|
|
.magic {
|
|
padding: 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 10px;
|
|
background: variables.$bg-color-chat;
|
|
width: 40px;
|
|
height: 40px;
|
|
float: left;
|
|
}
|
|
|
|
// Dropdown styles
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
&.is-active,
|
|
&.is-hoverable:hover {
|
|
.dropdown-menu {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.dropdown-trigger {
|
|
display: inline-block;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
display: none;
|
|
position: absolute;
|
|
z-index: 20;
|
|
top: 100%;
|
|
left: 0;
|
|
min-width: 12rem;
|
|
background-color: white;
|
|
border-radius: 4px;
|
|
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
|
|
padding-bottom: 0.5rem;
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.dropdown-content {
|
|
padding: 0.5rem 0;
|
|
}
|
|
|
|
.dropdown-item {
|
|
color: #4a4a4a;
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
padding: 0.375rem 1rem;
|
|
position: relative;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: #f5f5f5;
|
|
color: #0a0a0a;
|
|
}
|
|
|
|
&.is-active {
|
|
background-color: #3273dc;
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.selected-mode-specific,
|
|
.selected-mode-structured {
|
|
.indicator {
|
|
background: red;
|
|
border-radius: 100%;
|
|
width: 10px;
|
|
height: 10px;
|
|
display: block;
|
|
right: 0;
|
|
top: 0.3rem;
|
|
position: absolute;
|
|
}
|
|
}
|
|
}
|