source: trunk/src/allmydata/web/static/tahoe.css

Last change on this file was a5895b9, checked in by David-Sarah Hopwood <david-sarah@…>, at 2012-12-29T04:17:00Z

If a helper is not configured, make the banner on the welcome page say that, and have a white background.
fixes #1735

Author: kick
Signed-off-by: David-Sarah Hopwood <davidsarah@…>

  • Property mode set to 100644
File size: 3.0 KB
Line 
1
2pre.overflow {
3               background: #f7f7f7;
4               border: 1px solid #d7d7d7;
5               margin: 1em 1.75em;
6               padding: .25em;
7               overflow: auto;
8               }
9
10/* ----------------------------------------------------------------------- */
11
12/* colors borrowed from the Allmydata logo */
13
14/* general style */
15h1 {
16  text-align: center;
17}
18table { 
19  margin: 1em auto;
20  border: .2em solid #3289b4; 
21  border-spacing: 1px;
22}
23th { 
24  color: white;
25  background-color: #58a1c3;
26}
27td {
28    padding: .3em .3em;
29}
30
31th {
32    padding: .3em .3em;
33}
34
35.table-headings-top th {
36    text-align: center;
37}
38.table-headings-left th {
39    text-align: right;
40    vertical-align: top;
41}
42legend {
43  font-weight: bold;
44}
45
46.connected-yes, .connected-True {
47  border: 1px solid #75d24a;
48  background-color: #EFE;
49}
50.connected-no, .connected-False {
51  border: 1px solid #F00;
52  background-color: #FBB;
53}
54.connected-not-configured {
55  border: 1px solid #AAA;
56  background-color: #FFF;
57}
58
59.encoded, .nodeid {
60  font-family: monospace;
61  font-size: 80%;
62}
63
64.empty-marker {
65  background-color: white;
66  color: gray;
67}
68table td.empty-marker {
69  padding: 6em 10em;
70  text-align: center;
71  vertical-align: center;
72}
73
74/* styles for server listings in tables (nickname above nodeid) */
75th.nickname-and-peerid {
76  text-align: left;
77}
78.nickname {
79  font: inherit;
80  font-family: sans-serif;
81  font-weight: bold;
82}
83
84
85/* just in case, make sure floats don't stomp on big tables etc. */
86.section { clear: both; }
87
88/* section-specific styles - turn this client info into a sidebar */
89#this-client {
90  font-size: 60%;
91  border: .2em solid #3289b4;
92  float: right;
93  width: 40%;
94  margin: 0 0 .5em .5em;
95  padding: 3px;
96}
97#this-client .nodeid { font-size: inherit; }
98#this-client h2 {
99  text-align: center;
100  background: #3289b4;
101  color: white;
102  margin: -2px -2px 0 -2px; /* matches padding */
103  padding: .3em;
104}
105#this-client table { 
106  font-size: inherit;
107  margin: 0 -3px -3px -3px; /* matches padding */
108}
109#this-client td > ul {
110  list-style-type: outside;
111  margin: 0 0 0 2.3em;
112  padding-left: 0;
113}
114
115
116/* services table */
117.services {
118}
119
120/* --- Directory page styles --- */
121
122body.tahoe-directory-page {
123  color: black;
124  background: #c0d9e6;
125  margin: 1em 0; /* zero margin so the table can be flush */
126}
127table.tahoe-directory {
128  color: black;
129  background: white;
130  width: 100%;
131  /*border-left-color: #D7E0E5;
132  border-right-color: #D7E0E5;*/
133  border-left: 0;
134  border-right: 0;
135}
136.tahoe-directory-footer {
137  color: black;
138  background: #c0d9e6;
139  margin: 0 1em; /* compensate for page 0 margin */
140}
141
142/* directory-screen toolbar */
143.toolbar {
144  display: table;
145  margin: .2em auto;
146  text-align: center;
147  /*width: 100%;*/
148}
149.toolbar .toolbar-item {
150  display: inline;
151  text-align: center;
152  padding: 0 1em;
153}
154
155/* recent upload/download status pages */
156
157table.status-download-events {
158  #border: 1px solid #aaa;
159  margin: 1em auto;
160  border: .2em solid #3289b4; 
161  border-spacing: 1px;
162}
163table.status-download-events td {
164  border: 1px solid #a00;
165  padding: 2px
166}
Note: See TracBrowser for help on using the repository browser.