Skip to content

Commit

Permalink
replace/rename/merge files + small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
grin3671 committed Oct 23, 2019
1 parent 45a5231 commit 5bcecf4
Show file tree
Hide file tree
Showing 19 changed files with 385 additions and 427 deletions.
126 changes: 0 additions & 126 deletions assets/achievements.sass

This file was deleted.

73 changes: 0 additions & 73 deletions assets/b-buttons.sass

This file was deleted.

18 changes: 18 additions & 0 deletions assets/blocks/b-buttons.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.b-button
@extend %md-button-flat

a.b-button
color: $color-primary

@media (min-width: 1025px)
&:hover
color: $color-primary

&:active
color: $color-primary


& + .b-js-link,
// Кнопка отмена (Клуб > Настройки > Страницы)
& + .cancel
@extend %md-button-flat
17 changes: 16 additions & 1 deletion assets/blocks/b-form.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,19 @@
&::after
// content: ''
display: block
// clear: both
// clear: both
input[type=submit]
@extend %md-button-raised

&[disabled],
&.disabled
background-color: $color-button-hover
box-shadow: none
color: $color-text-disabled !important

.cancel
@extend %md-button-flat

&:hover
text-decoration: none
18 changes: 17 additions & 1 deletion assets/blocks/b-shiki_editor.sass
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.b-shiki_editor
aside.markers
position: relative
Expand Down Expand Up @@ -109,6 +108,23 @@
.preview
margin: .375rem .5rem .375rem 0

// .b-shiki_editor footer .unpreview
// .b-shiki_editor.previewed footer .unpreview
.unpreview:not(.link)
@extend %md-button-flat
font-size: 0

&::after
content: 'Редактировать'
vertical-align: top
font-size: .875rem

[data-locale=en] &::after
content: 'Edit'

.cancel
@extend %md-button-flat

.about-bb_codes
position: relative
padding: .5rem
Expand Down
3 changes: 3 additions & 0 deletions assets/blocks/b-topic-preview.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@

@media screen and (max-width: 767px)
padding-left: 0

& > .editor-container .hide
@extend %md-button-flat
6 changes: 6 additions & 0 deletions assets/blocks/lib-buttons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
font-size: inherit
font-weight: 700

// Кнопка "Отмена" в редактировании аниме в своём списке
& > div,
// buttons (25px for <1024px & 15px for >1025px)
& a:not(.b-button)
line-height: 1.5rem !important


.editor-controls
overflow-x: auto
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions assets/rightbar.sass → assets/layouts/l-sidebar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
z-index: 10

.toggler
@extend %material-icons
border-radius: 4px
padding: 0 .25em
line-height: 24px
Expand All @@ -45,9 +46,7 @@
content: 'chevron_right' !important
display: inline-block
vertical-align: top
width: 1em
margin: 0
font-size: 1.5em
opacity: .72
transition: .16s cubic-bezier(.4,0,.6,1)

Expand Down
30 changes: 0 additions & 30 deletions assets/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -373,36 +373,6 @@ input



/* Стили Material Icons */
.l-page .menu-toggler .toggler::before
font-family: 'Material Icons' !important
font-weight: normal !important
line-height: 1

letter-spacing: normal
text-transform: none
word-wrap: normal
white-space: nowrap
direction: ltr

/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale
/* Support for IE. */
font-feature-settings: 'liga'










/* TODO: replace */
.b-catalog-entry-embedded
.b-catalog_entry
Expand Down
Loading

0 comments on commit 5bcecf4

Please sign in to comment.