You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by ki...@apache.org on 2015/06/13 23:40:19 UTC
svn commit: r1685336 [17/17] - in
/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp:
bootstrap-select/ bootstrap-select/css/ bootstrap-select/js/
bootstrap-select/js/i18n/ bootstrap/ bootstrap/css/ bootstrap/fonts/
bootstrap/js/...
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/miscellaneous.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/miscellaneous.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/miscellaneous.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/miscellaneous.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,354 @@
+/*
+ * General: Miscellaneous
+ * ----------------------
+ */
+// 10px padding and margins
+.pad {
+ padding: 10px;
+}
+.margin {
+ margin: 10px;
+}
+.margin-bottom {
+ margin-bottom: 20px;
+}
+// Display inline
+.inline {
+ display: inline;
+ width: auto;
+}
+
+// Description Blocks
+.description-block {
+ display: block;
+ margin: 10px 0;
+ text-align: center;
+ &.margin-bottom {
+ margin-bottom: 25px;
+ }
+ > .description-header {
+ margin: 0;
+ padding: 0;
+ font-weight: 600;
+ font-size: 16px;
+ }
+ > .description-text {
+ text-transform: uppercase;
+ }
+}
+
+// Background colors
+.bg-red,
+.bg-yellow,
+.bg-aqua,
+.bg-blue,
+.bg-light-blue,
+.bg-green,
+.bg-navy,
+.bg-teal,
+.bg-olive,
+.bg-lime,
+.bg-orange ,
+.bg-fuchsia,
+.bg-purple,
+.bg-maroon,
+.bg-black,
+.bg-red-active,
+.bg-yellow-active,
+.bg-aqua-active,
+.bg-blue-active,
+.bg-light-blue-active,
+.bg-green-active,
+.bg-navy-active,
+.bg-teal-active,
+.bg-olive-active,
+.bg-lime-active,
+.bg-orange-active,
+.bg-fuchsia-active,
+.bg-purple-active,
+.bg-maroon-active,
+.bg-black-active {
+ color: #fff !important;
+}
+.bg-gray {
+ color: #000;
+ background-color: @gray!important;
+}
+.bg-black {
+ background-color: @black!important;
+}
+.bg-red {
+ background-color: @red !important;
+}
+.bg-yellow {
+ background-color: @yellow !important;
+}
+.bg-aqua {
+ background-color: @aqua !important;
+}
+.bg-blue {
+ background-color: @blue !important;
+}
+.bg-light-blue {
+ background-color: @light-blue !important;
+}
+.bg-green {
+ background-color: @green !important;
+}
+.bg-navy {
+ background-color: @navy !important;
+}
+.bg-teal {
+ background-color: @teal !important;
+}
+.bg-olive {
+ background-color: @olive !important;
+}
+.bg-lime {
+ background-color: @lime !important;
+}
+.bg-orange {
+ background-color: @orange !important;
+}
+.bg-fuchsia {
+ background-color: @fuchsia !important;
+}
+.bg-purple {
+ background-color: @purple !important;
+}
+.bg-maroon {
+ background-color: @maroon !important;
+}
+
+//Set of Active Background Colors
+.bg-gray-active {
+ color: #000;
+ background-color: darken(@gray,10%)!important;
+}
+.bg-black-active {
+ background-color: darken(@black, 10%)!important;
+}
+.bg-red-active {
+ background-color: darken(@red , 6%)!important;
+}
+.bg-yellow-active {
+ background-color: darken(@yellow , 6%)!important;
+}
+.bg-aqua-active {
+ background-color: darken(@aqua , 6%)!important;
+}
+.bg-blue-active {
+ background-color: darken(@blue , 10%)!important;
+}
+.bg-light-blue-active {
+ background-color: darken(@light-blue , 6%)!important;
+}
+.bg-green-active {
+ background-color: darken(@green , 5%)!important;
+}
+.bg-navy-active {
+ background-color: darken(@navy , 2%)!important;
+}
+.bg-teal-active {
+ background-color: darken(@teal , 5%)!important;
+}
+.bg-olive-active {
+ background-color: darken(@olive , 5%)!important;
+}
+.bg-lime-active {
+ background-color: darken(@lime , 5%)!important;
+}
+.bg-orange-active {
+ background-color: darken(@orange , 5%)!important;
+}
+.bg-fuchsia-active {
+ background-color: darken(@fuchsia , 5%)!important;
+}
+.bg-purple-active {
+ background-color: darken(@purple , 5%)!important;
+}
+.bg-maroon-active {
+ background-color: darken(@maroon , 3%)!important;
+}
+
+//Disabled!
+[class^="bg-"].disabled {
+ .opacity(.65);
+}
+
+// Text colors
+.text-red {
+ color: @red !important;
+}
+.text-yellow {
+ color: @yellow !important;
+}
+.text-aqua {
+ color: @aqua !important;
+}
+.text-blue {
+ color: @blue !important;
+}
+.text-black {
+ color: @black!important;
+}
+.text-light-blue {
+ color: @light-blue !important;
+}
+.text-green {
+ color: @green !important;
+}
+.text-gray {
+ color: @gray !important;
+}
+.text-navy {
+ color: @navy !important;
+}
+.text-teal {
+ color: @teal !important;
+}
+.text-olive {
+ color: @olive !important;
+}
+.text-lime {
+ color: @lime !important;
+}
+.text-orange {
+ color: @orange !important;
+}
+.text-fuchsia {
+ color: @fuchsia !important;
+}
+.text-purple {
+ color: @purple !important;
+}
+.text-maroon {
+ color: @maroon !important;
+}
+
+// Hide elements by display none only
+.hide {
+ display: none !important;
+}
+
+// Remove borders
+.no-border {
+ border: 0px !important;
+}
+// Remove padding
+.no-padding {
+ padding: 0px !important;
+}
+// Remove margins
+.no-margin {
+ margin: 0px !important;
+}
+
+// Remove box shadow
+.no-shadow {
+ box-shadow: none!important;
+}
+
+// Unstyled List
+.list-unstyled {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+// Remove border radius
+.flat {
+ .border-radius(0)!important;
+}
+
+.text-bold {
+ &, &.table td, &.table th {
+ font-weight: 700;
+ }
+
+
+}
+
+// _fix for sparkline tooltip
+.jqstooltip{
+ padding: 5px!important;
+ width:auto!important;
+ height:auto!important;
+}
+
+
+// Gradient Background colors
+.bg-teal-gradient {
+ .gradient(@teal; @teal; lighten(@teal, 16%))!important;
+ color: #fff;
+}
+.bg-light-blue-gradient {
+ .gradient(@light-blue; @light-blue; lighten(@light-blue, 12%))!important;
+ color: #fff;
+}
+.bg-blue-gradient {
+ .gradient(@blue; @blue; lighten(@blue, 7%))!important;
+ color: #fff;
+}
+.bg-aqua-gradient {
+ .gradient(@aqua; @aqua; lighten(@aqua, 7%))!important;
+ color: #fff;
+}
+.bg-yellow-gradient {
+ .gradient(@yellow; @yellow; lighten(@yellow, 16%))!important;
+ color: #fff;
+}
+.bg-purple-gradient {
+ .gradient(@purple; @purple; lighten(@purple, 16%))!important;
+ color: #fff;
+}
+.bg-green-gradient {
+ .gradient(@green; @green; lighten(@green, 7%))!important;
+ color: #fff;
+}
+.bg-red-gradient {
+ .gradient(@red; @red; lighten(@red, 10%))!important;
+ color: #fff;
+}
+.bg-black-gradient {
+ .gradient(@black; @black; lighten(@black, 10%))!important;
+ color: #fff;
+}
+.bg-maroon-gradient {
+ .gradient(@maroon; @maroon; lighten(@maroon, 10%))!important;
+ color: #fff;
+}
+.connectedSortable {
+ min-height: 100px;
+}
+.ui-helper-hidden-accessible {
+ border: 0;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+}
+.sort-highlight {
+ background: #f4f4f4;
+ border: 1px dashed #ddd;
+ margin-bottom: 10px;
+}
+.full-opacity-hover {
+ .opacity(.65);
+ &:hover {
+ .opacity(1);
+ }
+}
+// Charts
+.chart {
+ position: relative;
+ overflow: hidden;
+ width: 100%;
+ svg,
+ canvas {
+ width: 100%!important;
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/mixins.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/mixins.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/mixins.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/mixins.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,122 @@
+//ManifoldCF mixins
+//===============
+
+
+//Changes the color and the hovering properties of the navbar
+.navbar-variant(@color; @font-color: rgba(255, 255, 255, 0.8); @hover-color: #f6f6f6; @hover-bg: rgba(0, 0, 0, 0.1)) {
+ background-color: @color;
+ //Navbar links
+ .nav > li > a {
+ color: @font-color;
+ }
+
+ .nav > li > a:hover,
+ .nav > li > a:active,
+ .nav > li > a:focus,
+ .nav .open > a,
+ .nav .open > a:hover,
+ .nav .open > a:focus {
+ background: @hover-bg;
+ color: @hover-color;
+ }
+
+ //Add color to the sidebar toggle button
+ .sidebar-toggle {
+ color: @font-color;
+ &:hover {
+ color: @hover-color;
+ background: @hover-bg;
+ }
+ }
+}
+
+//Box solid color variantion creator
+.box-solid-variant(@color; @text-color: #fff) {
+ border: 1px solid @color;
+ > .box-header {
+ color: @text-color;
+ background: @color;
+ background-color: @color;
+ a,
+ .btn {
+ color: @text-color;
+ }
+ }
+}
+
+
+//border radius creator
+.border-radius(@radius) {
+ border-radius: @radius;
+}
+
+//Gradient background
+.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
+ background: @color;
+ background: -webkit-gradient(linear,
+ left bottom,
+ left top,
+ color-stop(0, @start),
+ color-stop(1, @stop));
+ background: -ms-linear-gradient(bottom,
+ @start,
+ @stop);
+ background: -moz-linear-gradient(center bottom,
+ @start 0%,
+ @stop 100%);
+ background: -o-linear-gradient(@stop,
+ @start);
+ filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
+}
+
+//Added 2.1.0
+//Skins Mixins
+
+//Dark Sidebar Mixin
+.skin-dark-sidebar(@link-hover-border-color) {
+ .main-sidebar{
+ background-color: @sidebar-dark-bg;
+ }
+
+ //Sidebar Menu. First level links
+ .sidebar-menu > li {
+ //Section Headning
+ &.header {
+ color: lighten(@sidebar-dark-bg, 20%);
+ background: darken(@sidebar-dark-bg, 4%);
+ }
+ //links
+ > a {
+ border-left: 3px solid transparent;
+ }
+ //Hover and active states
+ &:hover > a, &.active > a {
+ color: @sidebar-dark-hover-color;
+ background: @sidebar-dark-hover-bg;
+ border-left-color: @link-hover-border-color;
+ }
+ //First Level Submenu
+ > .treeview-menu {
+ margin: 0 1px;
+ background: @sidebar-dark-submenu-bg;
+ }
+ }
+ //All links within the sidebar menu
+ .sidebar a {
+ color: @sidebar-dark-color;
+ &:hover {
+ text-decoration: none;
+ }
+ }
+ //All submenus
+ .treeview-menu {
+ > li {
+ > a {
+ color: @sidebar-dark-submenu-color;
+ }
+ &.active > a, > a:hover {
+ color: @sidebar-dark-submenu-hover-color;
+ }
+ }
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/modal.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/modal.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/modal.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/modal.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,73 @@
+/*
+ * Component: modal
+ * ----------------
+ */
+.modal {
+ background: rgba(0,0,0,.3);
+}
+.modal-content {
+ .border-radius(0);
+ .box-shadow(0 2px 3px rgba(0,0,0,.125))!important;
+ border: 0;
+ @media (min-width: @screen-sm-min) {
+ .box-shadow(0 2px 3px rgba(0,0,0,.125))!important;
+ }
+}
+.modal-header {
+ border-bottom-color: @box-border-color;
+}
+.modal-footer {
+ border-top-color: @box-border-color;
+}
+
+//Modal variants
+.modal-primary {
+ .modal-body {
+ &:extend(.bg-light-blue);
+ }
+ .modal-header,
+ .modal-footer {
+ &:extend(.bg-light-blue-active);
+ border-color: darken(@light-blue, 10%);
+ }
+}
+.modal-warning {
+ .modal-body {
+ &:extend(.bg-yellow);
+ }
+ .modal-header,
+ .modal-footer {
+ &:extend(.bg-yellow-active);
+ border-color: darken(@yellow, 10%);
+ }
+}
+.modal-info {
+ .modal-body {
+ &:extend(.bg-aqua);
+ }
+ .modal-header,
+ .modal-footer {
+ &:extend(.bg-aqua-active);
+ border-color: darken(@aqua, 10%);
+ }
+}
+.modal-success {
+ .modal-body {
+ &:extend(.bg-green);
+ }
+ .modal-header,
+ .modal-footer {
+ &:extend(.bg-green-active);
+ border-color: darken(@green, 10%);
+ }
+}
+.modal-danger {
+ .modal-body {
+ &:extend(.bg-red);
+ }
+ .modal-header,
+ .modal-footer {
+ &:extend(.bg-red-active);
+ border-color: darken(@red, 10%);
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/navs.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/navs.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/navs.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/navs.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,134 @@
+/*
+ * Component: Nav
+ * --------------
+ */
+
+
+.nav-tabs {
+ margin: 0;
+ border-bottom-color: #f4f4f4;
+ .border-top-radius(@box-border-radius);
+ > li {
+ border-top: 3px solid transparent;
+ margin-bottom: -2px;
+ > a {
+ .border-radius(0)!important;
+ &,
+ &:hover {
+ background: transparent;
+ margin: 0;
+ }
+ }
+ &:not(.active) {
+ > a:hover,
+ > a:focus,
+ > a:active {
+ border-color: transparent;
+ }
+ }
+ margin-right: 5px;
+ }
+
+ > li.active {
+ border-top-color: @light-blue;
+ & > a,
+ &:hover > a {
+ background-color: #fff;
+
+ }
+ > a {
+ border-top: 0;
+ }
+
+ }
+
+ > li:first-of-type {
+ margin-left: 0;
+ &.active {
+ > a {
+ border-left-width: 0;
+ }
+ }
+ }
+
+ > li[seq="0"]{
+ border-bottom: solid 2px @orange;
+ }
+
+ > li[seq="1"]{
+ border-bottom: solid 2px @fuchsia;
+ }
+
+ > li[seq="2"]{
+ border-bottom: solid 2px @green;
+ }
+
+ > li[seq="3"]{
+ border-bottom: solid 2px @blue;
+ }
+
+
+ //Pulled to the right
+ &.pull-right {
+ float: none!important;
+ > li {
+ float: right;
+ }
+ > li:first-of-type {
+ margin-right: 0;
+ &.active {
+ > a {
+ border-left-width: 1px;
+ border-right-width: 0;
+ }
+ }
+ }
+ }
+
+ > li.header {
+ line-height: 35px;
+ padding: 0 10px;
+ font-size: 20px;
+ color: #444;
+ > .fa,
+ > .glyphicon,
+ > .ion {
+ margin-right: 5px;
+ }
+ }
+}
+
+.tab-content{
+ padding: 10px;
+ .tab-pane{
+ .form-control{
+ width:auto!important;
+ //display: inline;
+ }
+ }
+}
+
+
+/* Nav tabs bottom */
+.tabs-bottom {
+ &.nav-3 {
+ li a {
+ width: percentage(100/3)!important;
+ }
+ }
+ li a {
+ border: 0;
+ }
+}
+
+/* PAGINATION */
+.pagination {
+ > li > a {
+ background: #fafafa;
+ color: #666;
+ }
+ > li:first-of-type a,
+ > li:last-of-type a {
+ .border-radius(0);
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/print.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/print.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/print.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/print.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,51 @@
+//Bootstrap Variables & Mixins
+//The core bootstrap code have not been modified. These files
+//are included only for reference.
+@import (reference) "/bootstrap-less/mixins.less";
+@import (reference) "/bootstrap-less/variables.less";
+/*
+ * Misc: print
+ * -----------
+ */
+@media print {
+ a:link:after,
+ a:visited:after {
+ content: "" !important;
+ }
+ //Add to elements that you do not want to show when printing
+ .no-print {
+ display: none!important;
+ }
+ //Elements that we want to hide when printing
+ .main-sidebar,
+ .main-header{
+ &:extend(.no-print);
+ }
+ //This is the only element that should appear, so let's remove the margins
+ .content-wrapper,
+ .main-footer {
+ margin-left: 0!important;
+ min-height: 0!important;
+ .translate(0,0)!important;
+ }
+ .fixed .content-wrapper{
+ padding-top: 0!important;
+ }
+
+ .content-header #heading{
+ font-size:24px;
+ }
+
+ .main-footer{
+ margin-top:20px;
+ }
+
+ //Make sure table content displays properly
+ .table-responsive {
+ overflow: auto;
+ > .table tr th,
+ > .table tr td {
+ white-space: normal!important;
+ }
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/progress-bars.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/progress-bars.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/progress-bars.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/progress-bars.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,107 @@
+/*
+ * Component: Progress Bar
+ * -----------------------
+ */
+
+//General CSS
+.progress,
+.progress > .progress-bar {
+ .box-shadow(none);
+ &, .progress-bar {
+ .border-radius(@progress-bar-border-radius);
+ }
+}
+
+/* size variation */
+.progress.sm,
+.progress-sm {
+ height: 10px;
+ &, .progress-bar {
+ .border-radius(@progress-bar-sm-border-radius);
+ }
+}
+.progress.xs,
+.progress-xs {
+ height: 7px;
+ &, .progress-bar {
+ .border-radius(@progress-bar-xs-border-radius);
+ }
+}
+.progress.xxs,
+.progress-xxs {
+ height: 3px;
+ &, .progress-bar {
+ .border-radius(@progress-bar-xs-border-radius);
+ }
+}
+/* Vertical bars */
+.progress.vertical {
+ position: relative;
+ width: 30px;
+ height: 200px;
+ display: inline-block;
+ margin-right: 10px;
+ > .progress-bar {
+ width: 100%!important;
+ position: absolute;
+ bottom: 0;
+ }
+
+ //Sizes
+ &.sm,
+ &.progress-sm{
+ width: 20px;
+ }
+
+ &.xs,
+ &.progress-xs{
+ width: 10px;
+ }
+ &.xxs,
+ &.progress-xxs{
+ width: 3px;
+ }
+}
+
+//Progress Groups
+.progress-group {
+ .progress-text {
+ font-weight: 600;
+ }
+ .progress-number {
+ float: right;
+ }
+}
+
+/* Remove margins from progress bars when put in a table */
+.table {
+ tr > td .progress {
+ margin: 0;
+ }
+}
+
+// Variations
+// -------------------------
+.progress-bar-light-blue,
+.progress-bar-primary {
+ .progress-bar-variant(@light-blue);
+}
+.progress-bar-green,
+.progress-bar-success {
+ .progress-bar-variant(@green);
+}
+
+.progress-bar-aqua,
+.progress-bar-info {
+ .progress-bar-variant(@aqua);
+}
+
+.progress-bar-yellow,
+.progress-bar-warning {
+ .progress-bar-variant(@yellow);
+}
+
+.progress-bar-red,
+.progress-bar-danger {
+ .progress-bar-variant(@red);
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar-mini.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar-mini.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar-mini.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar-mini.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,127 @@
+/*
+ * Component: Sidebar Mini
+ */
+
+//Add sidebar-mini class to the body tag to activate this feature
+.sidebar-mini {
+ //Sidebar mini should work only on devices larger than @screen-sm
+ @media (min-width: @screen-sm) {
+ //When the sidebar is collapsed...
+ &.sidebar-collapse {
+
+ //Apply the new margining to the main content and footer
+ .content-wrapper,
+ .main-footer {
+ margin-left: 50px!important;
+ z-index: 840;
+ }
+
+ //Modify the sidebar to shrink instead of disappearing
+ .main-sidebar {
+ //Don't go away! Just shrink
+ .translate(0, 0);
+ width: 50px!important;
+ z-index: 850;
+ }
+
+ .sidebar-menu {
+ > li {
+ position: relative;
+ > a {
+ margin-right: 0;
+ }
+ > a > span {
+ border-top-right-radius: 4px;
+ }
+
+ &:not(.treeview) {
+ > a > span {
+ border-bottom-right-radius: 4px;
+ }
+ }
+
+ > .treeview-menu {
+ //Add some padding to the treeview menu
+ padding-top: 5px;
+ padding-bottom: 5px;
+ border-bottom-right-radius: 4px;
+ }
+
+ //Show menu items on hover
+ &:hover {
+ > a {
+ overflow: visible;
+ }
+ > a > span:not(.pull-right),
+ > .treeview-menu {
+ display: block!important;
+ position: absolute;
+ width: @sidebar-width;
+ left: 50px;
+ }
+
+ //position the header & treeview menus
+ > a > span {
+ top: 0;
+ margin-left: -3px;
+ padding: 12px 5px 12px 20px;
+ background-color: inherit;
+ }
+ > .treeview-menu {
+ top: 44px;
+ margin-left: 0;
+ }
+ }
+ }
+ }
+
+ //Make the sidebar links, menus, labels, badges
+ //and angle icons disappear
+ .main-sidebar .user-panel > .info,
+ .sidebar-form,
+ .sidebar-menu > li > a > span,
+ .sidebar-menu > li > .treeview-menu,
+ .sidebar-menu >li > a > .pull-right,
+ .sidebar-menu li.header {
+ display: none!important;
+ }
+
+ .main-header {
+ //Let's make the logo also shrink and the mini logo to appear
+ .logo {
+ > .logo-mini {
+ display: block;
+ margin-left: -15px;
+ margin-right: -15px;
+ font-size: 18px;
+ }
+ > .logo-lg {
+ display: none;
+ }
+ }
+ }
+ }
+ }
+}
+
+//A fix for text overflow while transitioning from sidebar mini to full sidebar
+.sidebar-menu li > a,
+.main-sidebar .user-panel,
+.sidebar-menu > li.header {
+ white-space: nowrap!important;
+ overflow: hidden;
+}
+.sidebar-form,
+.sidebar-menu > li.header {
+ overflow: hidden;
+ text-overflow: clip;
+}
+.sidebar-menu li > a {
+ position: relative;
+ > .pull-right {
+ position: absolute;
+ top: 50%;
+ right: 10px;
+ margin-top: -7px;
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sidebar.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,110 @@
+/*
+ * Component: Sidebar
+ * ------------------
+ */
+//Main Sidebar
+.main-sidebar{
+ position: absolute;
+ top: @navbar-height;
+ left: 0;
+ min-height: 100%;
+ width: @sidebar-width;
+ z-index: 810;
+ box-shadow: 5px 0 5px -5px #333;
+ //Using disposable variable to join statements with a comma
+ @transition-rule: @transition-speed @transition-fn,
+ width @transition-speed @transition-fn;
+ .transition-transform(@transition-rule);
+ @media (max-width: @screen-xs-max) {
+ .translate(-@sidebar-width, 0);
+ }
+ .sidebar-collapse & {
+ @media (min-width: @screen-sm) {
+ .translate(-@sidebar-width, 0);
+ }
+ }
+ .sidebar-open & {
+ @media (max-width: @screen-xs-max) {
+ .translate(0, 0);
+ }
+ }
+}
+
+.sidebar {
+ padding-bottom: 10px;
+}
+
+// Sidebar menu
+.sidebar-menu {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ //First Level
+ > li {
+ position: relative;
+ margin: 0;
+ padding: 0;
+ > a {
+ padding: 12px 5px 12px 15px;
+ display: block;
+ > .fa,
+ > .glyphicon,
+ > .ion {
+ width: 20px;
+ }
+ }
+ .label,
+ .badge {
+ margin-top: 3px;
+ margin-right: 5px;
+ }
+ }
+ li.header {
+ padding: 10px 25px 10px 15px;
+ font-size: 12px;
+ }
+ li > a > .fa-angle-left {
+ width: auto;
+ height: auto;
+ padding: 0;
+ margin-right: 10px;
+ margin-top: 3px;
+ }
+ li.active {
+ > a > .fa-angle-left {
+ .rotate(-90deg);
+ }
+ > .treeview-menu {
+ display: block;
+ }
+ }
+
+ // Tree view menu
+ .treeview-menu {
+ display: none;
+ list-style: none;
+ padding:0;
+ margin:0;
+ padding-left: 5px;
+ .treeview-menu {
+ padding-left: 20px;
+ }
+ > li {
+ margin: 0;
+ > a {
+ padding: 5px 5px 5px 15px;
+ display: block;
+ font-size: 14px;
+ > .fa,
+ > .glyphicon,
+ > .ion {
+ width: 20px;
+ }
+ > .fa-angle-left,
+ > .fa-angle-down {
+ width: auto;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/skin-black.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/skin-black.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/skin-black.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/skin-black.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,55 @@
+/*
+ * Skin: Black
+ * -----------
+ */
+@import (reference) "bootstrap-less/mixins.less";
+@import (reference) "bootstrap-less/variables.less";
+@import (reference) "variables.less";
+@import (reference) "mixins.less";
+
+/* skin-black navbar */
+.skin-black {
+ //Navbar & LogoLogo
+ .main-header {
+ .navbar-toggle {
+ color: #333;
+ }
+ .navbar-brand {
+ color: #333;
+ border-right: 1px solid #eee;
+ }
+ > .navbar {
+ .navbar-variant(#fff; #333; #999; #fff);
+ > .sidebar-toggle {
+ color: #333;
+ border-right: 1px solid #eee;
+ }
+ .navbar-nav {
+ > li > a {
+ border-right: 1px solid #eee;
+ }
+ }
+ .navbar-custom-menu .navbar-nav,
+ .navbar-right {
+ > li {
+ > a {
+ border-left: 1px solid #eee;
+ border-right-width: 0;
+ }
+ }
+ }
+ > .logo {
+ color: #333;
+ border-right: 1px solid #eee;
+ }
+ }
+ }
+
+ //Content Header
+ .content-header {
+ background: transparent;
+ box-shadow: none;
+ }
+ //Create the sidebar skin
+ .skin-dark-sidebar(#fff);
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sourcesanspro-fonts.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sourcesanspro-fonts.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sourcesanspro-fonts.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/sourcesanspro-fonts.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,59 @@
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 300;
+ src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(../fonts/SourceSansPro/SourceSansPro-Light.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 400;
+ src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(../fonts/SourceSansPro/SourceSansPro-Regular.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 600;
+ src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url(../fonts/SourceSansPro/SourceSansPro-Semibold.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: normal;
+ font-weight: 700;
+ src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(../fonts/SourceSansPro/SourceSansPro-Bold.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: italic;
+ font-weight: 300;
+ src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url(../fonts/SourceSansPro/SourceSansPro-LightIt.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: italic;
+ font-weight: 400;
+ src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url(../fonts/SourceSansPro/SourceSansPro-It.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
+
+@font-face {
+ font-family: 'Source Sans Pro';
+ font-style: italic;
+ font-weight: 600;
+ src: local('Source Sans Pro Semibold Italic'), local('SourceSansPro-SemiboldIt'), url(../fonts/SourceSansPro/SourceSansPro-SemiboldIt.woff2) format('woff2');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/spinner.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/spinner.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/spinner.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/spinner.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,37 @@
+.spinner > div {
+ width: 18px;
+ height: 18px;
+ background-color: #208182;
+ border-radius: 100%;
+ display: inline-block;
+ -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
+ animation: bouncedelay 1.4s infinite ease-in-out;
+ /* Prevent first frame from flickering when animation starts */
+ -webkit-animation-fill-mode: both;
+ animation-fill-mode: both;
+}
+
+.spinner .bounce1 {
+ -webkit-animation-delay: -0.32s;
+ animation-delay: -0.32s;
+}
+
+.spinner .bounce2 {
+ -webkit-animation-delay: -0.16s;
+ animation-delay: -0.16s;
+}
+
+@-webkit-keyframes bouncedelay {
+ 0%, 80%, 100% { -webkit-transform: scale(0.0) }
+ 40% { -webkit-transform: scale(1.0) }
+}
+
+@keyframes bouncedelay {
+ 0%, 80%, 100% {
+ transform: scale(0.0);
+ -webkit-transform: scale(0.0);
+ } 40% {
+ transform: scale(1.0);
+ -webkit-transform: scale(1.0);
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/style.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/style.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/style.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/style.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,62 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+//Bootstrap Variables & Mixins
+//The core bootstrap code have not been modified. These files
+//are included only for reference.
+@import (reference) "bootstrap-less/mixins.less";
+@import (reference) "bootstrap-less/variables.less";
+
+//MISC
+//----
+@import "core.less";
+@import "variables.less";
+@import "mixins.less";
+
+//COMPONENTS
+//-----------
+@import "header.less";
+@import "sidebar.less";
+@import "sidebar-mini.less";
+@import "dropdown.less";
+@import "forms.less";
+@import "progress-bars.less";
+@import "boxes.less";
+@import "info-box.less";
+@import "buttons.less";
+@import "callout.less";
+@import "alerts.less";
+@import "navs.less";
+@import "table.less";
+@import "labels.less";
+@import "modal.less";
+@import "spinner.less";
+
+//PAGES
+//------
+@import "login.less";
+
+//Miscellaneous
+//-------------
+@import "miscellaneous.less";
+@import "displaytable.less";
+
+//THEME
+@import "skin-black.less";
+
+//google fonts
+@import "sourcesanspro-fonts.less";
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/table.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/table.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/table.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/table.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,87 @@
+/*
+ * Component: Table
+ * ----------------
+ */
+
+.table {
+ //Cells
+ > thead,
+ > tbody,
+ > tfoot {
+ > tr {
+ > th,
+ > td {
+ border-top: 1px solid @box-border-color;
+ }
+ > th{
+ font-weight: 600;
+ text-decoration: underline;
+ font-style: italic;
+ }
+ }
+ }
+ //thead cells
+ > thead > tr > th {
+ border-bottom: 2px solid @box-border-color;
+ }
+ //progress bars in tables
+ tr td .progress {
+ margin-top: 5px;
+ }
+ .table{
+ margin-bottom: 0px;
+ }
+ +.callout{
+ margin-top:10px;
+ }
+
+ .callout{
+ margin:0px;
+ padding:5px 15px;
+ }
+}
+
+//Bordered Table
+.table-bordered {
+ border: 1px solid @box-border-color;
+ > thead,
+ > tbody,
+ > tfoot {
+ > tr {
+ > th,
+ > td {
+ border: 1px solid @box-border-color;
+ }
+ }
+ }
+ > thead > tr {
+ > th,
+ > td {
+ border-bottom-width: 2px;
+ }
+ }
+}
+
+.table.no-border {
+ &,
+ td,
+ th {
+ border: 0;
+ }
+}
+
+/* .text-center in tables */
+table.text-center {
+ &, td, th {
+ text-align: center;
+ }
+}
+
+.table.align {
+ th {
+ text-align: left;
+ }
+ td {
+ text-align: right;
+ }
+}
\ No newline at end of file
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/variables.less
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/variables.less?rev=1685336&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/variables.less (added)
+++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/variables.less Sat Jun 13 21:40:17 2015
@@ -0,0 +1,102 @@
+//ManifoldCF Variables.less
+//=========================
+
+//COLORS
+//--------------------------------------------------------
+
+@light-blue: #3c8dbc; //Primary
+@red: #dd4b39; //Danger
+@green: #00a65a; //Success
+@aqua: #00c0ef; //Info
+@yellow: #f39c12; //Warning
+@blue: #0073b7;
+@navy: #001F3F;
+@teal: #39CCCC;
+@olive: #3D9970;
+@lime: #01FF70;
+@orange: #FF851B;
+@fuchsia: #F012BE;
+@purple: #605ca8;
+@maroon: #D81B60;
+@black: #111;
+@gray: #d2d6de;
+
+//LAYOUT
+//--------------------------------------------------------
+
+//Side bar and logo width
+@sidebar-width: 230px;
+//When the logo should go to the top of the screen
+@screen-header-collapse: @screen-xs-max;
+@main-footer-height: 30px;
+
+//Link colors (Aka: <a> tags)
+@link-color: @light-blue;
+@link-hover-color: lighten(@link-color, 15%);
+
+//Body background (Affects main content background only)
+@body-bg: #ecf0f5;
+
+//SIDEBAR SKINS
+//--------------------------------------------------------
+
+//Dark sidebar
+@sidebar-dark-bg: #34343E;
+@sidebar-dark-hover-bg: darken(@sidebar-dark-bg, 2%);
+@sidebar-dark-color: lighten(@sidebar-dark-bg, 80%);
+@sidebar-dark-hover-color: #fff;
+@sidebar-dark-submenu-bg: lighten(@sidebar-dark-bg, 5%);
+@sidebar-dark-submenu-color: lighten(@sidebar-dark-submenu-bg, 70%);
+@sidebar-dark-submenu-hover-color: #fff;
+
+//Light sidebar
+@sidebar-light-bg: #f9fafc;
+@sidebar-light-hover-bg: lighten(#f0f0f1, 1.5%);
+@sidebar-light-color: #444;
+@sidebar-light-hover-color: #000;
+@sidebar-light-submenu-bg: @sidebar-light-hover-bg;
+@sidebar-light-submenu-color: #777;
+@sidebar-light-submenu-hover-color: #000;
+
+//CONTROL SIDEBAR
+//--------------------------------------------------------
+@control-sidebar-width: @sidebar-width;
+
+
+//BOXES
+//--------------------------------------------------------
+@box-border-color: #f4f4f4;
+@box-border-radius: 3px;
+@box-footer-bg: #fff;
+@box-boxshadow: 0 2px 2px 0 rgba(0,0,0,.16),0 0 2px 0 rgba(0,0,0,.12);
+@box-padding: 10px;
+
+//Box variants
+@box-default-border-top-color: #d2d6de;
+
+//BUTTONS
+//--------------------------------------------------------
+@btn-boxshadow: none;
+
+//PROGRESS BARS
+//--------------------------------------------------------
+@progress-bar-border-radius: 1px;
+@progress-bar-sm-border-radius: 1px;
+@progress-bar-xs-border-radius: 1px;
+
+//FORMS
+//--------------------------------------------------------
+@input-radius: 0px;
+
+//BUTTONS
+//--------------------------------------------------------
+
+//Border radius for non flat buttons
+@btn-border-radius: 3px;
+
+//TRANSITIONS SETTINGS
+//--------------------------------------------------------
+
+//Transition global options
+@transition-speed: .3s;
+@transition-fn: ease-in-out;//cubic-bezier(0.32,1.25,0.375,1.15);
\ No newline at end of file