mirror of https://github.com/Chocobozzz/PeerTube
Fix buttons CSS
parent
15825ef18d
commit
420a6043cc
|
@ -37,7 +37,7 @@
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
<div class="comment-actions">
|
<div class="comment-actions">
|
||||||
<div tabindex=0 (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div>
|
<button (click)="onWantToReply()" class="comment-action-reply border-0 p-0" i18n>Reply</button>
|
||||||
|
|
||||||
<my-user-moderation-dropdown
|
<my-user-moderation-dropdown
|
||||||
[prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false"
|
[prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false"
|
||||||
|
|
|
@ -8,6 +8,11 @@
|
||||||
.view-replies {
|
.view-replies {
|
||||||
font-weight: $font-semibold;
|
font-weight: $font-semibold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.chevron-down {
|
||||||
|
@include margin-left(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-block {
|
.title-block {
|
||||||
|
@ -37,12 +42,6 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
|
||||||
.view-replies {
|
|
||||||
@include margin-left(46px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 450px) {
|
@media screen and (max-width: 450px) {
|
||||||
.view-replies {
|
.view-replies {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
@media screen and (max-width: $mobile-view) {
|
@media screen and (max-width: $mobile-view) {
|
||||||
@include margin-right(10px);
|
@include margin-right(10px);
|
||||||
|
|
||||||
padding: 0 10px;
|
padding-right: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
|
|
||||||
.icon.icon-upload {
|
.icon.icon-upload {
|
||||||
@include margin-right(0);
|
@include margin-right(0);
|
||||||
|
|
|
@ -252,6 +252,8 @@ my-actor-avatar {
|
||||||
|
|
||||||
> a,
|
> a,
|
||||||
> my-login-link {
|
> my-login-link {
|
||||||
|
@include ellipsis;
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,3 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my-global-icon {
|
|
||||||
margin: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -17,11 +17,11 @@
|
||||||
|
|
||||||
.actor-img-edit-button {
|
.actor-img-edit-button {
|
||||||
@include peertube-button-file(30px);
|
@include peertube-button-file(30px);
|
||||||
|
@include button-with-icon;
|
||||||
@include orange-button;
|
@include orange-button;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 0;
|
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -250,12 +250,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin peertube-button {
|
@mixin peertube-button {
|
||||||
padding: 0 13px;
|
padding: 4px 13px;
|
||||||
|
|
||||||
border: 0;
|
border: 0;
|
||||||
font-weight: $font-semibold;
|
font-weight: $font-semibold;
|
||||||
min-height: $button-height;
|
|
||||||
line-height: $button-height;
|
|
||||||
|
|
||||||
// Because of primeng that redefines border-radius of all input[type="..."]
|
// Because of primeng that redefines border-radius of all input[type="..."]
|
||||||
border-radius: 3px !important;
|
border-radius: 3px !important;
|
||||||
|
@ -267,6 +265,7 @@
|
||||||
|
|
||||||
my-global-icon + * {
|
my-global-icon + * {
|
||||||
@include margin-right(4px);
|
@include margin-right(4px);
|
||||||
|
@include margin-left(4px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -318,7 +317,6 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
min-height: 30px;
|
|
||||||
|
|
||||||
input[type=file] {
|
input[type=file] {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -331,7 +329,7 @@
|
||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
background: #fff;
|
background: pvar(--mainBackgroundColor);
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue