git ssb

16+

Dominic / patchbay



Commit d4d818f76cef533b46d42f0af423343ac6fed93c

Merge branch 'master' of https://github.com/evbogue/patchbay

Dominic Tarr committed on 7/1/2016, 5:44:12 AM
Parent: 5b46dbb0cc1ca37ee4d0b3f41ebf8542d46448dd
Parent: 744ed66440b6e896ecb4895c24d57ec202bcd334

Files changed

modules/avatar-profile.jschanged
style.csschanged
modules/avatar-profile.jsView
@@ -5,9 +5,9 @@
55 var avatar_action = plugs.map(exports.avatar_action = [])
66
77 exports.avatar_profile = function (id) {
88
9- return h('div.row',
9+ return h('div.row.profile',
1010 avatar_image(id),
1111 h('div.column', avatar_action(id))
1212 )
1313 }
style.cssView
@@ -53,8 +53,9 @@
5353 }
5454
5555 pre {
5656 max-width: 650px;
57+ white-space: pre-wrap;
5758 // overflow-x: auto;
5859 // overflox-y: none;
5960 }
6061
@@ -130,8 +131,10 @@
130131 display: block;
131132 flex-basis: 0;
132133 max-width: 100%;
133134 min-width: 300px;
135+ word-wrap:break-word;
136+ display:inline-block;
134137 }
135138
136139 .message_meta input {
137140 border: none;
@@ -143,9 +146,9 @@
143146 .message > .title > .message_meta {
144147 margin-left: 5px;
145148 }
146149 .message > .title > .avatar {
147- margin-left: 5px;
150+ margin-left: 0;
148151 }
149152
150153 .message_content {
151154 margin-top: 5px;
@@ -156,24 +159,31 @@
156159 /* -- suggest box */
157160
158161
159162 .suggest-box > * {
160- background: white;
163+ background: #f5f5f5;
164+ border: 1px solid #ccc;
161165 margin: 3px;
162166 }
163167
164-.suggest-box{
168+.suggest-box {
165169 // display: flex;
166170 // flex-direction: row;
167171 width: 200px;
172+ margin-left: -7em;
168173 }
169174
175+.suggest-box ul {
176+ list-style-type: none;
177+ padding-left: -20px;
178+}
179+
170180 .suggest-box .selected {
171- background: yellow;
181+ background: #ccc;
172182 }
173183
174184 .suggest-box img {
175- width: 50px;
185+ width: 40px;
176186 }
177187 .suggest-box,.selected img {
178188 width: 200px;
179189 }
@@ -190,20 +200,36 @@
190200 //display: inline-block;
191201 border: 1px solid #ccc;
192202 }
193203
204+.profile {
205+ background: #fff;
206+ border: 1px solid #ccc;
207+}
208+
209+.profile img {
210+ width: 150px;
211+ height: 150px;
212+ margin-right: 1em;
213+ margin-bottom: 1em;
214+ border: 1px solid #ccc;
215+}
216+
194217 /* lightbox - used in message-confirm */
195218
196219 .lightbox {
197220 overflow: auto;
221+ width: 80%;
222+ border: 1px solid #ccc; // this is being overwritten in hyperlightbox module
198223 }
199224
200225 /* searchprompt */
201226
202227 .searchprompt {
203228 position: absolute;
229+ right: 10px;
204230 top: 10px;
205- right: 15px;
231+ width: 200px;
206232 }
207233
208234 .searchprompt:not(:focus) {
209235 opacity: 1;
@@ -218,7 +244,7 @@
218244 }
219245
220246 /* TextNodeSearcher highlights */
221247
222-highlight {
248+.highlight {
223249 background: yellow;
224250 }

Built with git-ssb-web