mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
fix text sizes
This commit is contained in:
parent
5b56bdf94a
commit
80c1382593
7 changed files with 12 additions and 13 deletions
|
@ -10,7 +10,6 @@ body {
|
||||||
color: $color-gray-20;
|
color: $color-gray-20;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// font-family: "sourcesanspro", sans-serif;
|
|
||||||
font-family: 'worksans', sans-serif;
|
font-family: 'worksans', sans-serif;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
.context-menu-action {
|
.context-menu-action {
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: $fs12;
|
font-size: $fs14;
|
||||||
padding: $size-2 $size-4;
|
padding: $size-2 $size-4;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -112,7 +112,7 @@
|
||||||
.options-zone {
|
.options-zone {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 365px;
|
width: 384px;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.zoom-dropdown {
|
.zoom-dropdown {
|
||||||
left : 150px;
|
left : 116px;
|
||||||
top: 45px;
|
top: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
.zoom-dropdown {
|
.zoom-dropdown {
|
||||||
top: 45px;
|
top: 45px;
|
||||||
left: -40px;
|
left: 48px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 40px;
|
||||||
left: 40px;
|
left: 40px;
|
||||||
width: 230px;
|
width: 270px;
|
||||||
z-index: 12;
|
z-index: 12;
|
||||||
@include animation(0,.2s,fadeInDown);
|
@include animation(0,.2s,fadeInDown);
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
|
|
||||||
li {
|
li {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: $fs12;
|
font-size: $fs14;
|
||||||
padding: $small $x-small;
|
padding: $small $x-small;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
left: 740px;
|
left: 740px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40px;
|
top: 40px;
|
||||||
width: 216px;
|
width: 240px;
|
||||||
z-index: 12;
|
z-index: 12;
|
||||||
padding: $x-small 0;
|
padding: $x-small 0;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
.zoom-dropdown {
|
.zoom-dropdown {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 12;
|
z-index: 12;
|
||||||
width: 160px;
|
width: 210px;
|
||||||
|
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
border-radius: $br-small;
|
border-radius: $br-small;
|
||||||
|
@ -26,13 +26,13 @@
|
||||||
li {
|
li {
|
||||||
color: $color-gray-60;
|
color: $color-gray-60;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: $fs12;
|
font-size: $fs14;
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: $small;
|
padding: $small;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: $color-gray-40;
|
color: $color-gray-20;
|
||||||
font-size: $fs12;
|
font-size: $fs14;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
(.translate dctx txfm 0)
|
(.translate dctx txfm 0)
|
||||||
(.translate dctx 0 txfm))
|
(.translate dctx 0 txfm))
|
||||||
|
|
||||||
(obj/set! dctx "font" "12px sourcesanspro")
|
(obj/set! dctx "font" "12px worksans")
|
||||||
(obj/set! dctx "fillStyle" "#7B7D85")
|
(obj/set! dctx "fillStyle" "#7B7D85")
|
||||||
(obj/set! dctx "strokeStyle" "#7B7D85")
|
(obj/set! dctx "strokeStyle" "#7B7D85")
|
||||||
(obj/set! dctx "textAlign" "center")
|
(obj/set! dctx "textAlign" "center")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue