@finqu/cool 1.2.15 → 1.2.16

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI v1.2.14 (https://finqu.fi)
2
+ * Cool UI v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI v1.2.14 (https://finqu.fi)
2
+ * Cool UI v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
package/dist/js/cool.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI v1.2.14 (https://finqu.fi)
2
+ * Cool UI v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
package/html/index.html CHANGED
@@ -108,6 +108,12 @@
108
108
 
109
109
  </a>
110
110
 
111
+ <span class="nav-additional-action">
112
+
113
+ <i class="fas fa-plus icon"></i>
114
+
115
+ </span>
116
+
111
117
  </li>
112
118
 
113
119
  <li class="nav-parent">
@@ -120,6 +126,10 @@
120
126
  Buttons
121
127
  </span>
122
128
 
129
+ <span data-collapse-indicator class="show">
130
+ <i class="fas fa-angle-down icon"></i>
131
+ </span>
132
+
123
133
  </a>
124
134
 
125
135
  </li>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI collapse.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI collapse.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
package/js/dist/common.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI common.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI common.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI dropdown.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI dropdown.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI popover.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI popover.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI sectiontabs.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI sectiontabs.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
package/js/dist/select.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI select.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI select.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI tooltip.js v1.2.14 (https://finqu.fi)
2
+ * Cool UI tooltip.js v1.2.15 (https://finqu.fi)
3
3
  * Copyright 2011-2020 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finqu/cool",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "Finqu UI package",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/_frame.scss CHANGED
@@ -224,6 +224,11 @@
224
224
  background-color: rgba(0,0,0,0.8);
225
225
  }
226
226
 
227
+ .collapse,
228
+ .collapsing {
229
+ width: 100%;
230
+ }
231
+
227
232
  .nav {
228
233
  position: relative;
229
234
  margin: 0;
@@ -231,36 +236,24 @@
231
236
  list-style: none;
232
237
 
233
238
  li {
234
- display: block;
239
+ display: flex;
240
+ align-items: center;
241
+ flex-wrap: wrap;
235
242
  position: relative;
236
243
 
237
- &.has-additional-link {
238
- > a:not(.additional-link) {
239
- width: calc(100% - 60px);
240
- }
241
-
242
- .additional-link {
243
- position: relative;
244
- width: 16px;
245
- height: 25px;
246
- box-sizing: content-box;
247
- vertical-align: top;
248
-
249
- &:hover {
250
- .icon {
251
- color: $frame-sidebar-nav-icon-hover-color;
252
- }
253
- }
244
+ .nav-additional-action {
245
+ padding: 8px 19px;
246
+ flex: 0 auto;
254
247
 
248
+ &:hover {
255
249
  .icon {
256
- display: flex;
257
- align-items: center;
258
- justify-content: flex-end;
259
- height: 100%;
260
- margin-left: 6px;
261
- color: $frame-sidebar-nav-icon-color;
250
+ color: $frame-sidebar-nav-icon-hover-color;
262
251
  }
263
252
  }
253
+
254
+ .icon {
255
+ color: $frame-sidebar-nav-icon-color;
256
+ }
264
257
  }
265
258
 
266
259
  &.nav-parent {
@@ -331,9 +324,7 @@
331
324
  .nav-item {
332
325
  position: relative;
333
326
  display: inline-flex;
334
- flex-basis: auto;
335
- flex-grow: 1;
336
- width: 100%;
327
+ flex: 1 0;
337
328
  cursor: pointer;
338
329
  padding: 8px 20px;
339
330
  margin: 0;
@@ -369,13 +360,13 @@
369
360
  li {
370
361
 
371
362
  &.divider {
372
- margin-left: 67px;
363
+ margin-left: 65px;
373
364
  margin-right: 20px;
374
365
  border-bottom: 1px solid $frame-sidebar-nav-item-border-color;
375
366
  }
376
367
 
377
368
  > .nav-item {
378
- padding-left: 67px;
369
+ padding-left: 65px;
379
370
  }
380
371
  }
381
372
  }