summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less')
-rw-r--r--www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less63
1 files changed, 63 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less b/www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less
new file mode 100644
index 00000000..a33400f1
--- /dev/null
+++ b/www/wiki/extensions/Translate/resources/css/ext.translate.statstable.less
@@ -0,0 +1,63 @@
+.groupexpander-all {
+ text-align: right;
+}
+
+.groupexpander {
+ float: right;
+}
+
+.statstable {
+ border-collapse: collapse;
+ border-style: hidden;
+ box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.15 );
+
+ .expanded,
+ .expanded a {
+ cursor: n-resize;
+ }
+
+ .collapsed,
+ .collapsed a {
+ cursor: s-resize;
+ }
+
+ /* Small zebra rows effect */
+ > * > tr {
+ &.tux-statstable-even > td {
+ background-color: #f8f9fa;
+ }
+
+ &:hover > td {
+ // Work-around a Firefox issue:
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=688556
+ background-clip: padding-box;
+ filter: brightness( 0.95 );
+ }
+
+ > th {
+ background-color: #eaecf0;
+ border: 1px solid #fff;
+ padding: 0.5em;
+ font-weight: normal;
+ letter-spacing: 1px;
+ }
+
+ > td {
+ background-color: #fff;
+ padding: 0.5em;
+ border-left: 1px solid #f8f9fa;
+ border-right: 1px solid #f8f9fa;
+ }
+
+ /* Align numbers to the right */
+ > td:nth-child( n+2 ):nth-child( -n+6 ) {
+ text-align: right;
+ padding-right: 1em;
+ }
+
+ /* De-emphasize 0% oudated */
+ > td:nth-child( 6 )[ data-sort-value='0.00000' ] {
+ color: #54595d;
+ }
+ }
+}