mirror of
https://github.com/directus/directus.git
synced 2026-02-11 09:15:01 -05:00
* Pass relations through schema, instead of individual reads * Fetch field transforms upfront * Fix length check * List if user has app access or not in accountability * Load permissions up front, merge app access minimal permissions * Show app access required permissions in permissions overview * Show system minimal permissions in permissions detail * Fix app access check in authenticate for jwt use * Fix minimal permissions for presets * Remove /permissions/me in favor of root use w/ permissions * Fix logical nested OR in an AND * Use root permissions endpoint with filter instead of /me * Allow filter query on /permissions * Add system minimal app access permissions into result of /permissions * Remove stray console log * Remove stray console.dir * Set current role as role for minimal permissions * Fix no-permissions state for user detail * Add filter items function that allows altering existing result set
139 lines
1.8 KiB
SCSS
139 lines
1.8 KiB
SCSS
* {
|
|
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);
|
|
}
|