Skip to content

Commit

Permalink
fix: applying styles only to a new tab button
Browse files Browse the repository at this point in the history
  • Loading branch information
livingflore committed Mar 3, 2024
1 parent 298563b commit 5aa54b2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/Settings/Settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ hr {
/* inputs */
input[type="text"],
input[type="button"],
button,
button[id="openinnewtab_button"],
select {
border-radius: var(--border-radius-md);
margin-bottom: 4px;
font-size: 12px;
}

input[type="text"],
button,
button[id="openinnewtab_button"],
select {
border: 0;
background: var(--input-background);
Expand All @@ -201,13 +201,13 @@ select {
}

input[type="button"],
button,
button[id="openinnewtab_button"],
input[type="checkbox"] {
cursor: pointer;
}

input[type="button"],
button {
button[id="openinnewtab_button"] {
min-width: 50px;
color: var(--neutral-lightest);
border: 0;
Expand All @@ -224,20 +224,20 @@ input[type="button"].loading:disabled {

/* accent */
input[type="button"].accent,
button.accent {
button[id="openinnewtab_button"].accent {
background: var(--accent);
}
input[type="button"].accent:hover,
input[type="button"].accent:focus,
input[type="button"].accent:active,
button.accent:hover,
button.accent:focus,
button.accent:active {
button[id="openinnewtab_button"].accent:hover,
button[id="openinnewtab_button"].accent:focus,
button[id="openinnewtab_button"].accent:active {
background: var(--accent);
}

input[type="button"].accent.ghost,
button.accent.ghost {
button[id="openinnewtab_button"].accent.ghost {
border: 2px solid var(--accent);
background: var(--neutral-lightest);
color: var(--accent);
Expand Down Expand Up @@ -330,7 +330,7 @@ input[type="color"] {
}

input[type="button"],
button {
button[id="openinnewtab_button"] {
min-width: 60px;
}

Expand Down

0 comments on commit 5aa54b2

Please sign in to comment.