hexo-theme-lnote 1.2.3 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/README.md +122 -122
  2. package/_config.yml +19 -19
  3. package/config/links.yml +63 -62
  4. package/config/svg.yml +33 -33
  5. package/index.d.ts +4 -0
  6. package/languages/de.yml +69 -69
  7. package/languages/en.yml +69 -69
  8. package/languages/eo.yml +69 -69
  9. package/languages/es.yml +69 -69
  10. package/languages/ja.yml +69 -69
  11. package/languages/ru.yml +69 -69
  12. package/languages/zh-CN.yml +69 -69
  13. package/languages/zh-HK.yml +69 -69
  14. package/languages/zh-TW.yml +69 -69
  15. package/layout/404.ejs +8 -8
  16. package/layout/_partials/archive-list.ejs +17 -17
  17. package/layout/_partials/category-chains.ejs +19 -19
  18. package/layout/_partials/category-list.ejs +62 -62
  19. package/layout/_partials/comments/changyan.ejs +11 -11
  20. package/layout/_partials/comments/cusdis.ejs +25 -25
  21. package/layout/_partials/comments/discuss.ejs +17 -17
  22. package/layout/_partials/comments/disqus.ejs +32 -32
  23. package/layout/_partials/comments/giscus.ejs +36 -36
  24. package/layout/_partials/comments/gitalk.ejs +19 -19
  25. package/layout/_partials/comments/livere.ejs +10 -10
  26. package/layout/_partials/comments/remark42.ejs +29 -29
  27. package/layout/_partials/comments/twikoo.ejs +25 -25
  28. package/layout/_partials/comments/utterances.ejs +27 -27
  29. package/layout/_partials/comments/valine.ejs +23 -23
  30. package/layout/_partials/comments/waline.ejs +24 -24
  31. package/layout/_partials/comments.ejs +8 -8
  32. package/layout/_partials/css.ejs +9 -9
  33. package/layout/_partials/footer/beian.ejs +33 -33
  34. package/layout/_partials/footer/statistics.ejs +39 -39
  35. package/layout/_partials/footer.ejs +7 -7
  36. package/layout/_partials/head.ejs +46 -46
  37. package/layout/_partials/header/banner.ejs +24 -24
  38. package/layout/_partials/header/navigation.ejs +56 -56
  39. package/layout/_partials/header.ejs +4 -4
  40. package/layout/_partials/markdown-plugins.ejs +24 -24
  41. package/layout/_partials/paginator.ejs +14 -14
  42. package/layout/_partials/plugins/CSR.ejs +4 -0
  43. package/layout/_partials/plugins/analytics.ejs +75 -75
  44. package/layout/_partials/plugins/anchorjs.ejs +39 -39
  45. package/layout/_partials/plugins/code-widget.ejs +7 -7
  46. package/layout/_partials/plugins/encrypt.ejs +18 -18
  47. package/layout/_partials/plugins/fancybox.ejs +11 -11
  48. package/layout/_partials/plugins/highlight.ejs +13 -13
  49. package/layout/_partials/plugins/math.ejs +51 -51
  50. package/layout/_partials/plugins/mermaid.ejs +4 -4
  51. package/layout/_partials/plugins/nprogress.ejs +7 -7
  52. package/layout/_partials/plugins/typed.ejs +20 -20
  53. package/layout/_partials/post/category-bar.ejs +18 -18
  54. package/layout/_partials/post/copyright.ejs +50 -50
  55. package/layout/_partials/post/css.ejs +3 -3
  56. package/layout/_partials/post/meta-bottom.ejs +16 -16
  57. package/layout/_partials/post/meta-top.ejs +27 -27
  58. package/layout/_partials/post/scripts.ejs +8 -7
  59. package/layout/_partials/post/sidebar-left.ejs +1 -1
  60. package/layout/_partials/post/sidebar-right.ejs +2 -2
  61. package/layout/_partials/post/toc.ejs +6 -6
  62. package/layout/_partials/scripts.ejs +10 -10
  63. package/layout/_partials/search.ejs +19 -19
  64. package/layout/about.ejs +22 -22
  65. package/layout/archive.ejs +10 -10
  66. package/layout/categories.ejs +20 -20
  67. package/layout/category.ejs +12 -12
  68. package/layout/index.ejs +61 -61
  69. package/layout/layout.ejs +60 -60
  70. package/layout/links.ejs +31 -31
  71. package/layout/page.ejs +15 -15
  72. package/layout/post.ejs +77 -77
  73. package/layout/tag.ejs +12 -12
  74. package/layout/tags.ejs +26 -26
  75. package/package.json +73 -70
  76. package/source/css/_functions/base.styl +8 -8
  77. package/source/css/_mixins/base.styl +23 -23
  78. package/source/css/_pages/_about/about.styl +32 -32
  79. package/source/css/_pages/_archive/archive.styl +32 -32
  80. package/source/css/_pages/_base/_widget/anchorjs.styl +8 -8
  81. package/source/css/_pages/_base/_widget/banner.styl +29 -29
  82. package/source/css/_pages/_base/_widget/board.styl +11 -11
  83. package/source/css/_pages/_base/_widget/code-widget.styl +37 -36
  84. package/source/css/_pages/_base/_widget/copyright.styl +91 -90
  85. package/source/css/_pages/_base/_widget/footer.styl +65 -65
  86. package/source/css/_pages/_base/_widget/footnote.styl +26 -25
  87. package/source/css/_pages/_base/_widget/header.styl +173 -173
  88. package/source/css/_pages/_base/_widget/modal.styl +100 -100
  89. package/source/css/_pages/_base/_widget/navlink.styl +15 -15
  90. package/source/css/_pages/_base/_widget/ngrogress.styl +12 -12
  91. package/source/css/_pages/_base/_widget/noscript.styl +13 -12
  92. package/source/css/_pages/_base/_widget/pagination.styl +23 -23
  93. package/source/css/_pages/_base/_widget/qrcode.styl +17 -17
  94. package/source/css/_pages/_base/_widget/scroll-btn.styl +48 -48
  95. package/source/css/_pages/_base/_widget/text.styl +20 -19
  96. package/source/css/_pages/_base/_widget/toc.styl +75 -75
  97. package/source/css/_pages/_base/base.styl +68 -68
  98. package/source/css/_pages/_base/color-schema.styl +75 -75
  99. package/source/css/_pages/_base/inline.styl +51 -51
  100. package/source/css/_pages/_base/keyframes.styl +31 -31
  101. package/source/css/_pages/_base/print.styl +39 -38
  102. package/source/css/_pages/_category/category-bar.styl +58 -58
  103. package/source/css/_pages/_category/category-chain.styl +6 -6
  104. package/source/css/_pages/_category/category-list.styl +62 -62
  105. package/source/css/_pages/_index/index.styl +75 -75
  106. package/source/css/_pages/_links/links.styl +80 -79
  107. package/source/css/_pages/_post/comment.styl +28 -27
  108. package/source/css/_pages/_post/highlight.styl +75 -75
  109. package/source/css/_pages/_post/markdown.styl +96 -96
  110. package/source/css/_pages/_post/post-page.styl +179 -179
  111. package/source/css/_pages/_post/post-plugin.styl +10 -0
  112. package/source/css/_pages/_post/post-tag.styl +43 -29
  113. package/source/css/_pages/_tag/tags.styl +9 -9
  114. package/source/css/_pages/pages.styl +8 -8
  115. package/source/css/_variables/base.styl +72 -72
  116. package/source/css/gitalk.css +546 -546
  117. package/source/css/main.styl +19 -19
  118. package/source/js/color-schema.js +279 -279
  119. package/source/js/events.js +72 -72
  120. package/source/js/img-lazyload.js +10 -10
  121. package/source/js/local-search.js +70 -70
  122. package/source/js/post/copying-code.js +34 -34
  123. package/source/js/post/enable.js +6 -8
  124. package/source/js/post/img-swipe-bf.js +47 -47
  125. package/source/js/post/img-swipe.js +81 -35
  126. package/source/js/post/mermaiding.js +9 -13
  127. package/source/js/post/play-imgs.js +58 -58
  128. package/source/js/post/toc.js +24 -24
  129. package/source/js/post/view-imgs.js +27 -27
  130. package/source/js/utils.js +245 -245
  131. package/source/xml/local-search.xml +45 -45
  132. package/templates/footer.ejs +12 -12
  133. package/templates/noun.vue +14 -17
  134. package/templates/utils/uri.ts +12 -0
  135. package/scripts/index.js +0 -1
  136. package/source/css/_pages/_tag/tag.styl +0 -9
@@ -1,25 +1,26 @@
1
- sup > a, .footnote-text
2
- anchor-offset()
3
- &::before
4
- display inline-block
5
-
6
- .footnote-item
7
- anchor-offset()
8
-
9
- .footnote-list
10
- ol
11
- list-style-type none
12
- counter-reset sectioncounter
13
- padding-left .5rem
14
- font-size .95rem
15
-
16
- li:before
17
- font-family "Helvetica Neue", monospace, "Monaco"
18
- content "["counter(sectioncounter)"]"
19
- counter-increment sectioncounter
20
-
21
- li+li
22
- margin-top .5rem
23
-
24
- .footnote-text
25
- padding-left .5em
1
+ /* sup > a, .footnote-text
2
+ anchor-offset()
3
+ &::before
4
+ display inline-block
5
+
6
+ .footnote-item
7
+ anchor-offset()
8
+
9
+ .footnote-list
10
+ ol
11
+ list-style-type none
12
+ counter-reset sectioncounter
13
+ padding-left .5rem
14
+ font-size .95rem
15
+
16
+ li:before
17
+ font-family "Helvetica Neue", monospace, "Monaco"
18
+ content "["counter(sectioncounter)"]"
19
+ counter-increment sectioncounter
20
+
21
+ li+li
22
+ margin-top .5rem
23
+
24
+ .footnote-text
25
+ padding-left .5em
26
+ */
@@ -1,173 +1,173 @@
1
- // Rewrite navbar
2
- .navbar
3
- background-color transparent
4
- font-size 0.875rem
5
- box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
6
- -webkit-box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
7
-
8
- .navbar-brand
9
- color var(--navbar-text-color)
10
-
11
- .navbar-toggler .animated-icon span
12
- background-color var(--navbar-text-color)
13
-
14
- .nav-item .nav-link
15
- display block
16
- color var(--navbar-text-color)
17
- transition color .2s ease-in-out, background-color .2s ease-in-out
18
-
19
- &:hover
20
- color var(--link-hover-color)
21
-
22
- &:focus
23
- color var(--navbar-text-color)
24
-
25
- i
26
- font-size 0.875rem
27
-
28
- i:only-child
29
- margin 0 .2rem
30
-
31
- .navbar-toggler
32
- border-width 0
33
- outline 0
34
-
35
- &.scrolling-navbar
36
- will-change background, padding
37
- -webkit-transition background 0.5s ease-in-out, padding 0.5s ease-in-out
38
- transition background 0.5s ease-in-out, padding 0.5s ease-in-out
39
-
40
- @media (min-width: 600px)
41
- &
42
- padding-top 12px
43
- padding-bottom 12px
44
-
45
- & .navbar-nav > li
46
- -webkit-transition-duration 1s
47
- transition-duration 1s
48
-
49
- &.top-nav-collapse
50
- padding-top 5px
51
- padding-bottom 5px
52
-
53
- .dropdown-menu
54
- font-size 0.875rem
55
- color var(--navbar-text-color)
56
- background-color rgba(0, 0, 0, 0.3)
57
- border none
58
- min-width 8rem
59
- -webkit-transition background .5s ease-in-out,padding .5s ease-in-out
60
- transition background .5s ease-in-out,padding .5s ease-in-out
61
-
62
- @media (max-width: 991.98px)
63
- text-align center
64
-
65
- .dropdown-item
66
- color var(--navbar-text-color)
67
-
68
- &:hover, &:focus
69
- color var(--link-hover-color)
70
- background-color rgba(0, 0, 0, 0.1)
71
-
72
- @media (min-width: 992px)
73
- .dropdown:hover > .dropdown-menu
74
- display block
75
-
76
- .dropdown > .dropdown-toggle:active
77
- pointer-events none
78
-
79
- .dropdown-menu
80
- top 95%
81
-
82
- .animated-icon
83
- width 30px
84
- height 20px
85
- position relative
86
- margin 0
87
- -webkit-transform rotate(0deg)
88
- -moz-transform rotate(0deg)
89
- -o-transform rotate(0deg)
90
- transform rotate(0deg)
91
- -webkit-transition .5s ease-in-out
92
- -moz-transition .5s ease-in-out
93
- -o-transition .5s ease-in-out
94
- transition .5s ease-in-out
95
- cursor pointer
96
-
97
- span
98
- display block
99
- position absolute
100
- height 3px
101
- width 100%
102
- border-radius 9px
103
- opacity 1
104
- left 0
105
- -webkit-transform rotate(0deg)
106
- -moz-transform rotate(0deg)
107
- -o-transform rotate(0deg)
108
- transform rotate(0deg)
109
- -webkit-transition .25s ease-in-out
110
- -moz-transition .25s ease-in-out
111
- -o-transition .25s ease-in-out
112
- transition .25s ease-in-out
113
- background #ffffff
114
-
115
- &:nth-child(1)
116
- top 0
117
-
118
- &:nth-child(2)
119
- top 10px
120
-
121
- &:nth-child(3)
122
- top 20px
123
-
124
- &.open
125
- span
126
- &:nth-child(1)
127
- top 11px
128
- -webkit-transform rotate(135deg)
129
- -moz-transform rotate(135deg)
130
- -o-transform rotate(135deg)
131
- transform rotate(135deg)
132
-
133
- &:nth-child(2)
134
- opacity 0
135
- left -60px
136
-
137
- &:nth-child(3)
138
- top 11px
139
- -webkit-transform rotate(-135deg)
140
- -moz-transform rotate(-135deg)
141
- -o-transform rotate(-135deg)
142
- transform rotate(-135deg)
143
-
144
- .navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
145
- if $navbar-glass-enable
146
- ground-glass($navbar-glass-px, $navbar-bg-color, $navbar-glass-alpha)
147
- else
148
- background-color var(--navbar-bg-color)
149
-
150
- @media (max-width: 767px)
151
- .navbar
152
- font-size 1rem
153
- line-height 2.5rem
154
-
155
- .banner-text
156
- color var(--subtitle-color)
157
- max-width calc(960px - 6rem)
158
- width 80%
159
- overflow-wrap break-word
160
-
161
- .typed-cursor
162
- margin 0 .2rem
163
-
164
- @media (max-width: 767px)
165
- #subtitle, .typed-cursor
166
- font-size 1.5rem
167
-
168
- @media (max-width: 575px)
169
- .banner-text
170
- font-size 0.9rem
171
-
172
- #subtitle, .typed-cursor
173
- font-size 1.35rem
1
+ // Rewrite navbar
2
+ .navbar
3
+ background-color transparent
4
+ font-size 0.875rem
5
+ box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
6
+ -webkit-box-shadow 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
7
+
8
+ .navbar-brand
9
+ color var(--navbar-text-color)
10
+
11
+ .navbar-toggler .animated-icon span
12
+ background-color var(--navbar-text-color)
13
+
14
+ .nav-item .nav-link
15
+ display block
16
+ color var(--navbar-text-color)
17
+ transition color .2s ease-in-out, background-color .2s ease-in-out
18
+
19
+ &:hover
20
+ color var(--link-hover-color)
21
+
22
+ &:focus
23
+ color var(--navbar-text-color)
24
+
25
+ i
26
+ font-size 0.875rem
27
+
28
+ i:only-child
29
+ margin 0 .2rem
30
+
31
+ .navbar-toggler
32
+ border-width 0
33
+ outline 0
34
+
35
+ &.scrolling-navbar
36
+ will-change background, padding
37
+ -webkit-transition background 0.5s ease-in-out, padding 0.5s ease-in-out
38
+ transition background 0.5s ease-in-out, padding 0.5s ease-in-out
39
+
40
+ @media (min-width: 600px)
41
+ &
42
+ padding-top 12px
43
+ padding-bottom 12px
44
+
45
+ & .navbar-nav > li
46
+ -webkit-transition-duration 1s
47
+ transition-duration 1s
48
+
49
+ &.top-nav-collapse
50
+ padding-top 5px
51
+ padding-bottom 5px
52
+
53
+ .dropdown-menu
54
+ font-size 0.875rem
55
+ color var(--navbar-text-color)
56
+ background-color rgba(0, 0, 0, 0.3)
57
+ border none
58
+ min-width 8rem
59
+ -webkit-transition background .5s ease-in-out,padding .5s ease-in-out
60
+ transition background .5s ease-in-out,padding .5s ease-in-out
61
+
62
+ @media (max-width: 991.98px)
63
+ text-align center
64
+
65
+ .dropdown-item
66
+ color var(--navbar-text-color)
67
+
68
+ &:hover, &:focus
69
+ color var(--link-hover-color)
70
+ background-color rgba(0, 0, 0, 0.1)
71
+
72
+ @media (min-width: 992px)
73
+ .dropdown:hover > .dropdown-menu
74
+ display block
75
+
76
+ .dropdown > .dropdown-toggle:active
77
+ pointer-events none
78
+
79
+ .dropdown-menu
80
+ top 95%
81
+
82
+ .animated-icon
83
+ width 30px
84
+ height 20px
85
+ position relative
86
+ margin 0
87
+ -webkit-transform rotate(0deg)
88
+ -moz-transform rotate(0deg)
89
+ -o-transform rotate(0deg)
90
+ transform rotate(0deg)
91
+ -webkit-transition .5s ease-in-out
92
+ -moz-transition .5s ease-in-out
93
+ -o-transition .5s ease-in-out
94
+ transition .5s ease-in-out
95
+ cursor pointer
96
+
97
+ span
98
+ display block
99
+ position absolute
100
+ height 3px
101
+ width 100%
102
+ border-radius 9px
103
+ opacity 1
104
+ left 0
105
+ -webkit-transform rotate(0deg)
106
+ -moz-transform rotate(0deg)
107
+ -o-transform rotate(0deg)
108
+ transform rotate(0deg)
109
+ -webkit-transition .25s ease-in-out
110
+ -moz-transition .25s ease-in-out
111
+ -o-transition .25s ease-in-out
112
+ transition .25s ease-in-out
113
+ background #ffffff
114
+
115
+ &:nth-child(1)
116
+ top 0
117
+
118
+ &:nth-child(2)
119
+ top 10px
120
+
121
+ &:nth-child(3)
122
+ top 20px
123
+
124
+ &.open
125
+ span
126
+ &:nth-child(1)
127
+ top 11px
128
+ -webkit-transform rotate(135deg)
129
+ -moz-transform rotate(135deg)
130
+ -o-transform rotate(135deg)
131
+ transform rotate(135deg)
132
+
133
+ &:nth-child(2)
134
+ opacity 0
135
+ left -60px
136
+
137
+ &:nth-child(3)
138
+ top 11px
139
+ -webkit-transform rotate(-135deg)
140
+ -moz-transform rotate(-135deg)
141
+ -o-transform rotate(-135deg)
142
+ transform rotate(-135deg)
143
+
144
+ .navbar .dropdown-collapse, .top-nav-collapse, .navbar-col-show
145
+ if $navbar-glass-enable
146
+ ground-glass($navbar-glass-px, $navbar-bg-color, $navbar-glass-alpha)
147
+ else
148
+ background-color var(--navbar-bg-color)
149
+
150
+ @media (max-width: 767px)
151
+ .navbar
152
+ font-size 1rem
153
+ line-height 2.5rem
154
+
155
+ .banner-text
156
+ color var(--subtitle-color)
157
+ max-width calc(960px - 6rem)
158
+ width 80%
159
+ overflow-wrap break-word
160
+
161
+ .typed-cursor
162
+ margin 0 .2rem
163
+
164
+ @media (max-width: 767px)
165
+ #subtitle, .typed-cursor
166
+ font-size 1.5rem
167
+
168
+ @media (max-width: 575px)
169
+ .banner-text
170
+ font-size 0.9rem
171
+
172
+ #subtitle, .typed-cursor
173
+ font-size 1.35rem
@@ -1,100 +1,100 @@
1
- // Rewrite modal
2
- /* .modal-dialog .modal-content
3
- background-color var(--board-bg-color)
4
- border 0
5
- border-radius .125rem
6
- -webkit-box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
7
- box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15) */
8
-
9
- .modal-dialog .modal-content .modal-header
10
- border-bottom-color var(--line-color)
11
- transition border-bottom-color .2s ease-in-out
12
-
13
- /* .close
14
- color var(--text-color)
15
-
16
- &:hover
17
- color var(--link-hover-color)
18
-
19
- &:focus
20
- outline 0 */
21
-
22
- .modal-dialog .modal-content .modal-header
23
- border-top-left-radius .125rem
24
- border-top-right-radius .125rem
25
- border-bottom 1px solid #dee2e6
26
-
27
- .md-form
28
- position relative
29
- margin-top 1.5rem
30
- margin-bottom 1.5rem
31
-
32
- .md-form
33
- input[type]
34
- -webkit-box-sizing content-box
35
- box-sizing content-box
36
- background-color transparent
37
- border none
38
- border-bottom 1px solid #ced4da
39
- border-radius 0
40
- outline none
41
- -webkit-box-shadow none
42
- box-shadow none
43
- transition border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out
44
-
45
- $normal = #4285f4
46
-
47
- &:focus:not([readonly])
48
- border-bottom 1px solid $normal
49
- -webkit-box-shadow 0 1px 0 0 $normal
50
- box-shadow 0 1px 0 0 $normal
51
-
52
- & + label
53
- color: $normal
54
-
55
- $valid = #00c851
56
-
57
- &.valid, &:focus.valid
58
- border-bottom 1px solid $valid
59
- -webkit-box-shadow 0 1px 0 0 $valid
60
- box-shadow 0 1px 0 0 $valid
61
-
62
- & + label
63
- color: $valid
64
-
65
- $invalid = #f44336
66
-
67
- &.invalid, &:focus.invalid
68
- border-bottom 1px solid $invalid
69
- -webkit-box-shadow 0 1px 0 0 $invalid
70
- box-shadow 0 1px 0 0 $invalid
71
-
72
- & + label
73
- color $invalid
74
-
75
- &.validate
76
- margin-bottom 2.5rem
77
-
78
- &.form-control
79
- height auto
80
- padding .6rem 0 .4rem 0
81
- margin 0 0 .5rem 0
82
- color var(--text-color)
83
- background-color transparent
84
- border-radius 0
85
-
86
- label
87
- font-size 0.8rem
88
- position absolute
89
- top -1rem
90
- left 0
91
- color #757575
92
- cursor text
93
- transition color .2s ease-out
94
-
95
- .modal-open[style]
96
- padding-right: 0 !important
97
- overflow auto
98
-
99
- #navbar[style]
100
- padding-right 1rem !important
1
+ // Rewrite modal
2
+ /* .modal-dialog .modal-content
3
+ background-color var(--board-bg-color)
4
+ border 0
5
+ border-radius .125rem
6
+ -webkit-box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15)
7
+ box-shadow 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15) */
8
+
9
+ .modal-dialog .modal-content .modal-header
10
+ border-bottom-color var(--line-color)
11
+ transition border-bottom-color .2s ease-in-out
12
+
13
+ /* .close
14
+ color var(--text-color)
15
+
16
+ &:hover
17
+ color var(--link-hover-color)
18
+
19
+ &:focus
20
+ outline 0 */
21
+
22
+ .modal-dialog .modal-content .modal-header
23
+ border-top-left-radius .125rem
24
+ border-top-right-radius .125rem
25
+ border-bottom 1px solid #dee2e6
26
+
27
+ .md-form
28
+ position relative
29
+ margin-top 1.5rem
30
+ margin-bottom 1.5rem
31
+
32
+ .md-form
33
+ input[type]
34
+ -webkit-box-sizing content-box
35
+ box-sizing content-box
36
+ background-color transparent
37
+ border none
38
+ border-bottom 1px solid #ced4da
39
+ border-radius 0
40
+ outline none
41
+ -webkit-box-shadow none
42
+ box-shadow none
43
+ transition border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out
44
+
45
+ $normal = #4285f4
46
+
47
+ &:focus:not([readonly])
48
+ border-bottom 1px solid $normal
49
+ -webkit-box-shadow 0 1px 0 0 $normal
50
+ box-shadow 0 1px 0 0 $normal
51
+
52
+ & + label
53
+ color: $normal
54
+
55
+ $valid = #00c851
56
+
57
+ &.valid, &:focus.valid
58
+ border-bottom 1px solid $valid
59
+ -webkit-box-shadow 0 1px 0 0 $valid
60
+ box-shadow 0 1px 0 0 $valid
61
+
62
+ & + label
63
+ color: $valid
64
+
65
+ $invalid = #f44336
66
+
67
+ &.invalid, &:focus.invalid
68
+ border-bottom 1px solid $invalid
69
+ -webkit-box-shadow 0 1px 0 0 $invalid
70
+ box-shadow 0 1px 0 0 $invalid
71
+
72
+ & + label
73
+ color $invalid
74
+
75
+ &.validate
76
+ margin-bottom 2.5rem
77
+
78
+ &.form-control
79
+ height auto
80
+ padding .6rem 0 .4rem 0
81
+ margin 0 0 .5rem 0
82
+ color var(--text-color)
83
+ background-color transparent
84
+ border-radius 0
85
+
86
+ label
87
+ font-size 0.8rem
88
+ position absolute
89
+ top -1rem
90
+ left 0
91
+ color #757575
92
+ cursor text
93
+ transition color .2s ease-out
94
+
95
+ .modal-open[style]
96
+ padding-right: 0 !important
97
+ overflow auto
98
+
99
+ #navbar[style]
100
+ padding-right 1rem !important
@@ -1,16 +1,16 @@
1
- @keyframes to-click
2
- from
3
- transform: translateX(-6px)
4
- opacity: 0
5
- to
6
- transform: translateX(10px)
7
- opacity: 1
8
-
9
-
10
- a.ln-nav-link
11
- color: var(--bs-primary-text-emphasis)
12
- // text-decoration: underline
13
- svg
14
- color: var(--bs-warning)
15
- margin-right: 1rem
1
+ @keyframes to-click
2
+ from
3
+ transform: translateX(-6px)
4
+ opacity: 0
5
+ to
6
+ transform: translateX(10px)
7
+ opacity: 1
8
+
9
+
10
+ a.ln-nav-link
11
+ color: var(--bs-primary-text-emphasis)
12
+ // text-decoration: underline
13
+ svg
14
+ color: var(--bs-warning)
15
+ margin-right: 1rem
16
16
  animation: 1.2s ease-out 0.5s infinite to-click
@@ -1,12 +1,12 @@
1
- // Rewrite nprogress
2
- $npColor = theme-config("fun_features.progressbar.color", "#29d")
3
- #nprogress
4
- .bar
5
- height theme-config-unit("fun_features.progressbar.height_px", 3, "px") !important
6
- background-color $npColor !important
7
- .peg
8
- box-shadow 0 0 14px $npColor, 0 0 8px $npColor !important
9
-
10
- @media (max-width: 575px)
11
- .bar
12
- display none
1
+ // Rewrite nprogress
2
+ /* $npColor = theme-config("fun_features.progressbar.color", "#29d")
3
+ #nprogress
4
+ .bar
5
+ height theme-config-unit("fun_features.progressbar.height_px", 3, "px") !important
6
+ background-color $npColor !important
7
+ .peg
8
+ box-shadow 0 0 14px $npColor, 0 0 8px $npColor !important
9
+
10
+ @media (max-width: 575px)
11
+ .bar
12
+ display none */
@@ -1,12 +1,13 @@
1
- .noscript-warning
2
- background-color #f55
3
- color #fff
4
- font-family sans-serif
5
- font-size 1rem
6
- font-weight bold
7
- position fixed
8
- left 0
9
- bottom 0
10
- text-align center
11
- width 100%
12
- z-index 99
1
+ /* .noscript-warning
2
+ background-color #f55
3
+ color #fff
4
+ font-family sans-serif
5
+ font-size 1rem
6
+ font-weight bold
7
+ position fixed
8
+ left 0
9
+ bottom 0
10
+ text-align center
11
+ width 100%
12
+ z-index 99
13
+ */