mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Reorganize main shared
This commit is contained in:
parent
5e608d7c71
commit
2dbb83c11b
158 changed files with 214 additions and 212 deletions
|
@ -0,0 +1,65 @@
|
|||
@use '_variables' as *;
|
||||
@use '_mixins' as *;
|
||||
|
||||
:host {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.list-overflow-parent {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
// For the menu icon
|
||||
max-width: calc(100vw - 30px);
|
||||
}
|
||||
|
||||
.list-overflow-menu {
|
||||
position: absolute;
|
||||
right: 25px;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 30px;
|
||||
border: 0;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.route-active {
|
||||
&::after {
|
||||
display: inherit;
|
||||
border: 2px solid pvar(--mainColor);
|
||||
position: relative;
|
||||
right: 95%;
|
||||
top: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::ng-deep .dropdown-menu {
|
||||
margin-top: 0 !important;
|
||||
position: static;
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
a {
|
||||
color: currentColor;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
font-size: 1.2rem;
|
||||
padding: 9px 12px;
|
||||
text-align: initial;
|
||||
text-transform: unset;
|
||||
width: 100%;
|
||||
|
||||
@include disable-default-a-behaviour;
|
||||
|
||||
&.active {
|
||||
color: pvar(--mainBackgroundColor) !important;
|
||||
background-color: pvar(--mainHoverColor);
|
||||
opacity: .9;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue