Skip to content

Commit

Permalink
fixup! More small improvements (e.g. dashboard, user status dialog)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlSchwan committed Mar 30, 2022
1 parent 920a56c commit f5b6ef9
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 36 deletions.
4 changes: 3 additions & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,9 @@
td.append(
'<input id="select-' + this.id + '-' + fileData.id +
'" type="checkbox" class="selectCheckBox checkbox"/><label for="select-' + this.id + '-' + fileData.id + '">' +
'<span class="hidden-visually">' + t('files', 'Select') + '</span>' +
'<span class="hidden-visually">' + (fileData.type === 'dir' ?
t('files', 'Select directory "{dirName}"', {dirName: name}) :
t('files', 'Select file "{fileName}"', {fileName: name})) + '</span>' +
'</label>'
);

Expand Down
3 changes: 3 additions & 0 deletions apps/settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,9 @@ table.nostyle {
.social-button {
padding-left: 0 !important;
margin-left: -10px;
a {
display: inline-block;
}

img {
padding: 10px;
Expand Down
5 changes: 1 addition & 4 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,9 @@ kbd {
}
}
a:focus-visible {
border: 2px solid var(--color-primary);
border-radius: var(--border-radius);
box-shadow: var(--color-primary) inset 0 0 0 2px;
outline: none;
background-position: 12px center;
line-height: 40px;
padding: 0 10px 0 12px;
}
&.active,
a:active,
Expand Down
15 changes: 4 additions & 11 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
-moz-user-select: none;
-ms-user-select: none;
a:focus-visible, button:focus-visible, div[role="button"]:focus-visible {
border: 2px solid var(--color-primary-text);
box-shadow: inset 0 0 0 2px var(--color-primary-text);
border-radius: var(--border-radius);
margin: 0;
outline: none;
}
}

Expand Down Expand Up @@ -150,10 +150,8 @@
background-color: var(--color-primary-light);
}
&:focus-visible {
padding: 8px 10px;
margin: 2px;
width: calc(100% - 4px);
height: $header-menu-entry-height - 4px !important;
box-shadow: inset 0 0 0 2px var(--color-primary);
outline: none;
}
span {
display: inline-block;
Expand Down Expand Up @@ -254,8 +252,6 @@

&:focus-visible {
outline: none;
margin: 0;
margin-top: 1px;
}
}
}
Expand Down Expand Up @@ -469,9 +465,6 @@ nav[role='navigation'] {
letter-spacing: -0.5px;
font-size: 12px;
margin: 2px;
&:focus-visible {
height: 43px;
}
}

/* focused app visual feedback */
Expand Down
6 changes: 3 additions & 3 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ div[contenteditable=true],
background-color: var(--color-main-background);
color: var(--color-text-light);
}
&:focus-visible {
box-shadow: 0 0 0 2px var(--color-primary);
}
}
&:disabled {
background-color: var(--color-background-dark);
color: var(--color-text-maxcontrast);
cursor: default;
opacity: 0.5;
}
&:focus-visible {
border-width: 2px;
}
&:required {
box-shadow: none;
}
Expand Down
3 changes: 1 addition & 2 deletions core/src/components/HeaderMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@ export default {
opacity: 1;
}

&__trigger:focus-active {
&__trigger:focus-visible {
outline: none;
margin-top: 1px !important;
}

&__wrapper {
Expand Down
4 changes: 2 additions & 2 deletions dist/core-common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-common.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/core-unified-search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-unified-search.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dashboard-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dashboard-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/user_status-menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/user_status-menu.js.map

Large diffs are not rendered by default.

0 comments on commit f5b6ef9

Please sign in to comment.