+ overflow: hidden;
+ background: var(--inputColor);
+ position: relative;
+ font-size: 15px;
+
+ &:after {
+ top: 50%;
+ right: calc(0% + 15px);
+ content: " ";
+ height: 0;
+ width: 0;
+ position: absolute;
+ pointer-events: none;
+ border: 5px solid rgba(0, 0, 0, 0);
+ border-top-color: #000;
+ margin-top: -2px;
+ z-index: 100;
+ }
+
+ select {
+ padding: 0 35px 0 12px;
+ width: calc(100% + 2px);
+ position: relative;
+ left: 1px;
+ border: none;
+ box-shadow: none;
+ background: transparent none;
+ appearance: none;
+ cursor: pointer;
+ height: $button-height;
+ text-overflow: ellipsis;
+ color: var(--mainForegroundColor);
+
+ &:focus {
+ outline: none;
+ }
+
+ &:-moz-focusring {
+ color: transparent;
+ text-shadow: 0 0 0 #000;
+ }
+ }
+}
+
+@mixin peertube-select-disabled-container ($width) {
+ @include peertube-select-container($width);
+
+ background-color: #E5E5E5;
+
+ select {
+ cursor: default;
+ }
+}
+
+// Thanks: https://codepen.io/triss90/pen/XNEdRe/
+@mixin peertube-radio-container {
+ input[type="radio"] {
+ display: none;
+
+ & + label {
+ font-weight: $font-regular;
+ cursor: pointer;
+
+ &:before {
+ position: relative;
+ top: -2px;
+ content: '';
+ background: #fff;
+ border-radius: 100%;
+ border: 1px solid #000;
+ display: inline-block;
+ width: 15px;
+ height: 15px;
+ vertical-align: middle;
+ cursor: pointer;
+ text-align: center;
+ margin-right: 10px;
+ }
+ }
+
+ &:checked + label:before {
+ background-color: #000;
+ box-shadow: inset 0 0 0 4px #fff;
+ }
+
+ &:focus + label:before {
+ outline: none;
+ border-color: #000;
+ }
+ }
+}
+
+@mixin peertube-checkbox ($border-width) {
+ display: none;
+
+ & + span {
+ position: relative;
+ width: 18px;
+ height: 18px;
+ border: $border-width solid var(--mainForegroundColor);
+ border-radius: 3px;
+ vertical-align: middle;
+ cursor: pointer;
+
+ &:after {
+ content: '';
+ position: absolute;
+ top: calc(2px - #{$border-width});
+ left: 5px;
+ width: 5px;
+ height: 12px;
+ opacity: 0;
+ transform: rotate(45deg) scale(0);
+ border-right: 2px solid var(--mainBackgroundColor);
+ border-bottom: 2px solid var(--mainBackgroundColor);
+ }
+ }
+
+ &:checked + span {
+ border-color: transparent;
+ background: var(--mainColor);
+ animation: jelly 0.6s ease;
+
+ &:after {
+ opacity: 1;
+ transform: rotate(45deg) scale(1);
+ }
+ }
+
+ & + span + span {
+ font-size: 15px;
+ font-weight: $font-regular;
+ margin-left: 5px;
+ cursor: pointer;
+ display: inline;
+ }
+
+ &[disabled] + span,
+ &[disabled] + span + span{
+ opacity: 0.5;
+ cursor: default;
+ }
+}
+
+
+@mixin avatar ($size) {
+ object-fit: cover;
+ border-radius: 50%;
+ width: $size;
+ height: $size;
+}
+
+@mixin chevron ($size, $border-width) {
+ border-style: solid;
+ border-width: $border-width $border-width 0 0;
+ content: '';
+ display: inline-block;
+ transform: rotate(-45deg);
+ height: $size;
+ width: $size;
+}
+
+@mixin chevron-right ($size, $border-width) {
+ @include chevron($size, $border-width);
+
+ left: 0;
+ transform: rotate(45deg);
+}
+
+@mixin chevron-left ($size, $border-width) {
+ @include chevron($size, $border-width);
+
+ left: 0.25em;
+ transform: rotate(-135deg);
+}
+
+@mixin in-content-small-title {
+ text-transform: uppercase;
+ color: var(--mainColor);
+ font-weight: $font-bold;
+ font-size: 13px;