aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2
diff options
context:
space:
mode:
authorfschneider <florian.schneider@student.tugraz.at>2015-08-11 08:15:33 +0200
committerfschneider <florian.schneider@student.tugraz.at>2015-08-11 08:15:33 +0200
commit20dcd9561db474e9309de1a3b2e25efe02ccacfc (patch)
tree4bc662b07a17af76983b6457c29bd413195892dd /pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2
parent0cfb3fe13a2a5280112bf942b4e0b12e5abee1c9 (diff)
downloadpdf-as-4-20dcd9561db474e9309de1a3b2e25efe02ccacfc.tar.gz
pdf-as-4-20dcd9561db474e9309de1a3b2e25efe02ccacfc.tar.bz2
pdf-as-4-20dcd9561db474e9309de1a3b2e25efe02ccacfc.zip
nav bar and navigation/new form design/use of bootstrap
Diffstat (limited to 'pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2')
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/.gitignore1
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/LICENSE20
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/README.md5
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/dist/bootstrap-nav-wizard.css130
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/src/bootstrap-nav-wizard.less121
-rw-r--r--pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/test/test.html101
6 files changed, 378 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/.gitignore b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/.gitignore
new file mode 100644
index 00000000..485dee64
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/.gitignore
@@ -0,0 +1 @@
+.idea
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/LICENSE b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/LICENSE
new file mode 100644
index 00000000..8e7040ed
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/LICENSE
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 LeadDyno LLC
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/README.md b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/README.md
new file mode 100644
index 00000000..f765eab9
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/README.md
@@ -0,0 +1,5 @@
+## Bootstrap nav-wizard
+
+A simple tab/nav-pills like UI element for bootstrap
+
+See http://leaddyno.github.io/bootstrap-nav-wizard/
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/dist/bootstrap-nav-wizard.css b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/dist/bootstrap-nav-wizard.css
new file mode 100644
index 00000000..c34ab523
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/dist/bootstrap-nav-wizard.css
@@ -0,0 +1,130 @@
+ul.nav-wizard {
+ background-color: #f9f9f9;
+ border: 1px solid #d4d4d4;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ *zoom: 1;
+ position: relative;
+ overflow: hidden;
+}
+ul.nav-wizard:before {
+ display: block;
+ position: absolute;
+ left: 0px;
+ right: 0px;
+ top: 46px;
+ height: 47px;
+ border-top: 1px solid #d4d4d4;
+ border-bottom: 1px solid #d4d4d4;
+ z-index: 11;
+ content: " ";
+}
+ul.nav-wizard:after {
+ display: block;
+ position: absolute;
+ left: 0px;
+ right: 0px;
+ top: 138px;
+ height: 47px;
+ border-top: 1px solid #d4d4d4;
+ border-bottom: 1px solid #d4d4d4;
+ z-index: 11;
+ content: " ";
+}
+ul.nav-wizard li {
+ position: relative;
+ float: left;
+ height: 46px;
+ display: inline-block;
+ text-align: middle;
+ padding: 0 20px 0 30px;
+ margin: 0;
+ font-size: 16px;
+ line-height: 46px;
+}
+ul.nav-wizard li a {
+ color: #468847;
+ padding: 0;
+}
+ul.nav-wizard li a:hover {
+ background-color: transparent;
+}
+ul.nav-wizard li:before {
+ position: absolute;
+ display: block;
+ border: 24px solid transparent;
+ border-left: 16px solid #d4d4d4;
+ border-right: 0;
+ top: -1px;
+ z-index: 10;
+ content: '';
+ right: -16px;
+}
+ul.nav-wizard li:after {
+ position: absolute;
+ display: block;
+ border: 24px solid transparent;
+ border-left: 16px solid #f9f9f9;
+ border-right: 0;
+ top: -1px;
+ z-index: 10;
+ content: '';
+ right: -15px;
+}
+ul.nav-wizard li.active {
+ color: #3a87ad;
+ background: #d9edf7;
+}
+ul.nav-wizard li.active:after {
+ border-left: 16px solid #d9edf7;
+}
+ul.nav-wizard li.active a,
+ul.nav-wizard li.active a:active,
+ul.nav-wizard li.active a:visited,
+ul.nav-wizard li.active a:focus {
+ color: #3a87ad;
+ background: #d9edf7;
+}
+ul.nav-wizard .active ~ li {
+ color: #999999;
+ background: #ededed;
+}
+ul.nav-wizard .active ~ li:after {
+ border-left: 16px solid #ededed;
+}
+ul.nav-wizard .active ~ li a,
+ul.nav-wizard .active ~ li a:active,
+ul.nav-wizard .active ~ li a:visited,
+ul.nav-wizard .active ~ li a:focus {
+ color: #999999;
+ background: #ededed;
+}
+ul.nav-wizard.nav-wizard-backnav li:hover {
+ color: #468847;
+ background: #f6fbfd;
+}
+ul.nav-wizard.nav-wizard-backnav li:hover:after {
+ border-left: 16px solid #f6fbfd;
+}
+ul.nav-wizard.nav-wizard-backnav li:hover a,
+ul.nav-wizard.nav-wizard-backnav li:hover a:active,
+ul.nav-wizard.nav-wizard-backnav li:hover a:visited,
+ul.nav-wizard.nav-wizard-backnav li:hover a:focus {
+ color: #468847;
+ background: #f6fbfd;
+}
+ul.nav-wizard.nav-wizard-backnav .active ~ li {
+ color: #999999;
+ background: #ededed;
+}
+ul.nav-wizard.nav-wizard-backnav .active ~ li:after {
+ border-left: 16px solid #ededed;
+}
+ul.nav-wizard.nav-wizard-backnav .active ~ li a,
+ul.nav-wizard.nav-wizard-backnav .active ~ li a:active,
+ul.nav-wizard.nav-wizard-backnav .active ~ li a:visited,
+ul.nav-wizard.nav-wizard-backnav .active ~ li a:focus {
+ color: #999999;
+ background: #ededed;
+}
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/src/bootstrap-nav-wizard.less b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/src/bootstrap-nav-wizard.less
new file mode 100644
index 00000000..3419037f
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/src/bootstrap-nav-wizard.less
@@ -0,0 +1,121 @@
+//===============================================
+// Variables
+//===============================================
+@wizard-background: #f9f9f9;
+@border-color: #d4d4d4;
+
+@complete-color : #468847;
+@complete-background : #dff0d8;
+
+@active-color : #3a87ad;
+@active-background : #d9edf7;
+
+@incomplete-color : lighten(#000, 60%);
+@incomplete-background : #ededed;
+@row-height: 46px;
+
+//===============================================
+// Mixins
+//===============================================
+
+.li-color(@color, @background) {
+ color: @color;
+ background: @background;
+ &:after {
+ border-left: 16px solid @background;
+ }
+ a, a:active, a:visited, a:focus {
+ color: @color;
+ background: @background;
+ }
+}
+
+.chevron-comp(@color) {
+ position: absolute;
+ display: block;
+ border: 24px solid transparent;
+ border-left: 16px solid @color;
+ border-right: 0;
+ top: -1px;
+ z-index: 10;
+ content: '';
+}
+
+//===============================================
+// Class Def
+//===============================================
+
+ul.nav-wizard {
+ background-color: @wizard-background;
+ border: 1px solid @border-color;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ *zoom: 1;
+ position: relative;
+ overflow: hidden;
+ &:before {
+ display: block;
+ position: absolute;
+ left: 0px;
+ right: 0px;
+ top: @row-height;
+ height: @row-height + 1px;
+ border-top: 1px solid @border-color;
+ border-bottom: 1px solid @border-color;
+ z-index: 11;
+ content: " ";
+ }
+ &:after {
+ display: block;
+ position: absolute;
+ left: 0px;
+ right: 0px;
+ top: 3 * (@row-height);
+ height: @row-height + 1px;
+ border-top: 1px solid @border-color;
+ border-bottom: 1px solid @border-color;
+ z-index: 11;
+ content: " ";
+ }
+ li {
+ position: relative;
+ float: left;
+ height: @row-height;
+ display: inline-block;
+ text-align: middle;
+ padding: 0 20px 0 30px;
+ margin: 0;
+ font-size: 16px;
+ line-height: @row-height;
+ a {
+ color: @complete-color;
+ padding: 0;
+ &:hover {
+ background-color: transparent;
+ }
+ }
+ &:before {
+ .chevron-comp(@border-color);
+ right: -16px;
+ }
+ &:after {
+ .chevron-comp(@wizard-background);
+ right: -15px;
+ }
+ &.active {
+ .li-color(@active-color, @active-background);
+ }
+ }
+ .active ~ li {
+ .li-color(@incomplete-color, @incomplete-background);
+ }
+ &.nav-wizard-backnav {
+ li:hover {
+ .li-color(@complete-color, lighten(@active-background, 7%));
+ }
+ .active ~ li {
+ .li-color(@incomplete-color, @incomplete-background);
+ }
+ }
+}
diff --git a/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/test/test.html b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/test/test.html
new file mode 100644
index 00000000..af63cccf
--- /dev/null
+++ b/pdf-as-web/src/main/webapp/assets/bootstrap/css/bootstrap-nav2/test/test.html
@@ -0,0 +1,101 @@
+<html>
+<head>
+ <link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
+ <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
+ <script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
+ <link href="../dist/bootstrap-nav-wizard.css" rel="stylesheet">
+</head>
+<body style="">
+
+<a href="https://github.com/you"><img style="z-index:1001;position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
+ <div class="navbar navbar-inverse" style="border-radius:0">
+ <div class="container">
+ <div class="navbar-header">
+ <a class="navbar-brand" href="#">Bootstrap Wizard Navigation</a>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div>
+ <h1>Bootstrap Wizard Navigation</h1>
+ <p class="lead">A pure Less/CSS wizard navigation element which behaves like tabs/nav-pills</p>
+ </div>
+
+ <div class='row'>
+ <h2>Demo 1</h2>
+ <div>
+ <ul class='nav nav-wizard'>
+ <li><a href='#step1' data-toggle="tab">Step 1 - Completed</a></li>
+ <li><a href='#step2' data-toggle="tab">Step 2 - Completed</a></li>
+ <li class='active'><a href='#step3' data-toggle="tab">Step 3 - Active</a></li>
+ <li><a>Step 4 - Not Yet Reached</a></li>
+ </ul>
+ <hr/>
+ <div id="myTabContent" class="tab-content">
+ <div class="tab-pane fade" id="step1">
+ <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
+ </div>
+ <div class="tab-pane fade" id="step2">
+ <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
+ </div>
+ <div class="tab-pane fade active in" id="step3">
+ <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class='row'>
+ <h2>Demo 2 - Back-Nav Highlighting</h2>
+ <div>
+ <ul class='nav nav-wizard nav-wizard-backnav'>
+ <li><a href='#step1' data-toggle="tab">Step 1 - Completed</a></li>
+ <li><a href='#step2' data-toggle="tab">Step 2 - Completed</a></li>
+ <li class='active'><a href='#step3' data-toggle="tab">Step 3 - Active</a></li>
+ <li><a>Step 4 - Not Yet Reached</a></li>
+ </ul>
+ <hr/>
+ <div id="myTabContent" class="tab-content">
+ <div class="tab-pane fade" id="step1">
+ <p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
+ </div>
+ <div class="tab-pane fade" id="step2">
+ <p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
+ </div>
+ <div class="tab-pane fade active in" id="step3">
+ <p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class='row'>
+ <h2>Demo 3 - Wrapping</h2>
+ <div>
+ <ul class='nav nav-wizard'>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li class="active"><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ <li><a>Step N</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+</body>
+</html>