Regenerate sql/civicrm_generated.mysql
[civicrm-core.git] / css / dashboard.css
1 /**
2 * @file
3 * CSS for the jQuery.dashboard() plugin.
4 *
5 * Released under the GNU General Public License. See LICENSE.txt.
6 */
7
8 #crm-container .column {
9 float: left;
10 margin: 0;
11 /* padding-bottom and min-height make sure that there is always a sizable drop zone. */
12 min-height: 200px;
13 padding: 0 0 40px;
14 list-style-type: none;
15 }
16
17 #crm-container .column-0 {
18 width: 40%;
19 }
20
21 #crm-container .column-1 {
22 width: 60%;
23 }
24
25 /* The placeholder that indicates where a dragged widget will land if dropped now. */
26 #crm-container .placeholder {
27 margin: 5px;
28 border: 3px dashed #CDE8FE;
29 }
30
31 /* Spacing between widgets. */
32 #crm-container li.widget,
33 #crm-container li.empty-placeholder {
34 margin: 0 3px 10px 3px;
35 }
36 #crm-container li.widget {
37 padding: 0;
38 }
39
40 /* Spacing inside widgets. */
41 #crm-container .widget-wrapper {
42 padding: 0;
43 overflow: hidden;
44 margin-right: .25em;
45 box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.2);
46 border-radius: 3px;
47 }
48
49 #crm-container .widget-wrapper.db-hover-handle {
50 box-shadow: 1px 1px 8px 3px rgba(0,0,0,0.2);
51 }
52
53 #crm-container .ui-sortable-helper .widget-wrapper {
54 box-shadow: 1px 1px 8px 3px rgba(0,0,0,0.5);
55 }
56
57 /* widget header / title */
58 #crm-container .widget-header {
59 background: transparent none repeat scroll 0 0;
60 cursor: move;
61 margin: 0 50px 0 0;
62 padding: 0;
63 color: #fcfcfc;
64 }
65
66 /* widget content / body*/
67 #crm-container .widget-content {
68 background-color: #ffffff;
69 padding:0.5em;
70 overflow-x:auto;
71 min-height: 10em;
72 }
73
74 #crm-container .widget-controls {
75 background-color: #5D677B;
76 /* Standards-browsers do this anyway because all inner block elements are floated. IE doesn't because it's crap. */
77 display: block;
78 padding: 5px 0;
79 }
80
81 #crm-container .widget-icon, #crm-container .full-screen-close-icon img {
82 display: block;
83 float: right;
84 margin-left: 2px;
85 margin-top: 2px;
86 cursor: pointer;
87 }
88
89 #full-screen-header {
90 display: block;
91 padding: .2em .4em;
92 background: #F0F0E8;
93 /* Although this is an <a> link, it doesn't have an href="" attribute. */
94 cursor: pointer;
95 }
96
97 /* Make the throbber in-yer-face. */
98 #crm-container .throbber {
99 text-align: right;
100 background:url("../packages/jquery/css/images/throbber.gif") no-repeat scroll 0 0 transparent;
101 height:20px;
102 width:20px;
103 }
104
105 #crm-container p.loadtext {
106 margin:1.6em 0 0 26px;
107 }
108
109 #crm-container .widget-controls .crm-i {
110 font-size: 14px;
111 padding: 0 6px;
112 font-weight: normal;
113 float: left;
114 cursor: pointer;
115 color: #fcfcfc;
116 opacity: .7;
117 }
118
119 #crm-container .widget-controls:hover .crm-i {
120 opacity: 1;
121 }
122
123 #crm-container .widget-controls .crm-i.fa-expand,
124 #crm-container .widget-controls .crm-i.fa-times {
125 float:right;
126 }
127
128 /* CSS for Dashlets */
129
130 #crm-container #available-dashlets {
131 width: 98%;
132 border: 2px dashed #CDE8FE;
133 background-color: #999999;
134 min-height:40px;
135 }
136
137 #crm-container .dash-column {
138 border: 2px solid #696969;
139 min-height: 100px;
140 background-color: #EEEEEE
141 }
142
143 #crm-container .dashlets-header {
144 font-weight: bold;
145 }
146
147 #crm-container #dashlets-header-col-0 {
148 float: left;
149 width: 40%;
150 }
151
152 #crm-container #dashlets-header-col-1 {
153 margin-left: 42%;
154 width: 56%;
155 }
156
157 #crm-container #existing-dashlets-col-0 {
158 float: left;
159 width: 40%;
160 }
161
162 #crm-container #existing-dashlets-col-1 {
163 margin-left: 42%;
164 width: 56%;
165 }
166
167 #crm-container .portlet {
168 margin: .5em;
169 width: 75%;
170 display: inline-block;
171 }
172
173 #crm-container .portlet-header {
174 margin: 0.3em;
175 padding: 0.5em;
176 cursor: pointer;
177 }
178
179 #crm-container #available-dashlets .portlet {
180 width: auto;
181 }
182
183 #crm-container .portlet-header .crm-i {
184 float: right;
185 color: #52534D;
186 }
187
188 #crm-container .portlet-content {
189 padding: 0.4em;
190 }
191
192 #crm-container .ui-sortable-placeholder {
193 border: 1px dotted black;
194 visibility: visible !important;
195 height: 50px !important;
196 }
197
198 #crm-container .ui-sortable-placeholder * {
199 visibility: hidden;
200 }
201
202 @media screen and (max-device-width: 50em), screen and (max-width: 50em) {
203 #crm-container .column {
204 width: 100%;
205 min-height: 0;
206 }
207 #crm-container .column-0 {
208 padding: 0;
209 }
210 }