~/App_Themes/Enhanced/GridViewExample.css

CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain OFTEN CHANGED rules used when the GridView control adapter is enabled. */
/* Empty rules are provided merely as a convenience for your future use or experimentation. */

.PrettyGridView .AspNet-GridView 
{
    border: solid 2px #465239;
    width: 100%;
}


.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination,
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination a,
.PrettyGridView .AspNet-GridView div.AspNet-GridView-Pagination span
{
    background: #E9F5DA;
    font-weight: normal;
    text-align: center;
    height: 2em;
    margin-bottom: 0.3em;
    padding-top: 0.4em;
}

.PrettyGridView .AspNet-GridView div.AspNet-GridView-Top
{
}

.PrettyGridView .AspNet-GridView div.AspNet-GridView-Bottom
{
    margin-top: 0.3em;
}

.PrettyGridView .AspNet-GridView table
{
    border: none;
    width: 100%;
}

.PrettyGridView .AspNet-GridView table thead tr th
{
    color: #465239;
    background:url(bg-fade-light.png) repeat-x bottom;
    font-weight: bold;
}

.PrettyGridView .AspNet-GridView table thead tr th a
{
    color: #465239;
}

.PrettyGridView .AspNet-GridView table tbody tr td
{
    color: #333333;
    background: White;
    text-align: center;
}

.PrettyGridView .AspNet-GridView table tbody tr.AspNet-GridView-Alternate td
{
    background:url(bg-fade-light-short.png) repeat-x;
}

.PrettyGridView .AspNet-GridView table tbody tr.AspNet-GridView-Selected td
{
}

.PrettyGridView .AspNet-GridView table tfoot tr td
{
}



/* ------------------------------------------------------------------- */
/* Specific to this sample web site. */
/* These rules are probably not useful in your site. */

#SampleGridView .GridView-Skin-Header
{
    background:url(bg-fade-light.png) repeat-x bottom;
}

#SampleGridView .GridView-Skin-AlternatingRow
{
    background:url(bg-fade-light-short.png) repeat-x;
}