git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit a7e05dedb342cc712ed0e9571cc6867609063b5b

Merge pull request #627 from ssbc/dark-theme-fixes

Dark theme upgrades and fixes
Matt McKegg authored on 9/22/2017, 2:07:28 AM
GitHub committed on 9/22/2017, 2:07:28 AM
Parent: 6dbbe7c7fdc614a84180f17bf1dd3473687e0c21
Parent: 5495ac517c38b10be3282d62dea400168a427b21

Files changed

styles/dark/gathering-card.mcsschanged
styles/dark/markdown.mcsschanged
styles/dark/message.mcsschanged
styles/dark/gathering-card.mcssView
@@ -1,8 +1,8 @@
11 GatheringCard {
2- border: 1px solid #DDD
3- padding: 10px
4- margin-bottom: 10px
2+ padding: 20px
3+ margin: 20px -20px
4+ border-top: 1px solid #2d2c2c
55
66 a.image {
77 display: block
88 margin-top: 10px
@@ -16,43 +16,59 @@
1616 margin: 10px 0
1717 padding-top: 10px;
1818
1919 div.title {
20- font-size: 90%;
21- color: #555;
22- font-weight: bold;
20+ font-size: 75%;
2321 margin-bottom: 10px;
22+ text-align: center
2423 }
2524 div.attendees {
26- margin: 0 5px
27- a {
28- margin-right: 4px
29- img {
30- height: 45px
31- width: 45px
32- }
25+ text-align: center
26+
27+ a + a {
28+ margin-left: 10px
3329 }
30+
31+ (img) {
32+ height: 45px
33+ width: 45px
34+ border-radius: 3px
35+ }
3436 }
3537 div.actions {
38+ text-align: center
3639 margin-top: 10px
40+
41+ button {
42+ :first-child {
43+ ::before {
44+ content: '✔ '
45+ }
46+ }
47+ }
3748 button + button {
3849 margin-left: 5px
3950 }
4051 }
4152 }
4253
4354 div.title {
44- font-size: 200%
55+ a {
56+ font-size: 200%
57+ }
4558 button {
4659 float: right;
47- font-size: 60%;
60+
61+ ::before {
62+ content: '✎ '
63+ }
4864 }
4965 }
5066 div.time {
51- color: #555
52- font-size: 120%
67+ color: #757474
5368 }
5469 div.description {
55- border-top: 3px solid #CCC;
56- margin-top: 10px;
70+ margin: 20px 0 0
71+ padding: 20px
72+ background: #2d2c2c
5773 }
5874 }
styles/dark/markdown.mcssView
@@ -65,26 +65,24 @@
6565 align-content: center;
6666 margin-bottom: -0.3em;
6767 }
6868
69- p {
70- (a) {
71- color: #6f74e5
69+ (a) {
70+ color: #6f74e5
71+ :hover {
72+ text-decoration: underline;
73+ }
74+ [href^="@"] {
75+ color: #efef00
76+ border-bottom: 1px dotted #efef00
7277 :hover {
73- text-decoration: underline;
78+ text-decoration: none;
7479 }
75- [href^="@"] {
76- color: #efef00
77- border-bottom: 1px dotted #efef00
78- :hover {
79- text-decoration: none;
80- }
80+ }
81+ [href^="#"] {
82+ color: #c1cdf0
83+ :hover {
84+ text-decoration: none;
8185 }
82- [href^="#"] {
83- color: #c1cdf0
84- :hover {
85- text-decoration: none;
86- }
87- }
8886 }
8987 }
9088 }
styles/dark/message.mcssView
@@ -34,9 +34,9 @@
3434
3535 -mini {
3636 header {
3737 font-size: 100%
38- margin-bottom: 15px
38+
3939 div.main {
4040 a.avatar {
4141 img {
4242 width: 40px
@@ -129,18 +129,26 @@
129129 background-repeat: no-repeat
130130 background-position: center
131131 display: inline-block
132132 vertical-align: middle;
133- margin-top: -3px;
134133
135134 -new {
136- background-image: svg(new)
137- }
135+ width: auto
136+ height: auto
137+ color: #757474
138138
139- @svg new {
140- width: 12px
141- height: 12px
142- content: "<circle cx='6' stroke='none' fill='#efef00' cy='6' r='5' />"
139+ :before {
140+ content: '✸ new'
141+ font-size: 75%
142+ }
143+
144+ :hover {
145+ color: #efef00
146+ }
147+
148+ :first-letter {
149+ color: #efef00
150+ }
143151 }
144152 }
145153
146154 em {
@@ -158,8 +166,12 @@
158166
159167 a.likes {
160168 font-size: 75%;
161169
170+ ::before {
171+ content: '❤ '
172+ color: #ff2f92
173+ }
162174 :hover {
163175 color: #ff2f92
164176 }
165177 }

Built with git-ssb-web