Skip to content

Commit

Permalink
fix gl-table
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsai-j committed Oct 21, 2016
1 parent bb1cc7f commit 4168906
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gl-styles",
"description": "gl-style for web components",
"version": "0.0.10",
"version": "0.0.11",
"main": "gl-color.html",
"dependencies": {
"polymer": "Polymer/polymer#^1.4.0"
Expand Down
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

.btn {
background-color: var(--gl-primary-color);
}
</style>
</head>

Expand Down
12 changes: 6 additions & 6 deletions gl-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
<dom-module id="gl-table">
<template>
<style>
table.gl-table-default{
.gl-table-default{
border-collapse: collapse;
width: 100%;
overflow-x:auto;
}
table.gl-table-default,th,td{
.gl-table-default,.gl-table-default > thead > tr > th,.gl-table-default > tbody > tr > td{
border-bottom: 1px solid #ddd;
}
th,td{
.gl-table-default > thead > tr > th,.gl-table-default > tbody > tr > td{
padding: 15px;
}
th{
.gl-table-default > thead > tr > th {
text-align: left;
background-color: #F1F1F1;
}
td{
.gl-table-default > tbody > tr > td{
text-align: left;
}
tr:hover{
.gl-table-default > tbody > tr:hover{
background-color: #F1F1F1;
}
</style>
Expand Down

0 comments on commit 4168906

Please sign in to comment.