app/src/styles/components.css

86 lines
1.4 KiB
CSS

/* Navigation */
.navigation {
display: flex;
flex-direction: row;
}
.navigation > .navigation-item {
flex: 1;
}
.navigation-item {
list-style: none;
}
.navigation-item > a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: lavender;
border: 1px solid darkslategray;
font-weight: bold;
height: 64px;
}
.navigation-item > a:hover {
background-color: lavenderblush;
}
.navigation-item.active > a {
background-color: lightsteelblue;
cursor: default;
}
/* Expression cards */
.expression-card {
display: flex;
flex-direction: column;
background-color: lavender;
border: 1px solid darkslategray;
box-shadow: 0px 5px 5px -5px darkslategray;
padding: 16px;
word-wrap: break-word;
}
.expression-card-prompt {
color: darkslategray;
font-size: 18px;
font-weight: bold;
margin: 10px 0px;
}
.expression-card-categories {
color: slategray;
font-family: monospace;
font-size: 12px;
margin: 10px 0px;
}
.expression-card-details {
color: darkslategray;
font-size: 15px;
margin: 20px 0px 10px;
overflow-y: auto;
}
.expression-card-details::-webkit-scrollbar-track {
background-color: lightslategray;
border-radius: 4px;
}
.expression-card-details::-webkit-scrollbar {
border-radius: 4px;
width: 8px;
padding-left: 14px;
}
.expression-card-details::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: darkslategray;
}