From e171a39c1f0ebc757e4a8786bcba82e418cee3f4 Mon Sep 17 00:00:00 2001 From: grin3671 Date: Sun, 20 Oct 2019 16:53:43 +0300 Subject: [PATCH] changed class. again --- assets/pages/p-dashboards.sass | 146 +++++++++++++++------------------ assets/version.sass | 2 +- 2 files changed, 68 insertions(+), 80 deletions(-) diff --git a/assets/pages/p-dashboards.sass b/assets/pages/p-dashboards.sass index 67fd745..07f12d1 100644 --- a/assets/pages/p-dashboards.sass +++ b/assets/pages/p-dashboards.sass @@ -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 @@ -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 @@ -146,8 +135,7 @@ content: 'Forum' -/* Ссылки на текущие турниры */ -.p-dashboards-show .v1 + // Ссылки на текущие турниры .contests .contest margin: 0 -.5rem diff --git a/assets/version.sass b/assets/version.sass index dcf5768..57af5c5 100644 --- a/assets/version.sass +++ b/assets/version.sass @@ -1,3 +1,3 @@ // SETTINGS -$ver: '1.5.8' +$ver: '1.5.9' $release: 'stable'