mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
adding illustrations to a few key tooltips in walkthrough.
This commit is contained in:
23
css/app.css
23
css/app.css
@@ -2109,9 +2109,12 @@ div.typeahead a:first-child {
|
||||
border-width: 0 5px 5px;
|
||||
}
|
||||
|
||||
|
||||
/* Exceptions for tooltips that are up against the edge of the screen */
|
||||
.add-point .tooltip {
|
||||
left: -20px !important; }
|
||||
|
||||
.curtain-tooltip.intro-points-add .tooltip-arrow,
|
||||
.add-point .tooltip .tooltip-arrow {
|
||||
left: 60px;
|
||||
}
|
||||
@@ -2332,3 +2335,23 @@ div.typeahead a:first-child {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Tooltip illustrations */
|
||||
|
||||
.intro-points-add .tooltip-inner::before,
|
||||
.intro-areas-add .tooltip-inner::before,
|
||||
.intro-lines-add .tooltip-inner::before {
|
||||
display: block;
|
||||
content: "";
|
||||
height: 80px;
|
||||
width: 200px;
|
||||
background:transparent url(../img/sprite.png) no-repeat 0px -320px;
|
||||
}
|
||||
|
||||
.intro-areas-add .tooltip-inner::before {
|
||||
background-position: 0px -400px;
|
||||
}
|
||||
|
||||
.intro-lines-add .tooltip-inner::before {
|
||||
background-position: 0px -480px;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 167 KiB |
BIN
img/sprite.png
BIN
img/sprite.png
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 36 KiB |
BIN
img/sprite2x.png
BIN
img/sprite2x.png
Binary file not shown.
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 78 KiB |
Reference in New Issue
Block a user