Merge pull request #25721 from nextcloud/do-not-target-vue-buttons

Do not target vue buttons with server rules
This commit is contained in:
Roeland Jago Douma 2021-03-09 20:31:57 +01:00 committed by GitHub
commit 2f70397b03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@ $default-height: 34px;
/* Simple selector to allow easy overriding */ /* Simple selector to allow easy overriding */
select, select,
button, button:not(.vue),
input, input,
textarea, textarea,
div[contenteditable=true], div[contenteditable=true],
@ -43,7 +43,7 @@ div[contenteditable=false] {
/* Default global values */ /* Default global values */
div.select2-drop .select2-search input, // TODO: REMOVE WHEN DROPPING SELECT2 div.select2-drop .select2-search input, // TODO: REMOVE WHEN DROPPING SELECT2
select, select,
button, .button, button:not(.vue), .button:not(.vue),
input:not([type='range']), input:not([type='range']),
textarea, textarea,
div[contenteditable=true], div[contenteditable=true],
@ -168,8 +168,8 @@ input {
/* 'Click' inputs */ /* 'Click' inputs */
select, select,
button, .button, button:not(.vue), .button:not(.vue),
input[type='button'], input[type='button']:not(.vue),
input[type='submit'], input[type='submit'],
input[type='reset'] { input[type='reset'] {
padding: 6px 16px; padding: 6px 16px;
@ -184,7 +184,7 @@ input[type='reset'] {
} }
} }
select, select,
button, .button { button:not(.vue), .button:not(.vue) {
* { * {
cursor: pointer; cursor: pointer;
} }
@ -197,8 +197,8 @@ button, .button {
} }
/* Buttons */ /* Buttons */
button, .button, button:not(.vue), .button:not(.vue),
input[type='button'], input[type='button']:not(.vue),
input[type='submit'], input[type='submit'],
input[type='reset'] { input[type='reset'] {
font-weight: bold; font-weight: bold;
@ -215,7 +215,7 @@ input[type='reset'] {
color: #fff !important; color: #fff !important;
} }
} }
button, .button { button:not(.vue), .button:not(.vue) {
> span { > span {
/* icon position inside buttons */ /* icon position inside buttons */
&[class^='icon-'], &[class^='icon-'],