Skip to content

Commit

Permalink
fix: remove cursor: not-allowed; various places, as it is doubled up
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 1, 2019
1 parent 8733eaa commit 3d93b7a
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
@include buttonFocus(var(--color-sea-green), transparent);

&[disabled] {
cursor: not-allowed;
color: var(--color-sea-green-alt-30);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ exports[`Dropdown scss have to match snapshot 1`] = `
.dnb-icon img:not([width]):not([height]) {
width: inherit;
height: inherit; }
.dnb-icon svg[width='100%'] {
width: inherit; }
.dnb-icon svg[height='100%'] {
height: inherit; }
.dnb-button {
font-family: sans-serif;
Expand Down Expand Up @@ -553,9 +557,6 @@ a.dnb-button {
width: auto;
white-space: nowrap; }
.dnb-form-label[disabled] {
cursor: not-allowed; }
.dnb-input {
font-family: sans-serif;
font-family: var(--font-family-default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@
width: auto;
white-space: nowrap;
}
.dnb-form-label[disabled] {
cursor: not-allowed;
}
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ exports[`InputMasked scss have to match snapshot 1`] = `
.dnb-icon img:not([width]):not([height]) {
width: inherit;
height: inherit; }
.dnb-icon svg[width='100%'] {
width: inherit; }
.dnb-icon svg[height='100%'] {
height: inherit; }
.dnb-button {
font-family: sans-serif;
Expand Down Expand Up @@ -409,9 +413,6 @@ a.dnb-button {
width: auto;
white-space: nowrap; }
.dnb-form-label[disabled] {
cursor: not-allowed; }
.dnb-input {
font-family: sans-serif;
font-family: var(--font-family-default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@ exports[`Input scss have to match snapshot 1`] = `
.dnb-icon img:not([width]):not([height]) {
width: inherit;
height: inherit; }
.dnb-icon svg[width='100%'] {
width: inherit; }
.dnb-icon svg[height='100%'] {
height: inherit; }
.dnb-button {
font-family: sans-serif;
Expand Down Expand Up @@ -594,9 +598,6 @@ a.dnb-button {
width: auto;
white-space: nowrap; }
.dnb-form-label[disabled] {
cursor: not-allowed; }
.dnb-input {
font-family: sans-serif;
font-family: var(--font-family-default);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ exports[`Modal scss have to match snapshot 1`] = `
.dnb-icon img:not([width]):not([height]) {
width: inherit;
height: inherit; }
.dnb-icon svg[width='100%'] {
width: inherit; }
.dnb-icon svg[height='100%'] {
height: inherit; }
.dnb-button {
font-family: sans-serif;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,8 @@ exports[`Tabs scss have to match default theme snapshot 1`] = `
border-radius: 1px;
background-color: var(--color-sea-green); }
.dnb-tabs__tabs .dnb-tablink[disabled] {
cursor: not-allowed; }
.dnb-tabs__tabs .dnb-tablink[disabled] .dnb-tablink-title {
color: var(--color-sea-green-alt-30); }
.dnb-tabs__tabs .dnb-tablink[disabled] .dnb-tablink-title {
color: var(--color-sea-green-alt-30); }
.dnb-tabs__tabs .dnb-tablink:not([disabled]):active .dnb-tablink-title, .dnb-tabs__tabs .dnb-tablink:not([disabled]).selected .dnb-tablink-title {
color: var(--color-emerald-green); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

// disabled
&[disabled] {
cursor: not-allowed;
.dnb-tablink-title {
color: var(--color-sea-green-alt-30);
}
Expand Down

0 comments on commit 3d93b7a

Please sign in to comment.