summaryrefslogtreecommitdiffstats
path: root/install/ui/less
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-11-06 15:44:18 +0100
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:03 +0100
commit0f1a756eae0d59b6b3db36cbea36602d8ec385b9 (patch)
tree0d3acb871eecbd1a9f05fbfdff7f852ab8bae130 /install/ui/less
parentf0b42ed06000e7c6a8a72bbbdb0673018af8a58b (diff)
downloadfreeipa-0f1a756eae0d59b6b3db36cbea36602d8ec385b9.tar.gz
freeipa-0f1a756eae0d59b6b3db36cbea36602d8ec385b9.tar.xz
freeipa-0f1a756eae0d59b6b3db36cbea36602d8ec385b9.zip
Use font awesome glyph for dialog close button
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install/ui/less')
-rw-r--r--install/ui/less/dialog.less20
-rw-r--r--install/ui/less/font-awesome/bordered-pulled.less1
2 files changed, 13 insertions, 8 deletions
diff --git a/install/ui/less/dialog.less b/install/ui/less/dialog.less
index 94b18e557..10f07a681 100644
--- a/install/ui/less/dialog.less
+++ b/install/ui/less/dialog.less
@@ -57,17 +57,21 @@
}
.rcue-button-close {
- background-image: url("../img/dialog-button-close.png");
- width: 25px;
- height: 25px;
- background-repeat: no-repeat;
- background-position: center;
- display: inline-block;
- margin-top: -4px;
- margin-right: -6px;
+
position: absolute;
top: 15px;
right: 19px;
+ display: inline-block;
+
+ .fa;
+
+ &:before {
+ content: @fa-var-times;
+ }
+
+ &:hover {
+ text-decoration: none;
+ }
}
}
diff --git a/install/ui/less/font-awesome/bordered-pulled.less b/install/ui/less/font-awesome/bordered-pulled.less
index 9889d62cc..85536f8c2 100644
--- a/install/ui/less/font-awesome/bordered-pulled.less
+++ b/install/ui/less/font-awesome/bordered-pulled.less
@@ -11,6 +11,7 @@
.pull-left { float: left; }
.fa {
+ .fa;
&.pull-left { margin-right: .3em; }
&.pull-right { margin-left: .3em; }
}