X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-notifications%2Fmy-account-notifications.component.scss;h=b0ac45e300bc16d1ff5abeacb857bd074d9ae2f9;hb=ba8a8367e7fde7915ae6633445bf46ebf4a9fe94;hp=86ac094c5e07a470b7027c291a9a91f34d747c4e;hpb=2f1548fda32c3ba9e53913270394eedfacd55986;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss index 86ac094c5..b0ac45e30 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss @@ -1,23 +1,72 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .header { display: flex; - justify-content: space-between; font-size: 15px; - margin-bottom: 10px; + margin-bottom: 20px; a { @include peertube-button-link; @include grey-button; + @include button-with-icon(18px, 3px, -1px); } button { @include peertube-button; @include grey-button; + @include button-with-icon(20px, 3px, -1px); + } + + .peertube-select-container { + @include peertube-select-container(auto); } } + my-user-notifications { font-size: 15px; } + +@media screen and (max-width: $mobile-view) { + .header { + flex-direction: column; + + > :first-child, + .peertube-select-container { + margin-bottom: 15px; + } + + .peertube-select-container { + @include margin-left(0 !important); + } + } +} + +@media screen and (min-width: $mobile-view) and (max-width: $small-view) { + .header { + a { + font-size: 0; + padding: 0 13px; + } + + .peertube-select-container { + width: auto !important; + } + } +} + +@media screen and (min-width: $mobile-view) and (max-width: #{$small-view + $menu-width}) { + :host-context(.main-col:not(.expanded)) { + .header { + a { + font-size: 0; + padding: 0 13px; + } + + .peertube-select-container { + width: auto !important; + } + } + } +}