-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
aa97ace
commit 7f2209f
Showing
6 changed files
with
103 additions
and
19 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
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
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,33 @@ | ||
@require 'constants.styl' | ||
|
||
animation-roll-down(start-height=0, duration=2s, padding=0) | ||
opacity 0 | ||
max-height start-height | ||
padding-top 0 | ||
padding-bottom 0 | ||
animation animation-roll-down duration ease forwards | ||
@keyframes animation-roll-down | ||
0% | ||
10% | ||
opacity 1 | ||
99% | ||
opacity 1 | ||
padding padding | ||
max-height 3000px | ||
100% | ||
opacity 1 | ||
padding padding | ||
max-height unset | ||
|
||
hover-effect() | ||
cursor pointer | ||
transition all 0.2s ease | ||
@media ({desktop}) | ||
&:hover | ||
opacity 0.7 | ||
hover-effect-underline(color=white) | ||
background linear-gradient(color, color) 50% 100% / 0 1px no-repeat | ||
transition all .2s | ||
@media ({desktop}) | ||
&:hover | ||
background-size 100% 1px |
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,32 @@ | ||
@require 'constants.styl' | ||
@require 'fonts.styl' | ||
@require 'buttons.styl' | ||
@require 'utils.styl' | ||
|
||
block(colorBorder=colorBorder) | ||
display block | ||
padding 35px | ||
border colorBorder 2px solid | ||
border-radius borderRadiusXL | ||
header | ||
font-large() | ||
section | ||
font-medium() | ||
block-bg(colorBg=colorBg) | ||
display block | ||
background colorBg | ||
|
||
input() | ||
margin 0 | ||
padding 5px 10px | ||
background colorBg | ||
border colorBorder 1px solid | ||
border-radius borderRadiusXS | ||
color colorText2 | ||
cursor text | ||
trans() | ||
&:focus | ||
border-color colorBg | ||
color colorText1 | ||
&::placeholder | ||
color colorText4 |
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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
_font_default() | ||
font-family SBSans | ||
_font_default(font-family) | ||
font-family font-family | ||
font-style normal | ||
font-stretch normal | ||
font-display swap | ||
|
||
@font-face | ||
_font_default() | ||
src local(SBSans-Bold), | ||
url(../res/fonts/SBSans/SBSansText-Bold.ttf) format("truetype"), | ||
url(../res/fonts/SBSans/sbsanstext-bold-webfont.woff) format("woff") | ||
_font_default(ALS-Sector) | ||
src local(ALS-Sector-Bold), | ||
src local(ALS Sector Bold), | ||
url(/res/fonts/ALS_Sector/ALS_Sector_Bold.ttf) format("truetype"), | ||
url(/res/fonts/ALS_Sector/ALS_Sector_Bold.woff) format("woff") | ||
font-weight 700 | ||
//@font-face | ||
// _font_default(ALS-Sector) | ||
// src local(ALS-Sector-SemiBold), | ||
// src local(ALS Sector SemiBold), | ||
// url(/res/fonts/ALS_Sector/ALS_Sector_SemiBold.ttf) format("truetype"), | ||
// url(/res/fonts/ALS_Sector/ALS_Sector_SemiBold.woff) format("woff") | ||
// font-weight 600 | ||
@font-face | ||
_font_default() | ||
src local(SBSans-SemiBold), | ||
url(../res/fonts/SBSans/SBSansText-SemiBold.ttf) format("truetype"), | ||
url(../res/fonts/SBSans/sbsanstext-semibold-webfont.woff) format("woff") | ||
font-weight 600 | ||
@font-face | ||
_font_default() | ||
src local(SBSans-Regular), | ||
url(../res/fonts/SBSans/SBSansText-Regular.ttf) format("truetype"), | ||
url(../res/fonts/SBSans/sbsanstext-regular-webfont.woff) format("woff") | ||
_font_default(ALS-Sector) | ||
src local(ALS-Sector-Regular), | ||
src local(ALS Sector Regular), | ||
url(/res/fonts/ALS_Sector/ALS_Sector_Regular.ttf) format("truetype"), | ||
url(/res/fonts/ALS_Sector/ALS_Sector_Regular.woff) format("woff") | ||
font-weight 500 | ||
|
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