+}
+
+@mixin create-button {
+ @include peertube-button-link;
+ @include orange-button;
+ @include button-with-icon(20px, 5px, -1px);
+}
+
+@mixin row-blocks {
+ display: flex;
+ min-height: 130px;
+ padding-bottom: 20px;
+ margin-bottom: 20px;
+ border-bottom: 1px solid #C6C6C6;
+
+ @media screen and (max-width: 800px) {
+ flex-direction: column;
+ height: auto;
+ align-items: center;
+ }
+}
+
+@mixin dropdown-with-icon-item {
+ padding: 6px 15px;
+
+ my-global-icon {
+ width: 22px;
+ opacity: .7;
+
+ margin-right: 10px;
+ position: relative;
+ top: -2px;
+ }
+}
+
+@mixin progressbar {
+ background-color: $grey-background-color;
+ display: flex;
+ height: 1rem;
+ overflow: hidden;
+ font-size: 0.75rem;
+ border-radius: 0.25rem;
+
+ .progress-bar {
+ color: var(--mainBackgroundColor);
+ background-color: var(--mainColor);
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
+ white-space: nowrap;
+ transition: width 0.6s ease;
+
+ &.secondary {
+ background-color: var(--secondaryColor);
+ }
+ }
+}
+
+@mixin breadcrumb {
+ display: flex;
+ flex-wrap: wrap;
+ padding: 0.75rem 1rem;
+ margin-bottom: 1rem;
+ list-style: none;
+ background-color: var(--submenuColor);
+ border-radius: 0.25rem;
+
+ .breadcrumb-item {
+ display: flex;
+
+ a {
+ color: var(--mainColor);
+ }
+
+ & + .breadcrumb-item {
+ padding-left: 0.5rem;
+ &::before {
+ display: inline-block;
+ padding-right: 0.5rem;
+ color: #6c757d;
+ content: "/";
+ }
+ }
+
+ &.active {
+ color: #6c757d;
+ }
+ }
+}
+
+@mixin dashboard {
+ display: flex;
+ flex-wrap: wrap;
+ margin: 0 -5px;
+
+ & > div {
+ box-sizing: border-box;
+ flex: 0 0 percentage(1/3);
+ padding: 0 5px;
+ margin-bottom: 10px;
+
+ & > a {
+ text-decoration: none;
+ color: inherit;
+ display: block;
+ font-size: 18px;
+
+ &:active,
+ &:focus,
+ &:hover {
+ opacity: .8;
+ }
+ }
+
+ & > a,
+ & > div {
+ padding: 20px;
+ background: var(--submenuColor);
+ border-radius: 4px;
+ box-sizing: border-box;
+ height: 100%;
+ }
+ }
+
+ .dashboard-num, .dashboard-text {
+ text-align: center;
+ font-size: 130%;
+ line-height: 21px;
+ color: var(--mainForegroundColor);
+ line-height: 30px;
+ margin-bottom: 20px;
+ }
+
+ .dashboard-label {
+ font-size: 90%;
+ color: var(--inputPlaceholderColor);
+ text-align: center;
+ }
+}
+
+@mixin ng2-tags {
+ ::ng-deep {
+ .ng2-tag-input {
+ border: none !important;
+ }
+
+ .ng2-tags-container {
+ display: flex;
+ align-items: center;
+ border: 1px solid #C6C6C6;
+ border-radius: 3px;
+ padding: 5px !important;
+ height: max-content;
+
+ &:focus-within {
+ box-shadow: 0 0 0 .2rem var(--mainColorLightest);
+ }
+ }
+
+ tag-input-form {
+ input {
+ height: 30px !important;
+ font-size: 12px !important;
+
+ background-color: var(--mainBackgroundColor) !important;
+ color: var(--mainForegroundColor) !important;
+ }
+ }
+
+ tag {
+ background-color: $grey-background-color !important;
+ color: #000 !important;
+ border-radius: 3px !important;
+ font-size: 12px !important;
+ height: 30px !important;
+ line-height: 30px !important;
+ margin: 0 5px 0 0 !important;
+ cursor: default !important;
+ padding: 0 8px 0 10px !important;
+
+ div {
+ height: 100% !important;
+ }
+ }
+
+ delete-icon {
+ cursor: pointer !important;
+ height: auto !important;
+ vertical-align: middle !important;
+ padding-left: 6px !important;
+
+ svg {
+ position: relative;
+ top: -1px;
+ height: auto !important;
+ vertical-align: middle !important;
+
+ path {
+ fill: $grey-foreground-color !important;
+ }
+ }
+
+ &:hover {
+ transform: none !important;
+ }
+ }
+ }
+}
+
+@mixin divider($color: var(--submenuColor), $background: var(--mainBackgroundColor)) {
+ width: 95%;
+ border-top: .05rem solid $color;
+ height: .05rem;
+ text-align: center;
+ display: block;
+ position: relative;
+
+ &[data-content] {
+ margin: .8rem 0;
+
+ &::after {
+ background: $background;
+ color: $color;
+ content: attr(data-content);
+ display: inline-block;
+ font-size: .7rem;
+ padding: 0 .4rem;
+ transform: translateY(-.65rem);
+ }
+ }
+}