Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ForkAwesome/Fork-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authordavegandy <dave@davegandy.com>2013-10-23 08:24:08 +0400
committerdavegandy <dave@davegandy.com>2013-10-23 08:24:08 +0400
commitf212bebf6c95323ffd52dd6deaf3b16861d3413e (patch)
treec48730ef9f28eec899734435fb6cc12eb2c289fa /less
parente5a654cd015347c3815ca3303932dbc7c52b837b (diff)
re-porting to scss, fixing some fa variable names
Diffstat (limited to 'less')
-rw-r--r--less/bordered-pulled.less3
-rw-r--r--less/list.less9
-rw-r--r--less/stacked.less2
-rw-r--r--less/variables.less6
4 files changed, 9 insertions, 11 deletions
diff --git a/less/bordered-pulled.less b/less/bordered-pulled.less
index 6d2bfca1c..0c90eb567 100644
--- a/less/bordered-pulled.less
+++ b/less/bordered-pulled.less
@@ -3,8 +3,7 @@
.@{fa-css-prefix}-border {
padding: .2em .25em .15em;
- border: solid 1px @fa-border-color;
- border-width: .08em;
+ border: solid .08em @fa-border-color;
border-radius: .1em;
}
diff --git a/less/list.less b/less/list.less
index b68afc9d5..eed934051 100644
--- a/less/list.less
+++ b/less/list.less
@@ -3,18 +3,17 @@
.@{fa-css-prefix}-ul {
padding-left: 0;
- margin-left: @fa-icon-li-width;
+ margin-left: @fa-li-width;
list-style-type: none;
> li { position: relative; }
}
.@{fa-css-prefix}-li {
position: absolute;
- left: -@fa-icon-li-width;
- width: @fa-icon-li-width;
+ left: -@fa-li-width;
+ width: @fa-li-width;
top: (2em / 14);
text-align: center;
&.@{fa-css-prefix}-lg {
- left: -@fa-icon-li-width + (4em / 14);
+ left: -@fa-li-width + (4em / 14);
}
}
-
diff --git a/less/stacked.less b/less/stacked.less
index fc1dc121d..4d6b15347 100644
--- a/less/stacked.less
+++ b/less/stacked.less
@@ -16,4 +16,4 @@
}
.@{fa-css-prefix}-stack-top { line-height: inherit; }
.@{fa-css-prefix}-stack-bottom { font-size: 2em; }
-.@{fa-css-prefix}-inverse { color: @fa-icon-inverse; }
+.@{fa-css-prefix}-inverse { color: @fa-inverse; }
diff --git a/less/variables.less b/less/variables.less
index eb0096473..256e23691 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -2,12 +2,12 @@
// --------------------------
@fa-font-path: "../fonts";
-//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.0.0/font"; // for referencing Bootstrap CDN font files directly
+//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.0.0/font"; // for referencing Bootstrap CDN font files directly
@fa-css-prefix: fa;
@fa-version: "4.0.0";
@fa-border-color: #eee;
-@fa-icon-inverse: #fff;
-@fa-icon-li-width: (30em / 14);
+@fa-inverse: #fff;
+@fa-li-width: (30em / 14);
@fa-var-glass: "\f000";
@fa-var-music: "\f001";