summaryrefslogtreecommitdiffstats
path: root/app/common/styles/components
diff options
context:
space:
mode:
authorMichael Davis <michael.s.davis@ibm.com>2017-08-25 10:58:22 -0500
committerAdriana Kobylak <anoo@us.ibm.com>2017-10-09 14:35:19 -0500
commite1ae08c18bb81022b1d4ad91f4339adf9e643aac (patch)
tree06f0603e39c44f399a583837e34bd3aee7572499 /app/common/styles/components
parent348f7a8f0f8cfa5657a2a3d15eb9f3dd0540d0bf (diff)
downloadphosphor-webui-e1ae08c18bb81022b1d4ad91f4339adf9e643aac.tar.gz
phosphor-webui-e1ae08c18bb81022b1d4ad91f4339adf9e643aac.zip
moved table sorting to be global
Change-Id: I7d6633ed965693f92bebddb88a5f081102090bdd Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/common/styles/components')
-rw-r--r--app/common/styles/components/table.scss29
1 files changed, 28 insertions, 1 deletions
diff --git a/app/common/styles/components/table.scss b/app/common/styles/components/table.scss
index 26490f6..84982b3 100644
--- a/app/common/styles/components/table.scss
+++ b/app/common/styles/components/table.scss
@@ -104,6 +104,33 @@
@include indeterminate-bar;
}
+//sortable heading
.sort-heading {
-
+ position: relative;
+ color: $lightblue;
+ &::after {
+ content: '\025be';
+ position: absolute;
+ right: -20px;
+ top: -1px;
+ font-size: 1.3em;
+ }
+ &::before {
+ content: '\025be';
+ position: absolute;
+ right: -20px;
+ top: -10px;
+ font-size: 1.3em;
+ transform: rotate(180deg);
+ }
+ &.sort-up {
+ &::before {
+ color: $darkbg__accent;
+ }
+ }
+ &.sort-down {
+ &::after {
+ color: $darkbg__accent;
+ }
+ }
}
OpenPOWER on IntegriCloud