├── .gitattributes
├── .github
└── iconoo.png
├── .gitignore
├── .npmignore
├── README.md
├── build
└── iconoo.css
├── circle.yml
├── dist
└── iconoo.min.css
├── gulpfile.js
├── index.html
├── index.js
├── license
├── package.json
└── sass
├── functions.scss
├── generals.scss
├── iconoo.scss
├── icons.scss
├── icons
├── arrow.scss
├── audioCtrl.scss
├── caret.scss
├── check.scss
├── cross.scss
├── emoji.scss
├── home.scss
├── location.scss
├── menu.scss
├── refresh.scss
├── search.scss
├── share.scss
├── textAlign.scss
└── volume.scss
├── mixins.scss
├── temp
├── asterisk.scss
├── bluetooth.scss
├── book.scss
├── bookmark.scss
├── calendar.scss
├── camera.scss
├── cart.scss
├── chain.scss
├── chart.scss
├── circle.scss
├── clock.scss
├── comment.scss
├── creditCard.scss
├── crop.scss
├── cup.scss
├── devices.scss
├── display.scss
├── document.scss
├── dropper.scss
├── exclamation.scss
├── eye.scss
├── file.scss
├── filter.scss
├── flag.scss
├── folder.scss
├── forbidden.scss
├── gear.scss
├── headphone.scss
├── heart.scss
├── image.scss
├── infinity.scss
├── keyboard.scss
├── logos.scss
├── mail.scss
├── market.scss
├── microphone.scss
├── moon.scss
├── mouse.scss
├── music.scss
├── paperclip.scss
├── piano.scss
├── power.scss
├── rename.scss
├── rss.scss
├── ruler.scss
├── signin.scss
├── signout.scss
├── sitemap.scss
├── sliders.scss
├── socials.scss
├── spinner.scss
├── sun.scss
├── support.scss
├── tag.scss
├── terminal.scss
├── trash.scss
├── user.scss
└── video.scss
└── variables.scss
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.github/iconoo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qieguo2016/iconoo/9259e5c10e83bea5fb5f370860769527b1a81f6b/.github/iconoo.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .DS_Store?
3 |
4 | .editorconfig
5 |
6 | node_modules/
7 | .idea
8 | *debug.log
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .idea
3 | build
4 | .github
5 |
6 | .editorconfig
7 | gulpfile.js
8 | index.html
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # iconoo
2 |
3 | [](https://github.com/qieguo2016/iconoo) [](https://github.com/qieguo2016/iconoo/stargazers) [](https://raw.githubusercontent.com/qieguo2016/iconoo/master/license)
4 |
5 | **iconoo**是一个纯CSS的图标库,基于 **[icono][1]** 改造而成,增加了整体缩放功能(线宽不变)和`webpack`引入方式。
6 |
7 | **[LIVE DEMO][2]**
8 |
9 | ![iconoo][3]
10 |
11 | ## How to use
12 |
13 | - **[下载][4]** 后直接link引入css文件,然后直接在标签中引入相应的class即可,例如:
14 |
15 | ``
16 |
17 | `
58 |
59 |
63 |
64 |
You can set fontsize to adjust icon's size. Of course you can also scale icons by setting zoom or transform-scale. Download
65 |
66 |
117 |
118 |
126 |
127 |
128 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by qieguo on 2016/10/25.
3 | */
4 | 'use strict';
5 |
6 | require('./dist/iconoo.min.css');
--------------------------------------------------------------------------------
/license:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2016 qieguo
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "iconoo",
3 | "version": "1.0.9",
4 | "description": "A Flexible Pure CSS Icons Pack. One Tag One Icon.",
5 | "main": "index",
6 | "scripts": {
7 | "build": "gulp release"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/qieguo2016/iconoo.git"
12 | },
13 | "author": {
14 | "name": "qieguo",
15 | "email": "qieguo.chow@gmail.com",
16 | "url": "https://github.com/qieguo2016"
17 | },
18 | "keywords": [
19 | "css",
20 | "icons",
21 | "ui",
22 | "iconoo",
23 | "flexible",
24 | "pure CSS"
25 | ],
26 | "license": "MIT",
27 | "bugs": {
28 | "url": "https://github.com/qieguo2016/iconoo/issues"
29 | },
30 | "homepage": "http://qieguo2016.github.io/iconoo/",
31 | "devDependencies": {
32 | "browser-sync": "*",
33 | "gulp": "^3.9.1",
34 | "gulp-autoprefixer": "^3.1.1",
35 | "gulp-clean-css": "^2.0.12",
36 | "gulp-notify": "^2.2.0",
37 | "gulp-plumber": "^0.6.6",
38 | "gulp-rename": "^1.2.0",
39 | "gulp-sass": "^2.3.2",
40 | "gulp-watch": "^3.0.0"
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/sass/functions.scss:
--------------------------------------------------------------------------------
1 | // Math functions given from https://github.com/terkel/mathsass
2 |
3 | // Note: now there is no need to used this.
4 |
5 | /**
6 | * Returns base to the exponent power.
7 | * @param {Number} $base The base number
8 | * @param {Number} $exp The exponent to which to raise base
9 | * @return {Number}
10 | * @example
11 | * pow(4, 2) // 16
12 | * pow(4, -2) // 0.0625
13 | * pow(4, 0.2) // 1.31951
14 | */
15 | @function pow ($base, $exp) {
16 | @if $exp == floor($exp) {
17 | $r: 1;
18 | $s: 0;
19 | @if $exp < 0 {
20 | $exp: $exp * -1;
21 | $s: 1;
22 | }
23 | @while $exp > 0 {
24 | @if $exp % 2 == 1 {
25 | $r: $r * $base;
26 | }
27 | $exp: floor($exp * 0.5);
28 | $base: $base * $base;
29 | }
30 | @return if($s != 0, 1 / $r, $r);
31 | } @else {
32 | @return exp(log($base) * $exp);
33 | }
34 | }
35 |
36 | /**
37 | * Returns the square root of a number.
38 | * @param {Number} $x
39 | * @example
40 | * sqrt(2) // 1.41421
41 | * sqrt(5) // 2.23607
42 | */
43 | @function sqrt ($x) {
44 | @if $x < 0 {
45 | @warn "Argument for `sqrt()` must be a positive number.";
46 | @return null;
47 | }
48 | $ret: 1;
49 | @for $i from 1 through 24 {
50 | $ret: $ret - (pow($ret, 2) - $x) / (2 * $ret);
51 | }
52 | @return $ret;
53 | }
--------------------------------------------------------------------------------
/sass/generals.scss:
--------------------------------------------------------------------------------
1 | .iconoo-stroke {
2 | border: $U2 solid;
3 | }
4 |
5 | .stickCenterV {
6 | @include stickCenterV;
7 | }
8 |
9 | .stickCenterH {
10 | @include stickCenterH;
11 | }
12 |
13 | .stickCenter {
14 | @include stickCenter;
15 | }
16 |
17 | .spin[class*="spin"] {
18 | animation: loading-spinner 2s infinite linear;
19 | }
20 |
21 | @keyframes loading-spinner {
22 | 0% {
23 | transform: rotate(0deg);
24 | }
25 | 100% {
26 | transform: rotate(360deg);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/sass/iconoo.scss:
--------------------------------------------------------------------------------
1 | // Welcome to iconoo
2 | // You can use this file in your project instead of .css file, and build it with other your less files.
3 | @import "variables";
4 | @import "mixins";
5 | //@import "functions";
6 | @import "generals";
7 | @import "icons";
8 |
9 | // $strokeSize,笔触大小,这里用来指定边框线宽
10 |
11 | [class*="iconoo-"] {
12 | display: inline-block;
13 | position: relative;
14 | vertical-align: middle;
15 | color: $maincolor;
16 | font-size: 20px; //主控参数
17 | font-style: normal;
18 | text-align: left;
19 | text-indent: -9999px;
20 | direction: ltr;
21 | &:before, &:after {
22 | content: '';
23 | pointer-events: none;
24 | //display: block;
25 | }
26 | &[class*="Circle"] {
27 | box-shadow: 0 0 0 $strokeSize; //采用box-shadow来画边框
28 | border-radius: 50%;
29 | width: 1.5em;
30 | height: 1.5em;
31 | margin: 0;
32 | }
33 | &[class*="Square"] {
34 | box-shadow: 0 0 0 $strokeSize; //采用box-shadow来画边框
35 | border-radius: $U4;
36 | width: 1.5em;
37 | height: 1.5em;
38 | margin: 0;
39 | }
40 | &, & * {
41 | box-sizing: border-box;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/sass/icons.scss:
--------------------------------------------------------------------------------
1 | @import "icons/textAlign";
2 |
3 | @import "icons/location";
4 |
5 | @import "icons/home";
6 |
7 | @import "icons/refresh";
8 |
9 | @import "icons/share";
10 |
11 | @import "icons/menu";
12 |
13 | @import "icons/search";
14 |
15 | @import "icons/volume"; // 7 iconos
16 |
17 | @import "icons/cross";
18 |
19 | @import "icons/check";
20 |
21 | @import "icons/audioCtrl"; // 7 iconos
22 |
23 | @import "icons/emoji"; // 3 iconos
24 |
25 | @import "icons/caret"; // 4 iconos
26 |
27 | @import "icons/arrow"; // 4 iconos
28 |
29 | // ========================================== //
30 |
31 | // 以下部分为icono的图标,未改造
32 |
33 | //@import "temp/logos";
34 | //
35 | //@import "temp/mail";
36 | //
37 | //@import "temp/rss";
38 | //
39 | //@import "temp/power";
40 | //
41 | //@import "temp/heart";
42 | //
43 | //@import "temp/infinity";
44 | //
45 | //@import "temp/flag";
46 | //
47 | //@import "temp/file";
48 | //
49 | //@import "temp/document";
50 | //
51 | //@import "temp/folder";
52 | //
53 | //@import "temp/eye";
54 | //
55 | //@import "temp/sliders";
56 | //
57 | //@import "temp/gear";
58 | //
59 | //@import "temp/signIn";
60 | //
61 | //@import "temp/signOut";
62 | //
63 | //@import "temp/support";
64 | //
65 | //@import "temp/dropper";
66 | //
67 | //@import "temp/chain";
68 | //
69 | //@import "temp/rename";
70 | //
71 | //@import "temp/book";
72 | //
73 | //@import "temp/forbidden";
74 | //
75 | //@import "temp/trash";
76 | //
77 | //@import "temp/keyboard";
78 | //
79 | //@import "temp/mouse";
80 | //
81 | //@import "temp/user";
82 | //
83 | //@import "temp/crop";
84 | //
85 | //@import "temp/display";
86 | //
87 | //@import "temp/devices";
88 | //
89 | //@import "temp/image";
90 | //
91 | //@import "temp/headphone";
92 | //
93 | //@import "temp/music";
94 | //
95 | //@import "temp/video";
96 | //
97 | //@import "temp/microphone";
98 | //
99 | //@import "temp/asterisk";
100 | //
101 | //@import "temp/terminal";
102 | //
103 | //@import "temp/paperClip";
104 | //
105 | //@import "temp/market";
106 | //
107 | //@import "temp/clock";
108 | //
109 | //@import "temp/exclamation";
110 | //
111 | //@import "temp/comment"; // 2 iconos
112 | //
113 | //@import "temp/chart"; // 3 iconos
114 | //
115 | //@import "temp/bookmark"; // 2 iconos
116 | //
117 | //@import "temp/filter";
118 | //
119 | //@import "temp/tag";
120 | //
121 | //@import "temp/calendar";
122 | //
123 | //@import "temp/camera";
124 | //
125 | //@import "temp/piano";
126 | //
127 | //@import "temp/ruler";
128 | //
129 | //@import "temp/socials";
130 | //
131 | //@import "temp/creditCard";
132 | //
133 | //@import "temp/cup";
134 | //
135 | //@import "temp/sun";
136 | //
137 | //@import "temp/moon";
138 | //
139 | //@import "temp/cart";
140 | //
141 | //@import "temp/sitemap";
142 | //
143 | //@import "temp/circle";
144 | //
145 | //@import "temp/spinner";
146 | //
147 | //@import "temp/bluetooth";
--------------------------------------------------------------------------------
/sass/icons/arrow.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Arrow
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 | .plus {
8 | box-sizing: border-box;
9 | display: inline-block;
10 | position: relative;
11 | font-size: 20px;
12 | }
13 |
14 | .plus:before, plus:after {
15 | content: '';
16 | pointer-events: none;
17 | position: absolute;
18 | left: 50%;
19 | top: 50%;
20 | transform: translate(-50%, -50%);
21 | box-shadow: inset 0 0 0 1em;
22 | }
23 |
24 | .plus:before {
25 | width: 1em;
26 | height: 2px;
27 | }
28 |
29 | .plus:after {
30 | height: 1em;
31 | width: 2px;
32 | }
33 |
34 | .iconoo-rightArrow {
35 | width: 0.8em;
36 | height: 0.2em;
37 | box-shadow: inset 0 0 0 1em;
38 | margin: 0.65em 0.55em 0.65em 0.15em;
39 | &:before {
40 | @extend .stickCenterV;
41 | border-style: solid;
42 | border-width: 0.4em 0 0.4em 0.4em;
43 | border-color: transparent;
44 | border-left-color: inherit;
45 | left: 100%;
46 | right: auto;
47 | }
48 | }
49 |
50 | .iconoo-leftArrow {
51 | @extend .iconoo-rightArrow;
52 | transform: translateX(0.4em) rotate(180deg);
53 | }
54 |
55 | .iconoo-upArrow {
56 | @extend .iconoo-rightArrow;
57 | transform: translate(0.2em, 0.2em) rotate(-90deg);
58 | }
59 |
60 | .iconoo-downArrow {
61 | @extend .iconoo-rightArrow;
62 | transform: translate(0.2em, -0.2em) rotate(90deg);
63 | }
--------------------------------------------------------------------------------
/sass/icons/audioCtrl.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * 音频视频控制按钮:Play, Pause,Stop,Next,...
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .iconoo-play {
9 | width: 0;
10 | height: 0;
11 | margin: 0.25em 0.35em;
12 | border-width: 0.5em 0 0.5em 0.8em;
13 | border-style: solid;
14 | border-top-color: transparent;
15 | border-bottom-color: transparent;
16 | }
17 |
18 | .iconoo-pause {
19 | width: 0.3em;
20 | height: 1em;
21 | margin: 0.25em 0.9em 0.25em 0.3em;
22 | box-shadow: inset 0 0 0 1em, 0.6em 0 0 0;
23 | }
24 |
25 | .iconoo-stop {
26 | width: 0;
27 | height: 0;
28 | border: solid 0.5em;
29 | margin: 0.25em;
30 | }
31 |
32 | .iconoo-forward {
33 | width: 0;
34 | height: 0;
35 | margin: 0.25em;
36 | border: 0.5em solid transparent;
37 | border-left: 0.5em solid;
38 | &:before {
39 | position: absolute;
40 | left: 0;
41 | top: -0.5em;
42 | width: 0;
43 | height: 0;
44 | border: 0.5em solid transparent;
45 | border-left: 0.5em solid;
46 | }
47 | }
48 |
49 | .iconoo-rewind {
50 | @extend .iconoo-forward;
51 | transform: rotate(180deg);
52 | }
53 |
54 | .iconoo-next {
55 | width: 0;
56 | height: 0;
57 | margin: 0.25em 0.15em 0.25em 0.35em;
58 | border: 0.5em solid transparent;
59 | border-left: 0.5em solid;
60 | &:before {
61 | position: absolute;
62 | left: 0;
63 | top: -0.5em;
64 | width: 0;
65 | height: 0;
66 | border-width: 0.5em 0.15em;
67 | border-style: solid;
68 | }
69 | }
70 |
71 | .iconoo-previous {
72 | @extend .iconoo-next;
73 | transform: translateX(-0.25em) rotate(180deg);
74 | }
--------------------------------------------------------------------------------
/sass/icons/caret.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Carets
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,也就是图标的线宽
6 | */
7 |
8 | .iconoo-caretRight {
9 | width: 0.5em;
10 | height: 1em;
11 | margin: 0.25em 0.5em;
12 | &:before, &:after {
13 | width: 0.707em; //width effects icon size, base on icon's font-size
14 | height: $strokeSize; //height effects line width
15 | position: absolute;
16 | top: 0;
17 | bottom: 0;
18 | margin: auto 0;
19 | right: 0;
20 | box-shadow: inset 0 0 0 1em;
21 | transform-origin: right;
22 | }
23 | &:before {
24 | transform: rotate(45deg);
25 | }
26 | &:after {
27 | transform: rotate(-45deg);
28 | }
29 | }
30 |
31 | .iconoo-caretRightCircle, .iconoo-caretRightSquare {
32 | @extend .iconoo-caretRight;
33 | }
34 |
35 | .iconoo-caretLeft {
36 | @extend .iconoo-caretRight;
37 | transform: rotate(180deg);
38 | }
39 |
40 | .iconoo-caretLeftCircle, .iconoo-caretLeftSquare {
41 | @extend .iconoo-caretLeft;
42 | }
43 |
44 | .iconoo-caretUp {
45 | @extend .iconoo-caretRight;
46 | transform: rotate(-90deg);
47 | }
48 |
49 | .iconoo-caretUpCircle, .iconoo-caretUpSquare {
50 | @extend .iconoo-caretUp;
51 | }
52 |
53 | .iconoo-caretDown {
54 | @extend .iconoo-caretRight;
55 | transform: rotate(90deg);
56 | }
57 |
58 | .iconoo-caretDownCircle, .iconoo-caretDownSquare {
59 | @extend .iconoo-caretDown;
60 | }
61 |
62 | [class*="iconoo-caret"] {
63 | &[class*="Circle"], &[class*="Square"] {
64 | &:before, &:after {
65 | width: 0.55em; //width effects icon size, base on icon's font-size
66 | right: 0.5em; //居中
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/sass/icons/check.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Check
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,也就是图标的线宽
6 | */
7 |
8 | [class*="iconoo-check"] {
9 | width: 1.5em;
10 | height: 1.5em;
11 | transform: rotate(-45deg);
12 | &:before, &:after {
13 | box-shadow: inset 0 0 0 1em;
14 | }
15 | &:before {
16 | width: 1em;
17 | height: $strokeSize;
18 | position: absolute;
19 | left: 0.9em;
20 | top: 0.9em;
21 | transform: translate(-50%, -50%);
22 | }
23 | &:after {
24 | height: 0.6em;
25 | width: $strokeSize;
26 | position: absolute;
27 | left: 0.4em;
28 | bottom: 0.6em;
29 | }
30 | &[class*="Circle"] {
31 | &:before {
32 | width: 0.78em;
33 | top: 0.9em;
34 | left: 0.85em;
35 | }
36 | &:after {
37 | height: 0.4em;
38 | left: 0.46em;
39 | bottom: 0.6em;
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/sass/icons/cross.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Cross & Plus
3 | * Cross is 45degree rotated plus
4 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
5 | * 主控参数默认值 font-size: $U20;
6 | * $strokeSize,笔触大小,也就是图标的线宽
7 | */
8 |
9 | [class*="iconoo-plus"], [class*="iconoo-cross"] {
10 | width: 1.5em;
11 | height: 1.5em;
12 | &:before, &:after {
13 | @extend .stickCenter;
14 | box-shadow: inset 0 0 0 1em;
15 | }
16 | &:before {
17 | width: 1em;
18 | height: $strokeSize;
19 | }
20 | &:after {
21 | height: 1em;
22 | width: $strokeSize;
23 | }
24 | &[class*="Circle"] {
25 | &:before {
26 | width: 0.9em;
27 | }
28 | &:after {
29 | height: 0.9em;
30 | }
31 | }
32 | }
33 |
34 | .iconoo-cross, .iconoo-crossCircle{
35 | transform: rotate(45deg);
36 | }
--------------------------------------------------------------------------------
/sass/icons/emoji.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * emoji 表情符
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,这里用来指定边框线宽
6 | */
7 |
8 | .iconoo-smile {
9 | border-radius: 50%;
10 | border: $strokeSize solid;
11 | height: 1.5em;
12 | width: 1.5em;
13 | &:before {
14 | border-radius: 50%;
15 | box-shadow: 0.5em 0 0 0, 0 0 0 1em inset;
16 | height: 0.2em;
17 | width: 0.2em;
18 | position: absolute;
19 | left: 0;
20 | right: 0;
21 | margin: 0 auto;
22 | transform: translate(-0.25em, 0.35em);
23 | }
24 | &:after {
25 | border-radius: 50%;
26 | border: $strokeSize solid;
27 | border-top-color: transparent;
28 | border-left-color: transparent;
29 | border-right-color: transparent;
30 | height: 0.8em;
31 | width: 0.8em;
32 | position: absolute;
33 | left: 0;
34 | right: 0;
35 | top: 0;
36 | bottom: 0;
37 | margin: auto;
38 | }
39 | }
40 |
41 | .iconoo-frown {
42 | @extend .iconoo-smile;
43 | &:before {
44 | @extend .iconoo-smile:before;
45 | }
46 | &:after {
47 | @extend .iconoo-smile:after;
48 | transform: rotate(180deg);
49 | transform-origin: center 85%;
50 | }
51 | }
52 |
53 | .iconoo-meh {
54 | @extend .iconoo-smile;
55 | &:before {
56 | @extend .iconoo-smile:before;
57 | }
58 | &:after {
59 | @extend .iconoo-smile:after;
60 | top: -0.2em;
61 | width: 0.6em;
62 | border-left-width: 0;
63 | border-right-width: 0;
64 | border-radius: 0;
65 | }
66 | }
--------------------------------------------------------------------------------
/sass/icons/home.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * search
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,也就是图标的线宽
6 | */
7 |
8 | .iconoo-home {
9 | width: 1.1em;
10 | height: 0.8em;
11 | border: $strokeSize solid;
12 | border-top: none;
13 | margin: 0.65em 0.2em 0.05em 0.2em;
14 | &:before {
15 | width: 1em;
16 | height: 1em;
17 | transform: translate(-50%, -0.35em) rotate(45deg);
18 | position: absolute;
19 | left: 50%;
20 | margin: auto;
21 | border: $strokeSize solid;
22 | border-right-color: transparent;
23 | border-bottom-color: transparent;
24 | box-sizing: border-box;
25 | }
26 | &:after {
27 | position: absolute;
28 | width: 0.3em;
29 | height: 0.5em;
30 | bottom: 0;
31 | @include stickCenterH();
32 | border: $strokeSize/2 solid;
33 | border-bottom: none;
34 | }
35 | }
--------------------------------------------------------------------------------
/sass/icons/location.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Pin、
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,也就是图标的线宽
6 | */
7 |
8 | .iconoo-locationArrow {
9 | width: 1.5em;
10 | height: 1.5em;
11 | &:before {
12 | position: absolute;
13 | left: 0.35em;
14 | top: 0.8em;
15 | border-width: 0.3em 0 0.3em 0.3em;
16 | border-style: solid;
17 | border-left-color: transparent;
18 | transform: rotate(-45deg);
19 | }
20 | &:after {
21 | position: absolute;
22 | top: 0.5em;
23 | left: 0.1em;
24 | border-width: 0.5em;
25 | border-style: solid;
26 | border-bottom-color: transparent;
27 | border-left-color: transparent;
28 | transform: skew(-30deg, -30deg);
29 | }
30 | }
31 |
32 | .iconoo-pin {
33 | width: 1.1em;
34 | height: 1.1em;
35 | border: $strokeSize solid;
36 | border-radius: 50% 50% 50% 0;
37 | transform: rotate(-45deg);
38 | &:before {
39 | position: absolute;
40 | width: 0.3em;
41 | height: 0.3em;
42 | border: $strokeSize solid;
43 | border-radius: 50%;
44 | @extend .stickCenter;
45 | }
46 | }
--------------------------------------------------------------------------------
/sass/icons/menu.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * search
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .iconoo-bars {
9 | width: 1em;
10 | height: 0.1em;
11 | box-shadow: inset 0 0 0 1em, 0 -0.3em, 0 0.3em;
12 | margin: 0.7em 0.25em;
13 | }
14 |
15 | .iconoo-hamburger {
16 | @extend .iconoo-bars; //will be deprecate
17 | }
18 |
19 | .iconoo-ellipsis {
20 | width: 0.2em;
21 | height: 0.2em;
22 | box-shadow: 0 -0.4em 0, 0 0 0 1em inset, 0 0.4em 0;
23 | margin: 0.65em;
24 | }
25 |
26 | .iconoo-tiles {
27 | width: 0.2em;
28 | height: 0.2em;
29 | box-shadow: 0 -0.4em 0, -0.4em -0.4em 0, 0.4em -0.4em 0,
30 | 0 0 0 1em inset, -0.4em 0 0, 0.4em 0 0,
31 | 0 0.4em 0, -0.4em 0.4em 0, 0.4em 0.4em 0;
32 | margin: 0.65em;
33 | }
34 |
35 | .iconoo-list {
36 | width: 0.2em;
37 | height: 0.2em;
38 | box-shadow: inset 0 0 0 1em, 0 -0.4em 0 0, 0 0.4em 0 0;
39 | margin: 0.65em 1.2em 0.65em 0.1em;
40 | &:before {
41 | @extend .stickCenterV;
42 | width: 0.9em;
43 | height: 0.2em;
44 | left: 0.4em;
45 | box-shadow: inset 0 0 0 1em, 0 -0.4em 0 0, 0 0.4em 0 0;
46 | }
47 | }
--------------------------------------------------------------------------------
/sass/icons/refresh.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Reset、Sync
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,也就是图标的线宽
6 | */
7 |
8 | .iconoo-reset {
9 | width: 1.5em;
10 | height: 1.5em;
11 | border-radius: 50%;
12 | border-width: $strokeSize;
13 | border-style: solid;
14 | border-left-color: transparent;
15 | &:before {
16 | position: absolute;
17 | width: 0;
18 | height: 0;
19 | border-width: 0.3em;
20 | border-style: solid;
21 | border-right-color: transparent;
22 | border-left-color: transparent;
23 | border-bottom-color: transparent;
24 | bottom: 0;
25 | right: 50%;
26 | transform: translateX(-50%) rotate(135deg);
27 | }
28 | }
29 |
30 | .iconoo-sync {
31 | width: 1.5em;
32 | height: 1.5em;
33 | border-radius: 50%;
34 | border: $strokeSize solid;
35 | border-right-color: transparent;
36 | border-left-color: transparent;
37 | &:before, &:after {
38 | position: absolute;
39 | width: 0;
40 | height: 0;
41 | border-width: 0.3em;
42 | border-style: solid;
43 | border-right-color: transparent;
44 | border-bottom-color: transparent;
45 | border-left-color: transparent;
46 | }
47 | &:before {
48 | transform: translateX(50%) rotate(-45deg);
49 | left: 50%;
50 | top: 0;
51 | }
52 | &:after {
53 | transform: translateX(-50%) rotate(135deg);
54 | right: 50%;
55 | bottom: 0;
56 | }
57 | }
--------------------------------------------------------------------------------
/sass/icons/search.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * search
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .iconoo-search {
9 | width: 1em;
10 | height: 1em;
11 | border-radius: 50%;
12 | border: 0.1em solid;
13 | transform: rotate(45deg);
14 | margin: 0.15em 0.15em 0.35em 0.35em;
15 | &:before {
16 | width: 0.2em;
17 | height: 0.65em;
18 | @extend .stickCenterH;
19 | box-shadow: inset 0 0 0 1em;
20 | top: 0.85em;
21 | border-radius: 0 0 0.05em 0.05em;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/icons/share.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Share
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .iconoo-share {
9 | height: 0.45em;
10 | width: 0.45em;
11 | border-radius: 50%;
12 | box-shadow: inset 0 0 0 1em, 1.1em -0.5em 0 0, 1.1em 0.5em 0 0;
13 | margin: 0.55em 1.15em 0.55em -0.05em;
14 | &:before, &:after {
15 | position: absolute;
16 | width: 1.2em;
17 | height: 0.1em;
18 | box-shadow: inset 0 0 0 1em;
19 | left: 0;
20 | }
21 | &:before {
22 | transform-origin: left;
23 | transform: translate(0.35em, 0.1em) rotate(-25deg);
24 | }
25 | &:after {
26 | transform-origin: left;
27 | transform: translate(0.25em, 0.2em) rotate(25deg);
28 | }
29 | }
--------------------------------------------------------------------------------
/sass/icons/textAlign.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * emoji 表情符
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * $strokeSize,笔触大小,这里用来指定边框线宽
6 | */
7 |
8 | [class*="iconoo-textAlign"] {
9 | width: 1.3em;
10 | height: 1.1em;
11 | margin: 0.2em 0.1em;
12 | &:before, &:after {
13 | position: absolute;
14 | height: $strokeSize;
15 | box-shadow: inset 0 0 0 1em, 0 0.4em 0 0, 0 0.8em 0 0;
16 | right: 0;
17 | }
18 | &:before {
19 | width: 1.3em;
20 | top: 0;
21 | }
22 | &:after {
23 | width: 0.9em;
24 | top: 0.2em;
25 | }
26 | &.iconoo-textAlignCenter {
27 | &:before, &:after {
28 | @extend .stickCenterH;
29 | }
30 | }
31 | &.iconoo-textAlignLeft {
32 | &:before, &:after {
33 | left: 0;
34 | }
35 | }
36 | }
37 |
38 | .iconoo-textIndent {
39 | width: 1em;
40 | height: 0.8em;
41 | border-width: 0.2em 0 0.2em 0.4em;
42 | border-style: solid;
43 | border-color: transparent;
44 | box-shadow: 0 -1*$strokeSize, 0 $strokeSize, inset 0 $strokeSize, inset 0 -1*$strokeSize;
45 | margin: 0.35em 0.25em;
46 | &:before {
47 | @extend .stickCenterV;
48 | left: -0.4em;
49 | border: 0.25em solid;
50 | border-top-color: transparent;
51 | border-bottom-color: transparent;
52 | border-right-width: 0;
53 | }
54 | }
55 |
56 | .iconoo-textOutdent {
57 | @extend .iconoo-textIndent;
58 | &:before {
59 | @extend .iconoo-textIndent:before;
60 | border-left-width: 0;
61 | border-right-width: 0.25em;
62 | }
63 | }
--------------------------------------------------------------------------------
/sass/icons/volume.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Volume
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .iconoo-volume {
9 | width: 0;
10 | height: 0;
11 | border: 0.35em solid;
12 | border-left: none;
13 | border-top-color: transparent;
14 | border-bottom-color: transparent;
15 | padding: 0.3em 0.2em;
16 | box-shadow: inset 0.2em 0;
17 | margin: 0.1em 0.375em;
18 | }
19 |
20 | .iconoo-volumeLow {
21 | @extend .iconoo-volume;
22 | margin: 0.1em 0.5em 0.1em 0.25em;
23 | &:before {
24 | width: 0.75em;
25 | height: 0.75em;
26 | position: absolute;
27 | border: 0.1em solid;
28 | border-radius: 50%;
29 | border-top-color: transparent;
30 | border-bottom-color: transparent;
31 | border-left-color: transparent;
32 | left: 0.1em;
33 | @extend .stickCenterV;
34 | }
35 | }
36 |
37 | .iconoo-volumeMedium {
38 | @extend .iconoo-volumeLow;
39 | margin: 0.1em 0.6em 0.1em 0.15em;
40 | &:before {
41 | border-style: double;
42 | border-width: 0.3em;
43 | left: -0.1em;
44 | }
45 | }
46 |
47 | .iconoo-volumeHigh {
48 | @extend .iconoo-volumeMedium;
49 | margin: 0.1em 0.7em 0.1em 0.05em;
50 | &:after {
51 | @extend .iconoo-volumeLow:before;
52 | width: 1.6em;
53 | height: 1.6em;
54 | left: -0.35em;
55 | }
56 | }
57 |
58 | .iconoo-volumeDecrease {
59 | @extend .iconoo-volume;
60 | margin: 0.1em 0.7em 0.1em 0.05em;
61 | &:before, &:after {
62 | @extend .stickCenterV;
63 | box-shadow: inset 0 0 0 1em;
64 | }
65 | &:before {
66 | width: 0.5em;
67 | height: 0.1em;
68 | left: 0.85em;
69 | }
70 | }
71 |
72 | .iconoo-volumeIncrease {
73 | @extend .iconoo-volumeDecrease;
74 | &:after {
75 | height: 0.5em;
76 | width: 0.1em;
77 | left: 1.05em;
78 | }
79 | }
80 |
81 | .iconoo-volumeMute {
82 | @extend .iconoo-volumeIncrease;
83 | &:after, &:before {
84 | transform: translateY(-50%) rotate(45deg);
85 | }
86 | }
--------------------------------------------------------------------------------
/sass/mixins.scss:
--------------------------------------------------------------------------------
1 | @mixin stickCenter($top: 0, $right: 0, $bottom: 0, $left: 0){
2 | position: absolute;
3 | @if ($top == $bottom){
4 | @if ($left == $right){
5 | //stick center method 1
6 | left: 50%;
7 | top: 50%;
8 | transform: translate(-50%, -50%);
9 | }@else{
10 | //stick center V
11 | top: 50%;
12 | transform: translateY(-50%);
13 | right: $right;
14 | left: $left;
15 | margin: 0 auto;
16 | }
17 | }@else if ($left == $right){
18 | //stick center H
19 | left: 50%;
20 | transform: translateX(-50%);
21 | top: $top;
22 | bottom: $bottom;
23 | margin: auto 0;
24 | }@else{
25 | //stick center method 2
26 | top: $top;
27 | right: $right;
28 | bottom: $bottom;
29 | left: $left;
30 | margin: auto;
31 | }
32 | }
33 | @mixin stickCenterH{
34 | position: absolute;
35 | left: 50%;
36 | transform: translateX(-50%);
37 | }
38 | @mixin stickCenterV{
39 | position: absolute;
40 | top: 50%;
41 | transform: translateY(-50%);
42 | }
43 | @mixin square($length){
44 | width: $length; height: $length;
45 | }
46 | @mixin goldenRectL($width){
47 | width: $width;
48 | height: ceil($width/1.61803398875);
49 | }
50 | @mixin goldenRectP($width){
51 | width: $width;
52 | height: ceil($width*1.61803398875);
53 | }
54 | @mixin wDiagonal($length){
55 | width: ceil(sqrt(2 * $length * $length));
56 | }
57 | @mixin hDiagonal($length){
58 | height: ceil(sqrt(2 * $length * $length));
59 | }
--------------------------------------------------------------------------------
/sass/temp/asterisk.scss:
--------------------------------------------------------------------------------
1 | //*-- Asterisk --*\\
2 | .icono-asterisk{
3 | width: $U4;
4 | height: $U20;
5 | box-shadow: inset 0 0 0 $U32;
6 | border-radius: $U1;
7 | margin: $U7 $U15;
8 | &:before, &:after{
9 | position: absolute;
10 | @extend .icono-asterisk;
11 | margin: 0;
12 | left: 0;
13 | top: 0;
14 | }
15 | &:before{
16 | transform: rotate(-58deg);
17 | }
18 | &:after{
19 | transform: rotate(58deg);
20 | }
21 | }
--------------------------------------------------------------------------------
/sass/temp/bluetooth.scss:
--------------------------------------------------------------------------------
1 | //*-- Bluetooth --*\\
2 | .icono-bluetooth{
3 | width: $U3;
4 | height: $U26;
5 | box-shadow: inset 0 0 0 $U32;
6 | margin: $U4 $U15 $U4 $U16;
7 | &:before, &:after{
8 | position: absolute;
9 | width: $U18;
10 | height: $U8;
11 | border-width: $U3 $U3 $U3 0;
12 | border-style: solid;
13 | border-top-color: transparent;
14 | top: $U2;
15 | left: -$U13;
16 | transform: rotate(-45deg);
17 | }
18 | &:after{
19 | top: $U10;
20 | transform: rotate(45deg) rotateX(180deg);
21 | }
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/sass/temp/book.scss:
--------------------------------------------------------------------------------
1 | //*-- Book --*\\
2 | .icono-book{
3 | width: $U26;
4 | height: $U22;
5 | border-radius: 0 0 0 $U6;
6 | @extend .icono-stroke;
7 | border-top: none;
8 | margin: $U10 $U4 $U2;
9 | &:before{
10 | position: absolute;
11 | width: $U24;
12 | height: $U7;
13 | box-sizing: border-box;
14 | @extend .icono-stroke;
15 | border-top: none;
16 | border-right: none;
17 | left: -1*$U2;
18 | top: -1*$U5;
19 | border-radius: 0 0 0 $U6;
20 | }
21 | &:after{
22 | position: absolute;
23 | width: $U24;
24 | height: $U8;
25 | box-sizing: border-box;
26 | left: -1*$U2;
27 | top: -1*$U8;
28 | @extend .icono-stroke;
29 | border-bottom: none;
30 | border-radius: $U6 0 0 0;
31 | }
32 | }
--------------------------------------------------------------------------------
/sass/temp/bookmark.scss:
--------------------------------------------------------------------------------
1 | //*-- Bookmark --*\\
2 | .icono-bookmark{
3 | width: 0;
4 | height: 0;
5 | border: $U9 solid;
6 | border-bottom-color: transparent;
7 | box-shadow: 0 -1*$U4;
8 | border-radius: $U3 $U3 0 0;
9 | margin: $U10 $U8 $U6;
10 | }
11 | .icono-bookmarkEmpty{
12 | width: $U18;
13 | height: $U22;
14 | @extend .icono-stroke;
15 | border-bottom: none;
16 | border-radius: $U3 $U3 $U2 $U2;
17 | overflow: hidden;
18 | margin: $U6 $U8;
19 | &:before{
20 | position: absolute;
21 | width: $U12;
22 | height: $U12;
23 | bottom: 0;
24 | left: 0;
25 | @extend .icono-stroke;
26 | border-right: none;
27 | border-bottom: none;
28 | transform: rotate(45deg) translate(35%, 35%);
29 | }
30 | }
--------------------------------------------------------------------------------
/sass/temp/calendar.scss:
--------------------------------------------------------------------------------
1 | //*-- Calendar --*\\
2 | .icono-calendar{
3 | width: $U32;
4 | height: $U28;
5 | border-width: $U4 $U2 $U2;
6 | border-style: solid;
7 | border-radius: $U4;
8 | margin: $U5 $U1 $U1;
9 | &:before{
10 | position: absolute;
11 | width: $U4;
12 | height: $U4;
13 | top: $U3;
14 | left: $U3;
15 | box-shadow: inset 0 0 0 $U32, $U6 0, $U12 0, $U18 0,
16 | 0 $U6, $U6 $U6, $U12 $U6, $U18 $U6,
17 | 0 $U12, $U6 $U12, $U12 $U12, $U18 $U12;
18 | }
19 | &:after{
20 | position: absolute;
21 | width: $U4;
22 | height: $U8;
23 | box-shadow: inset 0 0 0 $U32, $U16 0;
24 | border-radius: $U4;
25 | top: -1*$U8;
26 | left: $U4;
27 | }
28 | }
--------------------------------------------------------------------------------
/sass/temp/camera.scss:
--------------------------------------------------------------------------------
1 | //*-- camera --*\\
2 | .icono-camera{
3 | width: $U32;
4 | height: $U24;
5 | border-radius: $U4;
6 | @extend .icono-stroke;
7 | margin: $U5 $U1;
8 | &:before{
9 | @extend .stickCenter;
10 | width: $U10;
11 | height: $U10;
12 | border: $U1 solid transparent;
13 | box-shadow: inset 0 0 0 $U1, 0 0 0 $U2;
14 | border-radius: 50%;
15 | }
16 | &:after{
17 | position: absolute;
18 | width: $U4;
19 | height: $U2;
20 | right: $U2;
21 | top: $U2;
22 | box-shadow: inset 0 0 0 $U32;
23 | }
24 | }
--------------------------------------------------------------------------------
/sass/temp/cart.scss:
--------------------------------------------------------------------------------
1 | //*-- Cart --*\\
2 | .icono-cart{
3 | width: $U22;
4 | height: 0;
5 | border-width: $U14 $U6 0 $U2;
6 | border-style: solid;
7 | border-right-color: transparent;
8 | border-left-color: transparent;
9 | margin: $U9 $U3 $U11 $U9;
10 | &:before{
11 | position: absolute;
12 | width: $U4;
13 | height: $U4;
14 | border-radius: 50%;
15 | box-shadow: inset 0 0 0 $U32, $U13 0, -1*$U4 -1*$U20 0 $U1;
16 | top: $U2;
17 | left: -$U3;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/sass/temp/chain.scss:
--------------------------------------------------------------------------------
1 | //*-- Chain --*\\
2 | .icono-chain{
3 | width: $U16;
4 | height: $U2;
5 | box-shadow: inset 0 0 0 $U32;
6 | transform: rotate(-45deg);
7 | margin: $U16 $U9;
8 | &:before, &:after{
9 | @include goldenRectL($U12);
10 | @extend .stickCenterV;
11 | @extend .icono-stroke;
12 | border-radius: $U4;
13 | }
14 | &:before{
15 | right: -1*$U10;
16 | }
17 | &:after{
18 | left: -1*$U10;
19 | }
20 | }
--------------------------------------------------------------------------------
/sass/temp/chart.scss:
--------------------------------------------------------------------------------
1 | //*-- Chart --*\\
2 | .icono-areaChart{
3 | width: $U30;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | border-top-width: 0;
7 | border-right-width: 0;
8 | border-color: transparent;
9 | box-shadow: -1*$U2 $U2;
10 | overflow: hidden;
11 | margin: $U4 0 $U8 $U4;
12 | &:before{
13 | $bSpace: $U7;
14 | position: absolute;
15 | left: 0;
16 | bottom: $bSpace;
17 | border: $U6 solid transparent;
18 | border-bottom-color: currentColor;
19 | box-shadow: 0 $bSpace;
20 | }
21 | &:after{
22 | $bSpace: $U4;
23 | position: absolute;
24 | left: $U11;
25 | bottom: $bSpace;
26 | border-width: 0 $U6 $U13;
27 | border-style: solid;
28 | border-color: transparent;
29 | border-bottom-color: currentColor;
30 | box-shadow: 0 $bSpace;
31 | }
32 | }
33 | .icono-barChart{
34 | width: $U30;
35 | height: $U22;
36 | @extend .icono-stroke;
37 | border-top-width: 0;
38 | border-right-width: 0;
39 | border-color: transparent;
40 | box-shadow: -1*$U2 $U2;
41 | overflow: hidden;
42 | box-shadow: -1*$U2 $U2;
43 | margin: $U4 0 $U8 $U4;
44 | &:before{
45 | position: absolute;
46 | left: 0;
47 | bottom: 0;
48 | width: $U4;
49 | height: $U15;
50 | box-shadow: inset 0 -1*$U8 0 0, $U6 0, $U12 $U7, $U18 $U5;
51 | }
52 | }
53 | .icono-pieChart{
54 | width: 0;
55 | height: 0;
56 | border: $U15 solid;
57 | border-right-color: transparent;
58 | border-radius: 50%;
59 | transform: rotate(-45deg);
60 | margin: $U2;
61 | &:before{
62 | position: absolute;
63 | width: 0;
64 | height: 0;
65 | left: -1*$U11;
66 | top: -1*$U14;
67 | border: $U14 solid;
68 | border-left-color: transparent;
69 | border-bottom-color: transparent;
70 | border-top-color: transparent;
71 | border-radius: 50%;
72 | }
73 | }
--------------------------------------------------------------------------------
/sass/temp/circle.scss:
--------------------------------------------------------------------------------
1 | //*-- Circle --*\\
2 | .icono-circle{
3 | width: $U22;
4 | height: $U22;
5 | border: $U2 solid;
6 | border-radius: 50%;
7 | margin: $U6;
8 | }
9 |
--------------------------------------------------------------------------------
/sass/temp/clock.scss:
--------------------------------------------------------------------------------
1 | //*-- Clock --*\\
2 | .icono-clock{
3 | width: $U26;
4 | height: $U26;
5 | border-radius: 50%;
6 | @extend .icono-stroke;
7 | margin: $U4;
8 | &:before, &:after{
9 | @extend .stickCenter;
10 | top: 35%;
11 | box-shadow: inset 0 0 0 $U32;
12 | border-radius: $U2;
13 | }
14 | &:before{
15 | width: $U2;
16 | height: $U9;
17 | }
18 | &:after{
19 | width: $U6;
20 | height: $U2;
21 | transform-origin: left center;
22 | transform: rotate(45deg) translate($U1, $U2);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/sass/temp/comment.scss:
--------------------------------------------------------------------------------
1 | //*-- Comment --*\\
2 | .icono-commentEmpty{
3 | width: $U30;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | border-radius: $U4 $U4 $U7 $U7;
7 | border-bottom-color: transparent;
8 | margin: $U5 $U2 $U7;
9 | &:before{
10 | position: absolute;
11 | width: $U6;
12 | height: $U6;
13 | border-width: 0 0 $U2 $U2;
14 | border-style: solid;
15 | transform: rotate(-45deg);
16 | bottom: -1*$U4;
17 | left: $U6;
18 | }
19 | &:after{
20 | position: absolute;
21 | width: $U8;
22 | height: $U2;
23 | border-width: 0 $U12 0 $U6;
24 | border-style: solid;
25 | bottom: 0;
26 | left: 0;
27 | }
28 | }
29 | .icono-comment{
30 | width: $U30;
31 | height: $U20;
32 | box-shadow: inset 0 0 0 $U32;
33 | border-radius: $U4;
34 | margin: $U5 $U2 $U9;
35 | &:before{
36 | position: absolute;
37 | width: $U8;
38 | height: $U8;
39 | box-shadow: inset 0 0 0 $U32;
40 | transform: rotate(-45deg);
41 | bottom: -1*$U4;
42 | left: $U6;
43 | }
44 | }
--------------------------------------------------------------------------------
/sass/temp/creditCard.scss:
--------------------------------------------------------------------------------
1 | //*-- Credit Card --*\\
2 | .icono-creditCard{
3 | width: $U32;
4 | height: $U24;
5 | @extend .icono-stroke;
6 | border-radius: $U3;
7 | margin: $U5 $U1;
8 | &:before{
9 | position: absolute;
10 | top: $U4;
11 | width: 100%;
12 | height: $U6;
13 | box-shadow: inset 0 0 0 $U32;
14 | }
15 | &:after{
16 | left: $U3;
17 | bottom: $U3;
18 | position: absolute;
19 | width: $U4;
20 | height: $U2;
21 | box-shadow: inset 0 0 0 $U32, $U6 0;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/temp/crop.scss:
--------------------------------------------------------------------------------
1 | //*-- Crop --*\\
2 | .icono-crop{
3 | @include square($U21);
4 | @extend .icono-stroke;
5 | border-left: none;
6 | border-bottom: none;
7 | margin: $U9 $U9 $U4 $U4;
8 | &:before{
9 | position: absolute;
10 | @include square($U21);
11 | @extend .icono-stroke;
12 | top: -1*$U7;
13 | right: -1*$U7;
14 | border-top: none;
15 | border-right: none;
16 | box-sizing: border-box;
17 | }
18 | &:after{
19 | //@include wDiagonal($U19);
20 | width: $U27;
21 | height: $U1;
22 | @include stickCenter(0, 0, $U12, $U2);
23 | box-shadow: inset 0 0 0 $U32;
24 | transform: rotate(-45deg);
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/cup.scss:
--------------------------------------------------------------------------------
1 | //*-- Cup --*\\
2 | .icono-cup{
3 | width: $U22;
4 | height: $U16;
5 | box-shadow: inset 0 0 0 $U32;
6 | border-radius: 0 0 $U5 $U5;
7 | margin: $U6 $U6 $U12;
8 | &:before{
9 | position: absolute;
10 | right: -1*$U3;
11 | top: $U4;
12 | width: $U5;
13 | height: $U5;
14 | border-radius: 50%;
15 | box-shadow: 0 0 0 $U2;
16 | }
17 | &:after{
18 | @extend .stickCenterH;
19 | bottom: -1*$U5;
20 | width: $U26;
21 | height: $U3;
22 | border-radius: 0 0 $U3 $U3;
23 | box-shadow: inset 0 0 0 $U32;
24 | }
25 | }
--------------------------------------------------------------------------------
/sass/temp/devices.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * 各种设备简图:Play, Pause,Stop,Next,...
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | //*-- iMac --*\\
9 | .icono-imac{
10 | width: $U28;
11 | height: $U24;
12 | @extend .icono-stroke;
13 | border-width: $U2 $U2 $U6;
14 | border-color: transparent;
15 | border-radius: $U3;
16 | box-shadow: 0 0 0 $U1, 0 0 0 $U1 inset;
17 | margin: $U3 $U3 $U7;
18 | &:before{
19 | position: absolute;
20 | height: $U4;
21 | right: -1*$U3;
22 | left: -1*$U3;
23 | bottom: -1*$U6;
24 | box-shadow: inset 0 0 0 $U32;
25 | border-radius: 0 0 $U3 $U3;
26 | }
27 | &:after{
28 | width: $U9;
29 | height: $U7;
30 | @extend .stickCenterH;
31 | box-shadow: inset 0 0 0 $U32;
32 | bottom: -1*$U12;
33 | border-radius: $U32 $U32 0 0 #{'/'} 2*$U32;
34 | }
35 | }
36 | .icono-imacBold{
37 | width: $U28;
38 | height: $U22;
39 | @extend .icono-stroke;
40 | border-radius: $U4;
41 | margin: $U4 $U3 $U8;
42 | &:before{
43 | width: $U9;
44 | height: $U7;
45 | @extend .stickCenterH;
46 | box-shadow: inset 0 0 0 $U32;
47 | bottom: -1*$U6;
48 | border-radius: $U32 $U32 0 0 #{'/'} 2*$U32;
49 | }
50 | &:after{
51 | width: $U24;
52 | height: $U3;
53 | @extend .stickCenterH;
54 | box-shadow: inset 0 0 0 $U32;
55 | bottom: 0;
56 | }
57 | }
58 |
59 | //*-- iPhone --*\\
60 | .icono-iphone{
61 | width: $U19;
62 | height: $U31;
63 | @extend .icono-stroke;
64 | border-radius: $U3;
65 | border-width: $U5 $U1;
66 | border-color: transparent;
67 | box-shadow: 0 0 0 $U1, 0 0 0 $U1 inset;
68 | margin: $U2 $U8 $U1 $U7;
69 | &:before, &:after{
70 | @extend .stickCenterH;
71 | box-shadow: inset 0 0 0 $U32;
72 | }
73 | &:before{
74 | width: $U3;
75 | height: $U1;
76 | top: -1*$U3;
77 | }
78 | &:after{
79 | width: $U3;
80 | height: $U3;
81 | bottom: -1*$U4;
82 | border-radius: 50%;
83 | }
84 | }
85 | .icono-iphoneBold{
86 | width: $U20;
87 | height: $U32;
88 | margin: $U1 $U7;
89 | border-radius: $U4;
90 | @extend .icono-stroke;
91 | border-width: $U5 $U2;
92 | }
93 |
94 | //*-- Macbook --*\\
95 | .icono-macbook{
96 | width: $U32;
97 | height: $U2;
98 | box-shadow: inset 0 0 0 $U32;
99 | border-radius: 0 0 $U32 $U32 #{'/'} $U3;
100 | margin: $U25 $U1 $U7 $U1;
101 | &:before{
102 | width: $U20;
103 | height: $U14;
104 | @extend .icono-stroke;
105 | @extend .stickCenterH;
106 | bottom: $U2;
107 | border-width: $U3 $U1 $U1 $U1;
108 | border-color: transparent;
109 | border-radius: $U3 $U3 0 0;
110 | box-shadow: 0 0 0 $U1, 0 0 0 $U1 inset;
111 | }
112 | }
113 | .icono-macbookBold{
114 | width: $U32;
115 | height: $U2;
116 | box-shadow: inset 0 0 0 $U32;
117 | margin: $U25 $U1 $U7 $U1;
118 | &:before{
119 | width: $U20;
120 | height: $U14;
121 | @extend .stickCenterH;
122 | bottom: $U2;
123 | @extend .icono-stroke;
124 | border-width: $U3 $U2 $U1;
125 | border-radius: $U3 $U3 0 0;
126 | }
127 | }
128 |
129 | //*-- Nexus --*\\
130 | .icono-nexus{
131 | width: $U21;
132 | height: $U32;
133 | @extend .icono-stroke;
134 | border-width: $U3 $U1;
135 | border-radius: $U16 #{'/'} $U3;
136 | margin: $U1 $U7 $U1 $U6;
137 | }
--------------------------------------------------------------------------------
/sass/temp/display.scss:
--------------------------------------------------------------------------------
1 | //*-- Display --*\\
2 | .icono-display{
3 | width: $U26;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | margin: $U4 $U4 $U8;
7 | &:before{
8 | width: $U4;
9 | height: $U3;
10 | @extend .stickCenterH;
11 | bottom: -1*$U5;
12 | box-shadow: inset 0 0 0 $U32;
13 | }
14 | &:after{
15 | width: $U14;
16 | height: $U2;
17 | @extend .stickCenterH;
18 | bottom: -1*$U6;
19 | box-shadow: inset 0 0 0 $U32;
20 | }
21 | }
--------------------------------------------------------------------------------
/sass/temp/document.scss:
--------------------------------------------------------------------------------
1 | //*-- Document --*\\
2 | .icono-document{
3 | width: $U26;
4 | height: $U32;
5 | border-radius: 0 0 0 $U10;
6 | @extend .icono-stroke;
7 | margin: $U1 $U4;
8 | &:before{
9 | position: absolute;
10 | @include square(0);
11 | left: -1*$U3;
12 | bottom: -1*$U3;
13 | border-width: $U5;
14 | border-style: solid;
15 | border-bottom-color: transparent;
16 | border-left-color: transparent;
17 | }
18 | &:after{
19 | width: $U13;
20 | height: $U2;
21 | @extend .stickCenter;
22 | box-shadow: inset 0 0 0 $U32, 0 -1*$U5 0 0, 0 $U5 0 0;
23 | }
24 | }
--------------------------------------------------------------------------------
/sass/temp/dropper.scss:
--------------------------------------------------------------------------------
1 | //*-- Dropper --*\\
2 | .icono-dropper{
3 | // @include wDiagonal($U28);
4 | width: 2*$U20;
5 | height: $U14;
6 | border-width: $U3;
7 | border-style: solid;
8 | border-right: none;
9 | border-top-color: transparent;
10 | border-bottom-color: transparent;
11 | border-left-color: transparent;
12 | box-shadow: -1*$U9 0 0 $U2 inset, 0 0 0 $U2 inset;
13 | border-radius: 50% $U6 $U6 50%;
14 | transform: rotate(-45deg);
15 | margin: $U12 -1*$U2 $U8 -1*$U4;
16 | &:before{
17 | width: $U4;
18 | height: $U14;
19 | right: $U10;
20 | box-shadow: inset 0 0 0 $U32;
21 | @extend .stickCenterV;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/temp/exclamation.scss:
--------------------------------------------------------------------------------
1 | //*-- Exclamation --*\\
2 | [class*="icono-exclamation"]{
3 | overflow: visible;
4 | width: $U30;
5 | border-bottom: $U2 solid;
6 | border-radius: 0 0 $U4 $U4;
7 | margin: $U26 $U2 $U6;
8 | &:before{
9 | position: absolute;
10 | width: $U26;
11 | height: $U26;
12 | left: $U1;
13 | top: -1*$U14;
14 | border-width: $U2 0 0 $U2;
15 | border-style: solid;
16 | border-radius: $U4 0;
17 | transform: rotate(45deg) skew(12deg, 12deg);
18 | }
19 | &:after{
20 | width: $U4;
21 | height: $U3;
22 | top: -1*$U14;
23 | @extend .stickCenterH;
24 | box-shadow: inset 0 0 0 $U32, 0 $U3, 0 $U8;
25 | }
26 | &[class*="Circle"]{
27 | height: $U30;
28 | margin: $U2;
29 | &:before{
30 | display: none;
31 | }
32 | &:after{
33 | box-shadow: inset 0 0 0 $U32, 0 $U3, 0 $U5, 0 $U10;
34 | top: $U6;
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/sass/temp/eye.scss:
--------------------------------------------------------------------------------
1 | //*-- Eye --*\\
2 | .icono-eye{
3 | border-radius: 80% 20%;
4 | transform: rotate(45deg);
5 | @extend .icono-stroke;
6 | border-width: $U2 $U1 $U1 $U2;
7 | height: $U28;
8 | width: $U28;
9 | margin: $U3 $U3;
10 | &:before{
11 | border-radius: 50%;
12 | box-shadow: 0 -1*$U3 0 $U3 inset;
13 | height: $U11;
14 | width: $U11;
15 | @extend .stickCenter;
16 | }
17 | }
--------------------------------------------------------------------------------
/sass/temp/file.scss:
--------------------------------------------------------------------------------
1 | //*-- File --*\\
2 | .icono-file{
3 | width: $U26;
4 | height: $U32;
5 | @extend .icono-stroke;
6 | border-radius: 0 $U12 0 0;
7 | margin: $U1 $U4;
8 | &:before{
9 | position:absolute;
10 | top: -1*$U2;
11 | right:-1*$U2;
12 | border-style: solid;
13 | width: 0;
14 | height: 0;
15 | border-width: $U5;
16 | border-top-color: transparent;
17 | border-right-color: transparent;
18 | }
19 | &:after{
20 |
21 | }
22 | }
--------------------------------------------------------------------------------
/sass/temp/filter.scss:
--------------------------------------------------------------------------------
1 | //*-- Filter --*\\
2 | .icono-filter{
3 | width: 0;
4 | height: 0;
5 | border: $U10 solid;
6 | border-bottom: none;
7 | border-left-color: transparent;
8 | border-right-color: transparent;
9 | padding: $U3;
10 | box-shadow: inset 0 $U7;
11 | margin: $U9 $U4;
12 | }
--------------------------------------------------------------------------------
/sass/temp/flag.scss:
--------------------------------------------------------------------------------
1 | //*-- Flag --*\\
2 | .icono-flag{
3 | width: $U22;
4 | height: $U25;
5 | border-left: $U3 solid;
6 | margin: $U5 $U6 $U4;
7 | &:before, &:after{
8 | position:absolute;
9 | width: $U9;
10 | height: $U8;
11 | @extend .icono-stroke;
12 | }
13 | &:before{
14 | left: -1*$U2;
15 | top: 1px;
16 | border-radius: 0 2px 0 0;
17 | border-right-width: $U2 + 1;
18 | }
19 | &:after{
20 | width: $U5;
21 | left: $U9;
22 | top: $U4;
23 | border-left-width: $U2 + 1;
24 | border-radius: 2px 2px 0 2px;
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/folder.scss:
--------------------------------------------------------------------------------
1 | //*-- Folder --*\\
2 | .icono-folder{
3 | width: $U18;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | border-left-width: 0;
7 | border-radius: 0 $U3 $U3 0;
8 | margin: $U8 $U2 $U4 $U14;
9 | &:before{
10 | position: absolute;
11 | width: $U12;
12 | height: $U20;
13 | left: -1*$U12;
14 | bottom: -1*$U2;
15 | border-width: 0 0 $U2 $U2;
16 | border-style: solid;
17 | border-radius: 0 0 0 $U3;
18 | }
19 | &:after{
20 | position: absolute;
21 | width: $U10;
22 | height: $U5;
23 | left: -1*$U12;
24 | top: -1*$U7;
25 | border-width: $U2 $U2 0 $U2;
26 | border-style: solid;
27 | border-radius: $U3 $U3 0 0;
28 | }
29 | }
--------------------------------------------------------------------------------
/sass/temp/forbidden.scss:
--------------------------------------------------------------------------------
1 | //*-- Forbidden --*\\
2 | .icono-forbidden{
3 | @include square($U28);
4 | @extend .icono-stroke;
5 | border-width: $U3;
6 | border-radius: 50%;
7 | margin: $U3;
8 | transform: rotate(45deg);
9 | &:before{
10 | @extend .stickCenter;
11 | width: $U24;
12 | height: $U4;
13 | box-shadow: inset 0 0 0 $U32;
14 | }
15 | }
--------------------------------------------------------------------------------
/sass/temp/gear.scss:
--------------------------------------------------------------------------------
1 | //*-- Gear --*\\
2 | .icono-gear{
3 | width: $U32;
4 | height: $U32;
5 | border: $U3 dotted;
6 | border-radius: 50%;
7 | margin: $U1;
8 | &:before{
9 | @extend .stickCenter;
10 | width: $U22;
11 | height: $U22;
12 | box-shadow: 0 0 0 $U3, 0 0 0 $U2 inset;
13 | border-radius: 50%;
14 | border: $U6 solid transparent;
15 | box-sizing: border-box;
16 | }
17 | }
--------------------------------------------------------------------------------
/sass/temp/headphone.scss:
--------------------------------------------------------------------------------
1 | //*-- Headphone --*\\
2 | .icono-headphone{
3 | width: $U30;
4 | height: $U27;
5 | @extend .icono-stroke;
6 | border-bottom-color: transparent;
7 | border-radius: $U32#{'/'}$U32 $U32 $U16 $U16;
8 | margin: $U2 $U2 $U5;
9 | &:before{
10 | position: absolute;
11 | width: $U4;
12 | height: $U12;
13 | left: $U1;
14 | bottom: -1*$U4;
15 | border-radius: $U5;
16 | box-shadow: inset 0 0 0 $U32, $U20 0 0 0;
17 | }
18 | }
--------------------------------------------------------------------------------
/sass/temp/heart.scss:
--------------------------------------------------------------------------------
1 | //*-- Heart --*\\
2 | .icono-heart{
3 | width: $U20;
4 | height: $U20;
5 | @extend .icono-stroke;
6 | border-top-color: transparent;
7 | border-left-color: transparent;
8 | transform: rotate(45deg);
9 | border-radius: $U4 0;
10 | margin: $U9 $U7 $U5;
11 | &:before, &:after{
12 | position: absolute;
13 | @extend .icono-stroke;
14 | }
15 | &:before{
16 | width: ceil($U20/2.5);
17 | height: ceil($U20*0.69);
18 | left: -1*ceil($U20/2.5)-$U2;
19 | bottom: -1*$U2;
20 | border-radius: $U20 0 0 $U20;
21 | border-right-color: transparent;
22 | }
23 | &:after{
24 | width: ceil($U20*0.69);
25 | height: ceil($U20/2.5);
26 | right: -1*$U2;
27 | top: -1*ceil($U20/2.5)-$U2;
28 | border-radius: $U20 $U20 0 0;
29 | border-bottom-color: transparent;
30 | }
31 | }
--------------------------------------------------------------------------------
/sass/temp/image.scss:
--------------------------------------------------------------------------------
1 | //*-- Image --*\\
2 | .icono-image{
3 | width: $U30;
4 | height: $U26;
5 | @extend .icono-stroke;
6 | border-radius: $U3;
7 | overflow: hidden;
8 | margin: $U4 $U2;
9 | &:before{
10 | position: absolute;
11 | width: $U20;
12 | height: $U20;
13 | left: -1*$U2;
14 | top: $U14;
15 | transform: rotate(45deg);
16 | box-shadow: inset 0 0 0 $U32, $U10 -1*$U6 0 0;
17 | }
18 | &:after{
19 | position: absolute;
20 | @include square($U4);
21 | border-radius: 50%;
22 | box-shadow: inset 0 0 0 $U32;
23 | top: $U5;
24 | right: $U5;
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/infinity.scss:
--------------------------------------------------------------------------------
1 | //*-- Infinity --*\\
2 | .icono-infinity{
3 | width: $U32;
4 | height: $U16;
5 | margin: $U9 $U1;
6 | &:before, &:after{
7 | width: $U10;
8 | height: $U10;
9 | position: absolute;
10 | @extend .icono-stroke;
11 | transform: rotate(45deg);
12 | }
13 | &:before{
14 | left: 0;
15 | border-radius: $U32 0 $U32 $U32;
16 | }
17 | &:after{
18 | right: 1px;
19 | border-radius: $U32 $U32 $U32 0;
20 | }
21 | }
--------------------------------------------------------------------------------
/sass/temp/keyboard.scss:
--------------------------------------------------------------------------------
1 | //*-- Keyboard --*\\
2 | .icono-keyboard{
3 | width: $U32;
4 | height: $U22;
5 | border-radius: $U3;
6 | @extend .icono-stroke;
7 | margin: $U6 $U1;
8 | &:before{
9 | @include square($U2);
10 | @extend .stickCenter;
11 | box-shadow: -1*$U2 -1*$U4 0, -1*$U6 -1*$U4 0, -1*$U10 -1*$U4 0, $U2 -1*$U4 0, $U6 -1*$U4 0, $U8 -1*$U4 0, $U10 -1*$U4 0,
12 | -1*$U4 0 0, -1*$U8 0 0, -1*$U10 0 0, inset 0 0 0 $U32, $U4 0 0, $U8 0 0, $U10 0 0,
13 | $U4 $U4 0, $U2 $U4 0, 0 $U4 0, -1*$U2 $U4 0, -1*$U6 $U4 0, -1*$U10 $U4 0, $U6 $U4 0, $U10 $U4 0;
14 | }
15 | }
--------------------------------------------------------------------------------
/sass/temp/logos.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * 各种logo简图:Play, Pause,Stop,Next,...
3 | * 需要调整尺寸的时候只需要设置font-size即可等比缩放
4 | * 主控参数默认值 font-size: $U20;
5 | * PS:这里没有线宽的概念,只有等比缩放。
6 | */
7 |
8 | .icono-icono{
9 | width: $U13;
10 | height: $U4;
11 | box-shadow: inset 0 0 0 $U32, 0 $U16, $U17 -1*$U18;
12 | transform: skew(0, 30deg);
13 | margin: $U11 $U19 $U19 $U2;
14 | &:before{
15 | position: absolute;
16 | width: $U13;
17 | height: $U4;
18 | box-shadow: inset 0 0 0 $U32, 0 $U16, -1*$U17 -1*$U17;
19 | right: -1*$U17;
20 | top: -1*$U10;
21 | transform: skew(0, -48deg);
22 | }
23 | &:after{
24 | position: absolute;
25 | width: $U22;
26 | height: $U15;
27 | left: 0;
28 | top: -1*$U5;
29 | border: $U4 solid;
30 | border-top-color: transparent;
31 | border-bottom: none;
32 | transform: skew(0, -30deg) scaleY(0.6);
33 | }
34 | }
--------------------------------------------------------------------------------
/sass/temp/mail.scss:
--------------------------------------------------------------------------------
1 | //*-- Mail --*\\
2 | .icono-mail{
3 | @include goldenRectL($U28);
4 | @extend .icono-stroke;
5 | overflow: hidden;
6 | margin: $U8 $U3;
7 | &:before{
8 | position: absolute;
9 | @include square($U32/1.3);
10 | @extend .icono-stroke;
11 | transform: rotate(50deg) skew(-10deg, -20deg);
12 | top: -1*$U20;
13 | left: -1*$U3;
14 | }
15 | }
--------------------------------------------------------------------------------
/sass/temp/market.scss:
--------------------------------------------------------------------------------
1 | //*-- Market --*\\
2 | .icono-market{
3 | width: $U32;
4 | height: $U12;
5 | @extend .icono-stroke;
6 | border-top: none;
7 | margin: $U19 $U1 $U3;
8 | &:before{
9 | width: $U6;
10 | height: $U13;
11 | position: absolute;
12 | top: -1*$U15;
13 | left: -1*$U5;
14 | border-radius: 0 0 $U10 $U10;
15 | border-left: none;
16 | box-shadow: inset 0 0 0 $U32, $U8 0 0, $U16 0 0, $U24 0 0, $U32 0 0;
17 | }
18 | &:after{
19 | width: $U6;
20 | height: $U6;
21 | bottom: -1*$U2;
22 | @extend .stickCenterH;
23 | @extend .icono-stroke;
24 | }
25 | }
--------------------------------------------------------------------------------
/sass/temp/microphone.scss:
--------------------------------------------------------------------------------
1 | //*-- Microphone --*\\
2 | .icono-microphone{
3 | width: $U22;
4 | height: $U15;
5 | @extend .icono-stroke;
6 | border-width: 0 $U2 $U2;
7 | border-radius: $U20#{'/'}0 0 $U20 $U20;
8 | margin: $U12 $U6 $U7;
9 | &:before{
10 | width: $U10;
11 | height: $U18;
12 | @extend .stickCenterH;
13 | top: -1*$U11;
14 | border-radius: $U20;
15 | @extend .icono-stroke;
16 | }
17 | &:after{
18 | width: $U2;
19 | height: $U2;
20 | bottom: -1*$U4;
21 | @extend .stickCenterH;
22 | box-shadow: inset 0 0 0 $U32, 0 $U2, 0 $U4, -1*$U2 $U4, -1*$U4 $U4, -1*$U6 $U4, $U2 $U4, $U4 $U4, $U6 $U4;
23 | }
24 | }
--------------------------------------------------------------------------------
/sass/temp/moon.scss:
--------------------------------------------------------------------------------
1 | //*-- Moon --*\\
2 | .icono-moon{
3 | width: $U22;
4 | height: $U22;
5 | border-radius: 50%;
6 | overflow: hidden;
7 | margin: $U6;
8 | &:before{
9 | position: absolute;
10 | width: $U20;
11 | height: $U20;
12 | top: -$U2;
13 | left: $U6;
14 | border-radius: 50%;
15 | box-shadow: 0 0 0 $U32;
16 | }
17 | }
--------------------------------------------------------------------------------
/sass/temp/mouse.scss:
--------------------------------------------------------------------------------
1 | //*-- Mouse --*\\
2 | .icono-mouse{
3 | width: $U23;
4 | height: $U32;
5 | border-radius: $U11 $U11 $U12 $U12;
6 | @extend .icono-stroke;
7 | margin: $U1 $U5 $U1 $U6;
8 | &:before{
9 | width: $U1;
10 | height: $U6;
11 | border-radius: $U2;
12 | @extend .stickCenterH;
13 | @extend .icono-stroke;
14 | border-color: transparent;
15 | border-width: $U1;
16 | top: $U5;
17 | box-shadow: 0 0 0 $U1, 0 0 0 $U2 inset;
18 | }
19 | &:after{
20 | width: $U1;
21 | height: $U4;
22 | @extend .stickCenterH;
23 | top: 0;
24 | box-shadow: inset 0 0 0 $U32, 0 $U13 0 0;
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/music.scss:
--------------------------------------------------------------------------------
1 | //*-- Music --*\\
2 | .icono-music{
3 | width: $U18;
4 | height: $U6;
5 | transform: skewY(-15deg);
6 | box-shadow: inset 0 0 0 $U32;
7 | border-radius: $U2 $U2 0 0;
8 | margin: $U4 $U5 $U24 $U11;
9 | &:before{
10 | position: absolute;
11 | width: $U2;
12 | height: $U16;
13 | left: 0;
14 | top: $U4;
15 | box-shadow: inset 0 0 0 $U32, $U16 0 0 0;
16 | }
17 | &:after{
18 | position: absolute;
19 | width: $U10;
20 | height: $U8;
21 | left: -1*$U8;
22 | top: $U17;
23 | border-radius: 50%;
24 | box-shadow: inset 0 0 0 $U32, $U16 0 0 0;
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/paperclip.scss:
--------------------------------------------------------------------------------
1 | //*-- Paper clip --*\\
2 | .icono-paperClip{
3 | width: $U24;
4 | height: $U18;
5 | @extend .icono-stroke;
6 | border-left: none;
7 | border-radius: 0 $U16 $U16 0;
8 | transform: rotate(-45deg);
9 | margin: $U5 0 $U11 $U10;
10 | &:before{
11 | width: $U18;
12 | height: $U6;
13 | right: $U2;
14 | @extend .stickCenterV;
15 | @extend .icono-stroke;
16 | border-radius: 0 $U16 $U16 0;
17 | border-left: none;
18 | }
19 | &:after{
20 | position: absolute;
21 | width: $U12;
22 | height: $U10;
23 | left: -1*$U12;
24 | top: -1*$U2;
25 | @extend .icono-stroke;
26 | border-right: none;
27 | border-radius: $U16 0 0 $U16;
28 |
29 | }
30 | }
--------------------------------------------------------------------------------
/sass/temp/piano.scss:
--------------------------------------------------------------------------------
1 | //*-- piano --*\\
2 | .icono-piano{
3 | width: $U28;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | margin: $U6 $U3;
7 | &:before{
8 | position: absolute;
9 | left: $U4;
10 | top: 0;
11 | width: $U1;
12 | height: 100%;
13 | box-shadow: inset 0 0 0 $U32, $U5 0, $U10 0, $U15 0;
14 | }
15 | &:after{
16 | position: absolute;
17 | width: $U3;
18 | height: $U12;
19 | left: $U3;
20 | top: 0;
21 | box-shadow: inset 0 0 0 $U32, $U5 0, $U10 0, $U15 0;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/temp/power.scss:
--------------------------------------------------------------------------------
1 | //*-- Power --*\\
2 | .icono-power{
3 | width: $U22;
4 | height: $U22;
5 | @extend .icono-stroke;
6 | border-radius: 50%;
7 | border-top-color: transparent;
8 | margin: $U6;
9 | &:before{
10 | position: absolute;
11 | top: -15%;
12 | left: $U8;
13 | width: $U2;
14 | height:60%;
15 | box-shadow: inset 0 0 0 $U32;
16 | }
17 | }
--------------------------------------------------------------------------------
/sass/temp/rename.scss:
--------------------------------------------------------------------------------
1 | //*-- Rename --*\\
2 | .icono-rename{
3 | width: $U26;
4 | height: $U10;
5 | @extend .icono-stroke;
6 | border-color: transparent;
7 | border-width: $U3;
8 | box-shadow: 0 0 0 $U1, $U11 0 0 0 inset;
9 | margin: $U12 $U4;
10 | &:before{
11 | width: $U1;
12 | height: $U18;
13 | @extend .stickCenterV;
14 | left: $U9;
15 | border-width: $U2 $U4;
16 | border-style: solid;
17 | border-right-color: transparent;
18 | border-left-color: transparent;
19 | box-shadow: 0 0 0 $U1 inset;
20 | }
21 | }
--------------------------------------------------------------------------------
/sass/temp/rss.scss:
--------------------------------------------------------------------------------
1 | //*-- RSS --*\\
2 | .icono-rss{
3 | @include square($U22);
4 | overflow: hidden;
5 | margin: $U6;
6 | &:before, &:after{
7 | position: absolute;
8 | border-radius: 50%;
9 | }
10 | &:before{
11 | @include square($U6);
12 | box-shadow: 0 0 $U32 inset;
13 | left: 0;
14 | bottom: 0;
15 | }
16 | &:after{
17 | @include square($U27);
18 | right: 15%;
19 | top: 15%;
20 | border: $U4 solid transparent;
21 | box-shadow: inset 0 0 0 $U2, 0 0 0 $U2;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/temp/ruler.scss:
--------------------------------------------------------------------------------
1 | //*-- Ruler --*\\
2 | .icono-ruler{
3 | width: $U27;
4 | height: $U12;
5 | @extend .icono-stroke;
6 | margin: $U11 $U4 $U11 $U3;
7 | &:before{
8 | position: absolute;
9 | width: $U1;
10 | height: $U4;
11 | box-shadow: inset 0 0 0 $U32, $U6 0, $U12 0;
12 | left: $U5;
13 | top: 0;
14 | }
15 | &:after{
16 | position: absolute;
17 | width: $U1;
18 | height: $U2;
19 | box-shadow: inset 0 0 0 $U32, $U2 0, $U6 0, $U8 0, $U12 0, $U14 0, $U18 0, $U20 0;
20 | left: $U1;
21 | top: 0;
22 | }
23 | }
--------------------------------------------------------------------------------
/sass/temp/signin.scss:
--------------------------------------------------------------------------------
1 | //*-- Sign in --*\\
2 | .icono-signIn{
3 | width: $U18;
4 | height: $U32;
5 | @extend .icono-stroke;
6 | border-left: none;
7 | margin-left: $U5;
8 | border-radius: 0 $U3 $U3 0;
9 | margin: $U1 $U8;
10 | &:before{
11 | position: absolute;
12 | width: $U11;
13 | height: $U11;
14 | left:-1*$U10;
15 | top:$U7;
16 | @extend .icono-stroke;
17 | border-bottom: none;
18 | border-left: none;
19 | transform: rotate(45deg);
20 | border-radius: 0 $U4 0 0;
21 | }
22 | }
--------------------------------------------------------------------------------
/sass/temp/signout.scss:
--------------------------------------------------------------------------------
1 | //*-- Sign out --*\\
2 | .icono-signOut{
3 | width: $U18;
4 | height: $U32;
5 | @extend .icono-stroke;
6 | border-right: none;
7 | margin-right: $U5;
8 | border-radius: $U3 0 0 $U3;
9 | margin: $U1 $U8;
10 | &:before{
11 | position: absolute;
12 | width: $U11;
13 | height: $U11;
14 | right:-1*$U2;
15 | top:$U7;
16 | @extend .icono-stroke;
17 | border-bottom: none;
18 | border-left: none;
19 | transform: rotate(45deg);
20 | border-radius: 0 $U4 0 0;
21 | }
22 | }
--------------------------------------------------------------------------------
/sass/temp/sitemap.scss:
--------------------------------------------------------------------------------
1 | //* Sitemap *\\
2 | .icono-sitemap {
3 | width: $U24;
4 | height: $U2;
5 | box-shadow: 0 -1*$U5;
6 | margin: $U21 $U5 $U11;
7 | &:before {
8 | @extend .stickCenterH;
9 | width: $U6;
10 | height: $U6;
11 | border-radius: $U2;
12 | box-shadow: inset 0 0 0 $U32, $U11 0, -1*$U11 0, 0 -1*$U14 0 $U1;
13 | }
14 | &:after {
15 | @extend .stickCenterH;
16 | width: $U2;
17 | height: $U10;
18 | box-shadow: 0 -1*$U7, $U11 -1*$U5, -1*$U11 -1*$U5;
19 | }
20 | }
--------------------------------------------------------------------------------
/sass/temp/sliders.scss:
--------------------------------------------------------------------------------
1 | //*-- Sliders --*\\
2 | .icono-sliders{
3 | height: $U30;
4 | width: $U30;
5 | margin: $U2;
6 | &:before, &:after{
7 | transform: translateX(-50%);
8 | left: 50%;
9 | position: absolute;
10 | }
11 | &:before{
12 | width: $U8;
13 | height: $U7;
14 | border-radius: $U2;
15 | top: 67%;
16 | box-shadow: inset 0 0 0 $U32, $U10 -1*$U10, -1*$U10 -1*$U14;
17 | }
18 | &:after{
19 | position: absolute;
20 | width: $U2;
21 | height:100%;
22 | box-shadow: inset 0 0 0 $U32, $U10 0, -1*$U10 0;
23 | }
24 | }
--------------------------------------------------------------------------------
/sass/temp/socials.scss:
--------------------------------------------------------------------------------
1 | //*-- Socials --*\\
2 | .icono-facebook{
3 | width: $U9;
4 | height: $U26;
5 | box-shadow: inset $U2 $U4 0 0;
6 | border-left: $U3 solid;
7 | border-radius: $U5 0 0 0;
8 | margin: $U4 $U11 $U4 $U14;
9 | &:before{
10 | position: absolute;
11 | top: $U9;
12 | left: -1*$U6;
13 | width: $U11;
14 | height: 0;
15 | border-top: $U4 solid;
16 | border-right: $U1 solid transparent;
17 | }
18 | }
19 | .icono-twitter{
20 | width: $U14;
21 | height: $U23;
22 | border-radius: 0 0 0 $U8;
23 | box-shadow: -1*$U6 $U2 0 0;
24 | margin: $U4 $U7 $U7 $U13;
25 | &:before{
26 | position: absolute;
27 | bottom: -1*$U2;
28 | left: -1*$U6;
29 | width: $U17;
30 | height: $U6;
31 | border-radius: 0 0 0 $U8;
32 | box-shadow: inset $U4 -1*$U6, 0 -1*$U11;
33 | }
34 | &:after{
35 | position: absolute;
36 | width: $U6;
37 | height: $U6;
38 | box-shadow: inset 0 0 0 $U32, $U13 $U8, $U13 $U19;
39 | border-radius: 50%;
40 | left: -1*$U6;
41 | }
42 | }
43 | .icono-gplus{
44 | width: $U10;
45 | height: $U2;
46 | box-shadow: inset 0 0 0 $U32;
47 | margin: $U14 $U4 $U18 $U20;
48 | &:before{
49 | position: absolute;
50 | top: -$U5;
51 | right: $U10;
52 | content: "g" !important;
53 | font-family: georgia;
54 | font-size: $U32;
55 | text-indent: 0;
56 | line-height: 0;
57 | }
58 | &:after{
59 | @extend .stickCenter;
60 | width: $U2;
61 | height: $U10;
62 | box-shadow: inset 0 0 0 $U32;
63 | }
64 | }
65 | .icono-linkedIn{
66 | width: $U5;
67 | height: $U16;
68 | box-shadow: inset 0 0 0 $U32, $U8 0;
69 | margin: $U12 $U24 $U6 $U5;
70 | &:before{
71 | position: absolute;
72 | width: $U5;
73 | height: $U5;
74 | box-shadow: inset 0 0 0 $U32;
75 | top: -1*$U7;
76 | left: 0;
77 | border-radius: 50%;
78 | }
79 | &:after{
80 | position: absolute;
81 | width: $U12;
82 | height: $U16;
83 | border-right: $U1 solid;
84 | left: $U11;
85 | bottom: 0;
86 | border-radius: $U8 $U5 0 0#{'/'}$U11 $U5 0 0;
87 | box-shadow: inset -1*$U4 $U4;
88 | }
89 | }
90 | .icono-instagram{
91 | width: $U26;
92 | height: $U26;
93 | box-shadow: inset 0 0 0 $U2;
94 | border-radius: $U4;
95 | margin: $U4;
96 | &:before{
97 | @extend .stickCenter;
98 | width: $U10;
99 | height: $U10;
100 | border-radius: 50%;
101 | box-shadow: 0 0 0 $U3;
102 | }
103 | &:after{
104 | position: absolute;
105 | width: $U5;
106 | height: $U5;
107 | border-radius: $U1;
108 | right: $U3;
109 | top: $U3;
110 | box-shadow: 0 0 0 $U2, $U1 $U1 0 $U2, -1*$U5 -1*$U1 0 $U1, -1*$U10 -1*$U1 0 $U1, -1*$U16 $U1 0 $U2;
111 | }
112 | }
113 | .icono-flickr{
114 | width: $U24;
115 | height: $U24;
116 | overflow: hidden;
117 | border-radius: $U4;
118 | margin: $U5;
119 | &:before, &:after{
120 | @extend .stickCenterV;
121 | width: $U7;
122 | height: $U7;
123 | border-radius: 50%;
124 | }
125 | &:before{
126 | left: $U4;
127 | box-shadow: 0 0 0 $U1, 0 -1*$U10 0 $U6, 0 $U10 0 $U6, -1*$U4 0 0 $U3;
128 | }
129 | &:after{
130 | right: $U4;
131 | box-shadow: 0 0 0 $U1, 0 -1*$U10 0 $U6, 0 $U10 0 $U6, $U4 0 0 $U3;
132 | }
133 | }
134 | .icono-delicious{
135 | width: $U24;
136 | height: $U24;
137 | overflow: hidden;
138 | border-radius: $U4;
139 | box-shadow: inset 0 0 0 $U2;
140 | margin: $U5;
141 | &:before{
142 | position: absolute;
143 | width: $U12;
144 | height: $U12;
145 | box-shadow: inset 0 0 0 $U32, $U12 -1*$U12 0 0;
146 | left: 0;
147 | bottom: 0;
148 | }
149 | }
150 | .icono-codepen{
151 | width: $U2;
152 | height: $U10;
153 | box-shadow: inset 0 0 0 $U32, 0 $U15, -1*$U11 $U7, $U11 $U7;
154 | margin: $U4 $U16 $U20;
155 | &:before{
156 | position: absolute;
157 | right: $U2;
158 | top: $U3;
159 | width: $U11;
160 | height: $U4;
161 | transform: skew(0, -35deg) scaleY(0.6);
162 | box-shadow: inset 0 0 0 $U32, 0 $U13, $U11 $U26, $U12 $U32+$U7;
163 | }
164 | &:after{
165 | position: absolute;
166 | left: $U2;
167 | top: $U3;
168 | width: $U11;
169 | height: $U4;
170 | transform: skew(0, 35deg) scaleY(0.6);
171 | box-shadow: inset 0 0 0 $U32, 0 $U13, -1*$U11 $U26, -1*$U12 $U32+$U7;
172 | }
173 | }
174 | .icono-blogger{
175 | width: $U24;
176 | height: $U14;
177 | border-radius: 0 0 $U7 $U7;
178 | margin: $U14 $U5 $U6;
179 | &, &:before{
180 | border-width: $U6;
181 | border-style: solid;
182 | }
183 | &:before{
184 | position: absolute;
185 | width: $U8;
186 | height: $U2;
187 | left: -1*$U6;
188 | top: -1*$U15;
189 | border-radius: $U6 $U6 0 0;
190 | }
191 | }
192 | .icono-disqus{
193 | width: $U31;
194 | height: $U31;
195 | box-shadow: inset 0 0 0 $U32;
196 | border-radius: 50%;
197 | margin: $U1 $U1 $U2 $U2;
198 | &:before{
199 | position: absolute;
200 | width: 0;
201 | height: 0;
202 | border: $U5 solid transparent;
203 | border-top: $U10 solid;
204 | transform: rotate(50deg);
205 | left: -$U5;
206 | top: $U20;
207 | }
208 | }
209 | .icono-dribbble{
210 | width: $U26;
211 | height: $U26;
212 | border-radius: 50%;
213 | box-shadow: inset 0 0 0 $U2;
214 | overflow: hidden;
215 | position: relative;
216 | background-image: radial-gradient(50% 100%, transparent 0, transparent $U9, currentColor $U10, currentColor $U11, transparent $U12);
217 | background-repeat: no-repeat;
218 | background-position: -$U8 center;
219 | transform: rotate(-25deg);
220 | margin: $U4;
221 | &:after, &:before{
222 | position: absolute;
223 | border-radius: 50%;
224 | border: $U2 solid;
225 | width: 2*$U20;
226 | height: $U30;
227 | }
228 | &:after{
229 | top: $U14;
230 | left: -$U7;
231 | width: $U32;
232 | }
233 | &:before{
234 | left: -$U6;
235 | top: -$U23;
236 | }
237 | }
238 |
239 | //*-- Youtube --*\\
240 | .icono-youtube{
241 | border-right-color: transparent;
242 | border-left-color: transparent;
243 | border-radius: $U10;
244 | width: $U32;
245 | height: $U32 / 1.4357;
246 | margin: $U6 $U1;
247 | &, &:before{
248 | @extend .icono-stroke;
249 | }
250 | &:before{
251 | position: absolute;
252 | top: 0;
253 | right: 0;
254 | bottom: 0;
255 | left: 0;
256 | border-top-color: transparent;
257 | border-bottom-color: transparent;
258 | border-radius: $U6 #{'/'} $U3;
259 | }
260 | &:after{
261 | width: 0;
262 | height: 0;
263 | @extend .stickCenter;
264 | border-width: $U4 0 $U4 $U8;
265 | border-style: solid;
266 | border-top-color: transparent;
267 | border-bottom-color: transparent;
268 | }
269 | }
--------------------------------------------------------------------------------
/sass/temp/spinner.scss:
--------------------------------------------------------------------------------
1 | //*-- Spinner --*\\
2 | .icono-spinner{
3 | width: $U22;
4 | height: $U22;
5 | border-radius: 50%;
6 | box-shadow: -1*$U16 0 0 -1*$U9,-1*$U11 -1*$U11 0 -1*$U9,0 -1*$U16 0 -1*$U9,1*$U11 -1*$U11 0 -1*$U8,1*$U16 0 0 -1*$U7,1*$U11 1*$U11 0 -1*$U7,0 1*$U16 0 -1*$U7,-1*$U11 1*$U11 0 -1*$U7;
7 | margin: $U7;
8 | }
9 |
--------------------------------------------------------------------------------
/sass/temp/sun.scss:
--------------------------------------------------------------------------------
1 | //*-- Sun --*\\
2 | .icono-sun{
3 | width: $U22;
4 | height: $U22;
5 | border: $U2 solid;
6 | border-radius: 50%;
7 | box-shadow: -1*$U15 0 0 -1*$U9, $U15 0 0 -1*$U9, 0 -1*$U15 0 -1*$U9, 0 $U15 0 -1*$U9,
8 | $U11 $U11 0 -1*$U9, -1*$U11 -1*$U11 0 -1*$U9, $U11 -1*$U11 0 -1*$U9, -1*$U11 $U11 0 -1*$U9;
9 | margin: $U6;
10 | }
--------------------------------------------------------------------------------
/sass/temp/support.scss:
--------------------------------------------------------------------------------
1 | //*-- Support --*\\
2 | .icono-support{
3 | width: $U26;
4 | height: $U26;
5 | border: $U5 solid transparent;
6 | box-shadow: 0 0 0 $U2 inset, 0 0 0 $U2;
7 | border-radius: 50%;
8 | margin: $U4;
9 | &:before{
10 | position:absolute;
11 | width: $U7;
12 | height: $U7;
13 | top: -1*$U3;
14 | left: -1*$U3;
15 | transform: rotate(45deg);
16 | box-shadow: inset 0 0 0 $U32, $U21 0 0 0;
17 | }
18 | &:after{
19 | position:absolute;
20 | width: $U7;
21 | height: $U7;
22 | top: -1*$U3;
23 | right: -1*$U3;
24 | transform: rotate(135deg);
25 | box-shadow: inset 0 0 0 $U32, $U21 0 0 0;
26 | }
27 | }
--------------------------------------------------------------------------------
/sass/temp/tag.scss:
--------------------------------------------------------------------------------
1 | //*-- Tag --*\\
2 | .icono-tag{
3 | width: $U18;
4 | height: $U24;
5 | @extend .icono-stroke;
6 | border-radius: $U6 $U6 $U4 $U4;
7 | border-top: none;
8 | transform: rotate(45deg);
9 | margin: $U5 $U8;
10 | &:before{
11 | position: absolute;
12 | top: -1*$U4;
13 | left: $U1;
14 | width: $U10;
15 | height: $U10;
16 | border-width: $U2 0 0 $U2;
17 | border-style: solid;
18 | transform: rotate(45deg);
19 | border-radius: $U5 0 0 0;
20 | }
21 | &:after{
22 | @extend .stickCenterH;
23 | top: $U1;
24 | width: $U3;
25 | height: $U3;
26 | @extend .icono-stroke;
27 | border-radius: 50%;
28 | }
29 | }
--------------------------------------------------------------------------------
/sass/temp/terminal.scss:
--------------------------------------------------------------------------------
1 | //*-- Terminal --*\\
2 | .icono-terminal{
3 | width: $U28;
4 | height: $U24;
5 | @extend .icono-stroke;
6 | margin: $U5 $U3;
7 | &:before{
8 | width: $U5;
9 | height: $U5;
10 | position: absolute;
11 | top: 50%;
12 | transform: translateY(-50%) rotate(45deg);
13 | left: $U3;
14 | border-width: $U2 $U2 0 0;
15 | border-style: solid;
16 | }
17 | &:after{
18 | position: absolute;
19 | width: $U5;
20 | height: 0;
21 | border-bottom: $U2 solid;
22 | right: $U6;
23 | bottom: $U4;
24 |
25 | }
26 | }
--------------------------------------------------------------------------------
/sass/temp/trash.scss:
--------------------------------------------------------------------------------
1 | //*-- Trash --*\\
2 | .icono-trash{
3 | width: $U22;
4 | height: $U22;
5 | border-radius: 0 0 $U3 $U3;
6 | @extend .icono-stroke;
7 | border-top: none;
8 | margin: $U9 $U6 $U3;
9 | &:before{
10 | width: $U8;
11 | height: $U2;
12 | @extend .stickCenterH;
13 | top: -1*$U6;
14 | box-shadow: inset 0 0 0 $U32, -1*$U10 1*$U2 0 0, -1*$U6 1*$U2 0 0, 0 $U2 0 0, $U6 $U2 0 0, $U10 $U2 0 0;
15 | }
16 | }
--------------------------------------------------------------------------------
/sass/temp/user.scss:
--------------------------------------------------------------------------------
1 | //*-- User --*\\
2 | .icono-user{
3 | width: $U32;
4 | height: $U14;
5 | @extend .icono-stroke;
6 | border-radius: 2*$U32 2*$U32 0 0 #{'/'} 2*$U32;
7 | margin: $U18 $U1 $U2;
8 | &:before{
9 | @include square($U12);
10 | @extend .stickCenterH;
11 | top: -1*$U20;
12 | @extend .icono-stroke;
13 | border-radius: 50%;
14 | }
15 | &:after{
16 |
17 | }
18 | }
--------------------------------------------------------------------------------
/sass/temp/video.scss:
--------------------------------------------------------------------------------
1 | //*-- Video --*\\
2 | .icono-video{
3 | width: $U20;
4 | height: $U20;
5 | @extend .icono-stroke;
6 | margin: $U7 $U7;
7 | &:before{
8 | @extend .stickCenterV;
9 | width: $U3;
10 | height: $U3;
11 | left: -1*$U8;
12 | box-shadow: inset 0 0 0 $U32, 0 -1*$U8 0 0, 0 $U8 0 0, $U29 0 0 0,$U29 -1*$U8 0 0, $U29 $U8 0 0;
13 | }
14 | &:after{
15 | @extend .stickCenter;
16 | width: 0;
17 | height: 0;
18 | border-width: $U4 0 $U4 $U6;
19 | border-style: solid;
20 | border-top-color: transparent;
21 | border-bottom-color: transparent;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/sass/variables.scss:
--------------------------------------------------------------------------------
1 | // front color of icons
2 | $maincolor: #ddd;
3 |
4 | // 整体缩放因子,影响所有图标,包括线宽都会被改变
5 | $size: 32px; //pixel for this version
6 |
7 | $U1: ceil($size/32);
8 | $U2: ceil($size/16);
9 | $U3: ceil($size/12);
10 | $U4: ceil($size/8);
11 | $U5: ceil($size/7);
12 | $U6: ceil($size/5.4);
13 | $U7: ceil($size/4.9);
14 | $U8: ceil($size/4);
15 | $U9: ceil($size/3.7);
16 | $U10: ceil($size/3.2);
17 | $U11: ceil($size/3.1);
18 | $U12: ceil($size/2.7);
19 | $U13: ceil($size/2.5);
20 | $U14: ceil($size/2.3);
21 | $U15: ceil($size/2.2);
22 | $U16: ceil($size/2);
23 | $U17: ceil($size/1.9);
24 | $U18: ceil($size/1.8);
25 | $U19: ceil($size/1.7);
26 | $U20: ceil($size/1.6);
27 | $U21: ceil($size/1.55);
28 | $U22: ceil($size/1.5);
29 | $U23: ceil($size/1.4);
30 | $U24: ceil($size/1.34);
31 | $U25: ceil($size/1.3);
32 | $U26: ceil($size/1.25);
33 | $U27: ceil($size/1.2);
34 | $U28: ceil($size/1.15);
35 | $U29: ceil($size/1.12);
36 | $U30: ceil($size/1.1);
37 | $U31: ceil($size/1.05);
38 | $U32: $size;
39 |
40 | // icon stroke
41 | $stroke: 2px solid;
42 | $strokeSize: 2px;
43 |
44 | // icon size 只影响图标自身大小,不影响线宽
45 | // 原理:将i标签的font-size设置为iconSize,后代使用em单位来做对父级的响应。
46 | // 所以,单独设置i标签的font-size就可以控制单个图标的大小了
47 | // PS: 设置图标的宽高是不能影响图标的实际大小的,图标大小只受内部before和after影响。
48 | $iconSize: 20px;
--------------------------------------------------------------------------------