@libs-ui/icon-font 0.2.304 → 0.2.306-10

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,22 +12,25 @@ h1 {
12
12
  font-weight: normal;
13
13
  }
14
14
  small {
15
- font-size: .66666667em;
15
+ font-size: 0.66666667em;
16
16
  }
17
17
  a {
18
18
  color: #e74c3c;
19
19
  text-decoration: none;
20
20
  }
21
- a:hover, a:focus {
21
+ a:hover,
22
+ a:focus {
22
23
  box-shadow: 0 1px #e74c3c;
23
24
  }
24
- .bshadow0, input {
25
+ .bshadow0,
26
+ input {
25
27
  box-shadow: inset 0 -2px #e7e7e7;
26
28
  }
27
29
  input:hover {
28
30
  box-shadow: inset 0 -2px #ccc;
29
31
  }
30
- input, fieldset {
32
+ input,
33
+ fieldset {
31
34
  font-family: sans-serif;
32
35
  font-size: 1em;
33
36
  margin: 0;
@@ -38,7 +41,7 @@ input {
38
41
  color: inherit;
39
42
  line-height: 1.5;
40
43
  height: 1.5em;
41
- padding: .25em 0;
44
+ padding: 0.25em 0;
42
45
  }
43
46
  input:focus {
44
47
  outline: none;
@@ -77,19 +80,22 @@ p {
77
80
  margin-bottom: 1em;
78
81
  }
79
82
  .mvm {
80
- margin-top: .75em;
81
- margin-bottom: .75em;
83
+ margin-top: 0.75em;
84
+ margin-bottom: 0.75em;
82
85
  }
83
86
  .mtn {
84
87
  margin-top: 0;
85
88
  }
86
- .mtl, .mal {
89
+ .mtl,
90
+ .mal {
87
91
  margin-top: 1.5em;
88
92
  }
89
- .mbl, .mal {
93
+ .mbl,
94
+ .mal {
90
95
  margin-bottom: 1.5em;
91
96
  }
92
- .mal, .mhl {
97
+ .mal,
98
+ .mhl {
93
99
  margin-left: 1.5em;
94
100
  margin-right: 1.5em;
95
101
  }
@@ -98,16 +104,18 @@ p {
98
104
  margin-right: 1em;
99
105
  }
100
106
  .mls {
101
- margin-left: .25em;
107
+ margin-left: 0.25em;
102
108
  }
103
109
  .ptl {
104
110
  padding-top: 1.5em;
105
111
  }
106
- .pbs, .pvs {
107
- padding-bottom: .25em;
112
+ .pbs,
113
+ .pvs {
114
+ padding-bottom: 0.25em;
108
115
  }
109
- .pvs, .pts {
110
- padding-top: .25em;
116
+ .pvs,
117
+ .pts {
118
+ padding-top: 0.25em;
111
119
  }
112
120
  .unit {
113
121
  float: left;
@@ -121,8 +129,9 @@ p {
121
129
  .size1of1 {
122
130
  width: 100%;
123
131
  }
124
- .clearfix:before, .clearfix:after {
125
- content: " ";
132
+ .clearfix:before,
133
+ .clearfix:after {
134
+ content: ' ';
126
135
  display: table;
127
136
  }
128
137
  .clearfix:after {
@@ -134,7 +143,7 @@ p {
134
143
  .textbox0 {
135
144
  width: 3em;
136
145
  background: #f1f1f1;
137
- padding: .25em .5em;
146
+ padding: 0.25em 0.5em;
138
147
  line-height: 1.5;
139
148
  height: 1.5em;
140
149
  }
@@ -149,4 +158,3 @@ p {
149
158
  .fs1 {
150
159
  font-size: 32px;
151
160
  }
152
-
@@ -1,30 +1,29 @@
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" &&
8
- target.getAttribute('class').indexOf('liga') === -1) {
9
- target.select();
10
- }
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
+ }
11
10
  });
12
11
 
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';
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);
25
20
  }
26
- fontSize.addEventListener('change', updateSize, false);
27
- testText.addEventListener('input', updateTest, false);
28
- testText.addEventListener('change', updateTest, false);
29
- updateSize();
30
- }());
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
+ })();