overleaf/services/web/frontend/stylesheets/app/editor/symbol-palette.less
Miguel Serrano 73c47fa0e0 Layout divider for Symbol Palette (#4036)
Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: e22635978c16646060c80ceb8376a560bfbf6527
2021-05-18 02:08:12 +00:00

82 lines
1.5 KiB
Text

.symbol-palette-container {
height: 100%;
}
.symbol-palette {
display: flex;
flex-direction: column;
background: @symbol-palette-bg;
color: @symbol-palette-color;
width: 100%;
height: 100%;
}
.symbol-palette-header {
flex-shrink: 0;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
font-family: @font-family-sans-serif;
font-size: 16px;
background: @symbol-palette-header-background;
}
.symbol-palette-header [data-reach-tab] {
border-bottom: none;
}
.symbol-palette-header [data-reach-tab][data-selected] {
background: @symbol-palette-selected-tab-bg;
}
.symbol-palette-body {
flex: 1;
overflow-y: auto;
}
.symbol-palette-items {
display: flex;
flex-wrap: wrap;
padding: 5px;
}
.symbol-palette-item {
font-family: 'Stix Two Math', serif;
font-size: 24px;
line-height: 42px;
height: 42px;
width: 42px;
margin: 5px;
color: @symbol-palette-item-color;
background: @symbol-palette-item-bg;
border: 1px solid transparent;
border-radius: 3px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.symbol-palette-item-command {
font-family: monospace;
font-weight: bold;
}
.symbol-palette-item-notes {
margin-top: 5px;
}
.symbol-palette-empty {
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.symbol-palette-search {
color: @symbol-palette-search-color;
border-radius: 21px;
border: none;
padding: 2px 10px;
margin: 5px;
line-height: 1;
}