mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 21:51:50 +02:00
update icon.css
Adding RTL styles to icon.css
This commit is contained in:
parent
d574abfc36
commit
7c9eedb805
1 changed files with 41 additions and 0 deletions
|
@ -16,23 +16,42 @@
|
|||
.icon + span {
|
||||
margin-left: 10px;
|
||||
}
|
||||
html[dir="rtl"] .icon + span {
|
||||
margin-right: 10px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.icon-block {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
html[dir="rtl"] .icon-block {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
margin-right: auto;
|
||||
}
|
||||
.icon-block + span {
|
||||
margin-left: 0;
|
||||
}
|
||||
html[dir="rtl"] .icon-block + span {
|
||||
margin-right: 0;
|
||||
margin-left: auto;
|
||||
}
|
||||
.dark .icon-16 {
|
||||
background-image: url('../img/16-white.svg');
|
||||
}
|
||||
.icon-add {
|
||||
background-position: -26px -24px;
|
||||
}
|
||||
html[dir="rtl"] .icon-add {
|
||||
background-position: -25px -24px;
|
||||
}
|
||||
.icon-back {
|
||||
background-position: -122px -144px;
|
||||
}
|
||||
html[dir="rtl"] .icon-back {
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
.icon-caption {
|
||||
background-position: -98px -24px;
|
||||
}
|
||||
|
@ -42,10 +61,17 @@
|
|||
.icon-delete {
|
||||
background-position: -121px -49px;
|
||||
}
|
||||
html[dir="rtl"] .icon-delete {
|
||||
background-position: -124px -49px;
|
||||
}
|
||||
.readonly .icon-delete,
|
||||
.off .icon-delete {
|
||||
background-position: -121px -122px;
|
||||
}
|
||||
html[dir="rtl"] .readonly .icon-delete,
|
||||
html[dir="rtl"] .off .icon-delete {
|
||||
background-position: -124px -122px;
|
||||
}
|
||||
.icon-drag {
|
||||
background-position: -72px -73px;
|
||||
cursor: move;
|
||||
|
@ -60,12 +86,21 @@
|
|||
.icon-edit {
|
||||
background-position: -51px -49px;
|
||||
}
|
||||
html[dir="rtl"] .icon-edit {
|
||||
background-position: -49px -49px;
|
||||
}
|
||||
.off .icon-edit {
|
||||
background-position: -51px -73px;
|
||||
}
|
||||
html[dir="rtl"] .off .icon-edit {
|
||||
background-position: -49px -73px;
|
||||
}
|
||||
.icon-filters {
|
||||
background-position: -4px -24px;
|
||||
}
|
||||
html[dir="rtl"] .icon-filters {
|
||||
background-position: -1px -24px;
|
||||
}
|
||||
.icon-key {
|
||||
background-position: -144px -121px;
|
||||
}
|
||||
|
@ -99,9 +134,15 @@
|
|||
.icon-settings {
|
||||
background-position: -23px -97px;
|
||||
}
|
||||
html[dir="rtl"] .icon-settings {
|
||||
background-position: -27px -97px;
|
||||
}
|
||||
.icon-share {
|
||||
background-position: 0px -120px;
|
||||
}
|
||||
html[dir="rtl"] .icon-share {
|
||||
background-position: -3px -120px;
|
||||
}
|
||||
.icon-table {
|
||||
background-position: -50px -1px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue