Mercurial > libervia-web
annotate server_css/blog.css @ 634:16a5da120b7f frontends_multi_profiles
browser side (contact list): Contact list improvments:
- removed optional arguments from getContactBox: they are now managed by the hosting panel, as the arguments should be same for all contacts in a panel
- contact name is no more specified on ContactBox creation, is gotten by the ContactLabel itself using the cache (TODO: "nick" listener)
- renamed setMessageXXX to setAlert for consitency with QuickFrontend (furthermore the alert could be used for something else than waiting messages)
- ContactBoxes are stored using bare jid
- parent is used in ContactBox instead of host
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 23 Feb 2015 18:44:57 +0100 |
parents | a3d58514a4d0 |
children | 3eb3a2c0c011 |
rev | line source |
---|---|
10 | 1 /* |
2 Libervia: a Salut à Toi frontend | |
340 | 3 Copyright (C) 2011, 2012, 2013, 2014 Jérôme Poisson (goffi@goffi.org) |
10 | 4 |
5 This program is free software: you can redistribute it and/or modify | |
6 it under the terms of the GNU Affero General Public License as published by | |
7 the Free Software Foundation, either version 3 of the License, or | |
8 (at your option) any later version. | |
9 | |
10 This program is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 GNU Affero General Public License for more details. | |
14 | |
15 You should have received a copy of the GNU Affero General Public License | |
16 along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 */ | |
18 | |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
19 .mblog_title, .mblog_title a { |
10 | 20 text-align: center; |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
21 text-decoration: none; |
10 | 22 font-size: x-large; |
23 font-weight: bold; | |
24 margin-bottom: 40px; | |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
25 font-family: FreeSans, Liberation Sans, Arial, sans-serif; |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
26 color: rgb(51, 51, 51); |
10 | 27 } |
28 | |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
29 .mblog_entry { |
10 | 30 width: 60%; |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
31 text-align: justify; |
10 | 32 border: 1px solid LightGray; |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
33 margin: 5px auto 20px auto; |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
34 padding: 5px 10px; |
10 | 35 -moz-border-radius: 15px; |
36 -webkit-border-radius: 15px; | |
37 border-radius: 15px; | |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
38 box-shadow: 0px 0px 0.5em rgb(153, 153, 153); |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
39 font-family: FreeSans, Liberation Sans, Arial, sans-serif; |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
40 color: rgb(51, 51, 51); |
10 | 41 } |
42 | |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
43 .mblog_comment { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
44 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
45 |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
46 .mblog_header { |
10 | 47 font-size: small; |
48 border-bottom: 1px dashed LightGrey; | |
49 color: gray; | |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
50 display: table; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
51 width: 100%; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
52 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
53 |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
54 .mblog_metadata { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
55 display: table-row; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
56 width: 100%; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
57 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
58 |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
59 .mblog_author { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
60 display: table-cell; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
61 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
62 |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
63 .mblog_timestamp { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
64 display: table-cell; |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
65 text-align: right; |
10 | 66 } |
228
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
67 |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
68 .mblog_content { |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
69 display: block; |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
70 padding-top: 5px; |
6efd189e8d78
server_side: put the blog entry content in its own span + CSS customization
souliane <souliane@mailoo.org>
parents:
10
diff
changeset
|
71 } |
306
52b1afd7ac3f
server_side: display rich text in blogs (addURLToText is now in sat_frontends/tools/strings)
souliane <souliane@mailoo.org>
parents:
228
diff
changeset
|
72 |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
73 .item_link { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
74 text-decoration: none; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
75 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
76 |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
77 .mblog_entry h1, h2, h3, h4, h5, h6 { |
306
52b1afd7ac3f
server_side: display rich text in blogs (addURLToText is now in sat_frontends/tools/strings)
souliane <souliane@mailoo.org>
parents:
228
diff
changeset
|
78 border-bottom: 1px solid rgb(170, 170, 170); |
52b1afd7ac3f
server_side: display rich text in blogs (addURLToText is now in sat_frontends/tools/strings)
souliane <souliane@mailoo.org>
parents:
228
diff
changeset
|
79 } |
312
b4781a350483
browser_side: display a "New message" button and add a "comment" icon for main entries in MicroblogPanel when the unibox is disabled
souliane <souliane@mailoo.org>
parents:
306
diff
changeset
|
80 |
389
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
81 .mblog_entry h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
82 text-decoration: none; |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
83 color: rgb(51, 51, 51); |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
84 } |
2d782349b88a
server_side: display blog comments when you click on a main item header or title
souliane <souliane@mailoo.org>
parents:
340
diff
changeset
|
85 |
312
b4781a350483
browser_side: display a "New message" button and add a "comment" icon for main entries in MicroblogPanel when the unibox is disabled
souliane <souliane@mailoo.org>
parents:
306
diff
changeset
|
86 img { |
b4781a350483
browser_side: display a "New message" button and add a "comment" icon for main entries in MicroblogPanel when the unibox is disabled
souliane <souliane@mailoo.org>
parents:
306
diff
changeset
|
87 max-width: 100%; |
b4781a350483
browser_side: display a "New message" button and add a "comment" icon for main entries in MicroblogPanel when the unibox is disabled
souliane <souliane@mailoo.org>
parents:
306
diff
changeset
|
88 } |
393
a3d58514a4d0
server_side: set max static blog banner dimensions
souliane <souliane@mailoo.org>
parents:
389
diff
changeset
|
89 |
a3d58514a4d0
server_side: set max static blog banner dimensions
souliane <souliane@mailoo.org>
parents:
389
diff
changeset
|
90 .mblog_title img { |
a3d58514a4d0
server_side: set max static blog banner dimensions
souliane <souliane@mailoo.org>
parents:
389
diff
changeset
|
91 max-width: 800px; |
a3d58514a4d0
server_side: set max static blog banner dimensions
souliane <souliane@mailoo.org>
parents:
389
diff
changeset
|
92 max-height: 150px; |
a3d58514a4d0
server_side: set max static blog banner dimensions
souliane <souliane@mailoo.org>
parents:
389
diff
changeset
|
93 } |