mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
tidy up post button css
This commit is contained in:
parent
95be6c29a4
commit
1341836e09
4 changed files with 9 additions and 20 deletions
|
@ -985,7 +985,8 @@ fieldset legend {
|
||||||
}
|
}
|
||||||
.voting_buttons_new .upvote_button, .voting_buttons_new .downvote_button {
|
.voting_buttons_new .upvote_button, .voting_buttons_new .downvote_button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 5px 15px;
|
padding: 5px 0;
|
||||||
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
|
color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
|
||||||
|
@ -1012,11 +1013,6 @@ fieldset legend {
|
||||||
.voting_buttons_new .upvote_button {
|
.voting_buttons_new .upvote_button {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
@media (min-width: 1280px) {
|
|
||||||
.voting_buttons_new .upvote_button {
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.voting_buttons_new .upvote_button .htmx-indicator {
|
.voting_buttons_new .upvote_button .htmx-indicator {
|
||||||
left: 13px;
|
left: 13px;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
|
@ -1028,9 +1024,6 @@ fieldset legend {
|
||||||
left: 12px;
|
left: 12px;
|
||||||
}
|
}
|
||||||
@media (min-width: 1280px) {
|
@media (min-width: 1280px) {
|
||||||
.voting_buttons_new .downvote_button {
|
|
||||||
padding-left: 5px;
|
|
||||||
}
|
|
||||||
.voting_buttons_new .downvote_button .htmx-indicator {
|
.voting_buttons_new .downvote_button .htmx-indicator {
|
||||||
left: 2px;
|
left: 2px;
|
||||||
}
|
}
|
||||||
|
@ -1125,7 +1118,6 @@ fieldset legend {
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-bottom: 10px;
|
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
@ -1178,7 +1170,7 @@ fieldset legend {
|
||||||
}
|
}
|
||||||
.comment .comment_actions a {
|
.comment .comment_actions a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 5px 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.comment .comment_actions .hide_button {
|
.comment .comment_actions .hide_button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -623,7 +623,8 @@ html {
|
||||||
|
|
||||||
.upvote_button, .downvote_button {
|
.upvote_button, .downvote_button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 5px 15px;
|
padding: 5px 0;
|
||||||
|
text-align: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
|
color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
|
||||||
|
@ -654,9 +655,7 @@ html {
|
||||||
|
|
||||||
.upvote_button {
|
.upvote_button {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
@include breakpoint(laptop) {
|
|
||||||
padding-right: 5px;
|
|
||||||
}
|
|
||||||
.htmx-indicator {
|
.htmx-indicator {
|
||||||
left: 13px;
|
left: 13px;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
|
@ -669,7 +668,6 @@ html {
|
||||||
left: 12px;
|
left: 12px;
|
||||||
}
|
}
|
||||||
@include breakpoint(laptop) {
|
@include breakpoint(laptop) {
|
||||||
padding-left: 5px;
|
|
||||||
.htmx-indicator {
|
.htmx-indicator {
|
||||||
left: 2px;
|
left: 2px;
|
||||||
}
|
}
|
||||||
|
@ -776,7 +774,6 @@ html {
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-bottom: 10px;
|
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
|
||||||
|
@ -836,7 +833,7 @@ html {
|
||||||
position: relative;
|
position: relative;
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 5px 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hide_button {
|
.hide_button {
|
||||||
|
|
|
@ -693,7 +693,7 @@ div.navbar {
|
||||||
.comment_actions_link {
|
.comment_actions_link {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
top: 3px;
|
||||||
right: -16px;
|
right: -16px;
|
||||||
width: 41px;
|
width: 41px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
@ -284,7 +284,7 @@ div.navbar {
|
||||||
.comment_actions_link {
|
.comment_actions_link {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
top: 3px;
|
||||||
right: -16px;
|
right: -16px;
|
||||||
width: 41px;
|
width: 41px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Add table
Reference in a new issue