mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-14 00:54:09 +02:00
kss - adding browser sketch for fullscreen example
This commit is contained in:
85
doc/kss/templates/default/kss-assets/browser_icon.svg
Normal file
85
doc/kss/templates/default/kss-assets/browser_icon.svg
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="12.229629mm"
|
||||
height="2.8222222mm"
|
||||
viewBox="0 0 43.333329 9.9999999"
|
||||
id="svg4272"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="browser_icon.svg">
|
||||
<defs
|
||||
id="defs4274" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="12.169231"
|
||||
inkscape:cx="32.5"
|
||||
inkscape:cy="7.5000031"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:window-width="1301"
|
||||
inkscape:window-height="744"
|
||||
inkscape:window-x="65"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid4820"
|
||||
originx="-120"
|
||||
originy="-719.99998" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata4277">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Capa 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-120,-322.36221)">
|
||||
<circle
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none"
|
||||
id="path4822"
|
||||
cx="125"
|
||||
cy="327.36221"
|
||||
r="5" />
|
||||
<circle
|
||||
r="5"
|
||||
cy="327.36221"
|
||||
cx="141.66667"
|
||||
id="circle4824"
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none" />
|
||||
<circle
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none"
|
||||
id="circle4826"
|
||||
cx="158.33333"
|
||||
cy="327.36221"
|
||||
r="5" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
@@ -449,10 +449,17 @@
|
||||
border-radius: 6px;
|
||||
padding-bottom: 50%; }
|
||||
#kss-node .kss-modifier__example .fullscreen::before {
|
||||
background-color: #f3f3f5;
|
||||
background: url("./browser_icon.svg") no-repeat 5px center #f3f3f5;
|
||||
border-bottom: 2px solid #e7e7e9;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 20px; }
|
||||
#kss-node .kss-modifier__example .fullscreen .embed {
|
||||
height: calc(100% - 30px);
|
||||
left: 5px;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
width: calc(100% - 10px); }
|
||||
#kss-node.kss-guides-mode .kss-modifier__example:before, #kss-node.kss-guides-mode .kss-modifier__example:after,
|
||||
#kss-node.kss-guides-mode .kss-modifier__example-footer:before,
|
||||
#kss-node.kss-guides-mode .kss-modifier__example-footer:after {
|
||||
|
@@ -725,11 +725,20 @@ $kss-vertical-rhythm: $kss-font-size * 1.5;
|
||||
padding-bottom: 50%;
|
||||
|
||||
&::before {
|
||||
background-color: $kss-colors-subheader-bg;
|
||||
background: url('./browser_icon.svg') no-repeat 5px center $kss-colors-subheader-bg;
|
||||
border-bottom: 2px solid $kss-colors-subheader-border;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.embed {
|
||||
height: calc(100% - 30px);
|
||||
left: 5px;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
85
doc/styleguide/kss-assets/browser_icon.svg
Normal file
85
doc/styleguide/kss-assets/browser_icon.svg
Normal file
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="12.229629mm"
|
||||
height="2.8222222mm"
|
||||
viewBox="0 0 43.333329 9.9999999"
|
||||
id="svg4272"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="browser_icon.svg">
|
||||
<defs
|
||||
id="defs4274" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="12.169231"
|
||||
inkscape:cx="32.5"
|
||||
inkscape:cy="7.5000031"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:window-width="1301"
|
||||
inkscape:window-height="744"
|
||||
inkscape:window-x="65"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid4820"
|
||||
originx="-120"
|
||||
originy="-719.99998" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata4277">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Capa 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-120,-322.36221)">
|
||||
<circle
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none"
|
||||
id="path4822"
|
||||
cx="125"
|
||||
cy="327.36221"
|
||||
r="5" />
|
||||
<circle
|
||||
r="5"
|
||||
cy="327.36221"
|
||||
cx="141.66667"
|
||||
id="circle4824"
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none" />
|
||||
<circle
|
||||
style="fill:#e7e7e9;fill-opacity:1;stroke:none"
|
||||
id="circle4826"
|
||||
cx="158.33333"
|
||||
cy="327.36221"
|
||||
r="5" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
@@ -449,10 +449,17 @@
|
||||
border-radius: 6px;
|
||||
padding-bottom: 50%; }
|
||||
#kss-node .kss-modifier__example .fullscreen::before {
|
||||
background-color: #f3f3f5;
|
||||
background: url("./browser_icon.svg") no-repeat 5px center #f3f3f5;
|
||||
border-bottom: 2px solid #e7e7e9;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 20px; }
|
||||
#kss-node .kss-modifier__example .fullscreen .embed {
|
||||
height: calc(100% - 30px);
|
||||
left: 5px;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
width: calc(100% - 10px); }
|
||||
#kss-node.kss-guides-mode .kss-modifier__example:before, #kss-node.kss-guides-mode .kss-modifier__example:after,
|
||||
#kss-node.kss-guides-mode .kss-modifier__example-footer:before,
|
||||
#kss-node.kss-guides-mode .kss-modifier__example-footer:after {
|
||||
|
@@ -725,11 +725,20 @@ $kss-vertical-rhythm: $kss-font-size * 1.5;
|
||||
padding-bottom: 50%;
|
||||
|
||||
&::before {
|
||||
background-color: $kss-colors-subheader-bg;
|
||||
background: url('./browser_icon.svg') no-repeat 5px center $kss-colors-subheader-bg;
|
||||
border-bottom: 2px solid $kss-colors-subheader-border;
|
||||
content: '';
|
||||
display: block;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.embed {
|
||||
height: calc(100% - 30px);
|
||||
left: 5px;
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user