Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bootstrap_beagle
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gems
bootstrap_beagle
Commits
ade9d6f4
Commit
ade9d6f4
authored
Feb 15, 2019
by
xuchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: asset_path for boboto fonts
parent
914beff6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
app/assets/stylesheets/includes/fonts/_roboto.scss
+14
-14
No files found.
app/assets/stylesheets/includes/fonts/_roboto.scss
View file @
ade9d6f4
...
@@ -5,34 +5,34 @@
...
@@ -5,34 +5,34 @@
@mixin
roboto-font
(
$type
,
$weight
,
$style
)
{
@mixin
roboto-font
(
$type
,
$weight
,
$style
)
{
@font-face
{
@font-face
{
font-family
:
'Roboto'
;
font-family
:
'Roboto'
;
src
:
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot'
)
);
src
:
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot"
)
);
src
:
local
(
'Roboto
#{
$type
}
'
)
,
src
:
local
(
'Roboto
#{
$type
}
'
)
,
local
(
'Roboto-
#{
$type
}
'
)
,
local
(
'Roboto-
#{
$type
}
'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot?#iefix'
)
)
format
(
'embedded-opentype'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot?#iefix"
)
)
format
(
'embedded-opentype'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff2'
)
)
format
(
'woff2'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff2"
)
)
format
(
'woff2'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff'
)
)
format
(
'woff'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff"
)
)
format
(
'woff'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.ttf'
)
)
format
(
'truetype'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.ttf"
)
)
format
(
'truetype'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.svg#Roboto'
)
)
format
(
'svg'
);
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.svg#Roboto"
)
)
format
(
'svg'
);
font-weight
:
$weight
;
font-weight
:
$weight
;
font-style
:
$style
;
font-style
:
$style
;
}
}
@font-face
{
@font-face
{
font-family
:
'Roboto-
#{
$type
}
'
;
font-family
:
'Roboto-
#{
$type
}
'
;
src
:
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot'
)
);
src
:
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot"
)
);
src
:
local
(
'Roboto
#{
$type
}
'
)
,
src
:
local
(
'Roboto
#{
$type
}
'
)
,
local
(
'Roboto-
#{
$type
}
'
)
,
local
(
'Roboto-
#{
$type
}
'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot?#iefix'
)
)
format
(
'embedded-opentype'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.eot?#iefix"
)
)
format
(
'embedded-opentype'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff2'
)
)
format
(
'woff2'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff2"
)
)
format
(
'woff2'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff'
)
)
format
(
'woff'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.woff"
)
)
format
(
'woff'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.ttf'
)
)
format
(
'truetype'
)
,
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.ttf"
)
)
format
(
'truetype'
)
,
url(asset_path(
'
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.svg#Roboto'
)
)
format
(
'svg'
);
url(asset_path(
"
#{
$roboto-font-path
}
/Roboto-
#{
$type
}
.svg#Roboto"
)
)
format
(
'svg'
);
}
}
}
}
@mixin
roboto-font-pair
(
$type
,
$weight
)
{
@mixin
roboto-font-pair
(
$type
,
$weight
)
{
@include
roboto-font
(
'
#{
$type
}
'
,
$weight
,
normal
);
@include
roboto-font
(
"
#{
$type
}
"
,
$weight
,
normal
);
@include
roboto-font
(
'
#{
$type
}
Italic'
,
$weight
,
italic
);
@include
roboto-font
(
"
#{
$type
}
Italic"
,
$weight
,
italic
);
}
}
@include
roboto-font-pair
(
'Thin'
,
100
);
@include
roboto-font-pair
(
'Thin'
,
100
);
...
...
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