root / htmltest / sites / all / modules / media / css / media.css @ a5572547
1 |
/**
|
---|---|
2 |
* @file
|
3 |
* Styles for the media library.
|
4 |
*
|
5 |
* The display and layout of the Media browser assumes Drupal's Seven theme as
|
6 |
* the theme active when this is displayed.
|
7 |
*/
|
8 |
|
9 |
/* jQuery UI Resets */
|
10 |
.ui-tabs {
|
11 |
padding: 0; |
12 |
} |
13 |
|
14 |
.ui-dialog.media-wrapper .ui-dialog-content { |
15 |
padding: 0; |
16 |
} |
17 |
|
18 |
.ui-dialog.media-wrapper .ui-dialog-buttonpane { |
19 |
display: none; |
20 |
} |
21 |
|
22 |
#media-browser-tabset .ui-widget-header { |
23 |
background: none; |
24 |
} |
25 |
|
26 |
/* Remove the default border */
|
27 |
.ui-widget-content {
|
28 |
border: none; |
29 |
} |
30 |
|
31 |
/* *********************************************************** */
|
32 |
/* Browser layout themeing */
|
33 |
|
34 |
/* Size the branding header appropriately */
|
35 |
#media-browser-tabset #branding { |
36 |
padding: 10px 10px 0px 10px; |
37 |
} |
38 |
|
39 |
#media-browser-tabset #branding h1 { |
40 |
float: left; |
41 |
height: 16px; |
42 |
margin-top: 0px; |
43 |
} |
44 |
|
45 |
/* Float the tabs right to keep the UI consistent across themes */
|
46 |
#media-tabs-wrapper {
|
47 |
float: right; |
48 |
} |
49 |
|
50 |
#media-browser-tabset ul.tabs { |
51 |
padding: 0; |
52 |
border: none; |
53 |
} |
54 |
|
55 |
/* Reset the height to match the browser */
|
56 |
#media-browser-tabset ul.tabs.primary li a:link { |
57 |
font-weight: bold; |
58 |
margin-right: 0; |
59 |
} |
60 |
|
61 |
.media-browser-tab.ui-tabs-panel { |
62 |
border: 1px solid #cccccc; |
63 |
} |
64 |
|
65 |
/* *********************************************************** */
|
66 |
/* Media item display */
|
67 |
|
68 |
.media-item {
|
69 |
background: #FFFFFF; |
70 |
border: 1px solid #CCCCCC; |
71 |
padding: 5px; |
72 |
position: relative; |
73 |
} |
74 |
|
75 |
.media-item img { |
76 |
margin-bottom: 10px; |
77 |
} |
78 |
|
79 |
.media-item .label-wrapper { |
80 |
text-align: center; |
81 |
position: absolute; |
82 |
bottom: 0; |
83 |
margin-left: auto; |
84 |
margin-right: auto; |
85 |
width: 90%; |
86 |
} |
87 |
|
88 |
.media-item .label-wrapper label { |
89 |
font-size: 10px; |
90 |
overflow: hidden; |
91 |
text-overflow: ellipsis; |
92 |
white-space: nowrap; |
93 |
} |
94 |
|
95 |
/* Media item lists */
|
96 |
|
97 |
#media-browser-library-list {
|
98 |
margin: 0; |
99 |
padding: 0; |
100 |
} |
101 |
|
102 |
.media-list-thumbnails li { |
103 |
float: left; |
104 |
list-style: none; |
105 |
margin: 0 10px 10px 0; |
106 |
} |
107 |
|
108 |
.media-list-thumbnails li a { |
109 |
text-decoration: none; |
110 |
} |
111 |
|
112 |
.media-list-thumbnails .media-item.selected { |
113 |
background: #F4ECC7; |
114 |
border-color: #058AC5; |
115 |
} |
116 |
|
117 |
.media-list-thumbnails .media-item:hover { |
118 |
border-color: #058AC5; |
119 |
cursor: pointer; |
120 |
} |
121 |
|
122 |
.media-list-thumbnails .media-item .label-wrapper label { |
123 |
color: #058AC5; |
124 |
} |
125 |
|
126 |
.media-list-thumbnails .media-item .label-wrapper label:hover { |
127 |
cursor: pointer; |
128 |
} |
129 |
|
130 |
.media-list-thumbnails .form-type-checkbox { |
131 |
bottom: 135px; |
132 |
left: 8px; |
133 |
margin: 0; |
134 |
padding: 0; |
135 |
position: relative; |
136 |
} |
137 |
|
138 |
/* Format form */
|
139 |
|
140 |
#media-format-form {
|
141 |
margin: 20px; |
142 |
} |
143 |
|
144 |
#media-format-form .media-item { |
145 |
float: left; |
146 |
margin-right: 10px; |
147 |
} |
148 |
|
149 |
#media-format-form .form-item-format label { |
150 |
display: inline; |
151 |
} |
152 |
|
153 |
/* File field */
|
154 |
|
155 |
.media-widget .preview { |
156 |
display: inline-block; |
157 |
vertical-align: middle; |
158 |
} |
159 |
|
160 |
.media-widget .preview a { |
161 |
text-decoration: none; |
162 |
} |
163 |
|
164 |
.media-widget .preview .media-item { |
165 |
margin-right: 10px; |
166 |
} |
167 |
|
168 |
.media-widget .preview .media-item:hover { |
169 |
border-color: #058AC5; |
170 |
cursor: pointer; |
171 |
} |
172 |
|
173 |
.media-widget .preview .media-item .label-wrapper label { |
174 |
color: #058AC5; |
175 |
} |
176 |
|
177 |
.media-widget .preview .media-item .label-wrapper label:hover { |
178 |
cursor: pointer; |
179 |
} |
180 |
|
181 |
/* Plupload */
|
182 |
|
183 |
body.page-media-format-form #media-browser-page .plupload_start { |
184 |
display: none; |
185 |
} |
186 |
|
187 |
/* Multiedit */
|
188 |
|
189 |
.media-multiedit-form .media-edit-form { |
190 |
border-bottom: 1px solid #AAAAAA; |
191 |
margin-bottom: 1em; |
192 |
margin-top: 1.5em; |
193 |
} |