X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_mixins.scss;h=ffbedd3f58afb9b1d71b761f2ccc251badff6856;hb=08c1efbe32244c321de28b0f2a6aaa3f99f46b58;hp=f905f9ae5f7e4d4f7d9207b6c0f78e13642a207a;hpb=c6352f2c64f3c1ad54f8500f493587cdce3d33c9;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index f905f9ae5..ffbedd3f5 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -16,6 +16,17 @@ } } +@mixin peertube-word-wrap { + word-break: normal; + word-wrap: break-word; + overflow-wrap: break-word; + -webkit-hyphens: auto; + -ms-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; + text-align: justify; +} + @mixin peertube-input-text($width) { display: inline-block; height: $button-height; @@ -303,3 +314,79 @@ left: 0.25em; transform: rotate(-135deg); } + +@mixin in-content-small-title { + text-transform: uppercase; + color: $orange-color; + font-weight: $font-bold; + font-size: 13px; +} + +@mixin sub-menu-with-actor { + height: 160px; + display: flex; + flex-direction: column; + align-items: start; + + .actor { + display: flex; + margin-top: 20px; + margin-bottom: 20px; + + img { + @include avatar(80px); + + margin-right: 20px; + } + + .actor-info { + display: flex; + flex-direction: column; + justify-content: center; + + .actor-names { + display: flex; + align-items: center; + + .actor-display-name { + font-size: 23px; + font-weight: $font-bold; + } + + .actor-name { + margin-left: 7px; + position: relative; + top: 3px; + font-size: 14px; + color: #777272; + } + } + + .actor-followers { + font-size: 15px; + } + } + } + + .links { + margin-top: 0; + margin-bottom: 10px; + + a { + margin-top: 0; + margin-bottom: 0; + } + } +} + +@mixin create-button { + @include peertube-button-link; + @include orange-button; + + .icon.icon-add { + @include icon(22px); + + margin-right: 3px; + background-image: url('/assets/images/admin/add.svg'); + } +} \ No newline at end of file