-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Кирилл Э. Федотов
committed
Sep 30, 2021
1 parent
69a3866
commit 9f5be5f
Showing
2,308 changed files
with
14,479 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
common.blocks/avatar/__photo/_size/avatar__photo_size_l.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.avatar__photo_size_l { | ||
width: var(--graphics-size-3xl); | ||
height: var(--graphics-size-3xl); | ||
} |
4 changes: 4 additions & 0 deletions
4
common.blocks/avatar/__photo/_size/avatar__photo_size_m.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.avatar__photo_size_m { | ||
width: var(--graphics-size-2xl); | ||
height: var(--graphics-size-2xl); | ||
} |
4 changes: 4 additions & 0 deletions
4
common.blocks/avatar/__photo/_size/avatar__photo_size_s.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.avatar__photo_size_s { | ||
width: var(--graphics-size-xl); | ||
height: var(--graphics-size-xl); | ||
} |
4 changes: 4 additions & 0 deletions
4
common.blocks/avatar/__photo/_size/avatar__photo_size_xs.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.avatar__photo_size_xs { | ||
width: var(--graphics-size-l); | ||
height: var(--graphics-size-l); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.avatar__photo { | ||
border-radius: 50%; | ||
height: 100%; | ||
overflow: hidden; | ||
background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D8D8D8' fill-rule='evenodd'%3E%3Cpath d='M78 80c0-22.091-12-30-38-30S2 57.909 2 80h76zM40 45c8.942 0 15.048-8.954 16-20 1.143-13.258-7.058-20-16-20s-17.143 6.741-16 20c.952 11.046 7.058 20 16 20z'/%3E%3C/g%3E%3C/svg%3E"); | ||
background-size: cover; | ||
object-fit: cover; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# avatar | ||
|
||
Блок для отображения аватарки пользователя. Если изображение неопределено вставляется дефолтная картинка. | ||
|
||
``` html | ||
<div class="avatar"> | ||
<div class="avatar__photo avatar__photo_size_m"></div> | ||
</div> | ||
``` | ||
|
||
## Живые примеры и дизайн | ||
|
||
[avatar на whitepaper.tools](http://whitepaper.tools/doc.html#/content-avatar) | ||
|
||
___ | ||
|
||
|
||
## Элементы блока | ||
|
||
### Элемент photo | ||
|
||
Элемент в который вставляется аватарка пользователя. За счёт модификаторов регулируется размер изображения. | ||
|
||
Модификатор элемента | Значение | Описание | ||
-------------------- | ---------------- | -------- | ||
`size` | `xs` `s` `m` `l` | Размер |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.avatar { | ||
display: inline-block; | ||
position: relative; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# badge | ||
|
||
Блок для маркировки статуса сущности. Например, статус платежа. | ||
|
||
### Модификаторы блока | ||
Все модификаторы обязательны для корректного отображения бейджа | ||
|
||
| Название | Значения | Описание | | ||
| -------- | -------- | -------- | | ||
| `view` | `success` `warning` `alert` `normal` | Вид | | ||
| `weight` | `light` `heavy` | Тип отображения | | ||
| `size` | `s` `m` | Размер | | ||
|
||
```js | ||
{ | ||
block: 'badge', | ||
mods: { weight: 'heavy', view: 'success', size: 's' } | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.badge_size_m { | ||
font-size: var(--size-typo-m); | ||
line-height: var(--line-height-typo-m); | ||
padding-left: var(--space-m); | ||
padding-right: var(--space-m); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.badge_size_s { | ||
font-size: var(--size-typo-s); | ||
line-height: var(--line-height-typo-s); | ||
padding-left: var(--space-s); | ||
padding-right: var(--space-s); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.badge_view_alert { | ||
&.badge_weight_light { | ||
color: var(--color-typo-alert); | ||
background-color: var(--color-bg-default); | ||
border: 1px solid var(--color-typo-alert); | ||
} | ||
|
||
&.badge_weight_heavy { | ||
color: var(--color-bg-default); | ||
background-color: var(--color-typo-alert); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.badge_view_normal { | ||
&.badge_weight_light { | ||
color: var(--color-typo-normal); | ||
background-color: var(--color-bg-default); | ||
border: 1px solid var(--color-typo-normal); | ||
} | ||
|
||
&.badge_weight_heavy { | ||
color: var(--color-bg-default); | ||
background-color: var(--color-typo-normal); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.badge_view_success { | ||
&.badge_weight_light { | ||
color: var(--color-typo-success); | ||
background-color: var(--color-bg-default); | ||
border: 1px solid var(--color-typo-success); | ||
} | ||
|
||
&.badge_weight_heavy { | ||
color: var(--color-bg-default); | ||
background-color: var(--color-typo-success); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.badge_view_warning { | ||
&.badge_weight_light { | ||
color: var(--color-typo-warning); | ||
background-color: var(--color-bg-default); | ||
border: 1px solid var(--color-typo-warning); | ||
} | ||
|
||
&.badge_weight_heavy { | ||
color: var(--color-bg-default); | ||
background-color: var(--color-typo-warning); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.badge { | ||
display: inline-block; | ||
position: relative; | ||
max-width: 100%; | ||
box-sizing: border-box; | ||
border-radius: 99em; | ||
font-weight: 500; | ||
padding-top: var(--space-xxs); | ||
padding-bottom: var(--space-xxs); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# brand-logo | ||
|
||
Блок для отображения логотипов. | ||
|
||
### Модификаторы блока | ||
|
||
| Название | Значения | Описание | | ||
| -------- | --------- | ------- | | ||
| `name` | `absolute` `acado` `accion`, ...| Имя иконки | | ||
| `size` | `s` `m` `l` `xl` | Размер | | ||
|
||
```js | ||
{ | ||
block: 'brand-logo', | ||
mods: { name: 'allo-inkognito', size: 's' } | ||
} | ||
``` | ||
|
||
#### Список всех лого | ||
http://design.yamoney.ru |
4 changes: 4 additions & 0 deletions
4
common.blocks/brand-logo/_name/brand-logo_name_101xp.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* Этот файл сгенерирован автоматически: npm run generate:BrandLogo */ | ||
.brand-logo_name_101xp { | ||
background-image: url('brand-logo_name_101xp.svg'); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* Этот файл сгенерирован автоматически: npm run generate:BrandLogo */ | ||
.brand-logo_name_1x { | ||
background-image: url('brand-logo_name_1x.svg'); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* Этот файл сгенерирован автоматически: npm run generate:BrandLogo */ | ||
.brand-logo_name_3ddd { | ||
background-image: url('brand-logo_name_3ddd.svg'); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
common.blocks/brand-logo/_name/brand-logo_name_4glaza.post.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* Этот файл сгенерирован автоматически: npm run generate:BrandLogo */ | ||
.brand-logo_name_4glaza { | ||
background-image: url('brand-logo_name_4glaza.svg'); | ||
} |
Oops, something went wrong.