Skip to content

Commit d3476ef

Browse files
Merge pull request #5 from angular-data-grid/changeData
update table data
2 parents a6e25df + 62e3df2 commit d3476ef

File tree

5 files changed

+2469
-58
lines changed

5 files changed

+2469
-58
lines changed

demo/demo.css

Lines changed: 62 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ h1 {
3535
width: 20px;
3636
height: 20px;
3737
content: '';
38-
border-radius: 2px;
3938
border: 1px solid #999;
4039
margin-right: 8px;
40+
border-radius: 50%;
4141
vertical-align: bottom;
4242
display: inline-block; }
4343
.b-change-theme__link:hover {
@@ -46,14 +46,64 @@ h1 {
4646
.b-change-theme__link._active {
4747
text-decoration: none;
4848
position: relative; }
49-
.b-change-theme__link._active:after {
50-
content: '';
51-
width: 12px;
52-
height: 6px;
53-
border-left: 2px solid #444;
54-
border-bottom: 2px solid #444;
55-
transform-origin: center;
56-
transform: rotate(-45deg);
57-
left: 4px;
58-
top: 5px;
59-
position: absolute; }
49+
.b-change-theme__link._active:before {
50+
box-shadow: inset 0 0 0 3px #fff;
51+
background: #999; }
52+
53+
.table td {
54+
padding: 12px 24px !important;
55+
vertical-align: middle !important; }
56+
57+
.table th {
58+
padding: 12px 24px !important;
59+
vertical-align: middle !important; }
60+
61+
th.sortable {
62+
line-height: 24px;
63+
position: relative; }
64+
th.sortable.sort-descent:before {
65+
content: '';
66+
position: absolute;
67+
left: 12px;
68+
width: 2px;
69+
background: #333;
70+
height: 12px;
71+
top: 0;
72+
bottom: 0;
73+
margin: auto 0; }
74+
th.sortable.sort-descent:after {
75+
content: '';
76+
position: absolute;
77+
left: 9px;
78+
border-top: 2px solid #333;
79+
border-left: 2px solid #333;
80+
transform-origin: center;
81+
transform: rotate(-135deg);
82+
height: 8px;
83+
width: 8px;
84+
top: 6px;
85+
bottom: 0;
86+
margin: auto 0; }
87+
th.sortable.sort-ascent:before {
88+
content: '';
89+
position: absolute;
90+
left: 12px;
91+
width: 2px;
92+
background: #333;
93+
height: 12px;
94+
top: 0;
95+
bottom: 0;
96+
margin: auto 0; }
97+
th.sortable.sort-ascent:after {
98+
content: '';
99+
position: absolute;
100+
left: 9px;
101+
border-top: 2px solid #333;
102+
border-left: 2px solid #333;
103+
transform-origin: center;
104+
transform: rotate(45deg);
105+
height: 8px;
106+
width: 8px;
107+
top: 0;
108+
bottom: 6px;
109+
margin: auto 0; }

0 commit comments

Comments
 (0)