]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/_mixins.scss
Design other videos in watch video page
[github/Chocobozzz/PeerTube.git] / client / src / sass / _mixins.scss
CommitLineData
26c6ee80
C
1@mixin disable-default-a-behaviour {
2 &:hover, &:focus {
3 text-decoration: none !important;
4 outline: none !important;
5 }
6}
c30745f3
C
7
8@mixin peertube-input-text($width) {
9 display: inline-block;
10 height: $button-height;
11 width: $width;
12 background: #fff;
13 border: 1px solid #C6C6C6;
14 border-radius: 3px;
15 padding-left: 15px;
16
17 &::placeholder {
18 color: #585858;
19 }
20}
21
22@mixin peertube-button {
23 border: none;
24 color: #fff;
25 font-weight: $font-semibold;
26 font-size: 15px;
27 height: $button-height;
28 line-height: $button-height;
29 border-radius: 3px;
30 text-align: center;
31 background-color: $orange-color;
32 padding: 0 17px 0 13px;
33 cursor: pointer;
7d763d97
C
34
35 &:hover {
ce0e281d 36 background-color: $orange-hoover-color;
7d763d97 37 }
c30745f3
C
38}
39
40@mixin peertube-button-link {
41 display: inline-block;
42
c30745f3 43 @include disable-default-a-behaviour;
ce0e281d 44 @include peertube-button;
c30745f3 45}
2295ce6c
C
46
47@mixin avatar ($size) {
48 width: $size;
49 height: $size;
50}