]> git.rm.cloudns.org Git - xonotic/mediasource.git/commitdiff
Update Luma sourcefiles
authorSeverin Meyer <sev.ch@web.de>
Mon, 27 Jul 2015 22:21:26 +0000 (00:21 +0200)
committerSeverin Meyer <sev.ch@web.de>
Mon, 27 Jul 2015 22:21:26 +0000 (00:21 +0200)
gfx/luma/gfx/hud/luma/border_shadow_east.svg [new file with mode: 0644]
gfx/luma/gfx/hud/luma/border_shadow_north.svg [new file with mode: 0644]
gfx/luma/gfx/hud/luma/border_shadow_south.svg [new file with mode: 0644]
gfx/luma/gfx/hud/luma/border_shadow_west.svg [new file with mode: 0644]
gfx/luma/gfx/hud/luma/border_tab_east.svg
gfx/luma/gfx/hud/luma/border_tab_north.svg
gfx/luma/gfx/hud/luma/border_tab_south.svg
gfx/luma/gfx/hud/luma/border_tab_west.svg
gfx/luma/gfx/hud/luma/common.css
gfx/luma/gfx/hud/luma/common.gradients

diff --git a/gfx/luma/gfx/hud/luma/border_shadow_east.svg b/gfx/luma/gfx/hud/luma/border_shadow_east.svg
new file mode 100644 (file)
index 0000000..f2bcf8c
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="common.css" type="text/css"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="256" version="1.1">
+       <defs>
+               <mask id="mask">
+                       <rect class="border_shadow_mask" width="256" height="128"/>
+               </mask>
+       </defs>
+       <g transform="matrix(0,-1,1,0,0,256)">
+               <rect class="border_shadow" mask="url(#mask)" x="0" y="8" width="256" height="112"/>
+       </g>
+</svg>
diff --git a/gfx/luma/gfx/hud/luma/border_shadow_north.svg b/gfx/luma/gfx/hud/luma/border_shadow_north.svg
new file mode 100644 (file)
index 0000000..97008ad
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="common.css" type="text/css"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256" height="128" version="1.1">
+       <defs>
+               <mask id="mask">
+                       <rect class="border_shadow_mask" width="256" height="128"/>
+               </mask>
+       </defs>
+       <g transform="matrix(1,0,0,-1,0,128)">
+               <rect class="border_shadow" mask="url(#mask)" x="0" y="8" width="256" height="112"/>
+       </g>
+</svg>
diff --git a/gfx/luma/gfx/hud/luma/border_shadow_south.svg b/gfx/luma/gfx/hud/luma/border_shadow_south.svg
new file mode 100644 (file)
index 0000000..0507a91
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="common.css" type="text/css"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256" height="128" version="1.1">
+       <defs>
+               <mask id="mask">
+                       <rect class="border_shadow_mask" width="256" height="128"/>
+               </mask>
+       </defs>
+       <rect class="border_shadow" mask="url(#mask)" x="0" y="8" width="256" height="112"/>
+</svg>
diff --git a/gfx/luma/gfx/hud/luma/border_shadow_west.svg b/gfx/luma/gfx/hud/luma/border_shadow_west.svg
new file mode 100644 (file)
index 0000000..107aa62
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet href="common.css" type="text/css"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="256" version="1.1">
+       <defs>
+               <mask id="mask">
+                       <rect class="border_shadow_mask" width="256" height="128"/>
+               </mask>
+       </defs>
+       <g transform="matrix(0,1,-1,0,128,0)">
+               <rect class="border_shadow" mask="url(#mask)" x="0" y="8" width="256" height="112"/>
+       </g>
+</svg>
index 8f01a4a584ec0aef42d9f195cc390611973793d0..46a5e0b6414582469a169bc373240a470b2c0095 100644 (file)
@@ -3,7 +3,7 @@
 <svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" version="1.1">
        <g class="blurred">
                <g transform="matrix(0,-1,1,0,0,128)">
-                       <path class="border_plain" d="M 100,32 28,32 0,96 128,96 z"/>
+                       <path class="border_plain" d="m 100,32 -72,0 -11,5 -17,57 23,0 4,2 74,0 4,-2 23,0 -17,-57 z"/>
                </g>
        </g>
 </svg>
index d67405dd3f7aab7f16329dfdd8e8fbf5ea9348ec..b6d07060ea024879996f3f2726f4b16ea83e6cfb 100644 (file)
@@ -3,7 +3,7 @@
 <svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" version="1.1">
        <g class="blurred">
                <g transform="matrix(1,0,0,-1,0,128)">
-                       <path class="border_plain" d="M 100,32 28,32 0,96 128,96 z"/>
+                       <path class="border_plain" d="m 100,32 -72,0 -11,5 -17,57 23,0 4,2 74,0 4,-2 23,0 -17,-57 z"/>
                </g>
        </g>
 </svg>
index 90ea34f3792404071ee153bda5871b1044e1a4a3..1a905d51ad983553c8ae726b69eec6b6088142a0 100644 (file)
@@ -2,6 +2,6 @@
 <?xml-stylesheet href="common.css" type="text/css"?>
 <svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" version="1.1">
        <g class="blurred">
-               <path class="border_plain" d="M 100,32 28,32 0,96 128,96 z"/>
+               <path class="border_plain" d="m 100,32 -72,0 -11,5 -17,57 23,0 4,2 74,0 4,-2 23,0 -17,-57 z"/>
        </g>
 </svg>
index e54c0bb1071b01a02f62223809e752820a73ab6c..c241e046fc16785cf645b3077a3de71f58cc6a31 100644 (file)
@@ -3,7 +3,7 @@
 <svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" version="1.1">
        <g class="blurred">
                <g transform="matrix(0,1,-1,0,128,0)">
-                       <path class="border_plain" d="M 100,32 28,32 0,96 128,96 z"/>
+                       <path class="border_plain" d="m 100,32 -72,0 -11,5 -17,57 23,0 4,2 74,0 4,-2 23,0 -17,-57 z"/>
                </g>
        </g>
 </svg>
index b2fd6ad376afefce22aeb9855e311f88416a79c7..25c4b8519a0dc70173cf5bac021cedd425f41526 100755 (executable)
@@ -87,6 +87,8 @@
 .border_default     { fill:url(common.gradients#border_default) }
 .border_fading      { fill:url(common.gradients#border_fading) }
 .border_plain       { fill:#2f2f2f; opacity:0.7 }
+.border_shadow      { fill:url(common.gradients#border_shadow) }
+.border_shadow_mask { fill:url(common.gradients#border_shadow_mask) }
 
 /* Selectors */
 .current_bg            { fill:url(common.gradients#current_bg) }
index f4dc44a41f99ba84e70c57a844fc8340748708c6..597e180a297fff8edbaf5e434fa8180a21ea926d 100755 (executable)
                        <stop offset=".75" stop-color="#1f1f1f" stop-opacity=".4"/>
                        <stop offset="1"   stop-color="#1f1f1f" stop-opacity="0" />
                </linearGradient>
+               <linearGradient id="border_shadow" x2="0" y2="1">
+                       <stop offset="0" stop-color="#1f1f1f" stop-opacity="0"/>
+                       <stop offset="1" stop-color="#2f2f2f" stop-opacity="0.5"/>
+               </linearGradient>
+               <linearGradient id="border_shadow_mask">
+                       <stop offset="0.25"  stop-color="#000000"/>
+                       <stop offset="0.375" stop-color="#ffffff"/>
+                       <stop offset="0.625" stop-color="#ffffff"/>
+                       <stop offset="0.75"  stop-color="#000000"/>
+               </linearGradient>
                <linearGradient id="current_bg" gradientUnits="userSpaceOnUse" x2="0%" y2="100%">
                        <stop offset="0" stop-color="#e2f6fe" stop-opacity=".7"/>
                        <stop offset="1" stop-color="#b7dcfc" stop-opacity="0"/>