@gravity-ui/blog-constructor 1.0.0 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/CHANGELOG.md +23 -216
  2. package/README.md +63 -1
  3. package/build/cjs/blocks/Author/Author.css +31 -0
  4. package/build/cjs/blocks/Banner/Banner.css +58 -0
  5. package/build/cjs/blocks/CTA/CTA.css +56 -0
  6. package/build/cjs/blocks/ColoredText/ColoredText.css +28 -0
  7. package/build/cjs/blocks/Layout/Layout.css +22 -0
  8. package/build/cjs/blocks/Media/Media.css +41 -0
  9. package/build/cjs/blocks/Meta/Meta.css +7 -0
  10. package/build/cjs/blocks/YFM/__tests__/YFM.test.d.ts +1 -0
  11. package/build/cjs/blocks/YFM/__tests__/YFM.test.js +16 -0
  12. package/build/cjs/components/ButtonWithIcon/ButtonWithIcon.css +76 -0
  13. package/build/cjs/components/FeedHeader/FeedHeader.css +54 -0
  14. package/build/cjs/components/FeedHeader/components/Controls/Controls.css +108 -0
  15. package/build/cjs/components/FeedHeader/components/CustomSelectOption/CustomSelectOption.css +14 -0
  16. package/build/cjs/components/FeedHeader/components/CustomSwitcher/CustomSwitcher.css +53 -0
  17. package/build/cjs/components/Paginator/Paginator.css +54 -0
  18. package/build/cjs/components/PostCard/PostCard.css +85 -0
  19. package/build/cjs/components/PostInfo/PostInfo.css +88 -0
  20. package/build/cjs/components/Posts/Posts.css +28 -0
  21. package/build/cjs/components/PostsEmpty/PostsEmpty.css +25 -0
  22. package/build/cjs/components/PostsError/PostError.css +30 -0
  23. package/build/cjs/components/Search/Search.css +32 -0
  24. package/build/cjs/components/Wrapper/Wrapper.css +32 -0
  25. package/build/cjs/containers/BlogPage/BlogPage.css +21 -0
  26. package/build/cjs/containers/BlogPostPage/BlogPostPage.css +251 -0
  27. package/build/cjs/models/blocks.d.ts +0 -1
  28. package/build/esm/blocks/Author/Author.css +31 -0
  29. package/build/esm/blocks/Banner/Banner.css +58 -0
  30. package/build/esm/blocks/CTA/CTA.css +56 -0
  31. package/build/esm/blocks/ColoredText/ColoredText.css +28 -0
  32. package/build/esm/blocks/Layout/Layout.css +22 -0
  33. package/build/esm/blocks/Media/Media.css +41 -0
  34. package/build/esm/blocks/Meta/Meta.css +7 -0
  35. package/build/esm/blocks/YFM/__tests__/YFM.test.d.ts +1 -0
  36. package/build/esm/blocks/YFM/__tests__/YFM.test.js +11 -0
  37. package/build/esm/components/ButtonWithIcon/ButtonWithIcon.css +76 -0
  38. package/build/esm/components/FeedHeader/FeedHeader.css +54 -0
  39. package/build/esm/components/FeedHeader/components/Controls/Controls.css +108 -0
  40. package/build/esm/components/FeedHeader/components/CustomSelectOption/CustomSelectOption.css +14 -0
  41. package/build/esm/components/FeedHeader/components/CustomSwitcher/CustomSwitcher.css +53 -0
  42. package/build/esm/components/Paginator/Paginator.css +54 -0
  43. package/build/esm/components/PostCard/PostCard.css +85 -0
  44. package/build/esm/components/PostInfo/PostInfo.css +88 -0
  45. package/build/esm/components/Posts/Posts.css +28 -0
  46. package/build/esm/components/PostsEmpty/PostsEmpty.css +25 -0
  47. package/build/esm/components/PostsError/PostError.css +30 -0
  48. package/build/esm/components/Search/Search.css +32 -0
  49. package/build/esm/components/Wrapper/Wrapper.css +32 -0
  50. package/build/esm/containers/BlogPage/BlogPage.css +21 -0
  51. package/build/esm/containers/BlogPostPage/BlogPostPage.css +251 -0
  52. package/build/esm/models/blocks.d.ts +0 -1
  53. package/package.json +38 -28
  54. package/server/models/blocks.d.ts +0 -1
  55. package/styles/mixins.css +2 -0
  56. package/styles/mixins.scss +0 -11
  57. package/styles/root.css +21 -0
  58. package/styles/storybook/index.scss +1 -1
  59. package/styles/styles.css +196 -0
  60. package/styles/variables.css +0 -0
  61. package/styles/yfm.css +103 -0
@@ -0,0 +1,108 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-feed-controls__header {
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: column;
7
+ border-radius: var(--bc-border-radius);
8
+ padding-bottom: 20px;
9
+ z-index: 10;
10
+ }
11
+ .bc-feed-controls__header-item {
12
+ display: flex;
13
+ justify-content: center;
14
+ flex-wrap: wrap;
15
+ }
16
+ .bc-feed-controls__header-item_title {
17
+ font-size: var(--yc-text-display-4-font-size);
18
+ line-height: var(--yc-text-display-4-line-height);
19
+ padding-top: 112px;
20
+ padding-bottom: 96px;
21
+ }
22
+ .bc-feed-controls__search {
23
+ background-color: var(--yc-color-base-background);
24
+ border-radius: 10px;
25
+ width: 100%;
26
+ max-width: 100%;
27
+ }
28
+ .bc-feed-controls__search .yc-text-input_view_normal .yc-text-input__control {
29
+ border-color: var(--yc-color-base-background);
30
+ }
31
+ .bc-feed-controls__select {
32
+ background-color: var(--yc-color-base-background);
33
+ border-radius: 10px;
34
+ width: 100%;
35
+ }
36
+ .bc-feed-controls__popup.bc-feed-controls__popup {
37
+ border-radius: 12px;
38
+ }
39
+ .bc-feed-controls__popup.bc-feed-controls__popup .yc-select-filter + .yc-select-list {
40
+ margin-top: 0;
41
+ }
42
+ .bc-feed-controls__popup.bc-feed-controls__popup .yc-select-filter + .yc-select-list::-webkit-scrollbar {
43
+ display: none;
44
+ }
45
+ .bc-feed-controls__popup.bc-feed-controls__popup .yc-list__item {
46
+ margin: 4px;
47
+ border-radius: 8px;
48
+ }
49
+ .bc-feed-controls__popup.bc-feed-controls__popup .yc-select-filter {
50
+ margin-top: 4px;
51
+ padding: 4px;
52
+ border-bottom: 1px solid var(--yc-color-line-generic);
53
+ }
54
+ .bc-feed-controls__popup.bc-feed-controls__popup .yc-select-filter .yc-text-input__control.yc-text-input__control_type_input {
55
+ border: none;
56
+ }
57
+
58
+ .bc-feed-controls__popup-filter .yc-text-input__control {
59
+ font-size: var(--yc-text-body-2-font-size);
60
+ line-height: var(--yc-text-body-2-line-height);
61
+ border: none;
62
+ }
63
+ .bc-feed-controls__popup-filter .yc-text-input__control:hover, .bc-feed-controls__popup-filter .yc-text-input__control:focus {
64
+ border: none;
65
+ }
66
+ .bc-feed-controls__select:hover {
67
+ background-color: var(--yc-color-base-background);
68
+ width: 100%;
69
+ }
70
+ .bc-feed-controls__saved-only-button {
71
+ border-radius: 10px;
72
+ }
73
+ .bc-feed-controls__saved-only-button_savedOnly {
74
+ --yc-button-background-color: var(--pc-monochrome-button-background-color);
75
+ --yc-button-background-color-hover: var(--pc-monochrome-button-background-color-hover);
76
+ }
77
+ .bc-feed-controls__saved-only-button_savedOnly, .bc-feed-controls__saved-only-button_savedOnly:link, .bc-feed-controls__saved-only-button_savedOnly:visited, .bc-feed-controls__saved-only-button_savedOnly:active, .bc-feed-controls__saved-only-button_savedOnly:focus {
78
+ color: var(--pc-monochrome-button-color);
79
+ }
80
+ .bc-feed-controls__saved-only-button_savedOnly:hover {
81
+ color: var(--pc-monochrome-button-color);
82
+ }
83
+ .bc-feed-controls__saved-only-button_savedOnly:focus {
84
+ color: var(--yc-color-base-background);
85
+ }
86
+ .bc-feed-controls__filter-item {
87
+ margin-right: 8px;
88
+ margin-left: 8px;
89
+ margin-bottom: 12px;
90
+ min-width: 230px;
91
+ flex-grow: 1;
92
+ }
93
+ @media (min-width: 577px) {
94
+ .bc-feed-controls__filter-item {
95
+ max-width: 240px;
96
+ }
97
+ }
98
+ .bc-feed-controls__filter-item_width-auto {
99
+ width: auto;
100
+ min-width: auto;
101
+ flex-grow: 0;
102
+ }
103
+ .bc-feed-controls__icon {
104
+ color: var(--yc-my-color-brand-normal);
105
+ }
106
+ .bc-feed-controls__icon_savedOnly {
107
+ color: var(--yc-color-base-background);
108
+ }
@@ -0,0 +1,14 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-feed-custom-select-option {
4
+ font-size: var(--yc-text-body-2-font-size);
5
+ line-height: var(--yc-text-body-2-line-height);
6
+ display: flex;
7
+ }
8
+ .bc-feed-custom-select-option__icon {
9
+ margin-right: 6px;
10
+ }
11
+ .bc-feed-custom-select-option__icon > svg {
12
+ width: 20px;
13
+ height: 20px;
14
+ }
@@ -0,0 +1,53 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-feed-custom-switcher__custom-switcher {
4
+ font-size: var(--yc-text-body-2-font-size);
5
+ line-height: var(--yc-text-body-2-line-height);
6
+ position: relative;
7
+ display: flex;
8
+ flex-direction: row;
9
+ align-items: center;
10
+ background-color: var(--yc-color-base-background);
11
+ border: 1px solid var(--yc-color-base-background);
12
+ border-radius: 10px;
13
+ width: 100%;
14
+ line-height: 42px;
15
+ }
16
+ .bc-feed-custom-switcher__custom-switcher + .yc-popup-wrapper.yc-popup-wrapper_open {
17
+ position: absolute !important;
18
+ inset: auto !important;
19
+ transform: translate3d(0, 4px, 0) !important;
20
+ }
21
+ .bc-feed-custom-switcher__custom-switcher:hover {
22
+ border-color: var(--yc-color-base-generic-hover);
23
+ cursor: pointer;
24
+ }
25
+ .bc-feed-custom-switcher__custom-switcher-element_content {
26
+ display: inline-block;
27
+ flex-grow: 1;
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
+ white-space: nowrap;
31
+ padding: 0 12px;
32
+ }
33
+ .bc-feed-custom-switcher__custom-switcher-element_counter {
34
+ align-items: center;
35
+ height: 20px;
36
+ padding: 0 6px;
37
+ background-color: var(--yc-color-base-selection);
38
+ border-radius: 4px;
39
+ transition: backgound-color 0.1s linear;
40
+ font-size: var(--yc-text-body-1-font-size);
41
+ line-height: var(--yc-text-body-1-line-height);
42
+ }
43
+ .bc-feed-custom-switcher__custom-switcher-element_arrow {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ min-width: 30px;
48
+ height: 100%;
49
+ }
50
+ .bc-feed-custom-switcher__switcher-arrow {
51
+ width: 16px;
52
+ height: 16px;
53
+ }
@@ -0,0 +1,54 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-paginator {
4
+ margin: 0;
5
+ padding: 0;
6
+ list-style: none;
7
+ display: flex;
8
+ align-items: center;
9
+ }
10
+ .bc-paginator__item {
11
+ display: inline-flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ min-width: 44px;
15
+ min-height: 44px;
16
+ margin-left: 4px;
17
+ padding: 12px 0px;
18
+ color: var(--yc-color-text-primary);
19
+ font-size: var(--yc-text-body-2-font-size);
20
+ line-height: var(--yc-text-body-2-line-height);
21
+ }
22
+ .bc-paginator__item_type_page {
23
+ --bc-border-radius: 10px;
24
+ width: 44px;
25
+ height: 44px;
26
+ cursor: pointer;
27
+ border-radius: var(--bc-border-radius);
28
+ }
29
+ .bc-paginator__item_type_page:hover {
30
+ background: var(--yc-color-base-simple-hover);
31
+ }
32
+ .bc-paginator__item_type_page.bc-paginator__item_active {
33
+ background: var(--yc-color-base-simple-hover);
34
+ cursor: default;
35
+ }
36
+ .bc-paginator__pagination {
37
+ display: flex;
38
+ flex-direction: row;
39
+ justify-content: center;
40
+ align-items: center;
41
+ width: 100%;
42
+ }
43
+ @media (max-width: 577px) {
44
+ .bc-paginator__pagination {
45
+ flex-direction: column;
46
+ }
47
+ }
48
+ .bc-paginator__pagination-block {
49
+ display: flex;
50
+ flex-direction: row;
51
+ justify-content: center;
52
+ align-items: center;
53
+ margin-bottom: 4px;
54
+ }
@@ -0,0 +1,85 @@
1
+ .bc-post-card__title_size_m, .bc-post-card__title_size_s {
2
+ margin: 0;
3
+ }
4
+
5
+ /* use this for style redefinitions to awoid problems with
6
+ unpredictable css rules order in build */
7
+ .bc-post-card__card {
8
+ display: flex;
9
+ flex-direction: column;
10
+ min-height: 400px;
11
+ }
12
+ .bc-post-card__card_fullWidth {
13
+ flex-direction: row;
14
+ }
15
+ @media (max-width: 1081px) {
16
+ .bc-post-card__card_fullWidth {
17
+ flex-direction: column;
18
+ }
19
+ }
20
+ .bc-post-card__header_fullWidth {
21
+ width: 66%;
22
+ min-height: 480px;
23
+ height: 100%;
24
+ }
25
+ @media (max-width: 1081px) {
26
+ .bc-post-card__header_fullWidth {
27
+ width: 100%;
28
+ min-height: auto;
29
+ }
30
+ }
31
+ .bc-post-card__title {
32
+ margin-bottom: 8px;
33
+ }
34
+ .bc-post-card__title_size_s {
35
+ font-size: var(--yc-text-header-1-font-size);
36
+ line-height: var(--yc-text-header-1-line-height);
37
+ color: var(--pc-text-header-color);
38
+ font-weight: var(--yc-text-accent-font-weight);
39
+ }
40
+ .bc-post-card__title_size_m {
41
+ font-size: var(--yc-text-display-2-font-size);
42
+ line-height: var(--yc-text-display-2-line-height);
43
+ color: var(--pc-text-header-color);
44
+ font-weight: var(--yc-text-accent-font-weight);
45
+ }
46
+ @media (max-width: 576px) {
47
+ .bc-post-card__title_size_m {
48
+ font-size: var(--yc-text-display-1-font-size);
49
+ line-height: var(--yc-text-display-1-line-height);
50
+ }
51
+ }
52
+ .bc-post-card__image-container {
53
+ height: 156px;
54
+ }
55
+ .bc-post-card__tag {
56
+ color: var(--yc-color-text-secondary);
57
+ font-weight: var(--yc-text-accent-font-weight);
58
+ }
59
+ .bc-post-card__tag_size_s {
60
+ font-size: var(--yc-text-body-2-font-size);
61
+ line-height: var(--yc-text-body-2-line-height);
62
+ padding-bottom: 4px;
63
+ }
64
+ .bc-post-card__tag_size_m {
65
+ font-size: var(--yc-text-body-3-font-size);
66
+ line-height: var(--yc-text-body-3-line-height);
67
+ padding-bottom: 8px;
68
+ }
69
+ .bc-post-card__description {
70
+ word-wrap: break-word;
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ max-height: 96px;
74
+ white-space: initial;
75
+ color: var(--yc-color-text-primary);
76
+ }
77
+ @supports (-webkit-line-clamp: 5) {
78
+ .bc-post-card__description {
79
+ max-height: auto;
80
+ -webkit-line-clamp: 5;
81
+ }
82
+ }
83
+ .bc-post-card__description_size_m {
84
+ max-height: 128px;
85
+ }
@@ -0,0 +1,88 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-post-info__item {
4
+ font-size: var(--yc-text-body-2-font-size);
5
+ line-height: var(--yc-text-body-2-line-height);
6
+ display: flex;
7
+ padding-right: 24px;
8
+ padding-top: 12px;
9
+ flex-wrap: nowrap;
10
+ align-items: center;
11
+ }
12
+ .bc-post-info__item_size_s {
13
+ font-size: var(--yc-text-body-2-font-size);
14
+ line-height: var(--yc-text-body-2-line-height);
15
+ }
16
+ .bc-post-info__item_size_m {
17
+ font-size: var(--yc-text-body-3-font-size);
18
+ line-height: var(--yc-text-body-3-line-height);
19
+ }
20
+ .bc-post-info__item:last-child {
21
+ font-size: var(--yc-text-body-2-font-size);
22
+ line-height: var(--yc-text-body-2-line-height);
23
+ display: flex;
24
+ padding-right: 0px;
25
+ padding-top: 12px;
26
+ flex-wrap: nowrap;
27
+ align-items: center;
28
+ }
29
+ .bc-post-info__switcher {
30
+ color: var(--yc-color-text-secondary);
31
+ }
32
+ .bc-post-info__switcher:hover {
33
+ color: var(--yc-color-text-primary);
34
+ }
35
+ .bc-post-info__switcher_theme_dark {
36
+ color: var(--yc-color-text-light-secondary);
37
+ }
38
+ .bc-post-info__switcher_theme_dark.yc-share-tooltip__container, .bc-post-info__switcher_theme_dark.yc-share-popover__container {
39
+ color: var(--yc-color-text-light-secondary);
40
+ }
41
+ .bc-post-info__switcher_theme_dark:hover {
42
+ color: var(--yc-color-text-light-primary);
43
+ }
44
+ .bc-post-info__switcher_theme_dark:hover.yc-share-tooltip__container, .bc-post-info__switcher_theme_dark:hover.yc-share-popover__container {
45
+ color: var(--yc-color-text-light-primary);
46
+ }
47
+ .bc-post-info__container {
48
+ display: flex;
49
+ align-items: flex-start;
50
+ flex-wrap: wrap;
51
+ padding-top: 12px;
52
+ color: var(--yc-color-text-secondary);
53
+ }
54
+ .bc-post-info__container_theme_dark {
55
+ color: var(--yc-color-text-light-secondary);
56
+ }
57
+ .bc-post-info__icon {
58
+ margin-right: 6px;
59
+ display: flex;
60
+ align-items: center;
61
+ }
62
+ .bc-post-info__title {
63
+ width: auto;
64
+ overflow: hidden;
65
+ }
66
+ .bc-post-info__title_cursor {
67
+ cursor: pointer;
68
+ }
69
+ .bc-post-info__content {
70
+ display: flex;
71
+ }
72
+ .bc-post-info__content_cursor {
73
+ cursor: pointer;
74
+ }
75
+ .bc-post-info__content_cursor:hover {
76
+ color: var(--yc-color-text-primary);
77
+ }
78
+ .bc-post-info__content_cursor.bc-post-info__content_theme_dark:hover {
79
+ color: var(--yc-color-text-light-primary);
80
+ }
81
+ .bc-post-info__likes {
82
+ display: flex;
83
+ }
84
+ .bc-post-info__suggest-container {
85
+ display: flex;
86
+ flex-grow: 1;
87
+ flex-wrap: wrap;
88
+ }
@@ -0,0 +1,28 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-posts__cards-container, .bc-posts__pinned-container {
4
+ padding-top: 24px;
5
+ scroll-margin: 48px;
6
+ }
7
+ .bc-posts__pagination {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ justify-content: center;
12
+ padding-top: 48px;
13
+ padding-bottom: 64px;
14
+ }
15
+ .bc-posts__more-button {
16
+ margin-bottom: 12px;
17
+ }
18
+ .bc-posts__error-show-more {
19
+ display: flex;
20
+ flex-direction: column;
21
+ align-items: center;
22
+ justify-content: center;
23
+ color: var(--yc-color-promo-base-tomato);
24
+ padding-bottom: 12px;
25
+ }
26
+ .bc-posts__paginator {
27
+ padding-top: 12px;
28
+ }
@@ -0,0 +1,25 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-posts-empty__container {
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: center;
8
+ }
9
+ .bc-posts-empty__title, .bc-posts-empty__subtitle {
10
+ text-align: center;
11
+ word-wrap: break-word;
12
+ max-width: 400px;
13
+ width: 100%;
14
+ }
15
+ .bc-posts-empty__title {
16
+ margin-top: 24px;
17
+ font-size: var(--yc-text-display-2-font-size);
18
+ line-height: var(--yc-text-display-2-line-height);
19
+ font-weight: var(--yc-text-accent-font-weight);
20
+ }
21
+ .bc-posts-empty__subtitle {
22
+ margin-top: 16px;
23
+ font-size: var(--yc-text-body-3-font-size);
24
+ line-height: var(--yc-text-body-3-line-height);
25
+ }
@@ -0,0 +1,30 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-posts-error__container {
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: center;
8
+ padding-top: 24px;
9
+ padding-bottom: 64px;
10
+ }
11
+ .bc-posts-error__title, .bc-posts-error__subtitle {
12
+ text-align: center;
13
+ word-wrap: break-word;
14
+ max-width: 400px;
15
+ width: 100%;
16
+ }
17
+ .bc-posts-error__title {
18
+ margin-top: 24px;
19
+ font-size: var(--yc-text-display-2-font-size);
20
+ line-height: var(--yc-text-display-2-line-height);
21
+ font-weight: var(--yc-text-accent-font-weight);
22
+ }
23
+ .bc-posts-error__subtitle {
24
+ margin-top: 16px;
25
+ font-size: var(--yc-text-body-3-font-size);
26
+ line-height: var(--yc-text-body-3-line-height);
27
+ }
28
+ .bc-posts-error__button {
29
+ padding: 24px 0 48px;
30
+ }
@@ -0,0 +1,32 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-search {
4
+ font-size: var(--yc-text-body-1-font-size);
5
+ line-height: var(--yc-text-body-1-line-height);
6
+ position: relative;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: flex-end;
10
+ height: 44px;
11
+ transition: width 0.3s;
12
+ }
13
+ .bc-search__close-button, .bc-search__search-button {
14
+ position: absolute;
15
+ z-index: 2;
16
+ right: 10px;
17
+ color: var(--yc-color-text-hint);
18
+ }
19
+ .bc-search__search-button:hover {
20
+ color: var(--yc-color-text-secondary);
21
+ }
22
+ .bc-search__search-suggest-container {
23
+ width: 100%;
24
+ }
25
+ .bc-search__search-suggest .yc-text-input__control {
26
+ padding-right: 32px;
27
+ }
28
+ .bc-search_size_s {
29
+ height: 36px;
30
+ width: 352px;
31
+ max-width: 100%;
32
+ }
@@ -0,0 +1,32 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .bc-wrapper_padding-top_xs {
4
+ padding-top: 0px;
5
+ }
6
+ .bc-wrapper_padding-top_s {
7
+ padding-top: 16px;
8
+ }
9
+ .bc-wrapper_padding-top_m {
10
+ padding-top: 32px;
11
+ }
12
+ .bc-wrapper_padding-top_l {
13
+ padding-top: 48px;
14
+ }
15
+ .bc-wrapper_padding-top_xl {
16
+ padding-top: 64px;
17
+ }
18
+ .bc-wrapper_padding-bottom_xs {
19
+ padding-bottom: 0px;
20
+ }
21
+ .bc-wrapper_padding-bottom_s {
22
+ padding-bottom: 16px;
23
+ }
24
+ .bc-wrapper_padding-bottom_m {
25
+ padding-bottom: 32px;
26
+ }
27
+ .bc-wrapper_padding-bottom_l {
28
+ padding-bottom: 48px;
29
+ }
30
+ .bc-wrapper_padding-bottom_xl {
31
+ padding-bottom: 64px;
32
+ }
@@ -0,0 +1,21 @@
1
+ :root {
2
+ --header-height: 64px;
3
+ }
4
+
5
+ .yc-root {
6
+ --yc-text-accent-font-weight: 500;
7
+ --bc-transparent: rgba(255, 255, 255, 0);
8
+ --bc-image-padding: 4px;
9
+ --bc-border-radius: var(--pc-border-radius, 24px);
10
+ --bc-color-sfx-shadow: var(--yc-color-base-simple-hover);
11
+ --bc-color-line-generic-active-solid: #b3b3b3;
12
+ --bc-color-base-float-hover: var(--yc-color-base-float);
13
+ --bc-monochrome-button: #262626;
14
+ --bc-monochrome-button-hover: #393939;
15
+ --bc-text-header-color: var(--yc-color-text-primary);
16
+ }
17
+ .yc-root.yc-root_theme_dark {
18
+ --bc-color-sfx-shadow: var(--yc-color-sfx-shadow);
19
+ --bc-color-line-generic-active-solid: #6c6c70;
20
+ --bc-color-base-float-hover: var(--yc-color-base-float-hover);
21
+ }