feat(bsky): more styles (#1862)
* feat(bsky): generic disabled button with svg * feat(bsky): alt text box * refactor(bsky): broaden text area to any input * feat(bsky): generic buttons styles * feat(bsky): misc styles see description various buttons explore tab feeds tab random ui lines icon backgrounds pill buttons * fix(bsky): lint * fix(bsky): bunch of unnecessary selectors by updating existing ones Signed-off-by: rooot <[email protected]> * chore(bsky): some more fixes/cleanup Signed-off-by: rooot <[email protected]> * chore(bsky): ugh Signed-off-by: rooot <[email protected]> --------- Signed-off-by: rooot <[email protected]> Co-authored-by: rooot <[email protected]>
This commit is contained in:
1 parent
0d830842e4
commit
7b38bbe028
1 file changed
+64
-6
@@ -100,7 +100,8 @@
|
||||
|
||||
/* secondary text */
|
||||
[style*="rgb(169, 183, 197)"],
|
||||
[style*="rgb(140, 158, 178)"],
|
||||
[style*="rgb(140, 158, 178)"], /* no longer used? */
|
||||
[style*="rgb(147, 165, 183)"],
|
||||
[style*="rgb(84, 110, 138)"],
|
||||
[style*="rgb(66, 87, 108)"] {
|
||||
color: @subtext1 !important;
|
||||
@@ -413,7 +414,9 @@
|
||||
|
||||
/* some button background color (when hovering) */
|
||||
[style*="background-color: rgb(0, 44, 91)"],
|
||||
[style*="background-color: rgb(19, 63, 109)"] {
|
||||
[style*="background-color: rgb(19, 63, 109)"],
|
||||
/* add alt text modal */
|
||||
[style*="background-color: rgb(14, 73, 137)"] {
|
||||
background-color: fade(@accent, 30%) !important;
|
||||
}
|
||||
|
||||
@@ -474,7 +477,7 @@
|
||||
|
||||
/* settings button at the top of the timeline, hashtag button/icon at top of timeline */
|
||||
path[fill="hsl(211, 24%, 70%)"],
|
||||
path[fill="hsl(211, 20%, 62.4%)"] {
|
||||
path[fill="hsl(211, 20%, 64.8%)"] {
|
||||
fill: @subtext1;
|
||||
}
|
||||
|
||||
@@ -488,8 +491,8 @@
|
||||
}
|
||||
|
||||
/* likes, reposts and comment counts/buttons under posts, maybe more */
|
||||
path[fill="hsl(211, 20%, 53%)"],
|
||||
[style*="color: rgb(111, 134, 159)"] {
|
||||
path[fill="hsl(211, 20%, 56%)"],
|
||||
[style*="color: rgb(120, 142, 165)"] {
|
||||
color: @subtext1 !important;
|
||||
fill: @subtext1 !important;
|
||||
}
|
||||
@@ -605,7 +608,7 @@
|
||||
}
|
||||
|
||||
/* thread lines */
|
||||
div[style*="background-color: rgb(46, 63, 81)"].r-m5arl1 {
|
||||
div[style*="background-color: rgb(54, 75, 97)"].r-m5arl1 {
|
||||
background: @surface1 !important;
|
||||
}
|
||||
|
||||
@@ -623,6 +626,61 @@
|
||||
background-color: @surface0 !important;
|
||||
border-color: @overlay0 !important;
|
||||
}
|
||||
|
||||
/* any button that's disabled (we should start using broader overrides) */
|
||||
button[disabled] > svg > path {
|
||||
fill: @overlay0;
|
||||
}
|
||||
|
||||
/* sitewide text inputs */
|
||||
/* the divs are styled separately from the input areas */
|
||||
div[style*="border-color: rgb(46, 64, 82)"] {
|
||||
border-color: @surface1 !important;
|
||||
}
|
||||
div[style*="border-color: rgb(32, 139, 254)"] {
|
||||
border-color: @accent !important;
|
||||
}
|
||||
|
||||
/* image preview borders across app */
|
||||
[style*="border-color: rgb(74, 97, 121)"] {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
|
||||
/* search tab trending buttons */
|
||||
[style*="background-color: rgb(142, 9, 40)"] {
|
||||
background-color: @red !important;
|
||||
|
||||
div {
|
||||
color: @crust !important;
|
||||
}
|
||||
|
||||
svg > path {
|
||||
fill: @crust;
|
||||
}
|
||||
}
|
||||
/* TODO: new which is green but I can't get the right class cause nothing on bsky is a new trending topic atm */
|
||||
|
||||
/* round icon backgrounds (e.g. feeds) */
|
||||
div[style*="background-color: rgb(21, 52, 85)"] {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
|
||||
/* pill toggle button styles (e.g. account activity notifications) */
|
||||
/* active, hover */
|
||||
div[style*="border-color: rgb(76, 162, 254);"] {
|
||||
border-color: @accent !important;
|
||||
}
|
||||
div[style*="background-color: rgb(19, 63, 109)"] {
|
||||
background-color: fade(@accent, 40%) !important;
|
||||
}
|
||||
/* inactive, circle in pill */
|
||||
div[style*="background-color: rgb(91, 119, 149)"]{
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
/* inactive, hover */
|
||||
div[style*="border-color: rgb(120, 142, 165)"] {
|
||||
border-color: @overlay1 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user