mirror of
https://github.com/directus/directus.git
synced 2026-02-13 03:35:11 -05:00
* Add migrations, start on service * Dont track TODO files * Update collection types, add collection type * Allow drag and drop sorting of collections * Add tooltip * Add grouping + collapsed state * Fix nested closed state * Tweak active drag styling * Remove collapsed state * Add folder creation/editing * Render collections as nested tree in nav * Fix open active state * Add dense when collection count > 5 * Add visible toggle * Add show-hidden toggle * Fix css specificity * Add support for query in v-list-group * Add missing cascade * Remove collapsed state * Finish three-way toggle * Add custom lock icon * Fix icon size in non-dense * Redirect to first & open tree on load * Dont make prop required * Fix search * Only apply archive filter when enabled in settings * Add archive view * Add translations * Hide organization fields * Show system collections
152 lines
2.1 KiB
SCSS
152 lines
2.1 KiB
SCSS
@import './mixins/form-grid.scss';
|
|
|
|
*:not(svg *) {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
color: inherit;
|
|
font-weight: inherit;
|
|
font-size: inherit;
|
|
font-family: inherit;
|
|
line-height: inherit;
|
|
tab-size: 2;
|
|
user-select: none;
|
|
}
|
|
|
|
html {
|
|
font-size: 14px;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
body {
|
|
color: var(--foreground-normal);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
font-family: var(--family-sans-serif);
|
|
font-style: normal;
|
|
line-height: 22px;
|
|
background-color: var(--background-page);
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
&:not(.user-is-tabbing) * {
|
|
outline: none;
|
|
|
|
&::-moz-focus-inner,
|
|
&::-moz-focus-outer {
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
|
|
&:focus,
|
|
&:focus-within {
|
|
outline: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
[contenteditable],
|
|
.selectable {
|
|
user-select: text;
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
|
|
* {
|
|
user-select: text;
|
|
}
|
|
|
|
/* stylelint-enable no-descending-specificity */
|
|
}
|
|
|
|
:invalid {
|
|
outline: 0;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button {
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
}
|
|
|
|
fieldset {
|
|
padding: 10px 0 20px;
|
|
border: 0;
|
|
|
|
&.centered {
|
|
border-top: 1px solid var(--blue-grey-200);
|
|
|
|
legend {
|
|
padding: 10px 20px;
|
|
color: var(--blue-grey-400);
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
::selection {
|
|
background: #e1f0fa;
|
|
}
|
|
|
|
dl > div {
|
|
display: flex;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
dt,
|
|
dd {
|
|
display: inline-block;
|
|
}
|
|
|
|
dt {
|
|
flex-shrink: 0;
|
|
margin-right: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
dd {
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
color: var(--foreground-subdued);
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
dd a {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.form-grid {
|
|
@include form-grid;
|
|
}
|
|
|
|
input[type='search']::-webkit-search-decoration,
|
|
input[type='search']::-webkit-search-cancel-button,
|
|
input[type='search']::-webkit-search-results-button,
|
|
input[type='search']::-webkit-search-results-decoration {
|
|
-webkit-appearance: none;
|
|
}
|