Add CSS file from mockups.
[online-glom:gwt-glom.git] / src / main / webapp / style.css
1 body
2 {
3         font-family: sans-serif;
4         margin: 1em;
5 }
6
7 a
8 {
9         font-weight: bold;
10         color: #333;
11         text-decoration: none;
12 }
13 a:hover
14 {
15         color: #666;
16         text-decoration: underline;
17 }
18
19 #headbox, #footbox
20 {
21         background-color: #eee;
22         border: 1px solid #aaa;
23         padding: 0.2em;
24         border-radius: 3px;
25 }
26
27 .backlink
28 {
29         float: left;
30         margin: 0.2em 0.5em;
31 }
32 .records
33 {
34         float: left;
35         margin: 0.2em 0.5em;
36         color: #333;
37 }
38 .details-navigation
39 {
40         float: right;
41         margin: 0.2em 0.5em;
42 }
43 .details-navigation a
44 {
45         padding-right: 1em;
46 }
47
48 .tablechooser
49 {
50         float: right;
51 }
52
53 table
54 {
55         border-collapse: collapse;
56 }
57 td
58 {
59         vertical-align: top;
60         padding: 0;
61         padding-right: 2em;
62 }
63
64 /**
65  * List View
66  */
67 table.data-list
68 {
69         width: 100%;
70         margin-top: 1em;
71 }
72 table.data-list th
73 {
74         background-color: #ccc;
75         border: 1px solid #000;
76         text-align: left;
77         font-weight: normal;
78         padding: 0.2em;
79 }
80 table.data-list td
81 {
82         background-color: #fff;
83         border: 1px dotted #aaa;
84         padding: 0.2em;
85 }
86 table.data-list td.details
87 {
88         text-align: right;
89 }
90
91
92 /**
93  * Details View
94  */
95 .group
96 {
97         margin: 1em 0;
98         background-color: #eee;
99         padding: 0.8em;
100         border-radius: 7px;
101 }
102
103 .group-contents
104 {
105         padding-left: 0.8em;
106 }
107
108 .group table.data-list
109 {
110         margin-bottom: 0.8em;
111 }
112
113 table.columns
114 {
115         width: 100%;
116 }
117
118 h2.group-title
119 {
120         font-size: 100%;
121         padding: 0;
122         margin: 0;
123         margin-bottom: 0.8em;
124         border-bottom: 1px dashed #000;
125 }
126
127 group p
128 {
129         margin-top: 0;
130         margin-bottom: 0.8em;
131 }
132
133 .details-data
134 {
135         color: #333;
136 }
137
138
139