diff --git a/.gitignore b/.gitignore index 8d4ae25..40b6f1e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ bower_components +.directory diff --git a/css/article.css b/css/article.css index 850d001..2f88ead 100644 --- a/css/article.css +++ b/css/article.css @@ -81,7 +81,11 @@ font-weight: 700; padding-right: 4px; } -.article::shadow > table > tfoot > tr > td > table.articlePager td select { +.article::shadow > table > tfoot > tr > td > table.articlePager td select, +.article::shadow .defaultPager > div > button, +.article::shadow .simplePager > button, +.article::shadow .indexedPager > ul > li > a { + font: inherit; -webkit-appearance: none; border: 1px solid #ccc; color: #333; @@ -90,7 +94,16 @@ } .article::shadow > table > tfoot > tr > td > table.articlePager td select:hover, .article::shadow > table > tfoot > tr > td > table.articlePager td select:active, -.article::shadow > table > tfoot > tr > td > table.articlePager td select:focus { +.article::shadow > table > tfoot > tr > td > table.articlePager td select:focus, +.article::shadow .defaultPager > div > button:not([disabled=""]):hover, +.article::shadow .defaultPager > div > button:not([disabled=""]):active, +.article::shadow .defaultPager > div > button:not([disabled=""]):focus, +.article::shadow .simplePager > button:not([disabled=""]):hover, +.article::shadow .simplePager > button:not([disabled=""]):active, +.article::shadow .simplePager > button:not([disabled=""]):focus, +.article::shadow .indexedPager > ul > li > a:not([disabled=""]):hover, +.article::shadow .indexedPager > ul > li > a:not([disabled=""]):active, +.article::shadow .indexedPager > ul > li > a:not([disabled=""]):focus { color: #d38b28; } .article::shadow > table > thead > tr > th.column-0.sorted-column-asc, @@ -140,4 +153,30 @@ } .article::shadow .indexedPager > ul > li.active { vertical-align: bottom; +} +.article::shadow .indexedPager > ul > li:first-of-type a:after, +.article::shadow .defaultPager > div:nth-of-type(1) > button:nth-of-type(1):after { + content: 'First'; +} +.article::shadow .simplePager > button:nth-of-type(1):after, +.article::shadow .defaultPager > div:nth-of-type(1) > button:nth-of-type(2):after { + content: 'Previous'; +} +.article::shadow .simplePager > button:nth-of-type(2):after, +.article::shadow .defaultPager > div:nth-of-type(2) > button:nth-of-type(1):after { + content: 'Next'; +} +.article::shadow .indexedPager > ul > li:last-of-type a:after, +.article::shadow .defaultPager > div:nth-of-type(2) > button:nth-of-type(2):after { + content: 'Last'; +} +.article::shadow .defaultPager > div > button, +.article::shadow .simplePager > button, +.article::shadow .indexedPager > ul > li > a { + padding: 0; + min-width: 90px; + border: none; + background-color: inherit; + font-weight: 700; + outline: none; } \ No newline at end of file diff --git a/css/extjs4.css b/css/extjs4.css index 232dffb..eb43e77 100644 --- a/css/extjs4.css +++ b/css/extjs4.css @@ -376,7 +376,7 @@ sortable-table.extjs4 { } .extjs4::shadow .indexedPager li { display: inline-block; - padding: 0 8px; + padding: 0 4px; line-height: 22px; } .extjs4::shadow .indexedPager li a { diff --git a/examples/css.html b/examples/css.html index 6574cb6..cb6765e 100644 --- a/examples/css.html +++ b/examples/css.html @@ -11,16 +11,37 @@ @@ -32,39 +53,7 @@
diff --git a/examples/dom-elements.html b/examples/dom-elements.html index a10ba54..8784464 100644 --- a/examples/dom-elements.html +++ b/examples/dom-elements.html @@ -7,6 +7,7 @@ +