-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4c9879
commit d1fd012
Showing
17 changed files
with
4,442 additions
and
0 deletions.
There are no files selected for viewing
2,878 changes: 2,878 additions & 0 deletions
2,878
@pictogrammers/memory-font/1.5.0/css/memory-icons.css
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
@pictogrammers/memory-font/1.5.0/css/memory-icons.min.css.map
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// From Font Awesome | ||
.#{$memory-css-prefix}-spin:before { | ||
-webkit-animation: #{$memory-css-prefix}-spin 2s infinite linear; | ||
animation: #{$memory-css-prefix}-spin 2s infinite linear; | ||
} | ||
|
||
@-webkit-keyframes #{$memory-css-prefix}-spin { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} | ||
|
||
@keyframes #{$memory-css-prefix}-spin { | ||
0% { | ||
-webkit-transform: rotate(0deg); | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
-webkit-transform: rotate(359deg); | ||
transform: rotate(359deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.#{$memory-css-prefix}:before, | ||
.#{$memory-css-prefix}-set { | ||
display: inline-block; | ||
font: normal normal normal #{$memory-font-size-base}/1 '#{$memory-font-name}'; // 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 | ||
line-height: inherit; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
$memory-sizes: 18 24 36 48 !default; | ||
@each $memory-size in $memory-sizes { | ||
.#{$memory-css-prefix}-#{$memory-size}px { | ||
&.#{$memory-css-prefix}-set, | ||
&.#{$memory-css-prefix}:before { | ||
font-size: $memory-size * 1px; | ||
} | ||
} | ||
} | ||
|
||
.#{$memory-css-prefix}-dark { | ||
&:before { | ||
color: rgba(0, 0, 0, 0.54); | ||
} | ||
&.#{$memory-css-prefix}-inactive:before { | ||
color: rgba(0, 0, 0, 0.26); | ||
} | ||
} | ||
.#{$memory-css-prefix}-light { | ||
&:before { | ||
color: rgba(255, 255, 255, 1); | ||
} | ||
&.#{$memory-css-prefix}-inactive:before { | ||
color: rgba(255, 255, 255, 0.3); | ||
} | ||
} | ||
|
||
$memory-degrees: 45 90 135 180 225 270 315 !default; | ||
@each $memory-degree in $memory-degrees { | ||
.#{$memory-css-prefix}-rotate-#{$memory-degree}{ | ||
&:before { | ||
-webkit-transform: rotate(#{$memory-degree}deg); | ||
-ms-transform: rotate(#{$memory-degree}deg); | ||
transform: rotate(#{$memory-degree}deg); | ||
} | ||
/* | ||
// Not included in production | ||
&.#{$memory-css-prefix}-flip-h:before { | ||
-webkit-transform: scaleX(-1) rotate(#{$memory-degree}deg); | ||
transform: scaleX(-1) rotate(#{$memory-degree}deg); | ||
filter: FlipH; | ||
-ms-filter: "FlipH"; | ||
} | ||
&.#{$memory-css-prefix}-flip-v:before { | ||
-webkit-transform: scaleY(-1) rotate(#{$memory-degree}deg); | ||
-ms-transform: rotate(#{$memory-degree}deg); | ||
transform: scaleY(-1) rotate(#{$memory-degree}deg); | ||
filter: FlipV; | ||
-ms-filter: "FlipV"; | ||
} | ||
*/ | ||
} | ||
} | ||
.#{$memory-css-prefix}-flip-h:before { | ||
-webkit-transform: scaleX(-1); | ||
transform: scaleX(-1); | ||
filter: FlipH; | ||
-ms-filter: "FlipH"; | ||
} | ||
.#{$memory-css-prefix}-flip-v:before { | ||
-webkit-transform: scaleY(-1); | ||
transform: scaleY(-1); | ||
filter: FlipV; | ||
-ms-filter: "FlipV"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@function char($character-code) { | ||
@if function-exists("selector-append") { | ||
@return unquote("\"\\#{$character-code}\""); | ||
} | ||
|
||
@if "\\#{'x'}" == "\\x" { | ||
@return str-slice("\x", 1, 1) + $character-code; | ||
} | ||
@else { | ||
@return #{"\"\\"}#{$character-code + "\""}; | ||
} | ||
} | ||
|
||
@function memory($name) { | ||
@if map-has-key($memory-icons, $name) == false { | ||
@warn "Icon #{$name} not found."; | ||
@return ""; | ||
} | ||
@return char(map-get($memory-icons, $name)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@each $key, $value in $memory-icons { | ||
.#{$memory-css-prefix}-#{$key}::before { | ||
content: char($value); | ||
} | ||
} | ||
|
||
.#{$memory-css-prefix}-blank::before { | ||
content: "\F68C"; | ||
visibility: hidden; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@font-face { | ||
font-family: '#{$memory-font-name}'; | ||
src: url('#{$memory-font-path}/#{$memory-filename}-webfont.eot?v=#{$memory-version}'); | ||
src: url('#{$memory-font-path}/#{$memory-filename}-webfont.eot?#iefix&v=#{$memory-version}') format('embedded-opentype'), | ||
url('#{$memory-font-path}/#{$memory-filename}-webfont.woff2?v=#{$memory-version}') format('woff2'), | ||
url('#{$memory-font-path}/#{$memory-filename}-webfont.woff?v=#{$memory-version}') format('woff'), | ||
url('#{$memory-font-path}/#{$memory-filename}-webfont.ttf?v=#{$memory-version}') format('truetype'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} |
Oops, something went wrong.