Skip to content

Commit

Permalink
changed class. again
Browse files Browse the repository at this point in the history
  • Loading branch information
grin3671 committed Oct 20, 2019
1 parent 50a7d56 commit e171a39
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 80 deletions.
146 changes: 67 additions & 79 deletions assets/pages/p-dashboards.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,58 @@
* Dashboard Layout
* Изменение положения блоков на главной странице
*/
.p-dashboards-show .v1 .cc-second
.cc-inner
display: none

& > .c-forum
@media (min-width: 480px) and (max-width: 767px)
width: 100%
.p-dashboards-show
.cc-second
.cc-inner
display: none

.b-forums,
.contests
float: left
width: 48%
& > .c-forum
@media (min-width: 480px) and (max-width: 767px)
width: 100%

.b-forums
margin-right: 4%
.b-forums,
.contests
float: left
width: 48%

@media (min-width: 768px)
float: right
width: 30.33333%
margin-bottom: 0
.b-forums
margin-right: 4%

& > .cc-inner
display: block
float: none
width: 100%
margin: 0
@media (min-width: 768px)
float: right
width: 30.33333%
margin-bottom: 0

& > .c-content,
& > .c-my_list
& > .cc-inner
display: block
float: none
width: 100%
padding: 0
margin: 0

& > .c-forum
float: none
width: 100%
& > .c-content,
& > .c-my_list
float: none
width: 100%
padding: 0

& > .b-forums,
& > .block:last-child
margin-bottom: 1.5rem
& > .c-forum
float: none
width: 100%

.cc-inner
display: none
& > .b-forums,
& > .block:last-child
margin-bottom: 1.5rem

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait)
width: 37%
.cc-inner
display: none

@media (max-width: 767px)
margin-bottom: .5rem
/* END of Dashboard Layout */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait)
width: 37%

@media (max-width: 767px)
margin-bottom: .5rem


/**
* INDEX
* Изменения главной страницы.
*/
.p-dashboards-show .v1
.c-my_list
padding: 0
background: initial
Expand All @@ -72,51 +66,46 @@
float: right


// Изменение новостей на главной
.cc-news
.c-news_topics
line-height: inherit

/* Изменение новостей на главной */
.p-dashboards-show .v1 .cc-news
.c-news_topics
line-height: inherit

.b-topic
margin-bottom: 0
border-top-width: 0

& > .inner
padding: 8px 0 24px

header
.name-date
padding-right: 0
.b-topic
margin-bottom: 0
border-top-width: 0

&:first-child > .inner
padding-top: 0
& > .inner
padding: 8px 0 24px

.name-date a
padding: 0 0 .25rem
font-size: 22px !important
font-weight: 400 !important
line-height: 1.5
white-space: normal
header
.name-date
padding-right: 0

.b-anime_status_tag
display: none
&:first-child > .inner
padding-top: 0

.c-generated_news
line-height: inherit
.name-date a
padding: 0 0 .25rem
font-size: 22px !important
font-weight: 400 !important
line-height: 1.5
white-space: normal

.b-topic
border-color: $color-border
.b-anime_status_tag
display: none

.name-date a
font-size: 16px !important
.c-generated_news
line-height: inherit

.b-topic
border-color: $color-border

.name-date a
font-size: 16px !important


/* Change Forum Button */
/* NOTE: Цвета настраиваются в общем блоке ЦВЕТА */
.p-dashboards-show .v1
// Change Forum Button
.b-forums > .b-link_button.maxi
position: relative
margin-bottom: 0
Expand Down Expand Up @@ -146,8 +135,7 @@
content: 'Forum'


/* Ссылки на текущие турниры */
.p-dashboards-show .v1
// Ссылки на текущие турниры
.contests .contest
margin: 0 -.5rem

Expand Down
2 changes: 1 addition & 1 deletion assets/version.sass
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// SETTINGS
$ver: '1.5.8'
$ver: '1.5.9'
$release: 'stable'

0 comments on commit e171a39

Please sign in to comment.