Commit 701e8625 authored by amandaghassaei's avatar amandaghassaei
Browse files

demo files dropdown

parent 724d0239
......@@ -4,92 +4,92 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="3456px" height="6912px" viewBox="0 0 3456 6912" enable-background="new 0 0 3456 6912" xml:space="preserve">
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-2721.869,1193.053l-805.031,805.031 M-2721.869,1193.053l805.031,805.031 M-1111.807,1193.053l-805.031,805.031
M-1111.807,1193.053l805.032,805.031 M498.256,1193.053l-805.031,805.031 M498.256,1193.053l805.031,805.031 M2108.318,1193.053
l-805.031,805.031 M2108.318,1193.053l805.033,805.031 M3718.382,1193.053l-805.03,805.031 M3718.382,1193.053l805.031,805.031
M5328.443,1193.053l-805.03,805.031"/>
M282.887,2695.431l-504.555,504.556 M282.887,2695.431l504.556,504.556 M1291.998,2695.431l-504.556,504.556 M1291.998,2695.431
l504.557,504.556 M2301.109,2695.431l-504.555,504.556 M2301.109,2695.431l504.556,504.556 M3310.221,2695.431l-504.556,504.556
M3310.221,2695.431l504.557,504.556 M4319.333,2695.431l-504.556,504.556 M4319.333,2695.431l504.556,504.556 M5328.443,2695.431
l-504.555,504.556"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-2721.869,2803.115l-805.031,805.031 M-2721.869,2803.115l805.031,805.031 M-1111.807,2803.115l-805.031,805.031
M-1111.807,2803.115l805.032,805.031 M498.256,2803.115l-805.031,805.031 M498.256,2803.115l805.031,805.031 M2108.318,2803.115
l-805.031,805.031 M2108.318,2803.115l805.033,805.031 M3718.382,2803.115l-805.03,805.031 M3718.382,2803.115l805.031,805.031
M5328.443,2803.115l-805.03,805.031"/>
M282.887,3704.542l-504.555,504.556 M282.887,3704.542l504.556,504.556 M1291.998,3704.542l-504.556,504.556 M1291.998,3704.542
l504.557,504.556 M2301.109,3704.542l-504.555,504.556 M2301.109,3704.542l504.556,504.556 M3310.221,3704.542l-504.556,504.556
M3310.221,3704.542l504.557,504.556 M4319.333,3704.542l-504.556,504.556 M4319.333,3704.542l504.556,504.556 M5328.443,3704.542
l-504.555,504.556"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,2803.115l805.031,805.031 M-1916.838,2803.115l-805.031,805.031 M-1916.838,2803.115l805.031,805.031 M-306.775,2803.115
l-805.032,805.031 M-306.775,2803.115l805.031,805.031 M1303.287,2803.115l-805.031,805.031 M1303.287,2803.115l805.031,805.031
M2913.352,2803.115l-805.033,805.031 M2913.352,2803.115l805.03,805.031 M4523.413,2803.115l-805.031,805.031 M4523.413,2803.115
l805.03,805.031"/>
M-221.668,3704.542l504.555,504.556 M787.442,3704.542l-504.556,504.556 M787.442,3704.542l504.556,504.556 M1796.555,3704.542
l-504.557,504.556 M1796.555,3704.542l504.555,504.556 M2805.665,3704.542l-504.556,504.556 M2805.665,3704.542l504.556,504.556
M3814.777,3704.542l-504.556,504.556 M3814.777,3704.542l504.556,504.556 M4823.889,3704.542l-504.556,504.556 M4823.889,3704.542
l504.555,504.556"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-2721.869,4413.178l-805.031,805.031 M-2721.869,4413.178l805.031,805.031 M-1111.807,4413.178l-805.031,805.031
M-1111.807,4413.178l805.032,805.031 M498.256,4413.178l-805.031,805.031 M498.256,4413.178l805.031,805.031 M2108.318,4413.178
l-805.031,805.031 M2108.318,4413.178l805.033,805.031 M3718.382,4413.178l-805.03,805.031 M3718.382,4413.178l805.031,805.031
M5328.443,4413.178l-805.03,805.031"/>
M282.887,4713.653l-504.555,504.556 M282.887,4713.653l504.556,504.556 M1291.998,4713.653l-504.556,504.556 M1291.998,4713.653
l504.557,504.556 M2301.109,4713.653l-504.555,504.556 M2301.109,4713.653l504.556,504.556 M3310.221,4713.653l-504.556,504.556
M3310.221,4713.653l504.557,504.556 M4319.333,4713.653l-504.556,504.556 M4319.333,4713.653l504.556,504.556 M5328.443,4713.653
l-504.555,504.556"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,1193.053l805.031,805.031 M-1916.838,1193.053l-805.031,805.031 M-1916.838,1193.053l805.031,805.031 M-306.775,1193.053
l-805.032,805.031 M-306.775,1193.053l805.031,805.031 M1303.287,1193.053l-805.031,805.031 M1303.287,1193.053l805.031,805.031
M2913.352,1193.053l-805.033,805.031 M2913.352,1193.053l805.03,805.031 M4523.413,1193.053l-805.031,805.031 M4523.413,1193.053
l805.03,805.031"/>
M-221.668,2695.431l504.555,504.556 M787.442,2695.431l-504.556,504.556 M787.442,2695.431l504.556,504.556 M1796.555,2695.431
l-504.557,504.556 M1796.555,2695.431l504.555,504.556 M2805.665,2695.431l-504.556,504.556 M2805.665,2695.431l504.556,504.556
M3814.777,2695.431l-504.556,504.556 M3814.777,2695.431l504.556,504.556 M4823.889,2695.431l-504.556,504.556 M4823.889,2695.431
l504.555,504.556"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3124.385,1998.084L-3526.9,2400.6 M-3124.385,1998.084l402.516,402.516 M-1916.838,2400.6l-402.516,402.516 M-2721.869,2400.6
l402.515,402.516 M-1514.322,1998.084l402.515,402.516 M-1514.322,1998.084l-402.516,402.516 M-306.775,2400.6l-402.516,402.516
M-1111.807,2400.6l402.516,402.516 M95.74,1998.084L498.256,2400.6 M95.74,1998.084L-306.775,2400.6 M1303.287,2400.6
l-402.516,402.516 M498.256,2400.6l402.516,402.516 M1705.803,1998.084l402.516,402.516 M1705.803,1998.084L1303.287,2400.6
M2913.352,2400.6l-402.517,402.516 M2108.318,2400.6l402.517,402.516 M3315.866,1998.084l402.516,402.516 M3315.866,1998.084
L2913.352,2400.6 M4523.413,2400.6l-402.517,402.516 M3718.382,2400.6l402.515,402.516 M4925.928,1998.084L4523.413,2400.6
M4925.928,1998.084l402.516,402.516"/>
M30.609,3199.986l-252.277,252.278 M30.609,3199.986l252.278,252.278 M787.442,3452.264l-252.278,252.279 M282.887,3452.264
l252.278,252.279 M1039.721,3199.986l252.277,252.278 M1039.721,3199.986l-252.278,252.278 M1796.555,3452.264l-252.278,252.279
M1291.998,3452.264l252.278,252.279 M2048.832,3199.986l252.277,252.278 M2048.832,3199.986l-252.277,252.278 M2805.665,3452.264
l-252.277,252.279 M2301.109,3452.264l252.278,252.279 M3057.943,3199.986l252.277,252.278 M3057.943,3199.986l-252.278,252.278
M3814.777,3452.264L3562.5,3704.543 M3310.221,3452.264l252.279,252.279 M4067.055,3199.986l252.278,252.278 M4067.055,3199.986
l-252.277,252.278 M4823.889,3452.264l-252.278,252.279 M4319.333,3452.264l252.277,252.279 M5076.166,3199.986l-252.277,252.278
M5076.166,3199.986l252.278,252.278"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,2400.6l402.515,402.516 M-2721.869,2400.6l-402.516,402.516 M-2319.354,1998.084l402.516,402.516 M-2319.354,1998.084
l-402.515,402.516 M-1111.807,2400.6l-402.515,402.516 M-1916.838,2400.6l402.516,402.516 M-709.291,1998.084l402.516,402.516
M-709.291,1998.084l-402.516,402.516 M498.256,2400.6L95.74,2803.115 M-306.775,2400.6L95.74,2803.115 M900.771,1998.084
l402.516,402.516 M900.771,1998.084L498.256,2400.6 M2108.318,2400.6l-402.516,402.516 M1303.287,2400.6l402.516,402.516
M2510.835,1998.084l402.517,402.516 M2510.835,1998.084L2108.318,2400.6 M3718.382,2400.6l-402.516,402.516 M2913.352,2400.6
l402.515,402.516 M4120.896,1998.084l402.517,402.516 M4120.896,1998.084L3718.382,2400.6 M4523.413,2400.6l402.515,402.516
M5328.443,2400.6l-402.516,402.516"/>
M-221.668,3452.264l252.277,252.279 M282.887,3452.264L30.609,3704.543 M535.165,3199.986l252.278,252.278 M535.165,3199.986
l-252.278,252.278 M1291.998,3452.264l-252.277,252.279 M787.442,3452.264l252.278,252.279 M1544.276,3199.986l252.278,252.278
M1544.276,3199.986l-252.278,252.278 M2301.109,3452.264l-252.277,252.278 M1796.555,3452.264l252.277,252.278 M2553.388,3199.986
l252.277,252.278 M2553.388,3199.986l-252.278,252.278 M3310.221,3452.264l-252.277,252.279 M2805.665,3452.264l252.278,252.279
M3562.5,3199.986l252.277,252.278 M3562.5,3199.986l-252.279,252.278 M4319.333,3452.264l-252.278,252.279 M3814.777,3452.264
l252.278,252.279 M4571.61,3199.986l252.278,252.278 M4571.61,3199.986l-252.277,252.278 M4823.889,3452.264l252.277,252.279
M5328.443,3452.264l-252.278,252.279"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3124.385,3608.146l-402.515,402.516 M-3124.385,3608.146l402.516,402.516 M-1916.838,4010.662l-402.516,402.516
M-2721.869,4010.662l402.515,402.516 M-1514.322,3608.146l402.515,402.516 M-1514.322,3608.146l-402.516,402.516
M-306.775,4010.662l-402.516,402.516 M-1111.807,4010.662l402.516,402.516 M95.74,3608.146l402.516,402.516 M95.74,3608.146
l-402.515,402.516 M1303.287,4010.662l-402.516,402.516 M498.256,4010.662l402.516,402.516 M1705.803,3608.146l402.516,402.516
M1705.803,3608.146l-402.516,402.516 M2913.352,4010.662l-402.517,402.516 M2108.318,4010.662l402.517,402.516 M3315.866,3608.146
l402.516,402.516 M3315.866,3608.146l-402.515,402.516 M4523.413,4010.662l-402.517,402.516 M3718.382,4010.662l402.515,402.516
M4925.928,3608.146l-402.515,402.516 M4925.928,3608.146l402.516,402.516"/>
M30.609,4209.098l-252.277,252.277 M30.609,4209.098l252.278,252.277 M787.442,4461.375l-252.278,252.278 M282.887,4461.375
l252.278,252.278 M1039.721,4209.098l252.277,252.277 M1039.721,4209.098l-252.278,252.277 M1796.555,4461.375l-252.278,252.278
M1291.998,4461.375l252.278,252.278 M2048.832,4209.098l252.277,252.277 M2048.832,4209.098l-252.277,252.277 M2805.665,4461.375
l-252.277,252.278 M2301.109,4461.375l252.278,252.278 M3057.943,4209.098l252.277,252.277 M3057.943,4209.098l-252.278,252.277
M3814.777,4461.375L3562.5,4713.653 M3310.221,4461.375l252.279,252.278 M4067.055,4209.098l252.278,252.277 M4067.055,4209.098
l-252.277,252.277 M4823.889,4461.375l-252.278,252.278 M4319.333,4461.375l252.277,252.278 M5076.166,4209.098l-252.277,252.277
M5076.166,4209.098l252.278,252.277"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,4010.662l402.515,402.516 M-2721.869,4010.662l-402.516,402.516 M-2319.354,3608.146l402.516,402.516 M-2319.354,3608.146
l-402.515,402.516 M-1111.807,4010.662l-402.515,402.516 M-1916.838,4010.662l402.516,402.516 M-709.291,3608.146l402.516,402.516
M-709.291,3608.146l-402.516,402.516 M498.256,4010.662L95.74,4413.178 M-306.775,4010.662L95.74,4413.178 M900.771,3608.146
l402.516,402.516 M900.771,3608.146l-402.516,402.516 M2108.318,4010.662l-402.516,402.516 M1303.287,4010.662l402.516,402.516
M2510.835,3608.146l402.517,402.516 M2510.835,3608.146l-402.517,402.516 M3718.382,4010.662l-402.516,402.516 M2913.352,4010.662
l402.515,402.516 M4120.896,3608.146l402.517,402.516 M4120.896,3608.146l-402.515,402.516 M4523.413,4010.662l402.515,402.516
M5328.443,4010.662l-402.516,402.516"/>
M-221.668,4461.375l252.277,252.278 M282.887,4461.375L30.609,4713.653 M535.165,4209.098l252.278,252.277 M535.165,4209.098
l-252.278,252.277 M1291.998,4461.375l-252.277,252.278 M787.442,4461.375l252.278,252.278 M1544.276,4209.098l252.278,252.277
M1544.276,4209.098l-252.278,252.277 M2301.109,4461.375l-252.277,252.278 M1796.555,4461.375l252.277,252.278 M2553.388,4209.098
l252.277,252.277 M2553.388,4209.098l-252.278,252.277 M3310.221,4461.375l-252.277,252.278 M2805.665,4461.375l252.278,252.278
M3562.5,4209.098l252.277,252.277 M3562.5,4209.098l-252.279,252.277 M4319.333,4461.375l-252.278,252.278 M3814.777,4461.375
l252.278,252.278 M4571.61,4209.098l252.278,252.277 M4571.61,4209.098l-252.278,252.277 M4823.889,4461.375l252.277,252.278
M5328.443,4461.375l-252.278,252.278"/>
<path fill="none" stroke="#0000FF" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,4413.178l805.031,805.031 M-1916.838,4413.178l-805.031,805.031 M-1916.838,4413.178l805.031,805.031 M-306.775,4413.178
l-805.032,805.031 M-306.775,4413.178l805.031,805.031 M1303.287,4413.178l-805.031,805.031 M1303.287,4413.178l805.031,805.031
M2913.352,4413.178l-805.033,805.031 M2913.352,4413.178l805.03,805.031 M4523.413,4413.178l-805.031,805.031 M4523.413,4413.178
l805.03,805.031"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-3526.9,3608.146h8855.344"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-3526.9,2803.115h8855.344"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-3526.9,1998.084h8855.344"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-3526.9,4413.178h8855.344"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-2721.869,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-3124.385,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-2319.354,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4925.928,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1705.803,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2108.318,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2510.835,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2913.352,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3315.866,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3718.382,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4120.896,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4523.413,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1303.287,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M900.771,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M498.256,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M95.74,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-306.775,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-709.291,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-1111.807,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-1514.322,1193.053v4025.156"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-1916.838,1193.053v4025.156"/>
M-221.668,4713.653l504.555,504.556 M787.442,4713.653l-504.556,504.556 M787.442,4713.653l504.556,504.556 M1796.555,4713.653
l-504.557,504.556 M1796.555,4713.653l504.555,504.556 M2805.665,4713.653l-504.556,504.556 M2805.665,4713.653l504.556,504.556
M3814.777,4713.653l-504.556,504.556 M3814.777,4713.653l504.556,504.556 M4823.889,4713.653l-504.556,504.556 M4823.889,4713.653
l504.555,504.556"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-221.668,4209.098h5550.112"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-221.668,3704.542h5550.112"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-221.668,3199.986h5550.112"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M-221.668,4713.653h5550.112"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M282.887,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M30.609,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M535.165,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M5076.166,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3057.943,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3310.221,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3562.5,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M3814.777,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4067.055,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4319.333,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4571.61,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M4823.889,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2805.665,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2553.388,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2301.109,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M2048.832,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1796.555,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1544.276,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1291.998,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M1039.721,2695.431v2522.778"/>
<path fill="none" stroke="#FF0000" stroke-miterlimit="10" d="M787.442,2695.431v2522.778"/>
<path fill="none" stroke="#000000" stroke-width="0.7087" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="
M-3526.9,5218.209h8855.344 M5328.443,5218.209V1193.053 M5328.443,1193.053H-3526.9 M-3526.9,1193.053v4025.156"/>
M-221.668,5218.209h5550.112 M5328.443,5218.209V2695.431 M5328.443,2695.431H-221.668 M-221.668,2695.431v2522.778"/>
</svg>
......@@ -72,4 +72,70 @@ img{
#logo{
padding: 5px 50px 5px 30px;
}
\ No newline at end of file
}
.dropdown-submenu {
position: relative;
}
.dropdown-submenu li {
height: 32px;
}
.dropdown-submenu a{
height: 32px;
padding-bottom: 16px;
color: #e1e4e7!important;
white-space: normal;
}
.dropdown-submenu a.disabled{
color: #999999!important;
}
.dropdown-submenu li:hover{
background-color: #aaa!important;
}
.dropdown-submenu li.noHighlight:hover{
background-color: #3b3b3b!important;
}
.dropdown-submenu li>a{
border-radius: 0!important;;
border-top-left-radius: 0!important;;
border-bottom-left-radius: 0!important;;
}
.dropdown-submenu li.noHighlight>a:hover{
background-color: #3b3b3b!important;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: 0;
margin-left: -1px;
border-radius: 0;
/*-webkit-border-radius: 0 6px 6px 6px;*/
/*-moz-border-radius: 0 6px 6px;*/
/*border-radius: 0 6px 6px 6px;*/
background-color: #3b3b3b;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
-webkit-border-radius: 6px 0 6px 6px;
-moz-border-radius: 6px 0 6px 6px;
border-radius: 6px 0 6px 6px;
}
......@@ -364,6 +364,13 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">File <b class="caret"></b></a>
<span class="dropdown-arrow"></span>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a tabindex="-1">Demo Files<span class="pull-right fui-arrow-right"></span></a>
<ul class="dropdown-menu">
<li><a href="#" class="demo" data-url="Tessellations/miura-ori.svg">Miura-Ori</a></li>
<li><a href="#" class="demo" data-url="Tessellations/waterbomb.svg">Waterbomb</a></li>
</ul>
</li>
<li><a class="loadFile" href="#">Import SVG...</a></li>
<li class="divider"></li>
<!--<li><a id="saveSVG" href="#">Save Pattern as SVG...</a></li>-->
......
......@@ -96,6 +96,13 @@ function initControls(globals){
$(e.target).blur();
});
setLink(".demo", function(e){
var url = $(e.target).data("url");
if (url) {
globals.pattern.loadSVG("assets/" + url);
}
});
$("#fileSelector").change(function(e){
var files = e.target.files; // FileList object
if (files.length < 1) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment