git ssb

10+

Matt McKegg / patchwork



Commit 02eb138217bf2dd28c3be988febc79c8d62e190b

Another styling attempt.

Gordon Martin committed on 12/28/2017, 12:59:22 AM
Parent: 418790bd9a556af98c65311c02f6f8228593ad90

Files changed

locales/en.jsonchanged
modules/page/html/render/public.jschanged
styles/dark/public-feed.mcsschanged
styles/light/public-feed.mcsschanged
locales/en.jsonView
@@ -93,6 +93,42 @@
9393 "liked this message": "liked this message",
9494 "like": "like",
9595 "replied to this message": "replied to this message",
9696 "unfollowed ": "unfollowed ",
97- " others": " others"
97+ " others": " others",
98+ "Write a public message": "Write a public message",
99+ "New Message": "New Message",
100+ "%s people from your network replied to this message on ": {
101+ "one": "%s people from your network replied to this message on ",
102+ "other": "%s people from your network replied to this message on "
103+ },
104+ "mentioned in your network": "mentioned in your network",
105+ "Channels": "Channels",
106+ "Browse All": "Browse All",
107+ "$name": "$name",
108+ "Theme": "Theme",
109+ "Language": "Language",
110+ "Default": "Default",
111+ "de": "de",
112+ "en": "en",
113+ "es": "es",
114+ "ki": "ki",
115+ "pt": "pt",
116+ "pt-BR": "pt-BR",
117+ "Font Size": "Font Size",
118+ "Public Feed Options": "Public Feed Options",
119+ "Hide following messages": "Hide following messages",
120+ "Only include posts from subscribed channels": "Only include posts from subscribed channels",
121+ "Information": "Information",
122+ "This is you.": "This is you.",
123+ "Click to unblock": "Click to unblock",
124+ "Blocked": "Blocked",
125+ "Click to unfollow": "Click to unfollow",
126+ "Follow Back": "Follow Back",
127+ "Follow": "Follow",
128+ "Click to block syncing with this person and hide their posts": "Click to block syncing with this person and hide their posts",
129+ "Block": "Block",
130+ "Write a private reply": "Write a private reply",
131+ "Write a public reply": "Write a public reply",
132+ "External Link": "External Link",
133+ "subscribed to ": "subscribed to "
98134 }
modules/page/html/render/public.jsView
@@ -264,12 +264,13 @@
264264
265265 function noVisibleNewPostsWarning() {
266266 var content =
267267 h('div', {classList: 'PublicFeed main'}, h('section -notFollowingAnyoneWarning', [
268- h('h3', i18n('Welcome to Patchwork')),
268+ h('h1', i18n('Welcome to Patchwork')),
269269 h('p', i18n('You may not be able to see new content until you follow some users or pubs.')),
270- h('span', i18n("For help, see the 'Getting Started' guide at ")),
271- h('a', {href: 'https://www.scuttlebutt.nz/'}, 'https://www.scuttlebutt.nz/')
270+ h('p', [i18n("For help, see the 'Getting Started' guide at "),
271+ h('a', {href: 'https://www.scuttlebutt.nz/'}, 'https://www.scuttlebutt.nz/')]
272+ ),
272273 ]))
273274
274275 return when(
275276 computed([loading, contact.isNotFollowingAnybody],
styles/dark/public-feed.mcssView
@@ -1,18 +1,28 @@
11 PublicFeed {
22 margin: auto
33
44 section {
5- background: #4c4a4a
6- color: white
7- padding: 5px 20px 20px 20px
5+ padding: 20px 20px 20px 20px
86 width: 700px
97
108 -notFollowingAnyoneWarning {
11- border: 1px solid #D8000C;
12- background: #FFBABA;
13- margin: 5px 0;
14- color: #D8000C;
15- font-size: 110%;
9+ border: 1px solid #ffba4e
10+ background: #5f410b
11+ margin: 5px 0
12+ color: #ffdda7
13+ font-size: 110%
1614 }
15+
16+ h1 {
17+ font-size: 120%
18+ font-weight: bold
19+ margin: 0
20+ color: white
21+ }
22+
23+ p {
24+ margin: 0
25+ margin-top: 8px
26+ }
1727 }
1828 }
styles/light/public-feed.mcssView
@@ -2,17 +2,28 @@
22 margin: auto
33
44 section {
55 background: #4c4a4a
6- color: white
7- padding: 5px 20px 20px 20px
6+ padding: 20px 20px 20px 20px
87 width: 700px
98
109 -notFollowingAnyoneWarning {
11- border: 1px solid #D8000C;
12- background: #FFBABA;
10+ border: 1px solid #ffc965;
11+ background: #ffebcc;
1312 margin: 5px 0;
14- color: #D8000C;
13+ color: #8a6800;
1514 font-size: 110%;
1615 }
16+
17+ h1 {
18+ font-size: 120%
19+ font-weight: bold
20+ margin: 0
21+ color: #583805
22+ }
23+
24+ p {
25+ margin: 0
26+ margin-top: 8px
27+ }
1728 }
1829 }

Built with git-ssb-web