Skip to content

Commit

Permalink
0.7.6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Jones committed May 9, 2015
1 parent 3e090c5 commit 0feb929
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 123 deletions.
229 changes: 107 additions & 122 deletions dist/tc-grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,70 +75,14 @@
border-top: 1px solid #dddddd;
}
}
.tcGrid__scope .tc-grid .tc-style_pager {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
.tcGrid__scope .tc-grid .tc-display_pager {
background-color: #dddddd;
padding: 5px;
margin-top: 0;
}
.tcGrid__scope .tc-grid .tc-style_pager .tc-style_item-total {
float: left;
}
.tcGrid__scope .tc-grid .tc-style_pager .tc-style_page-nav {
position: relative;
right: 5px;
text-align: right;
}
.tcGrid__scope .tc-grid .tc-style_pager .tc-style_page-nav .tc-style_page-display {
.tcGrid__scope .tc-grid .tc-display_pager .tc-display_page-nav .tc-style_page-display {
padding-right: 5px;
}
@media screen and (min-width: 769px) {
.tcGrid__scope .tc-grid .tc-display_table {
display: table;
width: 100%;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_thead {
display: table-header-group;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_thead .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_thead .tc-display_tr .tc-display_th {
display: table-cell;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody {
display: table-row-group;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: none;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: table-cell;
}
}
@media screen and (max-width: 768px) {
.tcGrid__scope .tc-grid .tc-display_table {
display: block;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_thead {
display: none;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody {
display: block;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr {
display: block;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: inline-block;
}
.tcGrid__scope .tc-grid .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: block;
}
}
.tcGrid__scope .tc-grid_bootstrap {
font-size: inherit;
}
Expand Down Expand Up @@ -216,114 +160,155 @@
border-top: 0;
}
}
.tcGrid__scope .tc-grid_bootstrap .tc-style_pager {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
.tcGrid__scope .tc-grid_bootstrap .tc-display_pager {
background-color: #ffffff;
padding: 5px;
margin-top: 0;
}
.tcGrid__scope .tc-grid_bootstrap .tc-style_pager .tc-style_item-total {
float: left;
.tcGrid__scope .tc-grid_bootstrap .tc-display_pager .tc-display_page-nav .tc-style_page-display {
padding-right: 5px;
}
.tcGrid__scope .tc-grid_bootstrap .tc-style_pager .tc-style_page-nav {
position: relative;
right: 5px;
text-align: right;
.tcGrid__scope .tc-grid_blank {
font-size: inherit;
}
.tcGrid__scope .tc-grid_bootstrap .tc-style_pager .tc-style_page-nav .tc-style_page-display {
.tcGrid__scope .tc-grid_blank .tc-style_table {
margin-bottom: 0;
border-bottom: 0;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_tr {
background-color: #ffffff;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_th {
font-weight: bold;
vertical-align: bottom;
border-top: 0;
border-left: 0;
border-bottom: 0;
padding: 0;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_th[ng-click] {
cursor: pointer;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_th::selection {
background: transparent;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_th::-moz-selection {
background: transparent;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_th:last-child {
border-right: 0;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_sort:after {
margin-left: 5px;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_sort.desc:after {
content: "\25BC";
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_thead .tc-style_sort.asc:after {
content: "\25B2";
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-style_tr:nth-child(odd) {
background-color: #ffffff;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-style_tr:nth-child(even) {
background-color: #ffffff;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-style_tr[ng-click]:hover {
background-color: #ffffff;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
padding-right: 5px;
font-weight: bold;
}
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr .tc-style_td {
border-left: 0;
border-top: 0;
padding: 0;
}
@media screen and (min-width: 769px) {
.tcGrid__scope .tc-grid_bootstrap .tc-display_table {
display: table;
width: 100%;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead {
display: table-header-group;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead .tc-display_tr .tc-display_th {
display: table-cell;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody {
display: table-row-group;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: none;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: table-cell;
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr .tc-style_td:last-child {
border-right: 0;
}
}
@media screen and (max-width: 768px) {
.tcGrid__scope .tc-grid_bootstrap .tc-display_table {
display: block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead {
display: none;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody {
display: block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr {
display: block;
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr .tc-style_td {
border-right: 0;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: inline-block;
}
@media screen and (min-width: 769px) {
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr:first-child {
border-top: none;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: block;
}
@media screen and (max-width: 768px) {
.tcGrid__scope .tc-grid_blank .tc-style_table .tc-display_tbody .tc-display_tr:first-child {
border-top: 0;
}
}
.tcGrid__scope .tc-grid_blank .tc-display_pager {
background-color: #ffffff;
padding: 0;
margin-top: 10px;
}
.tcGrid__scope .tc-grid_blank .tc-display_pager .tc-display_page-nav .tc-style_page-display {
padding-right: 0;
}
.tcGrid__scope .tc-display_pager {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.tcGrid__scope .tc-display_pager .tc-display_item-total {
float: left;
}
.tcGrid__scope .tc-display_pager .tc-display_page-nav {
position: relative;
right: 5px;
text-align: right;
}
@media screen and (min-width: 769px) {
.tcGrid__scope .tc-grid_bootstrap .tc-display_table {
.tcGrid__scope .tc-display_table {
display: table;
width: 100%;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead {
.tcGrid__scope .tc-display_table .tc-display_thead {
display: table-header-group;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead .tc-display_tr {
.tcGrid__scope .tc-display_table .tc-display_thead .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead .tc-display_tr .tc-display_th {
.tcGrid__scope .tc-display_table .tc-display_thead .tc-display_tr .tc-display_th {
display: table-cell;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody {
.tcGrid__scope .tc-display_table .tc-display_tbody {
display: table-row-group;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr {
display: table-row;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: none;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: table-cell;
}
}
@media screen and (max-width: 768px) {
.tcGrid__scope .tc-grid_bootstrap .tc-display_table {
.tcGrid__scope .tc-display_table {
display: block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_thead {
.tcGrid__scope .tc-display_table .tc-display_thead {
display: none;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody {
.tcGrid__scope .tc-display_table .tc-display_tbody {
display: block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr {
display: block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr .tc-mobile-header {
display: inline-block;
}
.tcGrid__scope .tc-grid_bootstrap .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
.tcGrid__scope .tc-display_table .tc-display_tbody .tc-display_tr .tc-display_td {
display: block;
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/tc-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,4 @@
};
}
})();
angular.module("tc-grid").run(["$templateCache", function($templateCache) {$templateCache.put("tcGrid.html","<div class=\"tcGrid__scope\">\r\n <div class=\"%GRIDCLASS%\">\r\n <div class=\"tc-display_table tc-style_table\">\r\n <div class=\"tc-display_thead tc-style_thead\">\r\n <div class=\"tc-display_tr tc-style_tr\">\r\n %HEADER%\r\n </div>\r\n </div>\r\n <div class=\"tc-display_tbody tc-style_tbody\">\r\n <div class=\"tc-display_tr %ROWCLASS%\" ng-class=\"%ROWEXPRESSION%\" id=\"tc-row-container\" ng-repeat=\"row in tcGrid.data %FILTER%\" %ROWCLICK%>\r\n %CHILDREN%\r\n </div>\r\n </div>\r\n \r\n </div> \r\n \r\n <div class=\"tc-style_pager\" ng-show=\"tcGrid.showFooter && tcGrid.pageCount > 1\">\r\n <div class=\"tc-style_item-total\">\r\n {{(tcGrid.options.paging.currentPage - 1) * tcGrid.options.paging.pageSize + 1}}\r\n -\r\n {{tcGrid.options.paging.currentPage === tcGrid.pageCount ? tcGrid.options.paging.totalItemCount : tcGrid.options.paging.currentPage * tcGrid.options.paging.pageSize}}\r\n of\r\n {{tcGrid.options.paging.totalItemCount}}\r\n </div>\r\n <div class=\"tc-style_page-nav\">\r\n <span class=\"tc-style_page-display\">{{tcGrid.options.paging.currentPage}} / {{tcGrid.pageCount}}</span>\r\n <select ng-if=\"tcGrid.options.paging.pageSizeOptions.length\" ng-options=\"pageSize for pageSize in tcGrid.options.paging.pageSizeOptions\" ng-model=\"tcGrid.options.paging.pageSize\" ng-change=\"tcGrid.updatePageSize()\"></select>\r\n <button class=\"tc-button\" ng-click=\"tcGrid.first()\" ng-disabled=\"tcGrid.options.paging.currentPage === 1\"><strong>|</strong>&#9668;</button>\r\n <button class=\"tc-button\" ng-click=\"tcGrid.prev()\" ng-disabled=\"tcGrid.options.paging.currentPage === 1\">&#9668;</button>\r\n <button class=\"tc-button\" ng-click=\"tcGrid.next()\" ng-disabled=\"tcGrid.options.paging.currentPage === tcGrid.pageCount\">&#9658;</button>\r\n <button class=\"tc-button\" ng-click=\"tcGrid.last()\" ng-disabled=\"tcGrid.options.paging.currentPage === tcGrid.pageCount\">&#9658;<strong>|</strong></button>\r\n </div>\r\n <div class=\"clearfix\"></div>\r\n </div> \r\n </div> \r\n</div>");}]);
angular.module("tc-grid").run(["$templateCache", function($templateCache) {$templateCache.put("tcGrid.html","<div class=\"tcGrid__scope\">\n <div class=\"%GRIDCLASS%\">\n <div class=\"tc-display_table tc-style_table\">\n <div class=\"tc-display_thead tc-style_thead\">\n <div class=\"tc-display_tr tc-style_tr\">\n %HEADER%\n </div>\n </div>\n <div class=\"tc-display_tbody tc-style_tbody\">\n <div class=\"tc-display_tr %ROWCLASS%\" ng-class=\"%ROWEXPRESSION%\" id=\"tc-row-container\" ng-repeat=\"row in tcGrid.data %FILTER%\" %ROWCLICK%>\n %CHILDREN%\n </div>\n </div>\n \n </div> \n \n <div class=\"tc-display_pager\" ng-show=\"tcGrid.showFooter && tcGrid.pageCount > 1\">\n <div class=\"tc-display_item-total\">\n {{(tcGrid.options.paging.currentPage - 1) * tcGrid.options.paging.pageSize + 1}}\n -\n {{tcGrid.options.paging.currentPage === tcGrid.pageCount ? tcGrid.options.paging.totalItemCount : tcGrid.options.paging.currentPage * tcGrid.options.paging.pageSize}}\n of\n {{tcGrid.options.paging.totalItemCount}}\n </div>\n <div class=\"tc-display_page-nav\">\n <span class=\"tc-style_page-display\">{{tcGrid.options.paging.currentPage}} / {{tcGrid.pageCount}}</span>\n <select ng-if=\"tcGrid.options.paging.pageSizeOptions.length\" ng-options=\"pageSize for pageSize in tcGrid.options.paging.pageSizeOptions\" ng-model=\"tcGrid.options.paging.pageSize\" ng-change=\"tcGrid.updatePageSize()\"></select>\n <button class=\"tc-button\" ng-click=\"tcGrid.first()\" ng-disabled=\"tcGrid.options.paging.currentPage === 1\"><strong>|</strong>&#9668;</button>\n <button class=\"tc-button\" ng-click=\"tcGrid.prev()\" ng-disabled=\"tcGrid.options.paging.currentPage === 1\">&#9668;</button>\n <button class=\"tc-button\" ng-click=\"tcGrid.next()\" ng-disabled=\"tcGrid.options.paging.currentPage === tcGrid.pageCount\">&#9658;</button>\n <button class=\"tc-button\" ng-click=\"tcGrid.last()\" ng-disabled=\"tcGrid.options.paging.currentPage === tcGrid.pageCount\">&#9658;<strong>|</strong></button>\n </div>\n <div class=\"clearfix\"></div>\n </div> \n </div> \n</div>");}]);

0 comments on commit 0feb929

Please sign in to comment.