Skip to content
Snippets Groups Projects
Commit 55e14c59 authored by Lukas Haase's avatar Lukas Haase
Browse files

remove changes in ars-lib. center questionwall votes

parent cc09b7c9
Branches
Tags
No related merge requests found
......@@ -4,58 +4,58 @@
p, h1, h2, h3, h4, h5 {
padding: 0;
margin: 0;
font-family: Roboto, 'sans-serif';
font-family:Roboto, 'sans-serif';
}
button {
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
float: left;
button{
background-color:transparent;
border:none;
outline:none;
cursor:pointer;
float:left;
}
button > * {
float: left;
cursor: pointer;
button > *{
float:left;
cursor:pointer;
}
button:focus-visible > *:first-child {
outline: red 2px solid;
outline-offset: 2px;
button:focus-visible > *:first-child{
outline:red 2px solid;
outline-offset:2px;
}
ars-col > button > p {
font-weight: 500;
font-size: 14px;
line-height: 18px;
padding-top: 1px;
padding-bottom: 3px;
color: var(--ars-button-color);
ars-col > button > p{
font-weight:500;
font-size:14px;
line-height:18px;
padding-top:1px;
padding-bottom:3px;
color:var(--ars-button-color);
}
ars-row > button > p {
font-weight: 500;
font-size: 14px;
line-height: 14px;
color: var(--ars-button-color);
ars-row > button > p{
font-weight:500;
font-size:14px;
line-height:14px;
color:var(--ars-button-color);
}
ars-row > button > *:nth-child(2) {
float: right;
ars-row > button > *:nth-child(2){
float:right;
}
button > *:nth-child(2) {
margin-left: 30px;
button > *:nth-child(2){
margin-left:12px;
}
button > i {
font-family: 'Material Icons', serif;
font-weight: normal;
font-style: normal;
font-size: 18px;
line-height: 18px;
color: var(--ars-button-color);
button > i{
font-family:'Material Icons', serif;
font-weight:normal;
font-style:normal;
font-size:18px;
line-height:18px;
color:var(--ars-button-color);
}
}
......@@ -76,8 +76,13 @@
<ars-row [height]="50">
<ars-style-btn-material style="width:100%;height:100%;" ars-flex-box>
<ars-col ars-btn-wrp [xp]="32" [extra]="true" class="questionwall-comment-btn">
<button ars-btn (click)="likeComment(commentFocus)" matRipple><i>thumb_up</i><p>{{commentFocus.comment.score}}</p></button>
<button ars-btn (click)="dislikeComment(commentFocus)" matRipple><i>thumb_down</i></button>
<button ars-btn (click)="likeComment(commentFocus)" matRipple>
<i>thumb_up</i>
<p style="padding-left:22px;">{{commentFocus.comment.score}}</p>
</button>
<button ars-btn (click)="dislikeComment(commentFocus)" matRipple>
<i>thumb_down</i>
</button>
</ars-col>
<ars-fill></ars-fill>
<ars-col ars-btn-wrp [xp]="32" [extra]="true" *ngIf="commentFocus.comment.tag">
......@@ -173,8 +178,13 @@
<ars-row [height]="50">
<ars-style-btn-material style="width:100%;height:100%;" ars-flex-box>
<ars-col ars-btn-wrp [xp]="16" [extra]="true" class="questionwall-comment-btn">
<button ars-btn (click)="likeComment(comment)" matRipple><i>thumb_up</i><p>{{comment.comment.score}}</p></button>
<button ars-btn (click)="dislikeComment(comment)" matRipple><i>thumb_down</i></button>
<button ars-btn (click)="likeComment(comment)" matRipple>
<i>thumb_up</i>
<p style="padding-left:4px;">{{comment.comment.score}}</p>
</button>
<button ars-btn (click)="dislikeComment(comment)" matRipple>
<i>thumb_down</i>
</button>
</ars-col>
<ars-fill (click)="focusComment(comment)" style="cursor:pointer"></ars-fill>
<ars-col ars-btn-wrp [xp]="16" [extra]="true"*ngIf="comment.comment.tag">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment