Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icons
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
icons
Commits
c27c1a59
Commit
c27c1a59
authored
Dec 28, 2014
by
Geremia Taglialatela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a variable to customise base font size
Closes #5128
parent
b5904726
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
24 additions
and
10 deletions
+24
-10
core.less
less/core.less
+2
-1
mixins.less
less/mixins.less
+2
-1
variables.less
less/variables.less
+1
-0
_core.scss
scss/_core.scss
+2
-1
_mixins.scss
scss/_mixins.scss
+2
-1
_variables.scss
scss/_variables.scss
+1
-0
core.less
src/_includes/code/core.less
+2
-2
core.scss
src/_includes/code/core.scss
+6
-0
core.less
src/assets/font-awesome/less/core.less
+1
-1
mixins.less
src/assets/font-awesome/less/mixins.less
+1
-1
variables.less
src/assets/font-awesome/less/variables.less
+1
-0
_core.scss
src/assets/font-awesome/scss/_core.scss
+1
-1
_mixins.scss
src/assets/font-awesome/scss/_mixins.scss
+1
-1
_variables.scss
src/assets/font-awesome/scss/_variables.scss
+1
-0
No files found.
less/core.less
View file @
c27c1a59
...
...
@@ -3,9 +3,10 @@
.@{fa-css-prefix} {
display: inline-block;
font: normal normal normal
14px
/1 FontAwesome; // shortening font declaration
font: normal normal normal
@fa-font-size-base
/1 FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
less/mixins.less
View file @
c27c1a59
...
...
@@ -3,11 +3,12 @@
.fa-icon() {
display: inline-block;
font: normal normal normal
14px
/1 FontAwesome; // shortening font declaration
font: normal normal normal
@fa-font-size-base
/1 FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fa-icon-rotate(@degrees, @rotation) {
...
...
less/variables.less
View file @
c27c1a59
...
...
@@ -2,6 +2,7 @@
// --------------------------
@fa-font-path: "../fonts";
@fa-font-size-base: 14px;
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts"; // for referencing Bootstrap CDN font files directly
@fa-css-prefix: fa;
@fa-version: "4.3.0";
...
...
scss/_core.scss
View file @
c27c1a59
...
...
@@ -3,9 +3,10 @@
.
#{
$fa-css-prefix
}
{
display
:
inline-block
;
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
// shortening font declaration
font
:
normal
normal
normal
#{
$fa-font-size-base
}
/
1
FontAwesome
;
// shortening font declaration
font-size
:
inherit
;
// can't have font-size inherit on line above, so need to override
text-rendering
:
auto
;
// optimizelegibility throws things off #1094
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
scss/_mixins.scss
View file @
c27c1a59
...
...
@@ -3,11 +3,12 @@
@mixin
fa-icon
()
{
display
:
inline-block
;
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
// shortening font declaration
font
:
normal
normal
normal
#{
$fa-font-size-base
}
/
1
FontAwesome
;
// shortening font declaration
font-size
:
inherit
;
// can't have font-size inherit on line above, so need to override
text-rendering
:
auto
;
// optimizelegibility throws things off #1094
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
@mixin
fa-icon-rotate
(
$degrees
,
$rotation
)
{
...
...
scss/_variables.scss
View file @
c27c1a59
...
...
@@ -2,6 +2,7 @@
// --------------------------
$fa-font-path
:
"../fonts"
!
default
;
$fa-font-size-base
:
14px
!
default
;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.3.0/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix
:
fa
!
default
;
$fa-version
:
"4.3.0"
!
default
;
...
...
src/_includes/code/core.
c
ss
→
src/_includes/code/core.
le
ss
View file @
c27c1a59
display: inline-block;
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
//
shortening
font
declaration
font: normal normal normal
@fa-font-size-base
/1 FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing
:
grayscale
;
\ No newline at end of file
-moz-osx-font-smoothing: grayscale;
src/_includes/code/core.scss
0 → 100644
View file @
c27c1a59
display
:
inline-block
;
font
:
normal
normal
normal
#{
$fa-font-size-base
}
/
1
FontAwesome
;
// shortening font declaration
font-size
:
inherit
;
// can't have font-size inherit on line above, so need to override
text-rendering
:
auto
;
// optimizelegibility throws things off #1094
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
src/assets/font-awesome/less/core.less
View file @
c27c1a59
...
...
@@ -5,5 +5,5 @@
// -------------------------
.@{fa-css-prefix} {
{% include code/core.
c
ss %}
{% include code/core.
le
ss %}
}
src/assets/font-awesome/less/mixins.less
View file @
c27c1a59
...
...
@@ -4,7 +4,7 @@
// --------------------------
.fa-icon() {
{% include code/core.
c
ss %}
{% include code/core.
le
ss %}
}
.fa-icon-rotate(@degrees, @rotation) {
...
...
src/assets/font-awesome/less/variables.less
View file @
c27c1a59
...
...
@@ -4,6 +4,7 @@
// --------------------------
@fa-font-path: "../fonts";
@fa-font-size-base: 14px;
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts"; // for referencing Bootstrap CDN font files directly
@fa-css-prefix: {{ site.fontawesome.css_prefix }};
@fa-version: "{{ site.fontawesome.version }}";
...
...
src/assets/font-awesome/scss/_core.scss
View file @
c27c1a59
...
...
@@ -5,5 +5,5 @@
//
-------------------------
.
#{
$fa-css-prefix
}
{
{
%
include
code
/
core
.css
%
}
{
%
include
code
/
core
.
s
css
%
}
}
src/assets/font-awesome/scss/_mixins.scss
View file @
c27c1a59
...
...
@@ -4,7 +4,7 @@
//
--------------------------
@
mixin
fa-icon
()
{
{
%
include
code
/
core
.css
%
}
{
%
include
code
/
core
.
s
css
%
}
}
@mixin
fa-icon-rotate
(
$degrees
,
$rotation
)
{
...
...
src/assets/font-awesome/scss/_variables.scss
View file @
c27c1a59
...
...
@@ -4,6 +4,7 @@
//
--------------------------
$
fa-font-path
:
"../fonts"
!
default
;
$fa-font-size-base
:
14px
!
default
;
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts" !default; // for referencing Bootstrap CDN font files directly
$fa-css-prefix
:
{{
site
.fontawesome.css_prefix
}}
!
default
;
$fa-version
:
"{{ site.fontawesome.version }}"
!
default
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment