@libs-ui/icon-font 0.2.325-0 → 0.2.326-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,25 +12,22 @@ h1 {
12
12
  font-weight: normal;
13
13
  }
14
14
  small {
15
- font-size: 0.66666667em;
15
+ font-size: .66666667em;
16
16
  }
17
17
  a {
18
18
  color: #e74c3c;
19
19
  text-decoration: none;
20
20
  }
21
- a:hover,
22
- a:focus {
21
+ a:hover, a:focus {
23
22
  box-shadow: 0 1px #e74c3c;
24
23
  }
25
- .bshadow0,
26
- input {
24
+ .bshadow0, input {
27
25
  box-shadow: inset 0 -2px #e7e7e7;
28
26
  }
29
27
  input:hover {
30
28
  box-shadow: inset 0 -2px #ccc;
31
29
  }
32
- input,
33
- fieldset {
30
+ input, fieldset {
34
31
  font-family: sans-serif;
35
32
  font-size: 1em;
36
33
  margin: 0;
@@ -41,7 +38,7 @@ input {
41
38
  color: inherit;
42
39
  line-height: 1.5;
43
40
  height: 1.5em;
44
- padding: 0.25em 0;
41
+ padding: .25em 0;
45
42
  }
46
43
  input:focus {
47
44
  outline: none;
@@ -80,22 +77,19 @@ p {
80
77
  margin-bottom: 1em;
81
78
  }
82
79
  .mvm {
83
- margin-top: 0.75em;
84
- margin-bottom: 0.75em;
80
+ margin-top: .75em;
81
+ margin-bottom: .75em;
85
82
  }
86
83
  .mtn {
87
84
  margin-top: 0;
88
85
  }
89
- .mtl,
90
- .mal {
86
+ .mtl, .mal {
91
87
  margin-top: 1.5em;
92
88
  }
93
- .mbl,
94
- .mal {
89
+ .mbl, .mal {
95
90
  margin-bottom: 1.5em;
96
91
  }
97
- .mal,
98
- .mhl {
92
+ .mal, .mhl {
99
93
  margin-left: 1.5em;
100
94
  margin-right: 1.5em;
101
95
  }
@@ -104,18 +98,16 @@ p {
104
98
  margin-right: 1em;
105
99
  }
106
100
  .mls {
107
- margin-left: 0.25em;
101
+ margin-left: .25em;
108
102
  }
109
103
  .ptl {
110
104
  padding-top: 1.5em;
111
105
  }
112
- .pbs,
113
- .pvs {
114
- padding-bottom: 0.25em;
106
+ .pbs, .pvs {
107
+ padding-bottom: .25em;
115
108
  }
116
- .pvs,
117
- .pts {
118
- padding-top: 0.25em;
109
+ .pvs, .pts {
110
+ padding-top: .25em;
119
111
  }
120
112
  .unit {
121
113
  float: left;
@@ -129,9 +121,8 @@ p {
129
121
  .size1of1 {
130
122
  width: 100%;
131
123
  }
132
- .clearfix:before,
133
- .clearfix:after {
134
- content: ' ';
124
+ .clearfix:before, .clearfix:after {
125
+ content: " ";
135
126
  display: table;
136
127
  }
137
128
  .clearfix:after {
@@ -143,7 +134,7 @@ p {
143
134
  .textbox0 {
144
135
  width: 3em;
145
136
  background: #f1f1f1;
146
- padding: 0.25em 0.5em;
137
+ padding: .25em .5em;
147
138
  line-height: 1.5;
148
139
  height: 1.5em;
149
140
  }
@@ -158,3 +149,4 @@ p {
158
149
  .fs1 {
159
150
  font-size: 32px;
160
151
  }
152
+
@@ -1,29 +1,30 @@
1
1
  if (!('boxShadow' in document.body.style)) {
2
- document.body.setAttribute('class', 'noBoxShadow');
2
+ document.body.setAttribute('class', 'noBoxShadow');
3
3
  }
4
4
 
5
- document.body.addEventListener('click', function (e) {
6
- var target = e.target;
7
- if (target.tagName === 'INPUT' && target.getAttribute('class').indexOf('liga') === -1) {
8
- target.select();
9
- }
5
+ document.body.addEventListener("click", function(e) {
6
+ var target = e.target;
7
+ if (target.tagName === "INPUT" &&
8
+ target.getAttribute('class').indexOf('liga') === -1) {
9
+ target.select();
10
+ }
10
11
  });
11
12
 
12
- (function () {
13
- var fontSize = document.getElementById('fontSize'),
14
- testDrive = document.getElementById('testDrive'),
15
- testText = document.getElementById('testText');
16
- function updateTest() {
17
- testDrive.innerHTML = testText.value || String.fromCharCode(160);
18
- if (window.icomoonLiga) {
19
- window.icomoonLiga(testDrive);
13
+ (function() {
14
+ var fontSize = document.getElementById('fontSize'),
15
+ testDrive = document.getElementById('testDrive'),
16
+ testText = document.getElementById('testText');
17
+ function updateTest() {
18
+ testDrive.innerHTML = testText.value || String.fromCharCode(160);
19
+ if (window.icomoonLiga) {
20
+ window.icomoonLiga(testDrive);
21
+ }
22
+ }
23
+ function updateSize() {
24
+ testDrive.style.fontSize = fontSize.value + 'px';
20
25
  }
21
- }
22
- function updateSize() {
23
- testDrive.style.fontSize = fontSize.value + 'px';
24
- }
25
- fontSize.addEventListener('change', updateSize, false);
26
- testText.addEventListener('input', updateTest, false);
27
- testText.addEventListener('change', updateTest, false);
28
- updateSize();
29
- })();
26
+ fontSize.addEventListener('change', updateSize, false);
27
+ testText.addEventListener('input', updateTest, false);
28
+ testText.addEventListener('change', updateTest, false);
29
+ updateSize();
30
+ }());