-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from GeorgLegato/svg_backgrounds_toolbox
Svg backgrounds toolbox
- Loading branch information
Showing
5 changed files
with
131 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
.vectorstudio-iframe body { | ||
overflow: hidden; | ||
overflow: hidden; | ||
} | ||
|
||
#vectorstudio-iframe { | ||
width:100%; | ||
height:100vh; | ||
overflow: hidden; | ||
width: 100%; | ||
height: 100vh; | ||
overflow: hidden; | ||
} | ||
|
||
img[src$=".svg"], img[src^="data:image/svg"] { | ||
/* background: white; */ | ||
/*img[src$=".svg"], img[src^="data:image/svg"] {*/ | ||
.vs_svg_bg_0 { | ||
background: none; | ||
} | ||
|
||
background-image: | ||
linear-gradient(45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.2) 75%, rgba(255,255,255,.2)), | ||
linear-gradient(45deg, rgba(255,255,255,.2) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.2) 75%, rgba(255,255,255,.2)); | ||
background-size: 20px 20px; | ||
background-position: 0 0, 10px 10px; | ||
.vs_svg_bg_1 { | ||
background: white; | ||
} | ||
|
||
.vs_svg_bg_2 { | ||
background: black; | ||
} | ||
|
||
.vs_svg_bg_3 { | ||
background-image: | ||
linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .2) 75%, rgba(255, 255, 255, .2)), | ||
linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .2) 75%, rgba(255, 255, 255, .2)); | ||
background-size: 20px 20px; | ||
background-position: 0 0, 10px 10px; | ||
|
||
} |
Submodule svgedit
updated
from 8619a1 to 4014b7