mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 04:31:36 +02:00
Make rtl compatible
and minor refactor
This commit is contained in:
committed by
Bryan Housel
parent
957c75a7cc
commit
d45063dd69
+23
-4
@@ -3132,11 +3132,10 @@ img.tile-removing {
|
||||
padding-right: 10px;
|
||||
color: #767676;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
padding-bottom: 5px;
|
||||
width: 50%;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
.modal-shortcuts .shortcut-desc {
|
||||
padding-bottom: 5px;
|
||||
width: 50%;
|
||||
@@ -3144,7 +3143,7 @@ img.tile-removing {
|
||||
|
||||
.modal-shortcuts kbd {
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
padding: 3px 5px;
|
||||
font-size: 11px;
|
||||
line-height: 10px;
|
||||
@@ -3159,6 +3158,7 @@ img.tile-removing {
|
||||
box-shadow: inset 0 -1px 0 #bbb;
|
||||
}
|
||||
|
||||
|
||||
/* Save Mode
|
||||
------------------------------------------------------- */
|
||||
.mode-save a.user-info {
|
||||
@@ -4092,3 +4092,22 @@ li.hide + li.version .badge .tooltip .tooltip-arrow {
|
||||
[dir='rtl'] .spin-control button.increment{
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
/* modal */
|
||||
[dir='rtl'] .modal > button {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: unset;
|
||||
top: 0;
|
||||
height: 59px;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
/* shortcuts modal */
|
||||
|
||||
[dir='rtl'] .kbd-row {
|
||||
padding-left: 10px;
|
||||
color: #767676;
|
||||
text-align: left;
|
||||
padding-bottom: 5px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user