Commit 21356aaa4753e18222e18b41eaed0b8d2368eaa0
Merge branch 'master' into image
mix irving committed on 8/17/2017, 12:03:46 AMParent: 1272489f50ba85de67b5571c53827ec8d7e93a19
Parent: f61a6365dcfa4962dd501e41f3afb98a390c9947
Files changed
app/page/userShow.js | changed |
styles/mixins.js | changed |
styles/suggest-box.mcss | added |
app/page/userShow.js | ||
---|---|---|
@@ -29,9 +29,9 @@ | ||
29 | 29 | function userShow (location) { |
30 | 30 | |
31 | 31 | const { feed } = location |
32 | 32 | const myId = api.keys.sync.id() |
33 | - var name = api.about.obs.name(feed) | |
33 | + const name = api.about.obs.name(feed) | |
34 | 34 | |
35 | 35 | const strings = api.translations.sync.strings() |
36 | 36 | |
37 | 37 | const { followers } = api.contact.obs |
styles/mixins.js | ||
---|---|---|
@@ -64,23 +64,23 @@ | ||
64 | 64 | } |
65 | 65 | } |
66 | 66 | |
67 | 67 | $roundLeft { |
68 | - border-top-left-radius: .9rem | |
69 | - border-bottom-left-radius: .9rem | |
68 | + border-top-left-radius: 1.2rem | |
69 | + border-bottom-left-radius: 1.2rem | |
70 | 70 | } |
71 | 71 | |
72 | 72 | $roundRight { |
73 | - border-top-right-radius: .9rem | |
74 | - border-bottom-right-radius: .9rem | |
73 | + border-top-right-radius: 1.2rem | |
74 | + border-bottom-right-radius: 1.2rem | |
75 | 75 | } |
76 | 76 | |
77 | 77 | $roundTop { |
78 | - border-top-left-radius: .9rem | |
79 | - border-top-right-radius: .9rem | |
78 | + border-top-left-radius: 1.2rem | |
79 | + border-top-right-radius: 1.2rem | |
80 | 80 | } |
81 | 81 | |
82 | 82 | $roundBottom { |
83 | - border-bottom-left-radius: .9rem | |
84 | - border-bottom-right-radius: .9rem | |
83 | + border-bottom-left-radius: 1.2rem | |
84 | + border-bottom-right-radius: 1.2rem | |
85 | 85 | } |
86 | 86 | ` |
styles/suggest-box.mcss | ||
---|---|---|
@@ -1,0 +1,54 @@ | ||
1 | +body { | |
2 | + div.suggest-box { | |
3 | + width: max-content | |
4 | + background-color: #fff | |
5 | + border: 1px gainsboro solid | |
6 | + | |
7 | + padding: .2rem .5rem | |
8 | + margin-top: .35rem | |
9 | + | |
10 | + ul { | |
11 | + list-style-type: none | |
12 | + padding: 0 | |
13 | + | |
14 | + li { | |
15 | + display: flex | |
16 | + align-items: center | |
17 | + | |
18 | + padding-right: .2rem | |
19 | + margin-bottom: .2rem | |
20 | + | |
21 | + img { | |
22 | + height: 36px | |
23 | + width: 36px | |
24 | + border-radius: 36px | |
25 | + | |
26 | + padding: .2rem | |
27 | + /* TODO make smaller emoji thumbnails */ | |
28 | + } | |
29 | + strong { | |
30 | + flex-grow: 1 | |
31 | + margin-left: .5rem | |
32 | + font-weight: 300 | |
33 | + } | |
34 | + small { | |
35 | + font-family: monospace | |
36 | + margin-left: .5rem | |
37 | + padding-right: .2rem | |
38 | + font-size: 1rem | |
39 | + } | |
40 | + } | |
41 | + | |
42 | + li.selected { | |
43 | + color: #fff | |
44 | + background: #0caaf9 | |
45 | + | |
46 | + img {} | |
47 | + strong {} | |
48 | + small {} | |
49 | + } | |
50 | + } | |
51 | + } | |
52 | +} | |
53 | + | |
54 | + |
Built with git-ssb-web