You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by br...@apache.org on 2014/02/14 18:24:35 UTC
svn commit: r1568367 [8/13] - in /jspwiki/trunk: ./ jspwiki-war/
jspwiki-war/src/main/config/wro/ jspwiki-war/src/main/java/org/apache/wiki/
jspwiki-war/src/main/scripts/dynamic-styles/
jspwiki-war/src/main/scripts/lib/ jspwiki-war/src/main/scripts/moo...
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.SearchBox.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.SearchBox.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.SearchBox.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.SearchBox.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,96 @@
+/*
+Section: SearchBox
+ See SearchBox.jsp, UserBox.jsp
+
+DOM structure:
+(start code)
+ form#searchform.searchbox.col6.offset6.pull-right.form-inline
+
+ label.username.anonymous|asserted|authenticated
+ a <user-name>
+
+ a.btn.btn-link.login|logout Log-in
+
+ a.btn.btn-link.prefs Prefs
+
+ input#query.form-control[type="text"][placeholder="Quick Navigation"]
+ button#searchSubmit.btn[type="submit"]
+
+ ul.dropdown-menu.pull-right //quick navigation dropdown
+(end)
+*/
+.username {
+ a {
+ font-style:italic;
+ color:inherit; //take color from the header
+ }
+ //.asserted { ... }
+ //.anonymous { ... }
+ //.authenticated { ... }
+}
+
+.searchbox {
+ position:relative; //container for the dropdown-menu
+ z-index:5;
+
+ // ensure the searchbox submit button appears on the same horizontal line as the input field
+ input { width: 164px; }
+
+ // search icon button
+ button[type=submit] {
+ position:absolute;
+ top:12px;
+ right:3px;
+ width:16px;
+ height:16px;
+ border:none;
+ background: url("@{imagePath}/icon-search.png") no-repeat center;
+ overflow:hidden;
+ }
+}
+
+/*
+Section: Quick Navigation DropDown
+ The quick navigation section contains a drop-down menu,
+ with auto-completion search results, and a list of recently searched commands.
+
+ Uses bootstrap/dropdown.less
+
+DOM Structure:
+(start code)
+ ul.dropdown-menu.pull-right
+
+ li.dropdown-header Quick Search results (type ahead)
+ li.findpages
+ a.createpage[href="/wiki/B"] [Create] B
+ li.findpages
+ a.createpage[href="/wiki/B&clone=Main] [Create] B [based on] Main
+ li.findpages
+ a[href]
+
+ li.divider
+
+ li.dropdown-header Recent Searches
+ li.recents
+ a[href]
+ li.recents.clear
+ a [Clear recent searches]
+(end)
+*/
+
+//additions to bootstrap/dropdown.less
+.dropdown-header { white-space: nowrap; }
+
+.dropdown-menu > li > a.createpage {
+
+ border-bottom:none; //remove dashed bottomborder,
+ //2nd span is the actual find result
+ span+span {
+ margin-left: .5em;
+ .createpage; //reuse createpage link style
+
+ &:hover, &:focus { color: @dropdown-link-hover-color; }
+ }
+
+}
+.dropdown-menu .badge { margin-left:.5em; }
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.Sidebar.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.Sidebar.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.Sidebar.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.Sidebar.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,49 @@
+//
+// Support Left and Right Orientation : fav-left, fav-right, fav-slide??
+//
+// (default) left orientation
+/*
+.page { float:right; }
+.sidebar { float:left; }
+* html .page { margin-left:-3px; } //ie6 hack -- Three Pixel Text Jog
+* html .sidebar { margin-right:-3px; }
+
+.fav-right .page { float:left; }
+.fav-right .sidebar { float:right; };
+* html .fav-right .page { margin-right:-3px; } //ie6 hack -- Three Pixel Text Jog
+* html .fav-right .sidebar { margin-left:-3px; }
+
+*/
+
+
+/*
+Section: sidebar
+ See Favorites.jsp
+
+DOM Structure:
+(start code)
+ div.sidebar
+ div.leftmenu
+ div.leftmenufooter
+ div.wikiversion JSPWiki version-number
+ a.feed
+
+(end)
+*/
+
+//keep top-level lists close top the left margin
+.sidebar {
+ position:relative;
+
+ > .close {
+ position:absolute;
+ right:@padding-base-horizontal/2;
+ margin-top:-@padding-base-horizontal;
+ }
+}
+
+//TODO: move this to the pagination bar, in search???
+.cursor {
+ background-color:@gray-lighter;
+}
+
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.View.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.View.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.View.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Template.View.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,159 @@
+/*
+Section: Top level HTML structure
+
+DOM Structure:
+(start code)
+ div.container[.fav-left|.fav-right]
+ div.titlebox.alert
+ div.header
+ div.row =>Template.Navs.less
+ ul.nav.nav-pills.pull-left
+ ul.nav.nav-pills.pull-right
+ div.content[.active] =>Template.Content.less
+ div.page
+ div.page-content
+ div.page-footer
+ div.sidebar =>Template.Sidebar.less
+ div.footer
+(end)
+*/
+
+
+
+/*
+Section: Title box
+ The title box is an optional alert box at the top of the page, to put
+ web-site messages, alerts, new-flashes etc.
+ It contains the content of the [TitleBox] JSPWiki page.
+ Keep the styling minimal, as the TitleBox page itself can add any style it wants.
+*/
+//.titlebox { }
+
+
+/*
+Section: Header & Footer
+ See Header.jsp, [SearchBox], UserBox.jsp, Footer.jsp
+
+DOM structure:
+(start code)
+ div.header
+ div.application-logo
+ a.href jspÏiki //link to the home page of this wiki
+
+ form#searchform.searchbox.col6.offset6.pull-right.form-inline
+ label.username.anonymous|asserted|authenticated
+ a.btn.btn-link.login|logout Log-in
+ a.btn.btn-link.prefs Prefs
+ input#query.form-control[type="text"][placeholder="Quick Navigation"]
+ button#searchSubmit.btn[type="submit"]
+ ul.dropdown-menu.pull-right //quick navigation dropdown
+
+ div.pagename
+ div.breadcrumbs //TODO: move to the sidebar?
+
+ ...
+
+ div.footer
+ div.application-logo
+ div.copyright
+ div.wikiversion JSPWiki version-number
+ a.feed
+(end)
+*/
+
+.header, .footer {
+ position: relative;
+ font-family: @font-family-header;
+ font-weight: 200;
+ letter-spacing: 1px;
+ color: @white;
+
+
+
+ height:8em;
+ padding:1em;
+
+ .clearfix();
+}
+.header {
+ background: @wiki-header-bg;
+ margin-top: 1em;
+}
+.footer {
+ background: @wiki-footer-bg;
+ margin:1em 0;
+ text-align: center;
+ a { color: @white; }
+}
+
+.watermark {
+ position:absolute;
+ top:0; bottom:0; left:0; right:0;
+ width:100%;
+ overflow:hidden;
+
+ font-family: @font-family-logo;
+ font-weight: 600;
+ font-size: 6.5em;
+ line-height: 1;
+ text-align:center;
+ letter-spacing:1em;
+
+ .transition(all 2s ease);
+}
+.header .watermark { color:darken(@wiki-header-bg,2.5%); }
+.footer .watermark { color:darken(@wiki-footer-bg,2.5%); }
+.header:hover .watermark,
+.footer:hover .watermark { text-shadow: 0px 0px 2px fade(@white,50%); }
+
+
+.header .pagename, .header .breadcrumb {
+ position:relative;
+ overflow:hidden;
+ white-space: nowrap; //dont break the lines
+ text-overflow: ellipsis;
+}
+
+.pagename {
+ font-family: @font-family-logo;
+ font-size: 3em;
+ line-height: 2em;
+}
+
+//JSPWiki breadcrumb (do not inherit bootstraps breadcrumb)
+.breadcrumb {
+ bottom: -100%;
+ .transition(all .5s ease);
+ a { color: @breadcrumb-color; }
+}
+.header:hover .breadcrumb { bottom:.5em;}
+
+.footer .copyright, .footer .wiki-version {
+ position:relative;
+}
+
+.copyright, .wiki-version { .small; }
+
+.feed {
+ background:url("@{imagePath}/jspwiki-strip.gif") no-repeat 0 0;
+ //background-repeat:no-repeat;
+ //background-position:0 0;
+ width:16px;
+ height:16px;
+
+ /*icon*/
+ text-decoration:none;
+ overflow:hidden;
+ text-indent:16px;
+ display:inline-block;
+ margin:0 .25em;
+ vertical-align:middle;
+}
+
+
+// CHECKME
+// *** ConflictContent.jsp ***
+// #conflict
+// #conflictother
+// #conflictown
+
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Tips.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Tips.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Tips.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Tips.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,34 @@
+/*
+Style: Tips
+
+Wiki-markup:
+> %%tip ... /%
+> %%tip-TipCaption ... /%
+
+DOM structure:
+ (start code)
+ span.tip.anchor "Tip Caption"
+
+ div style="...show/hide..." //FIXME
+ div.tip-top
+ div.tip
+ div.tip-title "Tip Caption"
+ div.tip-text " ...tip-body... "
+ div.tip-bottom
+ (end)
+
+Bootstrap
+(start code)
+ div.tooltip.(top|left|right|bottom)
+ div.tooltip-inner
+ div.tooltip-arrow
+(end)
+*/
+
+.tip-link {
+ .category-link;
+ > [class^=tip] { .hidden; }
+}
+
+@tooltip-bg: rgba(0,0,0,.7);
+@tooltip-arrow-color: rgba(0,0,0,.7);
\ No newline at end of file
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Carousel.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Carousel.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Carousel.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Carousel.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,55 @@
+/*
+Dynamic Style: Viewer.Carousel
+
+DOM Structure:
+ (start code)
+ div.carousel
+ div.carousel-progress
+ ol.carousel-indicators
+ li.active
+ li
+ div.carousel-inner(.spin) //img, object or iframe element is inserted here
+ div.item.active
+ <img..>
+ div.carousel-caption
+ div.item
+ a.controls.next
+ a.controls.prev
+ (end)
+*/
+
+//reuse bootstrap/carousel.less
+.carousel {
+
+ .viewport;
+ width:auto;
+ //overflow:hidden;
+
+ //reveal indicators even on white backgrounds.
+ &:hover .carousel-indicators li { .box-shadow(@carousel-text-shadow); }
+
+ //only show the caption when hovering the mouse
+ .carousel-caption { .opacity(0); .transition(.6s ease); }
+ &:hover .carousel-caption { .opacity(1); }
+
+ // reuse slimbox .controls, iso .carousel-controls , with simplified styling
+ .controls {
+ &.prev { left: .5em; }
+ &.next { right: .5em; }
+ }
+ &:hover .controls { .opacity(@slimbox-control-opacity); }
+
+}
+
+.carousel-progress {
+ position:absolute;
+ bottom:0;
+ background:fade(@red,50%);
+ height:3px;
+ z-index:1;
+ width:0%;
+}
+.sliding > .carousel-progress {
+ .transition(width 10s linear);
+ width:100%;
+}
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Slimbox.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Slimbox.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Slimbox.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.Slimbox.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,181 @@
+/*
+Plugin: Viewer.Slimbox
+ SLIMBOX is a modal viewer for images, video, wikipages and external sites (iframe)
+
+Credit:
+ Inspired by Slimbox by Christophe Bleys (see http://www.digitalia.be/software/slimbox)
+ and the mediaboxAdvanced by John Einselen. (see http://iaian7.com/webcode/mediaboxAdvanced)
+ Adapted for JSPWIKI.
+
+DOM Structure:
+ DOM structure of the Slimbox viewer.
+ (start code)
+ div#slmbx
+ div.modal //shaded background for viewport
+ div.viewport(.spin) //img, object or iframe element is inserted here
+ a.controls.caption
+ a.controls.next
+ a.controls.prev
+ a.controls.close
+ (end)
+
+*/
+
+//slimbox button icon (right pointing triangle), added next to a slimbox activated link
+.slimbox-link:after { content:" "; }
+.slimbox-link:after,
+.slimbox-btn {
+
+ .caret();
+ border-left: @slimbox-btn-size solid @link-color;
+ border-top: @slimbox-btn-size/2 solid transparent;
+ border-bottom: @slimbox-btn-size/2 solid transparent;
+ border-right:0;
+ margin-left: @slimbox-btn-size/2;
+ &:hover { border-left-color: @link-hover-color; }
+
+ //overwrite button defaults
+ padding: 0;
+ background: transparent;
+ -webkit-appearance: none;
+}
+
+
+.slmbx {
+
+ display:none;
+ .transition(all 2s ease);
+
+ &.active { display:block; z-index:10; }
+
+ //modal transparent screen overlag -- TODO: reuse bootstrap/modal.less
+ .slmodal {
+ position:fixed;
+ _position:absolute; // check ie6
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ .opacity(0);
+
+ cursor:pointer;
+ background-color: @modal-backdrop-bg;
+ // Fade for backdrop
+ //&.fade { .opacity(0); }
+ //&.in { .opacity(.5); }
+ }
+ &.active .slmodal { .opacity(.5); }
+
+ //modal viewport..
+ .viewport {
+ position:fixed;
+ _position:absolute; // ie
+ z-index:10;
+
+ margin:0;padding:0;border:none; //reset some viewer .viewport styles
+
+ // centered viewport, slimbox.js will set width, height, and negative margins
+ top:50%;
+ left:50%;
+ min-height:200px;
+ min-width:200px;
+
+ // transitions to support smooth background-image replacement and height/width resizing
+ .transition(all .4s ease);
+
+ // default background setting, the actual background-image is set by slimbox.js
+ background:transparent no-repeat center center;
+
+ .box-shadow (@slimbox-viewport-corona);
+
+ &:hover .controls { .opacity(@slimbox-control-opacity); }
+
+ &.loading .caption {
+ #gradient > .striped(@gray-lighter);
+ background-size: 40px 40px;
+ .animation(progress-bar-stripes 2s linear infinite);
+ }
+ }
+}
+
+.controls {
+
+ position:absolute;
+ .opacity(0); //only visible on hover
+ .transition(all 1s ease); //smooth appearance on mouse hover
+
+ font-family: @slimbox-font-family;
+ color: @slimbox-text-color;
+ background: @slimbox-control-bg;
+ .box-shadow (@slimbox-viewport-corona);
+ cursor:pointer;
+
+ text-align: center;
+ text-shadow: @slimbox-text-shadow;
+ text-decoration: none;
+
+ &:hover, &:focus {
+ //.opacity(1);
+ opacity:1 !important;
+ outline: none;
+ color: @slimbox-text-color;
+ text-decoration: none;
+ .opacity(.9);
+ }
+
+ &.next, &.prev, &.close {
+ font-family: @slimbox-control-font-family;
+ line-height: @slimbox-control-line-height;
+ font-size: @slimbox-font-size;
+ font-weight: 200; //overwrite bold style of bootstrap/close.less
+ min-width: @slimbox-font-size;
+ height: @slimbox-font-size;
+
+ border-radius: @slimbox-font-size;
+ left: -@slimbox-font-size/2;
+ }
+ &.next, &.prev { top:50%; margin-top:-@slimbox-font-size/2; }
+ &.next { left:auto; right:-@slimbox-font-size/2; }
+ &.close { top:-@slimbox-font-size/2; }
+
+ &.caption {
+ top:100%;
+ width:100%;
+ padding:.25em;
+ margin:2px 0 0 0;
+ }
+
+}
+
+
+
+/*
+.slmbx iframe {
+ width:100%;
+ height:100%;
+ overflow:hidden; // make sure to hide overflow during resize transition
+ background:@white;
+ //scrolling:overflow;
+ -webkit-overflow-scrolling: touch; //bounce effect on ios devices
+}
+iframe::-webkit-scrollbar { width: .5em; height: .5em; }
+iframe::-webkit-scrollbar-button { display:none; }
+iframe::-webkit-scrollbar-track {
+ background:#eee;
+ //-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
+}
+//iframe::-webkit-scrollbar-track-piece { }
+iframe::-webkit-scrollbar-thumb {
+ -webkit-border-radius: .5em;
+ -moz-border-radius: .5em;
+ border-radius: .5em;
+ background:#ccc;
+ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.5);
+ -moz-box-shadow: inset 0 0 6px rgba(0,0,0,.5);
+ box-shadow: inset 0 0 6px rgba(0,0,0,.5);
+}
+//iframe::-webkit-scrollbar-thumb { }
+//iframe::-webkit-scrollbar-thumb { }
+//iframe::-webkit-scrollbar-corner { }
+//iframe::-webkit-resizer { }
+*/
\ No newline at end of file
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Viewer.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,41 @@
+/*
+Plugin: Viewer
+ This plugin allows inline viewing of images, video, wikipages and external sites (iframe)
+
+Example:
+ - %%viewer [link to youtube...] /%
+ - [description | url to youtube... | class='viewer']
+
+DOM Structure:
+ (start code)
+ div.viewer
+ a.href
+ (end)
+
+ (start code)
+ div.viewer
+ iframe.viewport or object.viewport or img.viewport
+ (end)
+*/
+
+.viewport {
+ margin: 0 0 (@line-height-computed / 2); //inherit from p (bootstrap/style.less)
+
+ .box-shadow(0 3px 10px rgba(0, 0, 0, 0.175));
+
+ min-height:200px;
+ min-width: 200px;
+ max-width: 100%; //shrink images to 100% width of the parent element, if needed
+
+}
+
+//During loading, iframes are temporarily added to the body -- but not displayed
+//After loading, the iframes are put into the viewport by js.
+body > iframe { .hidden; }
+
+//avoid that the default background of an iframe is transparent, and contents becomes unreadible
+//(eg needed for View Page Source
+.viewport iframe {
+ background-color:fade(@white,92%);
+ padding:.5em;
+}
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/WeblogPlugin.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/WeblogPlugin.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/WeblogPlugin.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/WeblogPlugin.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,68 @@
+/*
+Style: WeblogPlugins
+ Styling of weblogs and weblogarchive plugins
+
+DOM structure:
+
+*/
+.weblog {
+ margin:0 2em;
+ clear:both;
+}
+.weblogentry {
+ margin:0.5em 0;
+}
+.weblogentryheading {
+ padding:0.25em 0.5em;
+ font-size:90%;
+ background:#e0e0e0;
+ float:right;
+}
+.weblogentrytitle {
+ padding:0.25em 0.5em;
+ font-size:120%;
+ line-height:1.2;
+ font-weight:bold;
+ background:#e0e0e0;
+}
+.weblogentrybody {
+ margin-left:0.5em;
+ clear:both;
+}
+.weblogentryfooter {
+ font-size:90%;
+ padding:0.25em 0.5em;
+ border-bottom:3px solid #e0e0e0;
+ clear:both;
+}
+/*.weblogarchive {
+}
+.weblogarchive ul {
+}*/
+.weblogarchive li {
+ margin-left:1em;
+ display:block;
+ list-style-type:none;
+}
+.archiveyear {
+ font-weight:bold;
+ text-decoration:none;
+ margin-left:0 !important;
+}
+.archiveyear:after {
+ content:" AD"
+}
+
+.weblogcommentstitle {
+ background:#e0e0e0;
+ margin:1em 0.5em 0 0.5em;
+ padding:0.5em;
+ font-weight:bold;
+ font-size:120%;
+ line-height:1.1;
+}
+.weblogcomments {
+ background:#f9f9f9/*#COMMENT#*/;
+ margin:0 0.5em 1em 0.5em;
+ padding:1em;
+}
\ No newline at end of file
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Wiki.Layouts.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/Wiki.Layouts.less?rev=1568367&view=auto
==============================================================================
(empty)
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/alerts.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/alerts.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/alerts.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/alerts.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,67 @@
+//
+// Alerts
+// --------------------------------------------------
+
+
+// Base styles
+// -------------------------
+
+.alert {
+ padding: @alert-padding;
+ margin-bottom: @line-height-computed;
+ border: 1px solid transparent;
+ border-radius: @alert-border-radius;
+
+ // Headings for larger alerts
+ h4 {
+ margin-top: 0;
+ // Specified for the h4 to prevent conflicts of changing @headings-color
+ color: inherit;
+ }
+ // Provide class for links that match alerts
+ .alert-link {
+ font-weight: @alert-link-font-weight;
+ }
+
+ // Improve alignment and spacing of inner content
+ > p,
+ > ul {
+ margin-bottom: 0;
+ }
+ > p + p {
+ margin-top: 5px;
+ }
+}
+
+// Dismissable alerts
+//
+// Expand the right padding and account for the close button's positioning.
+
+.alert-dismissable {
+ padding-right: (@alert-padding + 20);
+
+ // Adjust close link position
+ .close {
+ position: relative;
+ top: -2px;
+ right: -21px;
+ color: inherit;
+ }
+}
+
+// Alternate styles
+//
+// Generate contextual modifier classes for colorizing the alert.
+
+.alert-success {
+ .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
+}
+.alert-info {
+ .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
+}
+.alert-warning {
+ .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
+}
+.alert-danger {
+ .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/alerts.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/badges.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/badges.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/badges.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/badges.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,51 @@
+//
+// Badges
+// --------------------------------------------------
+
+
+// Base classes
+.badge {
+ display: inline-block;
+ min-width: 10px;
+ padding: 3px 7px;
+ font-size: @font-size-small;
+ font-weight: @badge-font-weight;
+ color: @badge-color;
+ line-height: @badge-line-height;
+ vertical-align: baseline;
+ white-space: nowrap;
+ text-align: center;
+ background-color: @badge-bg;
+ border-radius: @badge-border-radius;
+
+ // Empty badges collapse automatically (not available in IE8)
+ &:empty {
+ display: none;
+ }
+
+ // Quick fix for badges in buttons
+ .btn & {
+ position: relative;
+ top: -1px;
+ }
+}
+
+// Hover state, but only for links
+a.badge {
+ &:hover,
+ &:focus {
+ color: @badge-link-hover-color;
+ text-decoration: none;
+ cursor: pointer;
+ }
+}
+
+// Account for counters in navs
+a.list-group-item.active > .badge,
+.nav-pills > .active > a > .badge {
+ color: @badge-active-color;
+ background-color: @badge-active-bg;
+}
+.nav-pills > li > a > .badge {
+ margin-left: 3px;
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/badges.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/bootstrap.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/bootstrap.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/bootstrap.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/bootstrap.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,49 @@
+// Core variables and mixins
+@import "variables.less";
+@import "mixins.less";
+
+// Reset
+@import "normalize.less";
+@import "print.less";
+
+// Core CSS
+@import "scaffolding.less";
+@import "type.less";
+@import "code.less";
+@import "grid.less";
+@import "tables.less";
+@import "forms.less";
+@import "buttons.less";
+
+// Components
+@import "component-animations.less";
+@import "glyphicons.less";
+@import "dropdowns.less";
+@import "button-groups.less";
+@import "input-groups.less";
+@import "navs.less";
+@import "navbar.less";
+@import "breadcrumbs.less";
+@import "pagination.less";
+@import "pager.less";
+@import "labels.less";
+@import "badges.less";
+@import "jumbotron.less";
+@import "thumbnails.less";
+@import "alerts.less";
+@import "progress-bars.less";
+@import "media.less";
+@import "list-group.less";
+@import "panels.less";
+@import "wells.less";
+@import "close.less";
+
+// Components w/ JavaScript
+@import "modals.less";
+@import "tooltip.less";
+@import "popovers.less";
+@import "carousel.less";
+
+// Utility classes
+@import "utilities.less";
+@import "responsive-utilities.less";
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/bootstrap.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/breadcrumbs.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/breadcrumbs.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/breadcrumbs.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/breadcrumbs.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,23 @@
+//
+// Breadcrumbs
+// --------------------------------------------------
+
+
+.breadcrumb {
+ padding: 8px 15px;
+ margin-bottom: @line-height-computed;
+ list-style: none;
+ background-color: @breadcrumb-bg;
+ border-radius: @border-radius-base;
+ > li {
+ display: inline-block;
+ + li:before {
+ content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
+ padding: 0 5px;
+ color: @breadcrumb-color;
+ }
+ }
+ > .active {
+ color: @breadcrumb-active-color;
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/breadcrumbs.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/button-groups.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/button-groups.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/button-groups.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/button-groups.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,227 @@
+//
+// Button groups
+// --------------------------------------------------
+
+// Make the div behave like a button
+.btn-group,
+.btn-group-vertical {
+ position: relative;
+ display: inline-block;
+ vertical-align: middle; // match .btn alignment given font-size hack above
+ > .btn {
+ position: relative;
+ float: left;
+ // Bring the "active" button to the front
+ &:hover,
+ &:focus,
+ &:active,
+ &.active {
+ z-index: 2;
+ }
+ &:focus {
+ // Remove focus outline when dropdown JS adds it after closing the menu
+ outline: none;
+ }
+ }
+}
+
+// Prevent double borders when buttons are next to each other
+.btn-group {
+ .btn + .btn,
+ .btn + .btn-group,
+ .btn-group + .btn,
+ .btn-group + .btn-group {
+ margin-left: -1px;
+ }
+}
+
+// Optional: Group multiple button groups together for a toolbar
+.btn-toolbar {
+ .clearfix();
+
+ .btn-group {
+ float: left;
+ }
+ // Space out series of button groups
+ > .btn,
+ > .btn-group {
+ + .btn,
+ + .btn-group {
+ margin-left: 5px;
+ }
+ }
+}
+
+.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
+ border-radius: 0;
+}
+
+// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
+.btn-group > .btn:first-child {
+ margin-left: 0;
+ &:not(:last-child):not(.dropdown-toggle) {
+ .border-right-radius(0);
+ }
+}
+// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
+.btn-group > .btn:last-child:not(:first-child),
+.btn-group > .dropdown-toggle:not(:first-child) {
+ .border-left-radius(0);
+}
+
+// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
+.btn-group > .btn-group {
+ float: left;
+}
+.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+.btn-group > .btn-group:first-child {
+ > .btn:last-child,
+ > .dropdown-toggle {
+ .border-right-radius(0);
+ }
+}
+.btn-group > .btn-group:last-child > .btn:first-child {
+ .border-left-radius(0);
+}
+
+// On active and open, don't show outline
+.btn-group .dropdown-toggle:active,
+.btn-group.open .dropdown-toggle {
+ outline: 0;
+}
+
+
+// Sizing
+//
+// Remix the default button sizing classes into new ones for easier manipulation.
+
+.btn-group-xs > .btn { .btn-xs(); }
+.btn-group-sm > .btn { .btn-sm(); }
+.btn-group-lg > .btn { .btn-lg(); }
+
+
+// Split button dropdowns
+// ----------------------
+
+// Give the line between buttons some depth
+.btn-group > .btn + .dropdown-toggle {
+ padding-left: 8px;
+ padding-right: 8px;
+}
+.btn-group > .btn-lg + .dropdown-toggle {
+ padding-left: 12px;
+ padding-right: 12px;
+}
+
+// The clickable button for toggling the menu
+// Remove the gradient and set the same inset shadow as the :active state
+.btn-group.open .dropdown-toggle {
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
+
+ // Show no shadow for `.btn-link` since it has no other button styles.
+ &.btn-link {
+ .box-shadow(none);
+ }
+}
+
+
+// Reposition the caret
+.btn .caret {
+ margin-left: 0;
+}
+// Carets in other button sizes
+.btn-lg .caret {
+ border-width: @caret-width-large @caret-width-large 0;
+ border-bottom-width: 0;
+}
+// Upside down carets for .dropup
+.dropup .btn-lg .caret {
+ border-width: 0 @caret-width-large @caret-width-large;
+}
+
+
+// Vertical button groups
+// ----------------------
+
+.btn-group-vertical {
+ > .btn,
+ > .btn-group,
+ > .btn-group > .btn {
+ display: block;
+ float: none;
+ width: 100%;
+ max-width: 100%;
+ }
+
+ // Clear floats so dropdown menus can be properly placed
+ > .btn-group {
+ .clearfix();
+ > .btn {
+ float: none;
+ }
+ }
+
+ > .btn + .btn,
+ > .btn + .btn-group,
+ > .btn-group + .btn,
+ > .btn-group + .btn-group {
+ margin-top: -1px;
+ margin-left: 0;
+ }
+}
+
+.btn-group-vertical > .btn {
+ &:not(:first-child):not(:last-child) {
+ border-radius: 0;
+ }
+ &:first-child:not(:last-child) {
+ border-top-right-radius: @border-radius-base;
+ .border-bottom-radius(0);
+ }
+ &:last-child:not(:first-child) {
+ border-bottom-left-radius: @border-radius-base;
+ .border-top-radius(0);
+ }
+}
+.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
+ border-radius: 0;
+}
+.btn-group-vertical > .btn-group:first-child {
+ > .btn:last-child,
+ > .dropdown-toggle {
+ .border-bottom-radius(0);
+ }
+}
+.btn-group-vertical > .btn-group:last-child > .btn:first-child {
+ .border-top-radius(0);
+}
+
+
+
+// Justified button groups
+// ----------------------
+
+.btn-group-justified {
+ display: table;
+ width: 100%;
+ table-layout: fixed;
+ border-collapse: separate;
+ > .btn,
+ > .btn-group {
+ float: none;
+ display: table-cell;
+ width: 1%;
+ }
+ > .btn-group .btn {
+ width: 100%;
+ }
+}
+
+
+// Checkbox and radio options
+[data-toggle="buttons"] > .btn > input[type="radio"],
+[data-toggle="buttons"] > .btn > input[type="checkbox"] {
+ display: none;
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/button-groups.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/buttons.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/buttons.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/buttons.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/buttons.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,155 @@
+//
+// Buttons
+// --------------------------------------------------
+
+
+// Base styles
+// --------------------------------------------------
+
+.btn {
+ display: inline-block;
+ margin-bottom: 0; // For input.btn
+ font-weight: @btn-font-weight;
+ text-align: center;
+ vertical-align: middle;
+ cursor: pointer;
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
+ border: 1px solid transparent;
+ white-space: nowrap;
+ .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
+ .user-select(none);
+
+ &:focus {
+ .tab-focus();
+ }
+
+ &:hover,
+ &:focus {
+ color: @btn-default-color;
+ text-decoration: none;
+ }
+
+ &:active,
+ &.active {
+ outline: 0;
+ background-image: none;
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
+ }
+
+ &.disabled,
+ &[disabled],
+ fieldset[disabled] & {
+ cursor: not-allowed;
+ pointer-events: none; // Future-proof disabling of clicks
+ .opacity(.65);
+ .box-shadow(none);
+ }
+}
+
+
+// Alternate buttons
+// --------------------------------------------------
+
+.btn-default {
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
+}
+.btn-primary {
+ .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
+}
+// Warning appears as orange
+.btn-warning {
+ .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
+}
+// Danger and error appear as red
+.btn-danger {
+ .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
+}
+// Success appears as green
+.btn-success {
+ .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
+}
+// Info appears as blue-green
+.btn-info {
+ .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
+}
+
+
+// Link buttons
+// -------------------------
+
+// Make a button look and behave like a link
+.btn-link {
+ color: @link-color;
+ font-weight: normal;
+ cursor: pointer;
+ border-radius: 0;
+
+ &,
+ &:active,
+ &[disabled],
+ fieldset[disabled] & {
+ background-color: transparent;
+ .box-shadow(none);
+ }
+ &,
+ &:hover,
+ &:focus,
+ &:active {
+ border-color: transparent;
+ }
+ &:hover,
+ &:focus {
+ color: @link-hover-color;
+ text-decoration: underline;
+ background-color: transparent;
+ }
+ &[disabled],
+ fieldset[disabled] & {
+ &:hover,
+ &:focus {
+ color: @btn-link-disabled-color;
+ text-decoration: none;
+ }
+ }
+}
+
+
+// Button Sizes
+// --------------------------------------------------
+
+.btn-lg {
+ // line-height: ensure even-numbered height of button next to large input
+ .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
+}
+.btn-sm {
+ // line-height: ensure proper height of button next to small input
+ .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
+}
+.btn-xs {
+ .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
+}
+
+
+// Block button
+// --------------------------------------------------
+
+.btn-block {
+ display: block;
+ width: 100%;
+ padding-left: 0;
+ padding-right: 0;
+}
+
+// Vertically space out multiple block buttons
+.btn-block + .btn-block {
+ margin-top: 5px;
+}
+
+// Specificity overrides
+input[type="submit"],
+input[type="reset"],
+input[type="button"] {
+ &.btn-block {
+ width: 100%;
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/buttons.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/carousel.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/carousel.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/carousel.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/carousel.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,232 @@
+//
+// Carousel
+// --------------------------------------------------
+
+
+// Wrapper for the slide container and indicators
+.carousel {
+ position: relative;
+}
+
+.carousel-inner {
+ position: relative;
+ overflow: hidden;
+ width: 100%;
+
+ > .item {
+ display: none;
+ position: relative;
+ .transition(.6s ease-in-out left);
+
+ // Account for jankitude on images
+ > img,
+ > a > img {
+ .img-responsive();
+ line-height: 1;
+ }
+ }
+
+ > .active,
+ > .next,
+ > .prev { display: block; }
+
+ > .active {
+ left: 0;
+ }
+
+ > .next,
+ > .prev {
+ position: absolute;
+ top: 0;
+ width: 100%;
+ }
+
+ > .next {
+ left: 100%;
+ }
+ > .prev {
+ left: -100%;
+ }
+ > .next.left,
+ > .prev.right {
+ left: 0;
+ }
+
+ > .active.left {
+ left: -100%;
+ }
+ > .active.right {
+ left: 100%;
+ }
+
+}
+
+// Left/right controls for nav
+// ---------------------------
+
+.carousel-control {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ width: @carousel-control-width;
+ .opacity(@carousel-control-opacity);
+ font-size: @carousel-control-font-size;
+ color: @carousel-control-color;
+ text-align: center;
+ text-shadow: @carousel-text-shadow;
+ // We can't have this transition here because WebKit cancels the carousel
+ // animation if you trip this while in the middle of another animation.
+
+ // Set gradients for backgrounds
+ &.left {
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
+ }
+ &.right {
+ left: auto;
+ right: 0;
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
+ }
+
+ // Hover/focus state
+ &:hover,
+ &:focus {
+ outline: none;
+ color: @carousel-control-color;
+ text-decoration: none;
+ .opacity(.9);
+ }
+
+ // Toggles
+ .icon-prev,
+ .icon-next,
+ .glyphicon-chevron-left,
+ .glyphicon-chevron-right {
+ position: absolute;
+ top: 50%;
+ z-index: 5;
+ display: inline-block;
+ }
+ .icon-prev,
+ .glyphicon-chevron-left {
+ left: 50%;
+ }
+ .icon-next,
+ .glyphicon-chevron-right {
+ right: 50%;
+ }
+ .icon-prev,
+ .icon-next {
+ width: 20px;
+ height: 20px;
+ margin-top: -10px;
+ margin-left: -10px;
+ font-family: serif;
+ }
+
+ .icon-prev {
+ &:before {
+ content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
+ }
+ }
+ .icon-next {
+ &:before {
+ content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
+ }
+ }
+}
+
+// Optional indicator pips
+//
+// Add an unordered list with the following class and add a list item for each
+// slide your carousel holds.
+
+.carousel-indicators {
+ position: absolute;
+ bottom: 10px;
+ left: 50%;
+ z-index: 15;
+ width: 60%;
+ margin-left: -30%;
+ padding-left: 0;
+ list-style: none;
+ text-align: center;
+
+ li {
+ display: inline-block;
+ width: 10px;
+ height: 10px;
+ margin: 1px;
+ text-indent: -999px;
+ border: 1px solid @carousel-indicator-border-color;
+ border-radius: 10px;
+ cursor: pointer;
+
+ // IE8-9 hack for event handling
+ //
+ // Internet Explorer 8-9 does not support clicks on elements without a set
+ // `background-color`. We cannot use `filter` since that's not viewed as a
+ // background color by the browser. Thus, a hack is needed.
+ //
+ // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
+ // set alpha transparency for the best results possible.
+ background-color: #000 \9; // IE8
+ background-color: rgba(0,0,0,0); // IE9
+ }
+ .active {
+ margin: 0;
+ width: 12px;
+ height: 12px;
+ background-color: @carousel-indicator-active-bg;
+ }
+}
+
+// Optional captions
+// -----------------------------
+// Hidden by default for smaller viewports
+.carousel-caption {
+ position: absolute;
+ left: 15%;
+ right: 15%;
+ bottom: 20px;
+ z-index: 10;
+ padding-top: 20px;
+ padding-bottom: 20px;
+ color: @carousel-caption-color;
+ text-align: center;
+ text-shadow: @carousel-text-shadow;
+ & .btn {
+ text-shadow: none; // No shadow for button elements in carousel-caption
+ }
+}
+
+
+// Scale up controls for tablets and up
+@media screen and (min-width: @screen-sm-min) {
+
+ // Scale up the controls a smidge
+ .carousel-control {
+ .glyphicons-chevron-left,
+ .glyphicons-chevron-right,
+ .icon-prev,
+ .icon-next {
+ width: 30px;
+ height: 30px;
+ margin-top: -15px;
+ margin-left: -15px;
+ font-size: 30px;
+ }
+ }
+
+ // Show and left align the captions
+ .carousel-caption {
+ left: 20%;
+ right: 20%;
+ padding-bottom: 30px;
+ }
+
+ // Move up the indicators
+ .carousel-indicators {
+ bottom: 20px;
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/carousel.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/close.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/close.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/close.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/close.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,33 @@
+//
+// Close icons
+// --------------------------------------------------
+
+
+.close {
+ float: right;
+ font-size: (@font-size-base * 1.5);
+ font-weight: @close-font-weight;
+ line-height: 1;
+ color: @close-color;
+ text-shadow: @close-text-shadow;
+ .opacity(.2);
+
+ &:hover,
+ &:focus {
+ color: @close-color;
+ text-decoration: none;
+ cursor: pointer;
+ .opacity(.5);
+ }
+
+ // Additional properties for button version
+ // iOS requires the button element instead of an anchor tag.
+ // If you want the anchor version, it requires `href="#"`.
+ button& {
+ padding: 0;
+ cursor: pointer;
+ background: transparent;
+ border: 0;
+ -webkit-appearance: none;
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/close.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/code.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/code.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/code.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/code.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,53 @@
+//
+// Code (inline and block)
+// --------------------------------------------------
+
+
+// Inline and block code styles
+code,
+kbd,
+pre,
+samp {
+ font-family: @font-family-monospace;
+}
+
+// Inline code
+code {
+ padding: 2px 4px;
+ font-size: 90%;
+ color: @code-color;
+ background-color: @code-bg;
+ white-space: nowrap;
+ border-radius: @border-radius-base;
+}
+
+// Blocks of code
+pre {
+ display: block;
+ padding: ((@line-height-computed - 1) / 2);
+ margin: 0 0 (@line-height-computed / 2);
+ font-size: (@font-size-base - 1); // 14px to 13px
+ line-height: @line-height-base;
+ word-break: break-all;
+ word-wrap: break-word;
+ color: @pre-color;
+ background-color: @pre-bg;
+ border: 1px solid @pre-border-color;
+ border-radius: @border-radius-base;
+
+ // Account for some code outputs that place code tags in pre tags
+ code {
+ padding: 0;
+ font-size: inherit;
+ color: inherit;
+ white-space: pre-wrap;
+ background-color: transparent;
+ border-radius: 0;
+ }
+}
+
+// Enable scrollable blocks of code
+.pre-scrollable {
+ max-height: @pre-scrollable-max-height;
+ overflow-y: scroll;
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/code.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/component-animations.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/component-animations.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/component-animations.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/component-animations.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,29 @@
+//
+// Component animations
+// --------------------------------------------------
+
+// Heads up!
+//
+// We don't use the `.opacity()` mixin here since it causes a bug with text
+// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
+
+.fade {
+ opacity: 0;
+ .transition(opacity .15s linear);
+ &.in {
+ opacity: 1;
+ }
+}
+
+.collapse {
+ display: none;
+ &.in {
+ display: block;
+ }
+}
+.collapsing {
+ position: relative;
+ height: 0;
+ overflow: hidden;
+ .transition(height .35s ease);
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/component-animations.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/dropdowns.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/dropdowns.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/dropdowns.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/dropdowns.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,187 @@
+//
+// Dropdown menus
+// --------------------------------------------------
+
+
+// Dropdown arrow/caret
+.caret {
+ display: inline-block;
+ width: 0;
+ height: 0;
+ margin-left: 2px;
+ vertical-align: middle;
+ border-top: @caret-width-base solid;
+ border-right: @caret-width-base solid transparent;
+ border-left: @caret-width-base solid transparent;
+}
+
+// The dropdown wrapper (div)
+.dropdown {
+ position: relative;
+}
+
+// Prevent the focus on the dropdown toggle when closing dropdowns
+.dropdown-toggle:focus {
+ outline: 0;
+}
+
+// The dropdown menu (ul)
+.dropdown-menu {
+ position: absolute;
+ top: 100%;
+ left: 0;
+ z-index: @zindex-dropdown;
+ display: none; // none by default, but block on "open" of the menu
+ float: left;
+ min-width: 160px;
+ padding: 5px 0;
+ margin: 2px 0 0; // override default ul
+ list-style: none;
+ font-size: @font-size-base;
+ background-color: @dropdown-bg;
+ border: 1px solid @dropdown-fallback-border; // IE8 fallback
+ border: 1px solid @dropdown-border;
+ border-radius: @border-radius-base;
+ .box-shadow(0 6px 12px rgba(0,0,0,.175));
+ background-clip: padding-box;
+
+ // Aligns the dropdown menu to right
+ &.pull-right {
+ right: 0;
+ left: auto;
+ }
+
+ // Dividers (basically an hr) within the dropdown
+ .divider {
+ .nav-divider(@dropdown-divider-bg);
+ }
+
+ // Links within the dropdown menu
+ > li > a {
+ display: block;
+ padding: 3px 20px;
+ clear: both;
+ font-weight: normal;
+ line-height: @line-height-base;
+ color: @dropdown-link-color;
+ white-space: nowrap; // prevent links from randomly breaking onto new lines
+ }
+}
+
+// Hover/Focus state
+.dropdown-menu > li > a {
+ &:hover,
+ &:focus {
+ text-decoration: none;
+ color: @dropdown-link-hover-color;
+ background-color: @dropdown-link-hover-bg;
+ }
+}
+
+// Active state
+.dropdown-menu > .active > a {
+ &,
+ &:hover,
+ &:focus {
+ color: @dropdown-link-active-color;
+ text-decoration: none;
+ outline: 0;
+ background-color: @dropdown-link-active-bg;
+ }
+}
+
+// Disabled state
+//
+// Gray out text and ensure the hover/focus state remains gray
+
+.dropdown-menu > .disabled > a {
+ &,
+ &:hover,
+ &:focus {
+ color: @dropdown-link-disabled-color;
+ }
+}
+// Nuke hover/focus effects
+.dropdown-menu > .disabled > a {
+ &:hover,
+ &:focus {
+ text-decoration: none;
+ background-color: transparent;
+ background-image: none; // Remove CSS gradient
+ .reset-filter();
+ cursor: not-allowed;
+ }
+}
+
+// Open state for the dropdown
+.open {
+ // Show the menu
+ > .dropdown-menu {
+ display: block;
+ }
+
+ // Remove the outline when :focus is triggered
+ > a {
+ outline: 0;
+ }
+}
+
+// Dropdown section headers
+.dropdown-header {
+ display: block;
+ padding: 3px 20px;
+ font-size: @font-size-small;
+ line-height: @line-height-base;
+ color: @dropdown-header-color;
+}
+
+// Backdrop to catch body clicks on mobile, etc.
+.dropdown-backdrop {
+ position: fixed;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ top: 0;
+ z-index: @zindex-dropdown - 10;
+}
+
+// Right aligned dropdowns
+.pull-right > .dropdown-menu {
+ right: 0;
+ left: auto;
+}
+
+// Allow for dropdowns to go bottom up (aka, dropup-menu)
+//
+// Just add .dropup after the standard .dropdown class and you're set, bro.
+// TODO: abstract this so that the navbar fixed styles are not placed here?
+
+.dropup,
+.navbar-fixed-bottom .dropdown {
+ // Reverse the caret
+ .caret {
+ border-top: 0;
+ border-bottom: @caret-width-base solid;
+ content: "";
+ }
+ // Different positioning for bottom up menu
+ .dropdown-menu {
+ top: auto;
+ bottom: 100%;
+ margin-bottom: 1px;
+ }
+}
+
+
+// Component alignment
+//
+// Reiterate per navbar.less and the modified component alignment there.
+
+@media (min-width: @grid-float-breakpoint) {
+ .navbar-right {
+ .dropdown-menu {
+ .pull-right > .dropdown-menu();
+ }
+ }
+}
+
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/dropdowns.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/forms.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/forms.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/forms.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/forms.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,375 @@
+//
+// Forms
+// --------------------------------------------------
+
+
+// Normalize non-controls
+//
+// Restyle and baseline non-control form elements.
+
+fieldset {
+ padding: 0;
+ margin: 0;
+ border: 0;
+}
+
+legend {
+ display: block;
+ width: 100%;
+ padding: 0;
+ margin-bottom: @line-height-computed;
+ font-size: (@font-size-base * 1.5);
+ line-height: inherit;
+ color: @legend-color;
+ border: 0;
+ border-bottom: 1px solid @legend-border-color;
+}
+
+label {
+ display: inline-block;
+ margin-bottom: 5px;
+ font-weight: bold;
+}
+
+
+// Normalize form controls
+
+// Override content-box in Normalize (* isn't specific enough)
+input[type="search"] {
+ .box-sizing(border-box);
+}
+
+// Position radios and checkboxes better
+input[type="radio"],
+input[type="checkbox"] {
+ margin: 4px 0 0;
+ margin-top: 1px \9; /* IE8-9 */
+ line-height: normal;
+}
+
+// Set the height of select and file controls to match text inputs
+input[type="file"] {
+ display: block;
+}
+
+// Make multiple select elements height not fixed
+select[multiple],
+select[size] {
+ height: auto;
+}
+
+// Fix optgroup Firefox bug per https://github.com/twbs/bootstrap/issues/7611
+select optgroup {
+ font-size: inherit;
+ font-style: inherit;
+ font-family: inherit;
+}
+
+// Focus for select, file, radio, and checkbox
+input[type="file"]:focus,
+input[type="radio"]:focus,
+input[type="checkbox"]:focus {
+ .tab-focus();
+}
+
+// Fix for Chrome number input
+// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.
+// See https://github.com/twbs/bootstrap/issues/8350 for more.
+input[type="number"] {
+ &::-webkit-outer-spin-button,
+ &::-webkit-inner-spin-button {
+ height: auto;
+ }
+}
+
+// Adjust output element
+output {
+ display: block;
+ padding-top: (@padding-base-vertical + 1);
+ font-size: @font-size-base;
+ line-height: @line-height-base;
+ color: @input-color;
+ vertical-align: middle;
+}
+
+
+// Common form controls
+//
+// Shared size and type resets for form controls. Apply `.form-control` to any
+// of the following form controls:
+//
+// select
+// textarea
+// input[type="text"]
+// input[type="password"]
+// input[type="datetime"]
+// input[type="datetime-local"]
+// input[type="date"]
+// input[type="month"]
+// input[type="time"]
+// input[type="week"]
+// input[type="number"]
+// input[type="email"]
+// input[type="url"]
+// input[type="search"]
+// input[type="tel"]
+// input[type="color"]
+
+.form-control {
+ display: block;
+ width: 100%;
+ height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
+ padding: @padding-base-vertical @padding-base-horizontal;
+ font-size: @font-size-base;
+ line-height: @line-height-base;
+ color: @input-color;
+ vertical-align: middle;
+ background-color: @input-bg;
+ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
+ border: 1px solid @input-border;
+ border-radius: @input-border-radius;
+ .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
+ .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
+
+ // Customize the `:focus` state to imitate native WebKit styles.
+ .form-control-focus();
+
+ // Placeholder
+ //
+ // Placeholder text gets special styles because when browsers invalidate entire
+ // lines if it doesn't understand a selector/
+ .placeholder();
+
+ // Disabled and read-only inputs
+ // Note: HTML5 says that controls under a fieldset > legend:first-child won't
+ // be disabled if the fieldset is disabled. Due to implementation difficulty,
+ // we don't honor that edge case; we style them as disabled anyway.
+ &[disabled],
+ &[readonly],
+ fieldset[disabled] & {
+ cursor: not-allowed;
+ background-color: @input-bg-disabled;
+ }
+
+ // Reset height for `textarea`s
+ textarea& {
+ height: auto;
+ }
+}
+
+
+// Form groups
+//
+// Designed to help with the organization and spacing of vertical forms. For
+// horizontal forms, use the predefined grid classes.
+
+.form-group {
+ margin-bottom: 15px;
+}
+
+
+// Checkboxes and radios
+//
+// Indent the labels to position radios/checkboxes as hanging controls.
+
+.radio,
+.checkbox {
+ display: block;
+ min-height: @line-height-computed; // clear the floating input if there is no label text
+ margin-top: 10px;
+ margin-bottom: 10px;
+ padding-left: 20px;
+ vertical-align: middle;
+ label {
+ display: inline;
+ margin-bottom: 0;
+ font-weight: normal;
+ cursor: pointer;
+ }
+}
+.radio input[type="radio"],
+.radio-inline input[type="radio"],
+.checkbox input[type="checkbox"],
+.checkbox-inline input[type="checkbox"] {
+ float: left;
+ margin-left: -20px;
+}
+.radio + .radio,
+.checkbox + .checkbox {
+ margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
+}
+
+// Radios and checkboxes on same line
+.radio-inline,
+.checkbox-inline {
+ display: inline-block;
+ padding-left: 20px;
+ margin-bottom: 0;
+ vertical-align: middle;
+ font-weight: normal;
+ cursor: pointer;
+}
+.radio-inline + .radio-inline,
+.checkbox-inline + .checkbox-inline {
+ margin-top: 0;
+ margin-left: 10px; // space out consecutive inline controls
+}
+
+// Apply same disabled cursor tweak as for inputs
+//
+// Note: Neither radios nor checkboxes can be readonly.
+input[type="radio"],
+input[type="checkbox"],
+.radio,
+.radio-inline,
+.checkbox,
+.checkbox-inline {
+ &[disabled],
+ fieldset[disabled] & {
+ cursor: not-allowed;
+ }
+}
+
+// Form control sizing
+.input-sm {
+ .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
+}
+
+.input-lg {
+ .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
+}
+
+
+// Form control feedback states
+//
+// Apply contextual and semantic states to individual form controls.
+
+// Warning
+.has-warning {
+ .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);
+}
+// Error
+.has-error {
+ .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
+}
+// Success
+.has-success {
+ .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);
+}
+
+
+// Static form control text
+//
+// Apply class to a `p` element to make any string of text align with labels in
+// a horizontal form layout.
+
+.form-control-static {
+ margin-bottom: 0; // Remove default margin from `p`
+}
+
+
+// Help text
+//
+// Apply to any element you wish to create light text for placement immediately
+// below a form control. Use for general help, formatting, or instructional text.
+
+.help-block {
+ display: block; // account for any element using help-block
+ margin-top: 5px;
+ margin-bottom: 10px;
+ color: lighten(@text-color, 25%); // lighten the text some for contrast
+}
+
+
+
+// Inline forms
+//
+// Make forms appear inline(-block) by adding the `.form-inline` class. Inline
+// forms begin stacked on extra small (mobile) devices and then go inline when
+// viewports reach <768px.
+//
+// Requires wrapping inputs and labels with `.form-group` for proper display of
+// default HTML form controls and our custom form controls (e.g., input groups).
+//
+// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
+
+.form-inline {
+
+ // Kick in the inline
+ @media (min-width: @screen-sm) {
+ // Inline-block all the things for "inline"
+ .form-group {
+ display: inline-block;
+ margin-bottom: 0;
+ vertical-align: middle;
+ }
+
+ // In navbar-form, allow folks to *not* use `.form-group`
+ .form-control {
+ display: inline-block;
+ }
+
+ // Override `width: 100%;` when not within a `.form-group`
+ select.form-control {
+ width: auto;
+ }
+
+ // Remove default margin on radios/checkboxes that were used for stacking, and
+ // then undo the floating of radios and checkboxes to match (which also avoids
+ // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
+ .radio,
+ .checkbox {
+ display: inline-block;
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-left: 0;
+ }
+ .radio input[type="radio"],
+ .checkbox input[type="checkbox"] {
+ float: none;
+ margin-left: 0;
+ }
+ }
+}
+
+
+// Horizontal forms
+//
+// Horizontal forms are built on grid classes and allow you to create forms with
+// labels on the left and inputs on the right.
+
+.form-horizontal {
+
+ // Consistent vertical alignment of labels, radios, and checkboxes
+ .control-label,
+ .radio,
+ .checkbox,
+ .radio-inline,
+ .checkbox-inline {
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-top: (@padding-base-vertical + 1); // Default padding plus a border
+ }
+ // Account for padding we're adding to ensure the alignment and of help text
+ // and other content below items
+ .radio,
+ .checkbox {
+ min-height: @line-height-computed + (@padding-base-vertical + 1);
+ }
+
+ // Make form groups behave like rows
+ .form-group {
+ .make-row();
+ }
+
+ .form-control-static {
+ padding-top: (@padding-base-vertical + 1);
+ }
+
+ // Only right align form labels here when the columns stop stacking
+ @media (min-width: @screen-sm-min) {
+ .control-label {
+ text-align: right;
+ }
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/forms.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/glyphicons.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/glyphicons.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/glyphicons.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/glyphicons.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,237 @@
+//
+// Glyphicons for Bootstrap
+//
+// Since icons are fonts, they can be placed anywhere text is placed and are
+// thus automatically sized to match the surrounding child. To use, create an
+// inline element with the appropriate classes, like so:
+//
+// <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
+
+// Import the fonts
+@font-face {
+ font-family: 'Glyphicons Halflings';
+ src: ~"url('@{icon-font-path}@{icon-font-name}.eot')";
+ src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')",
+ ~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')",
+ ~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')",
+ ~"url('@{icon-font-path}@{icon-font-name}.svg#glyphicons-halflingsregular') format('svg')";
+}
+
+// Catchall baseclass
+.glyphicon {
+ position: relative;
+ top: 1px;
+ display: inline-block;
+ font-family: 'Glyphicons Halflings';
+ font-style: normal;
+ font-weight: normal;
+ line-height: 1;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+
+ &:empty {
+ width: 1em;
+ }
+}
+
+// Individual icons
+.glyphicon-asterisk { &:before { content: "\2a"; } }
+.glyphicon-plus { &:before { content: "\2b"; } }
+.glyphicon-euro { &:before { content: "\20ac"; } }
+.glyphicon-minus { &:before { content: "\2212"; } }
+.glyphicon-cloud { &:before { content: "\2601"; } }
+.glyphicon-envelope { &:before { content: "\2709"; } }
+.glyphicon-pencil { &:before { content: "\270f"; } }
+.glyphicon-glass { &:before { content: "\e001"; } }
+.glyphicon-music { &:before { content: "\e002"; } }
+.glyphicon-search { &:before { content: "\e003"; } }
+.glyphicon-heart { &:before { content: "\e005"; } }
+.glyphicon-star { &:before { content: "\e006"; } }
+.glyphicon-star-empty { &:before { content: "\e007"; } }
+.glyphicon-user { &:before { content: "\e008"; } }
+.glyphicon-film { &:before { content: "\e009"; } }
+.glyphicon-th-large { &:before { content: "\e010"; } }
+.glyphicon-th { &:before { content: "\e011"; } }
+.glyphicon-th-list { &:before { content: "\e012"; } }
+.glyphicon-ok { &:before { content: "\e013"; } }
+.glyphicon-remove { &:before { content: "\e014"; } }
+.glyphicon-zoom-in { &:before { content: "\e015"; } }
+.glyphicon-zoom-out { &:before { content: "\e016"; } }
+.glyphicon-off { &:before { content: "\e017"; } }
+.glyphicon-signal { &:before { content: "\e018"; } }
+.glyphicon-cog { &:before { content: "\e019"; } }
+.glyphicon-trash { &:before { content: "\e020"; } }
+.glyphicon-home { &:before { content: "\e021"; } }
+.glyphicon-file { &:before { content: "\e022"; } }
+.glyphicon-time { &:before { content: "\e023"; } }
+.glyphicon-road { &:before { content: "\e024"; } }
+.glyphicon-download-alt { &:before { content: "\e025"; } }
+.glyphicon-download { &:before { content: "\e026"; } }
+.glyphicon-upload { &:before { content: "\e027"; } }
+.glyphicon-inbox { &:before { content: "\e028"; } }
+.glyphicon-play-circle { &:before { content: "\e029"; } }
+.glyphicon-repeat { &:before { content: "\e030"; } }
+.glyphicon-refresh { &:before { content: "\e031"; } }
+.glyphicon-list-alt { &:before { content: "\e032"; } }
+.glyphicon-lock { &:before { content: "\e033"; } }
+.glyphicon-flag { &:before { content: "\e034"; } }
+.glyphicon-headphones { &:before { content: "\e035"; } }
+.glyphicon-volume-off { &:before { content: "\e036"; } }
+.glyphicon-volume-down { &:before { content: "\e037"; } }
+.glyphicon-volume-up { &:before { content: "\e038"; } }
+.glyphicon-qrcode { &:before { content: "\e039"; } }
+.glyphicon-barcode { &:before { content: "\e040"; } }
+.glyphicon-tag { &:before { content: "\e041"; } }
+.glyphicon-tags { &:before { content: "\e042"; } }
+.glyphicon-book { &:before { content: "\e043"; } }
+.glyphicon-bookmark { &:before { content: "\e044"; } }
+.glyphicon-print { &:before { content: "\e045"; } }
+.glyphicon-camera { &:before { content: "\e046"; } }
+.glyphicon-font { &:before { content: "\e047"; } }
+.glyphicon-bold { &:before { content: "\e048"; } }
+.glyphicon-italic { &:before { content: "\e049"; } }
+.glyphicon-text-height { &:before { content: "\e050"; } }
+.glyphicon-text-width { &:before { content: "\e051"; } }
+.glyphicon-align-left { &:before { content: "\e052"; } }
+.glyphicon-align-center { &:before { content: "\e053"; } }
+.glyphicon-align-right { &:before { content: "\e054"; } }
+.glyphicon-align-justify { &:before { content: "\e055"; } }
+.glyphicon-list { &:before { content: "\e056"; } }
+.glyphicon-indent-left { &:before { content: "\e057"; } }
+.glyphicon-indent-right { &:before { content: "\e058"; } }
+.glyphicon-facetime-video { &:before { content: "\e059"; } }
+.glyphicon-picture { &:before { content: "\e060"; } }
+.glyphicon-map-marker { &:before { content: "\e062"; } }
+.glyphicon-adjust { &:before { content: "\e063"; } }
+.glyphicon-tint { &:before { content: "\e064"; } }
+.glyphicon-edit { &:before { content: "\e065"; } }
+.glyphicon-share { &:before { content: "\e066"; } }
+.glyphicon-check { &:before { content: "\e067"; } }
+.glyphicon-move { &:before { content: "\e068"; } }
+.glyphicon-step-backward { &:before { content: "\e069"; } }
+.glyphicon-fast-backward { &:before { content: "\e070"; } }
+.glyphicon-backward { &:before { content: "\e071"; } }
+.glyphicon-play { &:before { content: "\e072"; } }
+.glyphicon-pause { &:before { content: "\e073"; } }
+.glyphicon-stop { &:before { content: "\e074"; } }
+.glyphicon-forward { &:before { content: "\e075"; } }
+.glyphicon-fast-forward { &:before { content: "\e076"; } }
+.glyphicon-step-forward { &:before { content: "\e077"; } }
+.glyphicon-eject { &:before { content: "\e078"; } }
+.glyphicon-chevron-left { &:before { content: "\e079"; } }
+.glyphicon-chevron-right { &:before { content: "\e080"; } }
+.glyphicon-plus-sign { &:before { content: "\e081"; } }
+.glyphicon-minus-sign { &:before { content: "\e082"; } }
+.glyphicon-remove-sign { &:before { content: "\e083"; } }
+.glyphicon-ok-sign { &:before { content: "\e084"; } }
+.glyphicon-question-sign { &:before { content: "\e085"; } }
+.glyphicon-info-sign { &:before { content: "\e086"; } }
+.glyphicon-screenshot { &:before { content: "\e087"; } }
+.glyphicon-remove-circle { &:before { content: "\e088"; } }
+.glyphicon-ok-circle { &:before { content: "\e089"; } }
+.glyphicon-ban-circle { &:before { content: "\e090"; } }
+.glyphicon-arrow-left { &:before { content: "\e091"; } }
+.glyphicon-arrow-right { &:before { content: "\e092"; } }
+.glyphicon-arrow-up { &:before { content: "\e093"; } }
+.glyphicon-arrow-down { &:before { content: "\e094"; } }
+.glyphicon-share-alt { &:before { content: "\e095"; } }
+.glyphicon-resize-full { &:before { content: "\e096"; } }
+.glyphicon-resize-small { &:before { content: "\e097"; } }
+.glyphicon-exclamation-sign { &:before { content: "\e101"; } }
+.glyphicon-gift { &:before { content: "\e102"; } }
+.glyphicon-leaf { &:before { content: "\e103"; } }
+.glyphicon-fire { &:before { content: "\e104"; } }
+.glyphicon-eye-open { &:before { content: "\e105"; } }
+.glyphicon-eye-close { &:before { content: "\e106"; } }
+.glyphicon-warning-sign { &:before { content: "\e107"; } }
+.glyphicon-plane { &:before { content: "\e108"; } }
+.glyphicon-calendar { &:before { content: "\e109"; } }
+.glyphicon-random { &:before { content: "\e110"; } }
+.glyphicon-comment { &:before { content: "\e111"; } }
+.glyphicon-magnet { &:before { content: "\e112"; } }
+.glyphicon-chevron-up { &:before { content: "\e113"; } }
+.glyphicon-chevron-down { &:before { content: "\e114"; } }
+.glyphicon-retweet { &:before { content: "\e115"; } }
+.glyphicon-shopping-cart { &:before { content: "\e116"; } }
+.glyphicon-folder-close { &:before { content: "\e117"; } }
+.glyphicon-folder-open { &:before { content: "\e118"; } }
+.glyphicon-resize-vertical { &:before { content: "\e119"; } }
+.glyphicon-resize-horizontal { &:before { content: "\e120"; } }
+.glyphicon-hdd { &:before { content: "\e121"; } }
+.glyphicon-bullhorn { &:before { content: "\e122"; } }
+.glyphicon-bell { &:before { content: "\e123"; } }
+.glyphicon-certificate { &:before { content: "\e124"; } }
+.glyphicon-thumbs-up { &:before { content: "\e125"; } }
+.glyphicon-thumbs-down { &:before { content: "\e126"; } }
+.glyphicon-hand-right { &:before { content: "\e127"; } }
+.glyphicon-hand-left { &:before { content: "\e128"; } }
+.glyphicon-hand-up { &:before { content: "\e129"; } }
+.glyphicon-hand-down { &:before { content: "\e130"; } }
+.glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
+.glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
+.glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
+.glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
+.glyphicon-globe { &:before { content: "\e135"; } }
+.glyphicon-wrench { &:before { content: "\e136"; } }
+.glyphicon-tasks { &:before { content: "\e137"; } }
+.glyphicon-filter { &:before { content: "\e138"; } }
+.glyphicon-briefcase { &:before { content: "\e139"; } }
+.glyphicon-fullscreen { &:before { content: "\e140"; } }
+.glyphicon-dashboard { &:before { content: "\e141"; } }
+.glyphicon-paperclip { &:before { content: "\e142"; } }
+.glyphicon-heart-empty { &:before { content: "\e143"; } }
+.glyphicon-link { &:before { content: "\e144"; } }
+.glyphicon-phone { &:before { content: "\e145"; } }
+.glyphicon-pushpin { &:before { content: "\e146"; } }
+.glyphicon-usd { &:before { content: "\e148"; } }
+.glyphicon-gbp { &:before { content: "\e149"; } }
+.glyphicon-sort { &:before { content: "\e150"; } }
+.glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
+.glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
+.glyphicon-sort-by-order { &:before { content: "\e153"; } }
+.glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
+.glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
+.glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
+.glyphicon-unchecked { &:before { content: "\e157"; } }
+.glyphicon-expand { &:before { content: "\e158"; } }
+.glyphicon-collapse-down { &:before { content: "\e159"; } }
+.glyphicon-collapse-up { &:before { content: "\e160"; } }
+.glyphicon-log-in { &:before { content: "\e161"; } }
+.glyphicon-flash { &:before { content: "\e162"; } }
+.glyphicon-log-out { &:before { content: "\e163"; } }
+.glyphicon-new-window { &:before { content: "\e164"; } }
+.glyphicon-record { &:before { content: "\e165"; } }
+.glyphicon-save { &:before { content: "\e166"; } }
+.glyphicon-open { &:before { content: "\e167"; } }
+.glyphicon-saved { &:before { content: "\e168"; } }
+.glyphicon-import { &:before { content: "\e169"; } }
+.glyphicon-export { &:before { content: "\e170"; } }
+.glyphicon-send { &:before { content: "\e171"; } }
+.glyphicon-floppy-disk { &:before { content: "\e172"; } }
+.glyphicon-floppy-saved { &:before { content: "\e173"; } }
+.glyphicon-floppy-remove { &:before { content: "\e174"; } }
+.glyphicon-floppy-save { &:before { content: "\e175"; } }
+.glyphicon-floppy-open { &:before { content: "\e176"; } }
+.glyphicon-credit-card { &:before { content: "\e177"; } }
+.glyphicon-transfer { &:before { content: "\e178"; } }
+.glyphicon-cutlery { &:before { content: "\e179"; } }
+.glyphicon-header { &:before { content: "\e180"; } }
+.glyphicon-compressed { &:before { content: "\e181"; } }
+.glyphicon-earphone { &:before { content: "\e182"; } }
+.glyphicon-phone-alt { &:before { content: "\e183"; } }
+.glyphicon-tower { &:before { content: "\e184"; } }
+.glyphicon-stats { &:before { content: "\e185"; } }
+.glyphicon-sd-video { &:before { content: "\e186"; } }
+.glyphicon-hd-video { &:before { content: "\e187"; } }
+.glyphicon-subtitles { &:before { content: "\e188"; } }
+.glyphicon-sound-stereo { &:before { content: "\e189"; } }
+.glyphicon-sound-dolby { &:before { content: "\e190"; } }
+.glyphicon-sound-5-1 { &:before { content: "\e191"; } }
+.glyphicon-sound-6-1 { &:before { content: "\e192"; } }
+.glyphicon-sound-7-1 { &:before { content: "\e193"; } }
+.glyphicon-copyright-mark { &:before { content: "\e194"; } }
+.glyphicon-registration-mark { &:before { content: "\e195"; } }
+.glyphicon-cloud-download { &:before { content: "\e197"; } }
+.glyphicon-cloud-upload { &:before { content: "\e198"; } }
+.glyphicon-tree-conifer { &:before { content: "\e199"; } }
+.glyphicon-tree-deciduous { &:before { content: "\e200"; } }
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/glyphicons.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/grid.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/grid.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/grid.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/grid.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,79 @@
+//
+// Grid system
+// --------------------------------------------------
+
+// Set the container width, and override it for fixed navbars in media queries
+.container {
+ .container-fixed();
+
+ @media (min-width: @screen-sm) {
+ width: @container-sm;
+ }
+ @media (min-width: @screen-md) {
+ width: @container-md;
+ }
+ @media (min-width: @screen-lg-min) {
+ width: @container-lg;
+ }
+}
+
+// mobile first defaults
+.row {
+ .make-row();
+}
+
+// Common styles for small and large grid columns
+.make-grid-columns();
+
+
+// Extra small grid
+//
+// Columns, offsets, pushes, and pulls for extra small devices like
+// smartphones.
+
+.make-grid-columns-float(xs);
+.make-grid(@grid-columns, xs, width);
+.make-grid(@grid-columns, xs, pull);
+.make-grid(@grid-columns, xs, push);
+.make-grid(@grid-columns, xs, offset);
+
+
+// Small grid
+//
+// Columns, offsets, pushes, and pulls for the small device range, from phones
+// to tablets.
+
+@media (min-width: @screen-sm-min) {
+ .make-grid-columns-float(sm);
+ .make-grid(@grid-columns, sm, width);
+ .make-grid(@grid-columns, sm, pull);
+ .make-grid(@grid-columns, sm, push);
+ .make-grid(@grid-columns, sm, offset);
+}
+
+
+// Medium grid
+//
+// Columns, offsets, pushes, and pulls for the desktop device range.
+
+@media (min-width: @screen-md-min) {
+ .make-grid-columns-float(md);
+ .make-grid(@grid-columns, md, width);
+ .make-grid(@grid-columns, md, pull);
+ .make-grid(@grid-columns, md, push);
+ .make-grid(@grid-columns, md, offset);
+}
+
+
+// Large grid
+//
+// Columns, offsets, pushes, and pulls for the large desktop device range.
+
+@media (min-width: @screen-lg-min) {
+ .make-grid-columns-float(lg);
+ .make-grid(@grid-columns, lg, width);
+ .make-grid(@grid-columns, lg, pull);
+ .make-grid(@grid-columns, lg, push);
+ .make-grid(@grid-columns, lg, offset);
+}
+
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/grid.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/input-groups.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/input-groups.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/input-groups.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/input-groups.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,136 @@
+//
+// Input groups
+// --------------------------------------------------
+
+// Base styles
+// -------------------------
+.input-group {
+ position: relative; // For dropdowns
+ display: table;
+ border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
+
+ // Undo padding and float of grid classes
+ &[class*="col-"] {
+ float: none;
+ padding-left: 0;
+ padding-right: 0;
+ }
+
+ .form-control {
+ width: 100%;
+ margin-bottom: 0;
+ }
+}
+
+// Sizing options
+//
+// Remix the default form control sizing classes into new ones for easier
+// manipulation.
+
+.input-group-lg > .form-control,
+.input-group-lg > .input-group-addon,
+.input-group-lg > .input-group-btn > .btn { .input-lg(); }
+.input-group-sm > .form-control,
+.input-group-sm > .input-group-addon,
+.input-group-sm > .input-group-btn > .btn { .input-sm(); }
+
+
+// Display as table-cell
+// -------------------------
+.input-group-addon,
+.input-group-btn,
+.input-group .form-control {
+ display: table-cell;
+
+ &:not(:first-child):not(:last-child) {
+ border-radius: 0;
+ }
+}
+// Addon and addon wrapper for buttons
+.input-group-addon,
+.input-group-btn {
+ width: 1%;
+ white-space: nowrap;
+ vertical-align: middle; // Match the inputs
+}
+
+// Text input groups
+// -------------------------
+.input-group-addon {
+ padding: @padding-base-vertical @padding-base-horizontal;
+ font-size: @font-size-base;
+ font-weight: normal;
+ line-height: 1;
+ color: @input-color;
+ text-align: center;
+ background-color: @input-group-addon-bg;
+ border: 1px solid @input-group-addon-border-color;
+ border-radius: @border-radius-base;
+
+ // Sizing
+ &.input-sm {
+ padding: @padding-small-vertical @padding-small-horizontal;
+ font-size: @font-size-small;
+ border-radius: @border-radius-small;
+ }
+ &.input-lg {
+ padding: @padding-large-vertical @padding-large-horizontal;
+ font-size: @font-size-large;
+ border-radius: @border-radius-large;
+ }
+
+ // Nuke default margins from checkboxes and radios to vertically center within.
+ input[type="radio"],
+ input[type="checkbox"] {
+ margin-top: 0;
+ }
+}
+
+// Reset rounded corners
+.input-group .form-control:first-child,
+.input-group-addon:first-child,
+.input-group-btn:first-child > .btn,
+.input-group-btn:first-child > .dropdown-toggle,
+.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
+ .border-right-radius(0);
+}
+.input-group-addon:first-child {
+ border-right: 0;
+}
+.input-group .form-control:last-child,
+.input-group-addon:last-child,
+.input-group-btn:last-child > .btn,
+.input-group-btn:last-child > .dropdown-toggle,
+.input-group-btn:first-child > .btn:not(:first-child) {
+ .border-left-radius(0);
+}
+.input-group-addon:last-child {
+ border-left: 0;
+}
+
+// Button input groups
+// -------------------------
+.input-group-btn {
+ position: relative;
+ white-space: nowrap;
+
+ // Negative margin to only have a 1px border between the two
+ &:first-child > .btn {
+ margin-right: -1px;
+ }
+ &:last-child > .btn {
+ margin-left: -1px;
+ }
+}
+.input-group-btn > .btn {
+ position: relative;
+ // Jankily prevent input button groups from wrapping
+ + .btn {
+ margin-left: -4px;
+ }
+ // Bring the "active" button to the front
+ &:hover,
+ &:active {
+ z-index: 2;
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/input-groups.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/jumbotron.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/jumbotron.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/jumbotron.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/jumbotron.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,46 @@
+//
+// Jumbotron
+// --------------------------------------------------
+
+
+.jumbotron {
+ padding: @jumbotron-padding;
+ margin-bottom: @jumbotron-padding;
+ font-size: @jumbotron-font-size;
+ font-weight: 200;
+ line-height: (@line-height-base * 1.5);
+ color: @jumbotron-color;
+ background-color: @jumbotron-bg;
+
+ h1,
+ .h1 {
+ line-height: 1;
+ color: @jumbotron-heading-color;
+ }
+ p {
+ line-height: 1.4;
+ }
+
+ .container & {
+ border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
+ }
+
+ .container {
+ max-width: 100%;
+ }
+
+ @media screen and (min-width: @screen-sm-min) {
+ padding-top: (@jumbotron-padding * 1.6);
+ padding-bottom: (@jumbotron-padding * 1.6);
+
+ .container & {
+ padding-left: (@jumbotron-padding * 2);
+ padding-right: (@jumbotron-padding * 2);
+ }
+
+ h1,
+ .h1 {
+ font-size: (@font-size-base * 4.5);
+ }
+ }
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/jumbotron.less
------------------------------------------------------------------------------
svn:executable = *
Added: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/labels.less
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/labels.less?rev=1568367&view=auto
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/labels.less (added)
+++ jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/labels.less Fri Feb 14 17:24:32 2014
@@ -0,0 +1,64 @@
+//
+// Labels
+// --------------------------------------------------
+
+.label {
+ display: inline;
+ padding: .2em .6em .3em;
+ font-size: 75%;
+ font-weight: bold;
+ line-height: 1;
+ color: @label-color;
+ text-align: center;
+ white-space: nowrap;
+ vertical-align: baseline;
+ border-radius: .25em;
+
+ // Add hover effects, but only for links
+ &[href] {
+ &:hover,
+ &:focus {
+ color: @label-link-hover-color;
+ text-decoration: none;
+ cursor: pointer;
+ }
+ }
+
+ // Empty labels collapse automatically (not available in IE8)
+ &:empty {
+ display: none;
+ }
+
+ // Quick fix for labels in buttons
+ .btn & {
+ position: relative;
+ top: -1px;
+ }
+}
+
+// Colors
+// Contextual variations (linked labels get darker on :hover)
+
+.label-default {
+ .label-variant(@label-default-bg);
+}
+
+.label-primary {
+ .label-variant(@label-primary-bg);
+}
+
+.label-success {
+ .label-variant(@label-success-bg);
+}
+
+.label-info {
+ .label-variant(@label-info-bg);
+}
+
+.label-warning {
+ .label-variant(@label-warning-bg);
+}
+
+.label-danger {
+ .label-variant(@label-danger-bg);
+}
Propchange: jspwiki/trunk/jspwiki-war/src/main/styles/haddock/bootstrap/labels.less
------------------------------------------------------------------------------
svn:executable = *