MDL-32843 import YUI 3.5.1
[moodle.git] / lib / yui / 3.5.1 / build / datatable-base / assets / skins / sam / datatable-base-skin.css
blob48d84012630df159764437cbf4f3e245ba8072eb
1 /*
2 YUI 3.5.1 (build 22)
3 Copyright 2012 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
6 */
7 /* basic skin styles */
8 .yui3-skin-sam .yui3-datatable-table {
9 margin: 0;
10 padding: 0;
11 font-family: arial, sans-serif;
12 border-collapse: separate;
13 border-spacing: 0;
14 /* IE7- don't support border-spacing, but separate is needed for more
15 * reliable dimension calculation for scrollable's header width sync,
16 * and it doesn't hurt to have the declaration here.
18 /**border-collapse: collapse;*/
19 border: 1px solid #cbcbcb;
22 .yui3-skin-sam .yui3-datatable-caption {
23 color: #000;
24 font: italic 85%/1 arial, sans-serif;
25 padding: 1em 0;
26 text-align: center;
29 .yui3-skin-sam .yui3-datatable-cell,
30 .yui3-skin-sam .yui3-datatable-header {
31 border-left: 1px solid #cbcbcb;/* inner column border */
32 border-width: 0 0 0 1px;
33 font-size: inherit;
34 margin: 0;
35 overflow: visible; /*to make ths where the title is really long work*/
36 padding: 4px 10px 4px 10px; /* cell padding */
38 .yui3-skin-sam .yui3-datatable-cell:first-child,
39 .yui3-skin-sam .yui3-datatable-first-header {
40 border-left-width: 0px;
43 .yui3-skin-sam .yui3-datatable-header {
44 /* header gradient */
45 background: #fff url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;
47 background-image:-webkit-linear-gradient(transparent 40%, rgba(0,0,0,0.21));
48 background-image:-moz-linear-gradient(top,transparent 40%,rgba(0,0,0,0.21));
49 background-image: -ms-linear-gradient(transparent 40%, rgba(0,0,0,0.21));
50 background-image: -o-linear-gradient(transparent 40%, rgba(0,0,0,0.21));
51 background-image: linear-gradient(transparent 40%, rgba(0,0,0,0.21));
52 /* Not using an IE gradient because it doesn't support color stops */
54 color: #000;
55 font-weight: normal;
56 text-align: left;
57 text-shadow: 0 1px 1px #fff;
58 vertical-align: bottom;
59 white-space: nowrap;
63 striping:
64 even - #fff (white)
65 odd - #edf5ff (light blue)
67 .yui3-skin-sam .yui3-datatable-cell {
68 background-color: transparent;
70 .yui3-skin-sam .yui3-datatable-even .yui3-datatable-cell {
71 background-color: #fff;
73 .yui3-skin-sam .yui3-datatable-odd .yui3-datatable-cell {
74 background-color: #edf5ff;