Skip to content

Commit 888427c

Browse files
authored
Merge pull request #3533 from AlchemyCMS/hover-style-fixes
Even more style fixes
2 parents 024654c + 1ee722c commit 888427c

File tree

8 files changed

+33
-9
lines changed

8 files changed

+33
-9
lines changed

app/assets/builds/alchemy/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/stylesheets/alchemy/admin/archive.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ alchemy-uploader {
3939
align-items: center;
4040
justify-content: center;
4141
background-color: var(--picture-thumbnail-background-color, transparent);
42+
transition: all var(--transition-duration);
4243

4344
&:not(:has(alchemy-icon)) {
4445
box-shadow: 0 0 1px 1px var(--border-color);
@@ -278,6 +279,8 @@ div#library_sidebar {
278279

279280
.alchemy-dialog #library_sidebar {
280281
position: absolute;
282+
top: 0;
283+
height: calc(100% - var(--pagination-height));
281284
padding: 0 var(--spacing-4);
282285
}
283286

app/stylesheets/alchemy/admin/base.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,13 @@ body {
6464
a {
6565
color: inherit;
6666
text-decoration: none;
67-
transition: var(--transition-duration);
67+
text-decoration-color: transparent;
68+
text-decoration-thickness: 1px;
69+
transition: all var(--transition-duration);
6870

6971
&:hover {
70-
text-decoration: underline;
71-
text-decoration-thickness: 1px;
72+
text-decoration-line: underline;
73+
text-decoration-color: inherit;
7274
}
7375

7476
img {

app/stylesheets/alchemy/admin/elements.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ button.element-toggle {
160160
box-shadow: none;
161161
padding: 0;
162162
margin: 0 0 0 auto;
163+
transition: background-color var(--transition-duration);
163164

164165
&:hover {
165166
&:not(:focus) {

app/stylesheets/alchemy/admin/forms.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ form {
248248

249249
a[href] {
250250
color: var(--hint-text-link-color);
251+
text-decoration-line: underline;
252+
text-decoration-color: inherit;
253+
text-decoration-thickness: 1px;
254+
255+
&:hover {
256+
color: inherit;
257+
text-decoration-color: transparent;
258+
}
251259
}
252260
}
253261

app/stylesheets/alchemy/admin/notices.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ alchemy-message {
7575
}
7676

7777
a[href] {
78-
text-decoration: underline;
79-
color: var(--hint-text-link-color);
78+
text-decoration-color: inherit;
79+
text-decoration-thickness: 1px;
80+
color: inherit;
8081

8182
&:hover {
8283
color: inherit;
83-
text-decoration: none;
84+
text-decoration-color: transparent;
8485
}
8586
}
8687

app/stylesheets/alchemy/admin/resource_info.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,11 @@
183183
a {
184184
color: var(--text-color);
185185
font-weight: var(--font-weight_bold);
186+
text-decoration-color: transparent;
186187

187188
&:hover {
188-
color: var(--text-link-color);
189+
text-decoration-color: var(--text-link-color);
190+
color: inherit;
189191
}
190192
}
191193
}

app/stylesheets/alchemy/admin/typography.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,14 @@ p {
5555
white-space: normal;
5656

5757
a {
58-
color: var(--text-link-color);
58+
color: inherit;
59+
text-decoration-line: underline;
60+
text-decoration-color: var(--text-link-color);
61+
text-decoration-thickness: 1px;
62+
63+
&:hover {
64+
text-decoration-color: transparent;
65+
}
5966
}
6067
}
6168

0 commit comments

Comments
 (0)