Make page button styles more specific

This commit is contained in:
quest 2022-09-10 17:20:48 -10:00
parent 451e4da378
commit ca415c0e70
No known key found for this signature in database
GPG Key ID: E49B7E0000228DDD
8 changed files with 56 additions and 47 deletions

View File

@ -42,32 +42,40 @@
text-decoration: none; text-decoration: none;
} }
} }
}
.button { .button:hover, a.button:hover, button:hover {
background: none;
}
.button {
border: none;
color: var(--accent);
background: none;
position: relative; position: relative;
display: inline-flex; display: inline-flex;
flex: 1; flex: 1;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 1rem; font-size: 1rem;
border-radius: 8px; border-radius: 0;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
appearance: none; appearance: none;
overflow: hidden; overflow: hidden;
+ .button { +.button {
margin-left: 10px; margin-left: 10px;
} }
a { a, a:hover {
display: flex; display: flex;
padding: 8px 16px; padding: 8px 16px;
text-decoration: none; text-decoration: none;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
background: none !important;
border: none;
} }
&__text { &__text {
@ -83,4 +91,5 @@
&.previous .button__icon { &.previous .button__icon {
margin-right: 8px; margin-right: 8px;
} }
}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1616,9 +1616,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0" lodash.uniq "^4.5.0"
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001271: caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001271:
version "1.0.30001271" version "1.0.30001393"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001271.tgz#0dda0c9bcae2cf5407cd34cac304186616cc83e8" resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001393.tgz"
integrity sha512-BBruZFWmt3HFdVPS8kceTBIguKxu4f99n5JNp06OlPD/luoAMIaIK5ieV5YjnBLH3Nysai9sxj9rpJj4ZisXOA== integrity sha512-N/od11RX+Gsk+1qY/jbPa0R6zJupEa0lxeBG598EbrtblxVCTJsQwbRBm6+V+rxpc5lHKdsXb9RY83cZIPLseA==
chalk@^1.1.3: chalk@^1.1.3:
version "1.1.3" version "1.1.3"
@ -5343,10 +5343,10 @@ yargs@^16.0.0:
y18n "^5.0.5" y18n "^5.0.5"
yargs-parser "^20.2.2" yargs-parser "^20.2.2"
yarn@^1.22.10: yarn@^1.22.19:
version "1.22.17" version "1.22.19"
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.17.tgz#bf910747d22497b573131f7341c0e1d15c74036c" resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.19.tgz#4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
integrity sha512-H0p241BXaH0UN9IeH//RT82tl5PfNraVpSpEoW+ET7lmopNC61eZ+A+IDvU8FM6Go5vx162SncDL8J1ZjRBriQ== integrity sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==
yocto-queue@^0.1.0: yocto-queue@^0.1.0:
version "0.1.0" version "0.1.0"