Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only add the vue exeption to actual button elements #29905

Merged
merged 1 commit into from
Dec 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ div[contenteditable=false] {
/* Default global values */
div.select2-drop .select2-search input, // TODO: REMOVE WHEN DROPPING SELECT2
select,
button:not(.button-vue), .button:not(.button-vue),
button:not(.button-vue), .button,
input:not([type='range']),
textarea,
div[contenteditable=true],
Expand Down Expand Up @@ -168,8 +168,8 @@ input {

/* 'Click' inputs */
select,
button:not(.button-vue), .button:not(.button-vue),
input[type='button']:not(.button-vue),
button:not(.button-vue), .button,
input[type='button'],
input[type='submit'],
input[type='reset'] {
padding: 6px 16px;
Expand All @@ -184,7 +184,7 @@ input[type='reset'] {
}
}
select,
button:not(.button-vue), .button:not(.button-vue) {
button:not(.button-vue), .button {
* {
cursor: pointer;
}
Expand All @@ -197,8 +197,8 @@ button:not(.button-vue), .button:not(.button-vue) {
}

/* Buttons */
button:not(.button-vue), .button:not(.button-vue),
input[type='button']:not(.button-vue),
button:not(.button-vue), .button,
input[type='button'],
input[type='submit'],
input[type='reset'] {
font-weight: bold;
Expand All @@ -215,7 +215,7 @@ input[type='reset'] {
color: #fff !important;
}
}
button:not(.button-vue):not(.action-button), .button:not(.button-vue) {
button:not(.button-vue):not(.action-button), .button {
> span {
/* icon position inside buttons */
&[class^='icon-'],
Expand Down