kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Floating action button CSS fixes
rodzic
93fd5c5810
commit
7e0dec594f
|
@ -1526,24 +1526,35 @@ a.account__display-name {
|
||||||
.floating-action-button {
|
.floating-action-button {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
display: none;
|
display: none;
|
||||||
@media screen and (max-width: 895px) {display: flex;}
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 14px;
|
bottom: 14px;
|
||||||
right: 14px;
|
right: 14px;
|
||||||
width: 61px;
|
width: 61px;
|
||||||
height: 61px;
|
height: 61px;
|
||||||
background-color: $nav-ui-highlight-color;
|
background-color: $nav-ui-highlight-color;
|
||||||
border: none;
|
border: 0;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
box-shadow: 2px 5px 5px #999;
|
box-shadow: 2px 5px 5px #999;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
@media screen and (max-width: 895px) {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:active {background-color: darken($nav-ui-highlight-color, 10%) !important;}
|
&:active {
|
||||||
|
background-color: darken($nav-ui-highlight-color, 10%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-pencil {
|
i.fa {
|
||||||
margin-right: 0;
|
display: flex;
|
||||||
transform: translate(1px, 2px);
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #fff;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue