git ssb

10+

Matt McKegg / patchwork



Commit e66f956a704b5cc908e734c44d4eb6f082b5a141

tweak light styles to be more like dark style

Matt McKegg committed on 7/6/2018, 1:42:52 PM
Parent: 6fbd24516cd1b0317b93e630e23a65807bfd51a6

Files changed

styles/dark/toggle-button.mcsschanged
styles/light/base.mcsschanged
styles/light/button.mcsschanged
styles/light/feed-event.mcsschanged
styles/light/message.mcsschanged
styles/light/toggle-button.mcsschanged
styles/dark/toggle-button.mcssView
@@ -33,16 +33,18 @@
3333 }
3434
3535 -blocking {
3636 margin-left: 5px
37- border: 0px
37+ :hover {
38+ background-color: #bd6363
39+ }
3840 }
3941
4042 -unblocking {
4143 margin-left: 5px
42- background-color: rgb(212, 112, 112)
43- color: #ffffff
44- border: 0px
44+ :hover {
45+ background-color: rgb(212, 167, 112)
46+ }
4547 }
4648
4749 -disabled {
4850 cursor: default
styles/light/base.mcssView
@@ -48,9 +48,9 @@
4848 color: #8EC1FC
4949 }
5050
5151 :hover {
52- text-decoration: underline
52+ color: #5eabff
5353 }
5454 }
5555
5656 * + h1 {
styles/light/button.mcssView
@@ -27,11 +27,12 @@
2727 border-color: #DDD !important;
2828 }
2929
3030 -add {
31- color: #ffffff;
32- background-color: #255D24;
33- border-color: #255D24;
31+ :hover {
32+ border-color: #7dbd85;
33+ background-color: #7dbd85;
34+ }
3435 }
3536
3637 -pub {
3738 color: #ffffff
styles/light/feed-event.mcssView
@@ -7,9 +7,9 @@
77 width: 100%
88 margin: 25px auto
99
1010 -group {
11- background: #e4e4e4
11+ background: #e8e8e8
1212 a.expand {
1313 display: block;
1414 padding: 10px;
1515 background: #f1f1f1;
styles/light/message.mcssView
@@ -203,10 +203,18 @@
203203 font-weight: bold;
204204 }
205205
206206 a.likes {
207- color: #286bc3;
208- font-size:90%;
207+ font-size: 75%;
208+ color: #757474
209+
210+ ::before {
211+ content: '❤ '
212+ color: #ff2f92
213+ }
214+ :hover {
215+ color: #ff2f92
216+ }
209217 }
210218
211219 span.private {
212220 display: inline-block;
@@ -290,9 +298,49 @@
290298 }
291299 }
292300
293301 div.actions {
302+ a.like {
303+ :before {
304+ content: "❤ "
305+ }
306+ :hover {
307+ background: #e26ba4
308+ }
309+ }
310+ a.unlike {
311+ :before {
312+ content: ""
313+ }
314+ :hover {
315+ background: #959EAB
316+ }
317+ }
294318 a {
319+ font-size: 13px
320+ background: #f3f3f3;
321+ padding: 6px 10px;
322+ border-radius: 3px;
323+ color: #656565;
324+ display: inline-block
325+ text-align: center
326+ transition: background-color 0.25s ease, color 0.25s ease
327+
328+ :before {
329+ content: "↩ "
330+ }
331+ :hover {
332+ background: #7dbd85
333+ color: white
334+ }
335+ }
336+ a + a {
337+ margin-left: 10px;
338+ }
339+ }
340+
341+ div.actions2 {
342+ a {
295343 opacity: 0.4
296344 transition: opacity 0.2s
297345 font-weight: bold
298346 color: #333
styles/light/toggle-button.mcssView
@@ -1,20 +1,23 @@
11 ToggleButton {
2- font-size: 90%;
3- background: rgb(112, 112, 112);
4- border: 2px solid #313131;
5- transition: opacity 0.2s;
6- opacity: 0.6;
7- padding: 6px 12px;
8- color: white;
9- border-radius: 4px;
10- font-weight: bold;
11- text-decoration: none;
12- display: block;
2+ display: inline-block
3+ color: white
4+ padding: 8px 10px
5+ background-color: #848484
6+ border: none
7+ border-radius: 3px
8+ font-size: 13px
9+ cursor: pointer
10+ transition: background-color 0.25s ease, color 0.25s ease
1311
1412 -subscribe {
15- background-color: rgb(88, 171, 204);
16- border-color: #20699c;
13+ :before {
14+ content: '★ '
15+ }
16+ :hover {
17+ background-color: #45b754;
18+ color: white;
19+ }
1720 }
1821
1922 -unsubscribe {
2023 background-repeat: no-repeat
@@ -22,22 +25,37 @@
2225 background-image: svg(subscribed)
2326 padding-right: 25px
2427 }
2528
26- -unblocking {
27- background-color: #deb250
28- border-color: #ad7904
29+ -blocking {
30+ margin-left: 5px
31+ border: 0px
32+ :hover {
33+ background-color: #bd6363
34+ }
2935 }
3036
37+ -unblocking {
38+ margin-left: 5px
39+ background-color: rgb(212, 112, 112)
40+ color: #ffffff
41+ border: 0px
42+ :hover {
43+ background-color: rgb(212, 167, 112)
44+ }
45+ }
46+
3147 -disabled {
3248 cursor: default
3349 opacity: 0.4 !important
3450 text-decoration: none !important
3551 }
3652
3753 :hover {
3854 opacity: 1
55+ color: white
3956 text-decoration: none
57+ background-color: #585656
4058 }
4159
4260 @svg subscribed {
4361 width: 20px

Built with git-ssb-web