Client bulk delete
[oweals/peertube.git] / client / src / sass / _mixins.scss
1 @mixin disable-default-a-behaviour {
2   &:hover, &:focus {
3     text-decoration: none !important;
4     outline: none !important;
5   }
6 }
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;
34
35   &:hover {
36     background-color: $orange-hoover-color;
37   }
38 }
39
40 @mixin peertube-button-link {
41   display: inline-block;
42
43   @include disable-default-a-behaviour;
44   @include peertube-button;
45 }
46
47 @mixin avatar ($size) {
48   width: $size;
49   height: $size;
50 }