priority-nav 1.0.12 → 1.0.14

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,14 +1,14 @@
1
- .wrapper{
2
- max-width: $wrapper;
3
- margin: 0 auto;
4
- @media (max-width: $wrapper + 80px) {
5
- padding-left: 4rem;
6
- padding-right: 4rem;
7
- max-width: 100%;
8
- }
9
- }
10
-
11
- .wrapper--big{
12
- max-width: $wrapper--big;
13
- margin: 0 auto;
1
+ .wrapper{
2
+ max-width: $wrapper;
3
+ margin: 0 auto;
4
+ @media (max-width: $wrapper + 80px) {
5
+ padding-left: 4rem;
6
+ padding-right: 4rem;
7
+ max-width: 100%;
8
+ }
9
+ }
10
+
11
+ .wrapper--big{
12
+ max-width: $wrapper--big;
13
+ margin: 0 auto;
14
14
  }
@@ -1,14 +1,14 @@
1
- /**
2
- * @_boxmodel.css
3
- * The CSS box model is essentially a box that wraps around HTML elements,
4
- * and it consists of: margins, borders, padding, and the actual content.
5
- */
6
-
7
- /* apply a natural box layout model to all elements, but allowing components to change */
8
- html {
9
- box-sizing: border-box;
10
- }
11
-
12
- *, *:before, *:after {
13
- box-sizing: inherit;
1
+ /**
2
+ * @_boxmodel.css
3
+ * The CSS box model is essentially a box that wraps around HTML elements,
4
+ * and it consists of: margins, borders, padding, and the actual content.
5
+ */
6
+
7
+ /* apply a natural box layout model to all elements, but allowing components to change */
8
+ html {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ *, *:before, *:after {
13
+ box-sizing: inherit;
14
14
  }
@@ -1,37 +1,37 @@
1
- /*
2
- * Sets the base font to 10px for easier math
3
- */
4
- html {
5
- font-size: 62.5%;
6
- }
7
-
8
- /*
9
- * Sets the default sizing to make sure nothing is actually 10px
10
- */
11
- body {
12
- font-size: 18px;
13
- font-size: 1.8rem;
14
-
15
- font-family: 'Open Sans', sans-serif;
16
- color: $black;
17
-
18
- /*
19
- * Force Anti-aliasing
20
- */
21
- -webkit-font-smoothing: antialiased;
22
- }
23
-
24
- /*
25
- * Voodoo to enable ligatures and kerning
26
- */
27
- h1, h2, h3, h4, h5, h6 {
28
- margin-top: 0;
29
- text-rendering: optimizeLegibility;
30
- }
31
-
32
- p{
33
- line-height: 1.7;
34
- }
35
- strong{
36
- font-weight: $semi;
37
- }
1
+ /*
2
+ * Sets the base font to 10px for easier math
3
+ */
4
+ html {
5
+ font-size: 62.5%;
6
+ }
7
+
8
+ /*
9
+ * Sets the default sizing to make sure nothing is actually 10px
10
+ */
11
+ body {
12
+ font-size: 18px;
13
+ font-size: 1.8rem;
14
+
15
+ font-family: 'Open Sans', sans-serif;
16
+ color: $black;
17
+
18
+ /*
19
+ * Force Anti-aliasing
20
+ */
21
+ -webkit-font-smoothing: antialiased;
22
+ }
23
+
24
+ /*
25
+ * Voodoo to enable ligatures and kerning
26
+ */
27
+ h1, h2, h3, h4, h5, h6 {
28
+ margin-top: 0;
29
+ text-rendering: optimizeLegibility;
30
+ }
31
+
32
+ p{
33
+ line-height: 1.7;
34
+ }
35
+ strong{
36
+ font-weight: $semi;
37
+ }
@@ -1,12 +1,12 @@
1
- .github{
2
- svg{
3
- vertical-align: middle;
4
- margin-right: 1.5rem;
5
- }
6
- color: $black;
7
- font-size: 1.6rem;
8
-
9
- &:hover{
10
- color: $blue;
11
- }
1
+ .github{
2
+ svg{
3
+ vertical-align: middle;
4
+ margin-right: 1.5rem;
5
+ }
6
+ color: $black;
7
+ font-size: 1.6rem;
8
+
9
+ &:hover{
10
+ color: $blue;
11
+ }
12
12
  }
@@ -1,15 +1,15 @@
1
- h1{
2
- background-color: #FFF;
3
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
4
- font-weight: $bold;
5
- color: $blue;
6
- padding: 2rem 4rem;
7
- display: inline-block;
8
- margin: 0;
9
- margin-left: -4rem;
10
- font-size: 2.6rem;
11
-
12
- @media (max-width: $smartphone-landscape) {
13
- margin-left: 0;
14
- }
1
+ h1{
2
+ background-color: #FFF;
3
+ box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
4
+ font-weight: $bold;
5
+ color: $blue;
6
+ padding: 2rem 4rem;
7
+ display: inline-block;
8
+ margin: 0;
9
+ margin-left: -4rem;
10
+ font-size: 2.6rem;
11
+
12
+ @media (max-width: $smartphone-landscape) {
13
+ margin-left: 0;
14
+ }
15
15
  }
@@ -1,119 +1,119 @@
1
- nav{
2
- background-color: darken($black, 20%);
3
- margin: 7rem 0;
4
- padding: 0 4rem;
5
- min-width: 200px;
6
- position: relative;
7
- white-space: nowrap;
8
- max-width: $wrapper--big;
9
-
10
-
11
- ul{
12
- display: inline-block;
13
- list-style-type: none;
14
- padding: 0;
15
- margin: 0;
16
- }
17
-
18
- li{
19
- display: inline-block;
20
- &:first-child{
21
- a{
22
- padding-left: 0;
23
- }
24
- }
25
- }
26
- a{
27
- color: white;
28
- display: inline-block;
29
- padding: 4rem 2rem;
30
- font-weight: $bold;
31
- }
32
- .knob{
33
- cursor: ew-resize;
34
- position: absolute;
35
- right: 0;
36
- top: 50%;
37
- transform: translateY(-50%) translateX(50%);
38
- @media (max-width: $wrapper--big + 50px) {
39
- display: none;
40
- }
41
- }
42
- }
43
-
44
- .nav__dropdown{
45
- &.show{
46
- transform: rotateX(0deg);
47
- opacity: 1;
48
- visibility: visible;
49
- box-shadow: 0 0 20px 0 rgba($black, 0.25);
50
- transition: 300ms $custom-bounce,box-shadow 1000ms $custom-bounce;
51
- }
52
-
53
- $color: $blue;
54
- padding: 2rem;
55
- white-space: nowrap;
56
- top: 80%;
57
- right: 0;
58
- background-color: $color;
59
- transition: 300ms $custom-bounce;
60
- transform-origin: center top;
61
- transform: rotateX(-30deg);
62
- opacity: 0;
63
-
64
-
65
- @media (max-width: $smartphone-landscape) {
66
- right: auto;
67
- left: 0;
68
- &:after{
69
- right: auto;
70
- left: 4rem;
71
- }
72
- }
73
-
74
- &:after{
75
- $size: 6px;
76
- @include triangle(up, $size, $color);
77
- content:'';
78
- top: -$size;
79
- right: 4rem;
80
- }
81
-
82
- &-wrapper{
83
- display: inline-block;
84
- perspective: 500px;
85
- @media (max-width: $smartphone-landscape) {
86
- position: static !important;
87
- }
88
- }
89
-
90
- &-toggle{
91
- outline: none;
92
- display: inline-block;
93
- border: none;
94
- background: none;
95
- font-weight: $bold;
96
- text-decoration: underline;
97
- color: white;
98
- padding: 4rem 2rem;
99
- background-image: url('./../images/dist/svg/arrow-down.svg');
100
- background-repeat: no-repeat;
101
- background-position: 100% center;
102
- }
103
-
104
- li{
105
- display: block;
106
- &:first-child{
107
- a{
108
- padding-left: 2rem;
109
- }
110
- }
111
- }
112
-
113
- a{
114
- display: inline-block;
115
- padding: .5rem 2rem;
116
- font-weight: $normal;
117
- font-size: 1.6rem;
118
- }
1
+ nav{
2
+ background-color: darken($black, 20%);
3
+ margin: 7rem 0;
4
+ padding: 0 4rem;
5
+ min-width: 200px;
6
+ position: relative;
7
+ white-space: nowrap;
8
+ max-width: $wrapper--big;
9
+
10
+
11
+ ul{
12
+ display: inline-block;
13
+ list-style-type: none;
14
+ padding: 0;
15
+ margin: 0;
16
+ }
17
+
18
+ li{
19
+ display: inline-block;
20
+ &:first-child{
21
+ a{
22
+ padding-left: 0;
23
+ }
24
+ }
25
+ }
26
+ a{
27
+ color: white;
28
+ display: inline-block;
29
+ padding: 4rem 2rem;
30
+ font-weight: $bold;
31
+ }
32
+ .knob{
33
+ cursor: ew-resize;
34
+ position: absolute;
35
+ right: 0;
36
+ top: 50%;
37
+ transform: translateY(-50%) translateX(50%);
38
+ @media (max-width: $wrapper--big + 50px) {
39
+ display: none;
40
+ }
41
+ }
42
+ }
43
+
44
+ .nav__dropdown{
45
+ &.show{
46
+ transform: rotateX(0deg);
47
+ opacity: 1;
48
+ visibility: visible;
49
+ box-shadow: 0 0 20px 0 rgba($black, 0.25);
50
+ transition: 300ms $custom-bounce,box-shadow 1000ms $custom-bounce;
51
+ }
52
+
53
+ $color: $blue;
54
+ padding: 2rem;
55
+ white-space: nowrap;
56
+ top: 80%;
57
+ right: 0;
58
+ background-color: $color;
59
+ transition: 300ms $custom-bounce;
60
+ transform-origin: center top;
61
+ transform: rotateX(-30deg);
62
+ opacity: 0;
63
+
64
+
65
+ @media (max-width: $smartphone-landscape) {
66
+ right: auto;
67
+ left: 0;
68
+ &:after{
69
+ right: auto;
70
+ left: 4rem;
71
+ }
72
+ }
73
+
74
+ &:after{
75
+ $size: 6px;
76
+ @include triangle(up, $size, $color);
77
+ content:'';
78
+ top: -$size;
79
+ right: 4rem;
80
+ }
81
+
82
+ &-wrapper{
83
+ display: inline-block;
84
+ perspective: 500px;
85
+ @media (max-width: $smartphone-landscape) {
86
+ position: static !important;
87
+ }
88
+ }
89
+
90
+ &-toggle{
91
+ outline: none;
92
+ display: inline-block;
93
+ border: none;
94
+ background: none;
95
+ font-weight: $bold;
96
+ text-decoration: underline;
97
+ color: white;
98
+ padding: 4rem 2rem;
99
+ background-image: url('./../images/dist/svg/arrow-down.svg');
100
+ background-repeat: no-repeat;
101
+ background-position: 100% center;
102
+ }
103
+
104
+ li{
105
+ display: block;
106
+ &:first-child{
107
+ a{
108
+ padding-left: 2rem;
109
+ }
110
+ }
111
+ }
112
+
113
+ a{
114
+ display: inline-block;
115
+ padding: .5rem 2rem;
116
+ font-weight: $normal;
117
+ font-size: 1.6rem;
118
+ }
119
119
  }
@@ -1,9 +1,9 @@
1
- .social{
2
- min-height: 25px;
3
- a{
4
- display: none;
5
- }
6
- iframe{
7
- margin-right: 1rem;
8
- }
1
+ .social{
2
+ min-height: 25px;
3
+ a{
4
+ display: none;
5
+ }
6
+ iframe{
7
+ margin-right: 1rem;
8
+ }
9
9
  }
@@ -1,21 +1,21 @@
1
- header{
2
- display: flex;
3
- justify-content: flex-start;
4
- flex-direction: row;
5
- align-items: center;
6
-
7
- @media (max-width: $smartphone-landscape) {
8
- flex-direction: column;
9
- }
10
-
11
- .github{
12
- margin-left: auto;
13
- @media (max-width: $smartphone-landscape) {
14
- margin-left: 0;
15
- margin-top: 2rem;
16
- }
17
- }
18
-
19
- margin: 0 auto;
20
- padding: 6rem 0 0;
1
+ header{
2
+ display: flex;
3
+ justify-content: flex-start;
4
+ flex-direction: row;
5
+ align-items: center;
6
+
7
+ @media (max-width: $smartphone-landscape) {
8
+ flex-direction: column;
9
+ }
10
+
11
+ .github{
12
+ margin-left: auto;
13
+ @media (max-width: $smartphone-landscape) {
14
+ margin-left: 0;
15
+ margin-top: 2rem;
16
+ }
17
+ }
18
+
19
+ margin: 0 auto;
20
+ padding: 6rem 0 0;
21
21
  }
@@ -1,43 +1,43 @@
1
- /*
2
- * Abstractions like variables, mixins, etc...
3
- */
4
- @import "utils/variables.scss";
5
- @import "utils/easings.scss";
6
- @import "utils/triangles.scss";
7
-
8
- /*
9
- * Third party styles (sliders, lightbox, dropdown)
10
- */
11
- @import "vendors/normalize.scss";
12
-
13
- /*
14
- * Base styles (typography, grids, global styles, etc..)
15
- */
16
- @import "base/boxsizing.scss";
17
- @import "base/base.scss";
18
- @import "base/typography.scss";
19
-
20
- /*
21
- * Components styles (specific reusable module styles)
22
- */
23
- @import "components/logo.scss";
24
- @import "components/github-links.scss";
25
- @import "components/nav.scss";
26
- @import "components/social.scss";
27
-
28
- /*
29
- * Layout styles (header, footer, sidebar, etc..)
30
- */
31
- @import "layouts/header.scss";
32
-
33
-
34
- /*
35
- * Page specific styles
36
- */
37
- @import "pages/home.scss";
38
-
39
-
40
- /*
41
- * Hacks & Dirty shit :)
42
- */
1
+ /*
2
+ * Abstractions like variables, mixins, etc...
3
+ */
4
+ @import "utils/variables.scss";
5
+ @import "utils/easings.scss";
6
+ @import "utils/triangles.scss";
7
+
8
+ /*
9
+ * Third party styles (sliders, lightbox, dropdown)
10
+ */
11
+ @import "vendors/normalize.scss";
12
+
13
+ /*
14
+ * Base styles (typography, grids, global styles, etc..)
15
+ */
16
+ @import "base/boxsizing.scss";
17
+ @import "base/base.scss";
18
+ @import "base/typography.scss";
19
+
20
+ /*
21
+ * Components styles (specific reusable module styles)
22
+ */
23
+ @import "components/logo.scss";
24
+ @import "components/github-links.scss";
25
+ @import "components/nav.scss";
26
+ @import "components/social.scss";
27
+
28
+ /*
29
+ * Layout styles (header, footer, sidebar, etc..)
30
+ */
31
+ @import "layouts/header.scss";
32
+
33
+
34
+ /*
35
+ * Page specific styles
36
+ */
37
+ @import "pages/home.scss";
38
+
39
+
40
+ /*
41
+ * Hacks & Dirty shit :)
42
+ */
43
43
  @import "shame.scss";
@@ -1,30 +1,30 @@
1
- html,body{
2
- height: 100%;
3
- }
4
-
5
- p{
6
- a{
7
- color: $blue;
8
- &:visited{
9
- color: lighten($blue, 15%);
10
- }
11
- }
12
- }
13
-
14
- .heading{
15
- margin: 6rem 0;
16
- margin-bottom: 2rem;
17
- font-size: 2.6rem;
18
- font-weight: $light;
19
- line-height: 1.4;
20
- }
21
-
22
- .bottom{
23
- padding-bottom: 6rem;
24
- }
25
-
26
- .bg{
27
- background-color: #FFF;
28
- background-image: linear-gradient(to top, #F3F3F3 0%, #FFF 100%);
29
- background-repeat: no-repeat;
1
+ html,body{
2
+ height: 100%;
3
+ }
4
+
5
+ p{
6
+ a{
7
+ color: $blue;
8
+ &:visited{
9
+ color: lighten($blue, 15%);
10
+ }
11
+ }
12
+ }
13
+
14
+ .heading{
15
+ margin: 6rem 0;
16
+ margin-bottom: 2rem;
17
+ font-size: 2.6rem;
18
+ font-weight: $light;
19
+ line-height: 1.4;
20
+ }
21
+
22
+ .bottom{
23
+ padding-bottom: 6rem;
24
+ }
25
+
26
+ .bg{
27
+ background-color: #FFF;
28
+ background-image: linear-gradient(to top, #F3F3F3 0%, #FFF 100%);
29
+ background-repeat: no-repeat;
30
30
  }