(fix) FF layout issues
This commit is contained in:
parent
588c34c63b
commit
3e979af97d
|
@ -18,24 +18,48 @@
|
||||||
|
|
||||||
&#{ & }-core {
|
&#{ & }-core {
|
||||||
background-color: $poa-purple;
|
background-color: $poa-purple;
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
|
background-color: darken($poa-purple, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&#{ & }-sokol {
|
&#{ & }-sokol {
|
||||||
background-color: $sokol-cyan;
|
background-color: $sokol-cyan;
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
|
background-color: darken($sokol-cyan, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&#{ & }-dai {
|
&#{ & }-dai {
|
||||||
background-color: $xdai-orange;
|
background-color: $xdai-orange;
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
|
background-color: darken($xdai-orange, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&#{ & }-cancel {
|
&#{ & }-cancel {
|
||||||
|
&,
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
background-color: #f21b57 !important;
|
background-color: #f21b57 !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&#{ & }-disabled {
|
&#{ & }-disabled {
|
||||||
|
&,
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
|
cursor: default;
|
||||||
background-color: #f0f0f0 !important;
|
background-color: #f0f0f0 !important;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.bc-BallotFooter & {
|
.bc-BallotFooter & {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
color: $poa-purple;
|
color: $poa-purple;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: 17px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -18,6 +18,7 @@ $sw-ButtonNewBallot-height: 36px;
|
||||||
|
|
||||||
&#{ & }-core {
|
&#{ & }-core {
|
||||||
background-color: $poa-green-color;
|
background-color: $poa-green-color;
|
||||||
|
box-shadow: 0 5px 10px 0 rgba($poa-purple, 0.3);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
&:active,
|
&:active,
|
||||||
|
@ -28,6 +29,7 @@ $sw-ButtonNewBallot-height: 36px;
|
||||||
|
|
||||||
&#{ & }-sokol {
|
&#{ & }-sokol {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
box-shadow: 0 5px 10px 0 rgba($sokol-cyan, 0.3);
|
||||||
color: $sokol-cyan;
|
color: $sokol-cyan;
|
||||||
|
|
||||||
&:active,
|
&:active,
|
||||||
|
@ -38,6 +40,7 @@ $sw-ButtonNewBallot-height: 36px;
|
||||||
|
|
||||||
&#{ & }-dai {
|
&#{ & }-dai {
|
||||||
background-color: $xdai-menu-icon-color;
|
background-color: $xdai-menu-icon-color;
|
||||||
|
box-shadow: 0 5px 10px 0 rgba($xdai-menu-icon-color, 0.3);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
||||||
&:active,
|
&:active,
|
||||||
|
@ -51,6 +54,7 @@ $sw-ButtonNewBallot-height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hd-MobileMenuLinks & {
|
.hd-MobileMenuLinks & {
|
||||||
|
box-shadow: none;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
line-height: 1.38;
|
line-height: 1.38;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
|
word-break: break-all; // hack for FF, leave it as it is
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
||||||
&#{ & }-core {
|
&#{ & }-core {
|
||||||
|
|
|
@ -5,5 +5,10 @@
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
transition: background-color 0.25s ease-out;
|
transition: box-shadow 0.15s ease-out;
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:hover {
|
||||||
|
box-shadow: 0 0 15px 0 rgba(#666, 0.3);
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -24,10 +24,9 @@
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken($base-border-color, 10%);
|
background-color: #f9f9f9;
|
||||||
|
border-color: $base-border-color;
|
||||||
color: $input-color;
|
color: $input-color;
|
||||||
cursor: not-allowed;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue