head 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11835ad46d870dcdc415a869c67328331f67eff34b8d1e704c2df9b184f48e30
4
- data.tar.gz: f913154fbd0cb1b807fec777b50a736b25352232d88d67ea60d2ecc9abc489e2
3
+ metadata.gz: fed25e922ef5971cee84f0a126455fc7905b22cad95e682bc7d4ec9d73e45a67
4
+ data.tar.gz: 92b16e33d79efbc6f61a8eed32e1ddacdae0895c87b275b6e2639df3ab5786c4
5
5
  SHA512:
6
- metadata.gz: a79743be804f0101a40d6696fd4266641ac1741bd7451d2e5558ff6b6b90160c6461bb40124b4c8938a903e0101193ff383c7099a7df01c3ba8fa56df961fc92
7
- data.tar.gz: 4ec8047baec015c2a05d96914ce983f81e2c4e3c4316980b86d4226a00948d8816039512f4a9a6a8a3a61a5360dbf0f6f266d8b6b734933a29fce3eee7df22cb
6
+ metadata.gz: c34f9d1f4238f5bf21a93f278e39aebce14701ba695c3a14d8992c939249cd212259993b2483940c8a89de7ff9d0b79e1c64ad777eaa3f2c9d4f4bb00eea2d9e
7
+ data.tar.gz: 1ba05cbd6fb2cf090759eee12f0a782ad232c3dfe70c40b00bee4b5bacf6cecc8045e1fdf1ef62eabbab276020f17b5cb3fd25568390206fa2b616e01a7593ca
Binary file
@@ -7,13 +7,21 @@
7
7
  "iconSets": [
8
8
  {
9
9
  "selection": [
10
+ {
11
+ "order": 10,
12
+ "id": 8,
13
+ "name": "volume",
14
+ "prevSize": 32,
15
+ "code": 59655,
16
+ "tempChar": ""
17
+ },
10
18
  {
11
19
  "order": 9,
12
20
  "id": 7,
13
21
  "name": "gear",
14
22
  "prevSize": 32,
15
23
  "code": 59654,
16
- "tempChar": ""
24
+ "tempChar": ""
17
25
  },
18
26
  {
19
27
  "order": 8,
@@ -21,7 +29,7 @@
21
29
  "name": "question-mark",
22
30
  "prevSize": 32,
23
31
  "code": 59648,
24
- "tempChar": ""
32
+ "tempChar": ""
25
33
  },
26
34
  {
27
35
  "order": 7,
@@ -29,7 +37,7 @@
29
37
  "name": "bell-ringing",
30
38
  "prevSize": 32,
31
39
  "code": 59649,
32
- "tempChar": ""
40
+ "tempChar": ""
33
41
  },
34
42
  {
35
43
  "order": 6,
@@ -37,7 +45,7 @@
37
45
  "name": "bell",
38
46
  "prevSize": 32,
39
47
  "code": 59650,
40
- "tempChar": ""
48
+ "tempChar": ""
41
49
  },
42
50
  {
43
51
  "order": 5,
@@ -45,7 +53,7 @@
45
53
  "name": "magnifier",
46
54
  "prevSize": 32,
47
55
  "code": 59651,
48
- "tempChar": ""
56
+ "tempChar": ""
49
57
  },
50
58
  {
51
59
  "order": 4,
@@ -53,7 +61,7 @@
53
61
  "name": "bars-thin",
54
62
  "prevSize": 32,
55
63
  "code": 59652,
56
- "tempChar": ""
64
+ "tempChar": ""
57
65
  },
58
66
  {
59
67
  "order": 3,
@@ -61,7 +69,7 @@
61
69
  "name": "bars-bold",
62
70
  "prevSize": 32,
63
71
  "code": 59653,
64
- "tempChar": ""
72
+ "tempChar": ""
65
73
  }
66
74
  ],
67
75
  "id": 0,
@@ -75,6 +83,21 @@
75
83
  "height": 1024,
76
84
  "prevSize": 32,
77
85
  "icons": [
86
+ {
87
+ "id": 8,
88
+ "paths": [
89
+ "M480.896 190.848v-105.515h62.251v105.515c-10.368-0.768-20.736-1.195-31.147-1.195s-20.779 0.427-31.104 1.195zM327.808 233.6l-40.448-97.579c18.603-9.045 37.803-16.981 57.557-23.808l40.363 97.579c-8.96 2.901-17.835 6.187-26.624 9.728-10.539 4.267-20.821 8.96-30.848 14.080zM641.237 210.645l41.045-97.28c19.712 6.912 38.827 15.019 57.387 24.192l-41.045 97.237c-10.837-5.547-21.931-10.667-33.237-15.275-7.979-3.243-16-6.187-24.149-8.875zM875.691 413.056l97.579-40.405c9.045 18.603 16.981 37.76 23.851 57.515l-97.621 40.405c-2.901-8.96-6.187-17.835-9.728-26.667-4.267-10.539-8.96-20.779-14.080-30.848zM777.429 287.872l74.624-74.581c15.531 13.781 30.208 28.459 43.989 43.989l-74.624 74.624c-6.741-7.851-13.781-15.445-21.163-22.827s-15.019-14.464-22.827-21.205zM202.581 331.861l-74.624-74.581c13.739-15.531 28.459-30.251 43.989-43.989l74.624 74.581c-7.808 6.741-15.445 13.781-22.827 21.163s-14.421 15.019-21.163 22.827zM148.309 781.44l-97.579 40.363c-9.045-18.56-16.981-37.76-23.851-57.515l97.621-40.405c2.901 8.96 6.187 17.835 9.728 26.667 4.267 10.539 8.96 20.821 14.080 30.891zM898.645 726.443l97.28 41.045c-6.912 19.669-15.019 38.827-24.192 57.344l-97.237-41.003c5.547-10.837 10.667-21.931 15.275-33.28 3.243-7.936 6.187-16 8.875-24.107zM1024 628.352h-105.557c0.811-10.325 1.152-20.693 1.152-31.147 0-10.411-0.384-20.779-1.152-31.104h105.557v62.251zM821.419 862.592l74.624 74.624c-13.781 15.531-28.459 30.251-44.032 44.032l-74.581-74.624c7.851-6.741 15.445-13.824 22.827-21.205s14.421-15.019 21.163-22.827zM125.355 468.011l-97.28-41.045c6.912-19.669 15.019-38.827 24.192-57.344l97.237 41.003c-5.547 10.837-10.667 21.931-15.275 33.28-3.243 7.936-6.187 16-8.875 24.107zM105.557 628.352h-105.557v-62.251h105.557c-0.811 10.325-1.152 20.693-1.152 31.104-0.043 10.453 0.341 20.821 1.152 31.147zM246.571 906.624l-74.752 74.709-43.989-43.989 74.752-74.752c6.741 7.851 13.781 15.445 21.163 22.827s15.019 14.421 22.827 21.205zM512 274.901c-177.707 0-322.304 144.597-322.304 322.304s144.597 322.304 322.304 322.304 322.304-144.597 322.304-322.304-144.597-322.304-322.304-322.304zM414.933 567.765l-92.075-92.075 60.288-60.373 92.075 92.075-60.288 60.373z"
90
+ ],
91
+ "attrs": [
92
+ {}
93
+ ],
94
+ "isMulticolor": false,
95
+ "isMulticolor2": false,
96
+ "grid": 0,
97
+ "tags": [
98
+ "volume"
99
+ ]
100
+ },
78
101
  {
79
102
  "id": 7,
80
103
  "paths": [
@@ -138,7 +161,7 @@
138
161
  {
139
162
  "id": 3,
140
163
  "paths": [
141
- "M1015.851 923.563l-264.747-264.747c49.792-68.48 79.232-152.704 79.232-243.669 0-228.907-186.24-415.147-415.189-415.147-228.907 0-415.147 186.24-415.147 415.147 0 228.949 186.24 415.147 415.147 415.147 86.784 0 167.381-26.752 234.112-72.448l266.155 266.155 100.437-100.437zM121.771 415.147c0-161.792 131.627-293.419 293.419-293.419s293.419 131.627 293.419 293.419-131.627 293.419-293.419 293.419c-161.835 0-293.419-131.627-293.419-293.419z"
164
+ "M903.339 1024l-315.179-315.179c-59.221 37.291-129.024 59.179-204.16 59.179-212.096 0-384-171.904-384-384s171.904-384 384-384 384 171.904 384 384c0 75.136-21.931 144.981-59.179 204.16l315.179 315.179-120.661 120.661zM384 682.667c164.651 0 298.667-133.973 298.667-298.667s-134.016-298.667-298.667-298.667-298.667 133.973-298.667 298.667 134.016 298.667 298.667 298.667z"
142
165
  ],
143
166
  "attrs": [
144
167
  {}
@@ -9,7 +9,7 @@
9
9
  padding-right: 0.25em
10
10
  text-decoration: none
11
11
  +spacing.padding-vertical--tiny
12
- +font-size.gigantic
12
+ +font-size.huge
13
13
 
14
14
  +link.states
15
15
  color: colors.$steel-gray
@@ -22,7 +22,6 @@
22
22
 
23
23
  &--identicon
24
24
  max-width: 1em
25
- border-radius: 50%
26
25
  aspect-ratio: 1
27
26
  display: grid
28
27
  place-items: center
@@ -34,12 +33,14 @@
34
33
  object-fit: contain
35
34
 
36
35
  &--avatar
37
- max-width: 1em
38
- border-radius: 50%
36
+ max-width: 1.4em
39
37
  aspect-ratio: 1
40
38
  display: grid
41
39
  place-items: center
42
40
  overflow: hidden
41
+ padding: 0
42
+ // padding-right: 0.25em
43
+ padding-left: 0.25em
43
44
 
44
45
  img
45
46
  width: 100%
@@ -1,5 +1,6 @@
1
1
  @use "iglu/spacing"
2
2
  @use "head/settings/colors"
3
+ @use "iglu/font-size"
3
4
 
4
5
  .c-head-theater
5
6
  height: 100%
@@ -9,6 +10,7 @@
9
10
  &__roof
10
11
  background-color: #444
11
12
  display: grid
13
+ line-height: 1 // Conformity of knobs
12
14
  align-items: center
13
15
  grid-template-columns: auto 1fr auto
14
16
  grid-template-areas: "knobs--left logo knobs--right"
@@ -35,6 +37,7 @@
35
37
  color: colors.$white
36
38
  padding: 0.3rem
37
39
  overflow: auto // Clip wide logos on small screens
40
+ +font-size.gigantic
38
41
 
39
42
  &:active
40
43
  top: 1px
@@ -1,4 +1,4 @@
1
- @use 'head/settings/icons'
1
+ @use 'head/settings/headicons'
2
2
 
3
3
  .o-headicon
4
4
  font-family: "headicons"
@@ -13,16 +13,20 @@
13
13
 
14
14
  .o-headicon--bars-bold
15
15
  &:before
16
- content: icons.$bars-bold
16
+ content: headicons.$bars-bold
17
+
18
+ .o-headicon--bars-thin
19
+ &:before
20
+ content: headicons.$bars-bold
17
21
 
18
22
  .o-headicon--magnifier
19
23
  &:before
20
- content: icons.$magnifier
24
+ content: headicons.$magnifier
21
25
 
22
26
  .o-headicon--bell
23
27
  &:before
24
- content: icons.$bell
28
+ content: headicons.$bell
25
29
 
26
30
  .o-headicon--gear
27
31
  &:before
28
- content: icons.$gear
32
+ content: headicons.$gear
@@ -1,3 +1,4 @@
1
+ $volume: "\e907";
1
2
  $gear: "\e906";
2
3
  $question-mark: "\e900";
3
4
  $bell-ringing: "\e901";
@@ -25,7 +25,7 @@ module Head
25
25
 
26
26
  def icon
27
27
  return manual_icon if manual_icon
28
- return :'bars-bold' if preset_mainmenu?
28
+ return :'bars-thin' if preset_mainmenu?
29
29
  return :bell if preset_notifications?
30
30
  return :gear if preset_settings?
31
31
 
data/lib/head/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Head
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: head
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo
@@ -118,7 +118,7 @@ files:
118
118
  - LICENSE.txt
119
119
  - README.md
120
120
  - app/assets/fonts/head/headicons.woff
121
- - app/assets/fonts/icomoon.json
121
+ - app/assets/fonts/head/icomoon.json
122
122
  - app/assets/javascript/head/index.js
123
123
  - app/assets/javascript/head/knob.js
124
124
  - app/assets/javascript/head/wing.js
@@ -131,7 +131,7 @@ files:
131
131
  - app/assets/stylesheets/head/objects/headicon.sass
132
132
  - app/assets/stylesheets/head/package.json
133
133
  - app/assets/stylesheets/head/settings/_colors.sass
134
- - app/assets/stylesheets/head/settings/_icons.scss
134
+ - app/assets/stylesheets/head/settings/_headicons.scss
135
135
  - app/assets/stylesheets/head/tools/_cloud.sass
136
136
  - app/assets/stylesheets/head/tools/_link.sass
137
137
  - app/assets/stylesheets/head/tools/_mandatory.sass