Browse Source

Fix styles for input fields on focus state

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
pull/41270/head
julia.kirschenheuter 2 years ago
parent
commit
7f5f93268c
  1. 15
      core/src/views/ContactsMenu.vue
  2. 6
      core/src/views/UnifiedSearch.vue
  3. 4
      dist/core-main.js
  4. 2
      dist/core-main.js.map
  5. 4
      dist/core-unified-search.js
  6. 2
      dist/core-unified-search.js.map

15
core/src/views/ContactsMenu.vue

@ -58,10 +58,14 @@
</ul>
</div>
<div v-if="contactsAppEnabled" class="contactsmenu__menu__content__footer">
<NcButton type="tertiary" :href="contactsAppURL">{{ t('core', 'Show all contacts') }}</NcButton>
<NcButton type="tertiary" :href="contactsAppURL">
{{ t('core', 'Show all contacts') }}
</NcButton>
</div>
<div v-else-if="canInstallApp" class="contactsmenu__menu__content__footer">
<NcButton type="tertiary" :href="contactsAppMgmtURL">{{ t('core', 'Install the Contacts app') }}</NcButton>
<NcButton type="tertiary" :href="contactsAppMgmtURL">
{{ t('core', 'Install the Contacts app') }}
</NcButton>
</div>
</div>
</div>
@ -170,6 +174,13 @@ export default {
width: 100%;
height: 34px;
margin: 8px 0;
&:focus,
&:focus-visible,
&:active {
border-color: 2px solid var(--color-main-text) !important;
box-shadow: 0 0 0 2px var(--color-main-background) !important;
}
}
&__content {

6
core/src/views/UnifiedSearch.vue

@ -762,6 +762,12 @@ $input-padding: 6px;
&__form-input {
margin: 0 !important;
&:focus,
&:focus-visible,
&:active {
border-color: 2px solid var(--color-main-text) !important;
box-shadow: 0 0 0 2px var(--color-main-background) !important;
}
}
&__input-row {

4
dist/core-main.js
File diff suppressed because it is too large
View File

2
dist/core-main.js.map
File diff suppressed because it is too large
View File

4
dist/core-unified-search.js
File diff suppressed because it is too large
View File

2
dist/core-unified-search.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save