nuudel-core 0.2.106 → 0.2.108

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.
@@ -0,0 +1,3 @@
1
+ .button {
2
+ overflow: 'hidden';
3
+ }
@@ -0,0 +1,71 @@
1
+ /**
2
+ * color picker
3
+ */
4
+
5
+ .picker {
6
+ position: relative;
7
+ border-radius: 5px;
8
+ max-height: 30px;
9
+ min-width: 200px;
10
+ }
11
+
12
+ .row {
13
+ display: flex;
14
+ flex-direction: row;
15
+
16
+ >span {
17
+ line-height: 28px;
18
+ }
19
+ }
20
+
21
+ .input {
22
+ display: block;
23
+ box-sizing: border-box;
24
+ width: 90px;
25
+ height: 30px;
26
+ margin: 8px 0 8px 5px;
27
+ padding: 6px;
28
+ border: 1px solid #ddd;
29
+ border-radius: 4px;
30
+ background: #eee;
31
+ outline: none;
32
+ font: inherit;
33
+ text-transform: uppercase;
34
+ text-align: center;
35
+ }
36
+
37
+ .swatch {
38
+ width: 28px;
39
+ height: 28px;
40
+ border-radius: 8px;
41
+ border: 3px solid #fff;
42
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
43
+ cursor: pointer;
44
+ margin-right: 8px;
45
+ }
46
+
47
+ .popover {
48
+ z-index: 10000;
49
+ position: absolute;
50
+ top: calc(100% + 2px);
51
+ left: 0;
52
+ border-radius: 9px;
53
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
54
+ }
55
+
56
+ .pickerSwatches {
57
+ display: flex;
58
+ padding: 12px;
59
+ flex-wrap: wrap;
60
+ }
61
+
62
+ .pickerSwatch {
63
+ width: 24px;
64
+ height: 24px;
65
+ margin: 4px;
66
+ border: none;
67
+ padding: 0;
68
+ border-radius: 4px;
69
+ cursor: pointer;
70
+ outline: none;
71
+ }
@@ -0,0 +1,9 @@
1
+ .list {
2
+ width: 300;
3
+ overflow-x: 'hidden';
4
+ height: '100%';
5
+ }
6
+
7
+ .fullList {
8
+ width: 'auto';
9
+ }
@@ -0,0 +1,14 @@
1
+ .errormsg {
2
+ padding: 2rem;
3
+ background: white;
4
+ margin: 2rem 0;
5
+ border: 1px solid rgba(0, 0, 0, 0.05);
6
+ border-left: 5px solid red;
7
+ p {
8
+ margin: 0;
9
+ font-weight: 100;
10
+ }
11
+ strong {
12
+ margin-right: 1rem;
13
+ }
14
+ }
@@ -0,0 +1,9 @@
1
+ @import '../../theme/variables/sizes';
2
+
3
+ .container {
4
+ width: '100%';
5
+
6
+ &>*+* {
7
+ margin-top: $padding,
8
+ }
9
+ }
@@ -0,0 +1,108 @@
1
+ @import '../../theme/variables/colors';
2
+
3
+ .sortableItem {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ flex-grow: 1;
7
+ align-items: center;
8
+ padding: 18px 20px;
9
+ background-color: #fff;
10
+ box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(63, 63, 68, 0.05),
11
+ 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(34, 33, 81, 0.15);
12
+ border-radius: calc(4px / var(--scale-x, 1));
13
+ box-sizing: border-box;
14
+ list-style: none;
15
+ color: $text-dark;
16
+ font-weight: 400;
17
+ font-size: 1rem;
18
+
19
+ &:hover .removeItem {
20
+ visibility: visible !important;
21
+ }
22
+ }
23
+
24
+ .dragHandle,
25
+ .removeItem {
26
+ display: flex;
27
+ width: 12px;
28
+ padding: 15px;
29
+ margin-left: 3px;
30
+ align-items: center;
31
+ justify-content: center;
32
+ flex: 0 0 auto;
33
+ touch-action: none;
34
+ cursor: var(--cursor, pointer);
35
+ border-radius: 5px;
36
+ border: none;
37
+ outline: none;
38
+ appearance: none;
39
+ background-color: rgba(255, 255, 255, 0.5);
40
+ -webkit-tap-highlight-color: transparent;
41
+
42
+ &:hover {
43
+ background-color: rgba(255, 255, 255, 0.75);
44
+ }
45
+
46
+ &:focus-visible {
47
+ box-shadow: 0 0px 0px 2px $primary;
48
+ }
49
+
50
+ svg {
51
+ flex: 0 0 auto;
52
+ margin: auto;
53
+ height: 100%;
54
+ overflow: visible;
55
+ fill: $placeholder;
56
+ }
57
+ }
58
+
59
+ .removeItem {
60
+ visibility: hidden;
61
+
62
+ &.onmobile {
63
+ visibility: visible !important;
64
+ }
65
+ }
66
+
67
+ .actionButtons {
68
+ z-index: 1;
69
+ display: flex;
70
+ align-self: flex-start;
71
+ margin-top: -12px;
72
+ margin-left: auto;
73
+ margin-bottom: -15px;
74
+ margin-right: -10px;
75
+ }
76
+
77
+ .itemGrid {
78
+ list-style-type: none;
79
+ margin: 0;
80
+ padding: 0;
81
+ max-width: 330px;
82
+
83
+ @media screen and (min-width: 1100px) {
84
+ max-width: 1100px;
85
+ }
86
+
87
+ @media screen and (min-width: 960px) and (max-width: 1099px) {
88
+ max-width: 960px;
89
+ }
90
+
91
+ @media screen and (min-width: 780px) and (max-width: 959px) {
92
+ max-width: 780px;
93
+ }
94
+
95
+ @media screen and (min-width: 500px) and (max-width: 779px) {
96
+ max-width: 500px;
97
+ }
98
+
99
+ li {
100
+ display: inline-block;
101
+ }
102
+
103
+ li:first-child {
104
+ //border: 2px solid $warning;
105
+ border-radius: 2px;
106
+ box-shadow: 0px 0px 0px 4px rgba(0, 0, 0, 0.3);
107
+ }
108
+ }
@@ -0,0 +1,91 @@
1
+ @import '../../theme/variables/colors';
2
+ @import '../../theme/variables/sizes';
3
+
4
+ .datetime {
5
+ color: $text;
6
+ }
7
+ .container {
8
+ flex: 1;
9
+ justify-content: 'center';
10
+ align-items: 'center';
11
+ background-color: $background-light;
12
+ }
13
+ .formfield {
14
+ border-bottom-color: $border-light;
15
+ border-bottom-width: $border-width;
16
+ margin-bottom: 0;
17
+ flex-direction: column;
18
+ margin-top: $padding;
19
+ p {
20
+ padding-bottom: 5px;
21
+ }
22
+ }
23
+
24
+ .formfield:last-child {
25
+ margin-bottom: $padding;
26
+ }
27
+ .description {
28
+ font-style: 'italic';
29
+ color: $placeholder;
30
+ font-size: $font;
31
+ }
32
+ .display {
33
+ color: $text;
34
+ }
35
+ .link {
36
+ color: $text;
37
+ }
38
+ .text {
39
+ color: $text;
40
+ }
41
+ .number {
42
+ color: $text;
43
+ }
44
+ .url {
45
+ color: $text;
46
+ }
47
+ .object {
48
+ color: $text;
49
+ }
50
+ .lookup {
51
+ color: $text;
52
+ }
53
+ .lookuptext {
54
+ background-color: 'transparent';
55
+ }
56
+ .pickerview {
57
+ background-color: $background-light;
58
+ }
59
+ .lookupplaceholder {
60
+ color: $placeholder;
61
+ }
62
+ .image {
63
+ max-width: '100%';
64
+ }
65
+ .picture {
66
+ flex-direction: 'row-reverse';
67
+ }
68
+ .button {
69
+ min-width: 150px;
70
+ }
71
+ .date {
72
+ font-size: $h6;
73
+ }
74
+ .choice {
75
+ color: $text;
76
+ }
77
+ .select {
78
+ font-size: $h6;
79
+ }
80
+ .textarea {
81
+ width: '100%';
82
+ }
83
+ .bool {
84
+ height: 50px;
85
+ }
86
+ .toggle {
87
+ flex: 1;
88
+ }
89
+ .hide {
90
+ display: 'none';
91
+ }
@@ -0,0 +1,194 @@
1
+ @import '../variables/colors';
2
+ @import '../variables/sizes';
3
+
4
+ .searchBar {
5
+ z-index: 0;
6
+ //font-family: $fontfamily;
7
+ }
8
+
9
+ .button {
10
+ overflow: 'hidden';
11
+ }
12
+ .buttonText {
13
+ font-size: $h6;
14
+ }
15
+ .item {
16
+ margin-bottom: 0;
17
+ }
18
+ .text {
19
+ font-size: $font;
20
+ }
21
+ .h1 {
22
+ font-size: $h1;
23
+ }
24
+ .label {
25
+ font-size: $font;
26
+ }
27
+
28
+ .padding {
29
+ padding: $padding-half;
30
+ }
31
+ .paddingBig {
32
+ padding: $padding;
33
+ }
34
+ .bg {
35
+ background-color: $background;
36
+ }
37
+ .form {
38
+ width: 100%;
39
+ }
40
+ .input {
41
+ //font-family: $fontfamily;
42
+ &:invalid {
43
+ border: $danger solid 1px;
44
+ }
45
+ }
46
+ .loading {
47
+ overflow: 'hidden';
48
+ }
49
+ .loadingLabel {
50
+ color: $placeholder;
51
+ font-size: $big;
52
+ }
53
+ .box {
54
+ justify-content: 'center';
55
+ }
56
+ .slider {
57
+ width: 100%;
58
+ }
59
+ .font {
60
+ font-size: $font;
61
+ }
62
+ .placeholder {
63
+ text-align: 'center';
64
+ color: $placeholder;
65
+ }
66
+ .delete-button {
67
+ background-color: $danger;
68
+ margin: $padding-half;
69
+ }
70
+ .flexone {
71
+ flex: 1;
72
+ }
73
+ .paddingbottom {
74
+ padding-bottom: $padding-half;
75
+ }
76
+ .paddingBottomBig {
77
+ padding-bottom: $padding;
78
+ }
79
+ .paddingtop {
80
+ padding-top: $padding-half;
81
+ }
82
+ .colorbox {
83
+ width: 10px;
84
+ height: 10px;
85
+ display: inline-block;
86
+ margin-right: 5px;
87
+ border: 1px solid $placeholder;
88
+ }
89
+
90
+ .wrapper {
91
+ margin: 8px;
92
+ position: relative;
93
+ }
94
+
95
+ .marginTopBig {
96
+ margin-top: $margingbottom-big;
97
+ }
98
+ .marginTop {
99
+ margin-top: $margingbottom;
100
+ }
101
+ .marginTopSmall {
102
+ margin-top: $margingbottom-small;
103
+ }
104
+
105
+ .marginLeftBig {
106
+ margin-left: $margingbottom-big;
107
+ }
108
+ .marginLeft {
109
+ margin-left: $margingbottom;
110
+ }
111
+ .marginLeftSmall {
112
+ margin-left: $margingbottom-small;
113
+ }
114
+
115
+ .marginRightBig {
116
+ margin-right: $margingbottom-big;
117
+ }
118
+ .marginRight {
119
+ margin-right: $margingbottom;
120
+ }
121
+ .marginRightSmall {
122
+ margin-right: $margingbottom-small;
123
+ }
124
+
125
+ .marginBottomBig {
126
+ margin-bottom: $margingbottom-big;
127
+ }
128
+ .marginBottom {
129
+ margin-bottom: $margingbottom;
130
+ }
131
+ .marginBottomSmall {
132
+ margin-bottom: $margingbottom-small;
133
+ }
134
+
135
+ .marginNormal {
136
+ margin-top: 16px;
137
+ margin-bottom: 8px;
138
+ }
139
+ .paddingNormal {
140
+ margin-top: 16px;
141
+ margin-bottom: 8px;
142
+ }
143
+
144
+ $ccolor: #08182b;
145
+ .container {
146
+ color: $ccolor;
147
+ display: flex;
148
+ align-items: center;
149
+ align-content: center;
150
+ justify-content: center;
151
+ flex-direction: column;
152
+ background-size: cover;
153
+ background-repeat: no-repeat;
154
+ background-color: 'transparent';
155
+ }
156
+
157
+ .listContainer {
158
+ display: block;
159
+ }
160
+
161
+ .optionAdornment {
162
+ background-color: $background-grey;
163
+ border-radius: 2px 0 0 2px;
164
+ margin-left: -13px;
165
+ padding: 18px 13px;
166
+ width: 200px;
167
+ color: $text-dark;
168
+ overflow: hidden;
169
+ text-overflow: ellipsis;
170
+ white-space: nowrap;
171
+ }
172
+
173
+ .link {
174
+ padding-top: 8px;
175
+ padding-bottom: 15px;
176
+ }
177
+
178
+ .swichPadding {
179
+ padding-top: $padding * 2;
180
+ }
181
+
182
+ .colorbox {
183
+ width: 10px;
184
+ height: 10px;
185
+ display: inline-block;
186
+ margin-right: 5px;
187
+ border: 1px solid '#999';
188
+ }
189
+ .multiSelect-container {
190
+ z-index: 999;
191
+ }
192
+ .multichoice {
193
+ font-size: $h6;
194
+ }
@@ -0,0 +1,35 @@
1
+ //@import './palette';
2
+
3
+ $transparent: 'transparent';
4
+ $neutral: var(--neutral);
5
+ $facebook: var(--facebook);
6
+ $login: var(--login);
7
+ $primary: var(--primary);
8
+ $primary-light: var(--primary-light);
9
+ $secondary: var(--secondary);
10
+ $info: var(--info);
11
+ $danger: var(--danger);
12
+ $warning: var(--warning);
13
+ $success: var(--success);
14
+ $button: var(--button);
15
+ $link: var(--link);
16
+ $text: var(--text);
17
+ $text-dark: var(--text-dark);
18
+ $text-light: var(--text-light);
19
+ $background: var(--background);
20
+ $background-light: var(--background-light);
21
+ $background-dark: var(--background-dark);
22
+ $background-grey: var(--background-grey);
23
+ $border: var(--border);
24
+ $border-light: var(--border-light);
25
+ $input: var(--input);
26
+ $placeholder: var(--placeholder);
27
+ $navbar: var(--navbar);
28
+ $block: var(--block);
29
+ $icon: var(--icon);
30
+ $icon-light: var(--icon-light);
31
+ $shadow: var(--shadow);
32
+ $disabled: var(--disabled);
33
+ $inverse-bg: var(--inverse-bg);
34
+ $inverse-text: var(--inverse-text);
35
+ $loader: var(--loader);
@@ -0,0 +1,69 @@
1
+ // Энийг хэрэглээгүй
2
+ $brand: #f58c22 !default;
3
+ $brand-light: #42a5f5 !default;
4
+ $brand-dark: #2777f7 !default;
5
+ $accent: #d9534f !default;
6
+ $white: #ffffff !default;
7
+ $white-bright: #fafafa !default;
8
+ $white-light: #f8f9fc !default;
9
+ $black: #161616 !default;
10
+ $black-dark: #000000 !default;
11
+ $black-light: #1e1e1e !default;
12
+ $dark-black: #2d2d2d !default;
13
+ $dark: #333333 !default;
14
+ $gray: #777777 !default;
15
+ $gray-light: #cdcdcd !default;
16
+ $grey: #656565 !default;
17
+ $grey-light: #999999 !default;
18
+ $grey-bright: #e1e1e1 !default;
19
+ $grey-dark: #5c5c5c !default;
20
+ $red: #d9534f !default;
21
+ $orange: #ff8f00 !default;
22
+ $green: #60d517 !default;
23
+ $blue: #0091ea !default;
24
+ $pink: #d81b60 !default;
25
+ $yellow: #fdd835 !default;
26
+ $red-dark: #c62828 !default;
27
+ $orange-dark: #ff6f00 !default;
28
+ $green-dark: #00875a !default;
29
+ $blue-dark: #5e98d8 !default;
30
+ $pink-dark: #b4004e !default;
31
+ $yellow-dark: #ffa000 !default;
32
+ $neutral: rgba(255, 255, 255, 0.65) !default;
33
+ //*
34
+ :root {
35
+ $brand: #{$brand};
36
+ $brand-light: #{$brand-light};
37
+ $brand-dark: #{$brand-dark};
38
+ $accent: #{$accent};
39
+ $white: #{$white};
40
+ $white-bright: #{$white-bright};
41
+ $white-light: #{$white-light};
42
+ $black: #{$black};
43
+ $black-dark: #{$black-dark};
44
+ $black-light: #{$black-light};
45
+ $dark-black: #{$dark-black};
46
+ $dark: #{$dark};
47
+ $gray: #{$gray};
48
+ $gray-light: #{$gray-light};
49
+ $grey: #{$grey};
50
+ $grey-light: #{$grey-light};
51
+ $grey-bright: #{$grey-bright};
52
+ $grey-dark: #{$grey-dark};
53
+ $red: #{$red};
54
+ $orange: #{$orange};
55
+ $green: #{$green};
56
+ $blue: #{$blue};
57
+ $pink: #{$pink};
58
+ $yellow: #{$yellow};
59
+ $red-dark: #{$red-dark};
60
+ $orange-dark: #{$orange-dark};
61
+ $green-dark: #{$green-dark};
62
+ $blue-dark: #{$blue-dark};
63
+ $pink-dark: #{$pink-dark};
64
+ $yellow-dark: #{$yellow-dark};
65
+ $neutral: #{$neutral};
66
+ }
67
+ //*/
68
+
69
+ //:export { primary: $primary; }
@@ -0,0 +1,79 @@
1
+ $base: 14px;
2
+
3
+ //$fontfamily: 'Arial'; //'Montserrat';
4
+ $font: $base;
5
+ $opacity: 0.6;
6
+ $border-radius: 4px;
7
+ $button-border-radius: 999;
8
+ $border-width: 1px;
9
+ $padding: 16px;
10
+ $padding-half: 8px;
11
+ $padding-small: 5px;
12
+ $margingbottom-small: 5px;
13
+ $margingbottom: 16px;
14
+ $margingbottom-big: 25px;
15
+ // typography
16
+ $h1: $base * 2.5;
17
+ // ~30
18
+ $h2: $base * 2.25;
19
+ // ~27
20
+ $h3: $base * 2;
21
+ // ~24
22
+ $h4: $base * 1.75;
23
+ // ~21
24
+ $h5: $base * 1.5;
25
+ // ~18
26
+ $h6: $base * 1.25;
27
+ // ~15
28
+ $big: $base + 2;
29
+ // ~14
30
+ $body: $base + 1;
31
+ // ~13
32
+ $small: $base * 0.85;
33
+ // ~10
34
+ // icons
35
+ $icon: $base;
36
+ $icon-normal: $base * 1.25;
37
+ $icon-medium: $base * 1.5;
38
+ $icon-large: $base * 1.75;
39
+ $icon-huge: $base * 3.5;
40
+ // button styles
41
+ $button-width: $base * 9;
42
+ $button-height: $base * 2.75;
43
+ $button-shadow-radius: 3;
44
+ // block styles
45
+ $block-shadow-opacity: 0.15;
46
+ $block-shadow-radius: 8;
47
+ $android-elevation: 1;
48
+ // card styles
49
+ $card-border-radius: $base * 0.4;
50
+ $card-border-width: $base * 0.05;
51
+ $card-width: width - $base * 2;
52
+ $card-margin-vertical: $base * 0.875;
53
+ $card-footer-horizontal: $base * 0.75;
54
+ $card-footer-vertical: $base * 0.75;
55
+ $card-avatar-width: $base * 2.5;
56
+ $card-avatar-height: $base * 2.5;
57
+ $card-avatar-radius: $base * 1.25;
58
+ $card-image-height: $base * 12.5;
59
+ $card-round: $base * 0.1875;
60
+ $card-rounded: $base * 0.5;
61
+ // input styles
62
+ $input-border-radius: $base * 0.5;
63
+ $input-border-width: $base * 0.05;
64
+ $input-height: $base * 2.75;
65
+ $input-horizontal: $base;
66
+ $input-vertical-text: 14;
67
+ $input-vertical-label: calc($base / 2);
68
+ $input-text: $base * 0.875;
69
+ $input-rounded: $base * 1.5;
70
+ // checkbox
71
+ $checkbox-width: 20;
72
+ $checkbox-height: 20;
73
+ // slider
74
+ $track-size: 4;
75
+ $thumb-size: 25;
76
+ // radio button
77
+ $radio-width: 24;
78
+ $radio-height: 24;
79
+ $radio-thickness: 2;
@@ -0,0 +1,391 @@
1
+ .widgetColor {
2
+ color: #9b9b9b;
3
+ }
4
+
5
+ .copyRightText {
6
+ font-size: 0.75rem;
7
+ text-align: center;
8
+ }
9
+
10
+ .burgerContainer {
11
+ position: fixed;
12
+ width: 38px;
13
+ height: 38px;
14
+ cursor: pointer;
15
+ top: 1rem;
16
+ left: 1.25rem;
17
+ z-index: 2;
18
+ background-color: rgba(255, 255, 255, 0.7);
19
+ }
20
+ .burgerMeat {
21
+ position: absolute;
22
+ width: 28px;
23
+ height: 2px;
24
+ background: #222;
25
+ top: calc(50% - 2px / 2);
26
+ left: calc(50% - 28px / 2);
27
+ transition: all 150ms ease-in;
28
+ }
29
+ .firstMeat {
30
+ transform: translateY(-10px);
31
+ }
32
+ .secondMeat {
33
+ width: calc(28px - 6px);
34
+ }
35
+ .thirdMeat {
36
+ transform: translateY(10px);
37
+ }
38
+ .burgerActive {
39
+ .burgerMeat-1 {
40
+ transform: rotate(45deg);
41
+ }
42
+ .burgerMeat-2 {
43
+ opacity: 0;
44
+ }
45
+ .burgerMeat-3 {
46
+ transform: rotate(-45deg);
47
+ }
48
+ }
49
+
50
+ @media (min-width: 769px) {
51
+ .burgerContainer {
52
+ display: none;
53
+ }
54
+ }
55
+
56
+ .widgetLayoutRoot {
57
+ display: block;
58
+ padding: 4rem 0;
59
+ box-sizing: border-box;
60
+ height: 100%;
61
+ main {
62
+ display: flex;
63
+ min-height: 100%;
64
+ }
65
+ }
66
+ @media (min-width: 769px) {
67
+ .widgetLayoutRoot {
68
+ display: flex;
69
+ flex: 1 0 auto;
70
+ main {
71
+ flex: 1 0 auto;
72
+ }
73
+ }
74
+ }
75
+
76
+ .widgetNavigationContainer {
77
+ width: 0;
78
+ ul {
79
+ opacity: 0;
80
+ width: 100%;
81
+ height: 100vh;
82
+ text-align: right;
83
+ list-style: none;
84
+ margin: 0;
85
+ padding: 0;
86
+ position: fixed;
87
+ top: 0;
88
+ background-color: #fff;
89
+ display: flex;
90
+ flex-direction: column;
91
+ justify-content: center;
92
+ z-index: 1;
93
+ transform: translateY(100%);
94
+ transition: opacity 200ms;
95
+ }
96
+ li {
97
+ margin-bottom: 1.75rem;
98
+ font-size: 2rem;
99
+ padding: 0 1.5rem 0 0;
100
+ }
101
+ li:last-child {
102
+ margin-bottom: 0;
103
+ }
104
+ .active {
105
+ color: #222;
106
+ }
107
+ }
108
+ .widgetNavigationContainer.widgetNavigationActive ul {
109
+ opacity: 1;
110
+ transform: translateY(0);
111
+ }
112
+
113
+ @media (min-width: 769px) {
114
+ .widgetNavigationContainer {
115
+ width: 7rem;
116
+ display: block;
117
+ ul {
118
+ opacity: 1;
119
+ width: 7rem;
120
+ top: auto;
121
+ display: block;
122
+ transform: translateY(0);
123
+ }
124
+ li {
125
+ font-size: 1rem;
126
+ padding: 0;
127
+ }
128
+ }
129
+ }
130
+
131
+ ul.widgetPagination {
132
+ list-style: none;
133
+ margin: 3rem 0 0 0;
134
+ padding: 0;
135
+ li {
136
+ display: inline-block;
137
+ margin-right: 1em;
138
+ color: #9b9b9b;
139
+ font-size: 1.25rem;
140
+ }
141
+ a.active {
142
+ color: #222;
143
+ font-weight: bold;
144
+ }
145
+ }
146
+
147
+ a.widgetPost {
148
+ color: #222;
149
+ display: inline-block;
150
+ h2 {
151
+ margin: 0;
152
+ font-weight: 500;
153
+ }
154
+ }
155
+
156
+ .widgetPostContent {
157
+ color: #222;
158
+ font-weight: 200;
159
+ }
160
+ .widgetPostContainer {
161
+ display: block;
162
+ max-width: 36rem;
163
+ width: 100%;
164
+ margin: 0 auto;
165
+ padding: 0 1.5rem;
166
+ box-sizing: border-box;
167
+ z-index: 0;
168
+ article {
169
+ flex: 1 0 auto;
170
+ }
171
+ h1 {
172
+ margin: 0 0 0.5rem;
173
+ font-size: 2.25rem;
174
+ }
175
+ .tag-list {
176
+ list-style: none;
177
+ text-align: right;
178
+ margin: 1.75rem 0 0 0;
179
+ padding: 0;
180
+ }
181
+ .tag-list li {
182
+ display: inline-block;
183
+ margin-left: 0.5rem;
184
+ }
185
+ .social-list {
186
+ margin-top: 3rem;
187
+ text-align: center;
188
+ }
189
+ }
190
+ .widgetPostMetadata div {
191
+ display: inline-block;
192
+ margin-right: 0.5rem;
193
+ }
194
+
195
+ @media (min-width: 769px) {
196
+ .widgetPostContainer {
197
+ display: flex;
198
+ flex-direction: column;
199
+ }
200
+ }
201
+
202
+ .widgetPostListContainer {
203
+ display: flex;
204
+ margin: 0 auto;
205
+ max-width: 1200px;
206
+ width: 100%;
207
+ padding: 0 1.5rem;
208
+ ul {
209
+ margin: 0;
210
+ padding: 0;
211
+ }
212
+ li {
213
+ list-style: none;
214
+ }
215
+ .widgetPosts {
216
+ display: flex;
217
+ flex-direction: column;
218
+ flex: 1 1 auto;
219
+ }
220
+ .widgetPosts li {
221
+ margin-bottom: 1.5rem;
222
+ }
223
+ .widgetPostList {
224
+ flex: 1 0 auto;
225
+ }
226
+ .widgetPostCategories {
227
+ display: none;
228
+ }
229
+ .widgetPostCategories li {
230
+ margin-bottom: 0.75em;
231
+ }
232
+ }
233
+
234
+ @media (min-width: 769px) {
235
+ .categories {
236
+ display: block;
237
+ }
238
+ }
239
+ .widgetSocialList {
240
+ a {
241
+ display: inline-block;
242
+ }
243
+ a:not(:last-child) {
244
+ margin-right: 2em;
245
+ }
246
+ }
247
+
248
+ a.widgetTagButton {
249
+ display: inline-block;
250
+ border-radius: 3px;
251
+ background-color: rgba(21, 132, 125, 0.2);
252
+ color: #15847d;
253
+ transition: background-color 0.3s ease;
254
+ padding: 0.25em 0.5em;
255
+
256
+ :active,
257
+ :hover {
258
+ background-color: rgba(21, 132, 125, 0.4);
259
+ }
260
+ }
261
+
262
+ .widgetTagPostContainer {
263
+ margin: 0 auto;
264
+ max-width: 1200px;
265
+ width: 100%;
266
+ padding: 0 1.5rem;
267
+ display: flex;
268
+ flex-direction: column;
269
+ h1 {
270
+ margin: 0 0 2rem;
271
+ padding: 0;
272
+ font-weight: 100;
273
+ font-size: 1.75rem;
274
+ color: #9b9b9b;
275
+ }
276
+ h1 span {
277
+ font-weight: bold;
278
+ color: #222;
279
+ }
280
+ ul {
281
+ margin: 0;
282
+ padding: 0;
283
+ flex: 1 0 auto;
284
+ }
285
+ li {
286
+ list-style: none;
287
+ margin-bottom: 1.5rem;
288
+ }
289
+ }
290
+
291
+ @media (min-width: 769px) {
292
+ .widgetTagPostContainer > h1 {
293
+ font-size: 2rem;
294
+ }
295
+ }
296
+
297
+ /* Syntax highlighting */
298
+ .token.comment,
299
+ .token.prolog,
300
+ .token.doctype,
301
+ .token.cdata,
302
+ .token.plain-text {
303
+ color: #6a737d;
304
+ }
305
+
306
+ .token.atrule,
307
+ .token.attr-value,
308
+ .token.keyword,
309
+ .token.operator {
310
+ color: #d73a49;
311
+ }
312
+
313
+ .token.property,
314
+ .token.tag,
315
+ .token.boolean,
316
+ .token.number,
317
+ .token.constant,
318
+ .token.symbol,
319
+ .token.deleted {
320
+ color: #22863a;
321
+ }
322
+
323
+ .token.selector,
324
+ .token.attr-name,
325
+ .token.string,
326
+ .token.char,
327
+ .token.builtin,
328
+ .token.inserted {
329
+ color: #032f62;
330
+ }
331
+
332
+ .token.function,
333
+ .token.class-name {
334
+ color: #6f42c1;
335
+ }
336
+
337
+ /* language-specific */
338
+
339
+ .language-jsx .token.punctuation,
340
+ .language-jsx .token.tag .token.punctuation,
341
+ .language-jsx .token.tag .token.script,
342
+ .language-jsx .token.plain-text {
343
+ color: #24292e;
344
+ }
345
+
346
+ .language-jsx .token.tag .token.attr-name {
347
+ color: #6f42c1;
348
+ }
349
+
350
+ .language-jsx .token.tag .token.class-name {
351
+ color: #005cc5;
352
+ }
353
+
354
+ .language-jsx .token.tag .token.script-punctuation,
355
+ .language-jsx .token.attr-value .token.punctuation:first-child {
356
+ color: #d73a49;
357
+ }
358
+
359
+ .language-jsx .token.attr-value {
360
+ color: #032f62;
361
+ }
362
+
363
+ .language-jsx span[class='comment'] {
364
+ color: pink;
365
+ }
366
+
367
+ /* HTML */
368
+ .language-html .token.tag .token.punctuation {
369
+ color: #24292e;
370
+ }
371
+
372
+ .language-html .token.tag .token.attr-name {
373
+ color: #6f42c1;
374
+ }
375
+
376
+ .language-html .token.tag .token.attr-value,
377
+ .language-html
378
+ .token.tag
379
+ .token.attr-value
380
+ .token.punctuation:not(:first-child) {
381
+ color: #032f62;
382
+ }
383
+
384
+ /* CSS */
385
+ .language-css .token.selector {
386
+ color: #6f42c1;
387
+ }
388
+
389
+ .language-css .token.property {
390
+ color: #005cc5;
391
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuudel-core",
3
- "version": "0.2.106",
3
+ "version": "0.2.108",
4
4
  "description": "Web components for react with material UI",
5
5
  "main": "build/main/index.js",
6
6
  "typings": "build/main/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "build:main": "tsc -p tsconfig.json",
25
25
  "build:module": "tsc -p tsconfig.module.json",
26
26
  "prebuild": "tsm src",
27
- "postbuild": "cpy --cwd=./ 'src/**/*.scss' build/module && cpy --cwd=./ 'src/**/*.scss' build/module",
27
+ "postbuild": "cpy --cwd=./ 'src/**/*.scss' build/module && cpy --cwd=./ 'src/**/*.scss' build/main",
28
28
  "fix": "run-s fix:*",
29
29
  "fix:prettier": "prettier \"src/**/*.ts\" --write",
30
30
  "fix:lint": "eslint src --ext .ts --fix",
@@ -131,8 +131,7 @@
131
131
  "build/main",
132
132
  "build/module",
133
133
  "!**/*.spec.*",
134
- "!**/*.json",
135
- "build/**/*.json",
134
+ "!./*.json",
136
135
  "CHANGELOG.md",
137
136
  "LICENSE",
138
137
  "README.md"