Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/boxes.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/boxes.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/boxes.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/boxes.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,291 @@ +/* + * Component: Box + * -------------- + */ +.box { + position: relative; + background: #ffffff; + border:1px solid @box-border-color; + border-top: 3px solid @box-default-border-top-color; + margin-bottom: 20px; + width: 100%; + box-shadow: @box-boxshadow; + + // Box color variations + &.box-primary { + border-top-color: @light-blue; + } + &.box-info { + border-top-color: @aqua; + } + &.box-danger { + border-top-color: @red; + } + &.box-warning { + border-top-color: @yellow; + } + &.box-success { + border-top-color: @green; + } + &.box-default { + border-top-color: @gray; + } + + // collapsed mode + &.collapsed-box { + .box-body, + .box-footer { + display: none; + } + } + + .nav-stacked { + > li { + border-bottom: 1px solid @box-border-color; + margin: 0; + &:last-of-type { + border-bottom: none; + } + } + } + + // fixed height to 300px + &.height-control { + .box-body { + max-height: 300px; + overflow: auto; + } + } + + .border-right { + border-right: 1px solid @box-border-color; + } + .border-left { + border-left: 1px solid @box-border-color; + } + + //SOLID BOX + //--------- + //use this class to get a colored header and borders + + &.box-solid { + border-top: 0px; + > .box-header { + .btn.btn-default { + background: transparent; + } + .btn, + a { + &:hover { + background: rgba(0,0,0,0.1)!important; + } + } + } + + // Box color variations + &.box-default { + .box-solid-variant(@gray, #444); + } + &.box-primary { + .box-solid-variant(@light-blue); + } + &.box-info { + .box-solid-variant(@aqua); + } + &.box-danger { + .box-solid-variant(@red); + } + &.box-warning { + .box-solid-variant(@yellow); + } + &.box-success { + .box-solid-variant(@green); + } + + > .box-header > .box-tools .btn { + border: 0; + box-shadow: none; + } + + // Fix font color for tiles + &[class*='bg'] { + > .box-header { + color: #fff; + } + } + + } + + //BOX GROUP + .box-group { + > .box { + margin-bottom: 5px; + } + } + + + // jQuery Knob in a box + .knob-label { + text-align: center; + color: #333; + font-weight: 100; + font-size: 12px; + margin-bottom: 0.3em; + } + + // Box overlay for LOADING STATE effect + > .overlay, + > .loading-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + .overlay { + z-index: 50; + background: rgba(255, 255, 255, 0.7); + .border-radius(@box-border-radius); + > .fa { + position: absolute; + top: 50%; + left: 50%; + margin-left: -15px; + margin-top: -15px; + color: #000; + font-size: 30px; + } + } + + .overlay.dark { + background: rgba(0, 0, 0, 0.5); + } + +} + +//Add clearfix to header, body and footer +.box-header, +.box-body, +.box-footer { + .clearfix(); +} + +//Box header +.box-header { + color: #444; + display: block; + padding: @box-padding; + position: relative; + + //Add bottom border + &.with-border { + border-bottom: 1px solid @box-border-color; + .collapsed-box & { + border-bottom: none; + } + } + + //Icons and box title + > .fa, + > .glyphicon, + > .ion, + .box-title { + display: inline-block; + font-size: 18px; + margin: 0; + line-height: 1; + } + > .fa, + > .glyphicon, + > .ion { + margin-right: 5px; + } + > .box-tools { + position: absolute; + right: 10px; + top: 5px; + [data-toggle="tooltip"] { + position: relative; + } + //float: none!important; + &.pull-right { + .dropdown-menu { + right: 0; + left: auto; + } + } + } +} + +//Box Tools Buttons +.btn-box-tool { + padding: 5px; + font-size: 12px; + background: transparent; + box-shadow: none!important; + color: darken(@box-default-border-top-color, 20%); + .open &, + &:hover { + color: darken(@box-default-border-top-color, 40%); + } + &:active { + outline: none!important; + } +} + +//Box Body +.box-body { + //.border-radius(0; 0; @box-border-radius; @box-border-radius); + padding: @box-padding; + .no-header & { + .border-top-radius(@box-border-radius); + } + // Tables within the box body + > .table { + margin-bottom: 0; + } + + // Calendar within the box body + .fc { + margin-top: 5px; + } + + .full-width-chart { + margin: -19px; + } + &.no-padding .full-width-chart { + margin: -9px; + } + + .box-pane { + //.border-radius(0; 0; @box-border-radius; 0); + } + .box-pane-right { + //.border-radius(0; 0; 0; @box-border-radius); + } +} + +//Box footer +.box-footer { + //.border-radius(0; 0; @box-border-radius; @box-border-radius); + border-top: 1px solid @box-border-color; + padding: @box-padding; + background-color: @box-footer-bg; +} +.chart-legend { + &:extend(.list-unstyled); + margin: 10px 0; + > li { + @media (max-width: @screen-sm-max) { + float: left; + margin-right: 10px; + } + } +} + +//Input in box +.box-input { + max-width: 200px; +} +
Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/buttons.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/buttons.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/buttons.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/buttons.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,156 @@ +/* + * Component: Button + * ----------------- + */ + +.btn { + .border-radius(@btn-border-radius); + .box-shadow(@btn-boxshadow); + border: 1px solid transparent; + + &.uppercase { + text-transform: uppercase + } + + // Flat buttons + &.btn-flat { + .border-radius(0); + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + border-width: 1px; + } + + // Active state + &:active { + -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + } + + &:focus { + outline: none; + } + + // input file btn + &.btn-file { + position: relative; + overflow: hidden; + > input[type='file'] { + position: absolute; + top: 0; + right: 0; + min-width: 100%; + min-height: 100%; + font-size: 100px; + text-align: right; + .opacity(0); + outline: none; + background: white; + cursor: inherit; + display: block; + } + } +} + +//Button color variations +.btn-default { + color: #444; + border-color: #ddd; + &:hover, &:active, &.hover { + background-color:darken(#f4f4f4, 5%)!important; + } +} +.btn-primary { + background-color: @light-blue; + border-color: darken(@light-blue, 5%); + &:hover, &:active, &.hover { + background-color: darken(@light-blue, 5%); + } +} +.btn-success { + background-color: @green; + border-color: darken(@green, 5%); + &:hover, &:active, &.hover { + background-color: darken(@green, 5%); + } +} +.btn-info { + background-color: @aqua; + border-color: darken(@aqua, 5%); + &:hover, &:active, &.hover { + background-color: darken(@aqua, 5%); + } +} +.btn-danger { + background-color: @red; + border-color: darken(@red, 5%); + &:hover, &:active, &.hover { + background-color: darken(@red, 5%); + } +} +.btn-warning { + background-color: @yellow; + border-color: darken(@yellow, 5%); + &:hover, &:active, &.hover { + background-color: darken(@yellow, 5%); + } +} +.btn-outline { + border: 1px solid #fff; + background: transparent; + color: #fff; + &:hover, + &:focus, + &:active { + color: rgba(255,255,255,.7); + border-color: rgba(255,255,255,.7); + } +} +.btn-link { + .box-shadow(none); +} +//General .btn with bg class +.btn[class*='bg-']:hover { + .box-shadow(inset 0 0 100px rgba(0,0,0,0.2)); +} +// Application buttons +.btn-app { + .border-radius(3px); + position: relative; + padding: 15px 5px; + margin: 0 0 10px 10px; + min-width: 80px; + height: 60px; + text-align: center; + color: #666; + border: 1px solid #ddd; + background-color: #f4f4f4; + font-size: 12px; + //Icons within the btn + > .fa, > .glyphicon, > .ion { + font-size: 20px; + display: block; + } + + &:hover { + background: #f4f4f4; + color: #444; + border-color: #aaa; + } + + &:active, &:focus { + -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); + } + + //The badge + > .badge { + position: absolute; + top: -3px; + right: -10px; + font-size: 10px; + font-weight: 400; + } +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/callout.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/callout.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/callout.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/callout.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,49 @@ +/* + * Component: Callout + * ------------------ + */ + +// Base styles (regardless of theme) +.callout { + .border-radius(3px); + margin: 0 0 10px 0; + padding: 15px 30px 15px 15px; + border-left: 5px solid #eee; + a { + color: #fff; + text-decoration: underline; + &:hover { + color: #eee; + } + } + h4 { + margin-top: 0; + font-weight: 600; + } + p:last-child { + margin-bottom: 0; + } + code, + .highlight { + background-color: #fff; + } + + // Themes for different contexts + &.callout-danger { + &:extend(.bg-red); + border-color: darken(@red, 10%); + } + &.callout-warning { + &:extend(.bg-yellow); + border-color: darken(@yellow, 10%); + } + &.callout-info { + &:extend(.bg-aqua); + border-color: darken(@aqua, 10%); + } + &.callout-success { + &:extend(.bg-green); + border-color: darken(@green, 10%); + } + +.table{margin-top:10px;} +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/control-sidebar.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/control-sidebar.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/control-sidebar.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/control-sidebar.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,275 @@ +/* + * Component: Control sidebar. By default, this is the right sidebar. + */ +//The sidebar's background control class +//This is a hack to make the background visible while scrolling +.control-sidebar-bg { + position: fixed; + z-index: 900; + top: 0; + right: 0; + bottom: 0; + width: @control-sidebar-width; +} +//Transitions +.control-sidebar-bg, +.control-sidebar { + .translate(@control-sidebar-width, 0); + .transition-transform(@transition-speed ease-in-out); +} +//The sidebar +.control-sidebar { + position: absolute; + top: @navbar-height; + right: 0; + width: @control-sidebar-width; + z-index: 1010; + //Fix position after header collapse + @media (max-width: @screen-sm) { + top: @navbar-height + 50; + } + //Tab panes + > .tab-content { + padding: 10px 15px; + } + //Open state with slide over content effect + &.control-sidebar-open { + &, + + .control-sidebar-bg { + .translate(0, 0); + } + } +} +//Open without slide over content +.control-sidebar-open { + .control-sidebar-bg, + .control-sidebar { + .translate(0,0); + } + @media(min-width: @screen-sm) { + .content-wrapper, + .right-side, + .main-footer { + margin-right: @control-sidebar-width; + } + } +} +//Control sidebar tabs +.control-sidebar-tabs { + > li { + &:first-of-type > a { + margin-left: 1px; + &, + &:hover { + border-left-width: 0!important; + } + } + > a { + .border-radius(0)!important; + //Hover and active states + &, + &:hover { + border-top: none; + border-right: none; + border-left: 1px solid transparent!important; + border-bottom: 1px solid transparent!important; + } + .icon { + font-size: 16px; + } + } + //Active state + &.active { + > a { + &, + &:hover, + &:focus, + &:active { + border-top: none!important; + border-right: none!important; + border-bottom: none!important; + } + } + } + } + //Remove responsiveness on small screens + @media(max-width: @screen-sm) { + display: table; + >li { + display: table-cell!important; + } + } +} +//Headings in the sidebar content +.control-sidebar-heading { + font-weight: 400; + font-size: 16px; + padding: 10px 0; + margin-bottom: 10px; +} +//Subheadings +.control-sidebar-subheading { + display: block; + font-weight: 400; + font-size: 14px; +} +//Control Sidebar Menu +.control-sidebar-menu { + list-style: none; + padding: 0; + margin: 0 -15px; + > li > a { + .clearfix(); + display: block; + padding: 10px 15px; + > .control-sidebar-subheading { + margin-top: 0; + } + } + .menu-icon { + float: left; + width: 35px; + height: 35px; + border-radius: 50%; + text-align: center; + line-height: 35px; + } + .menu-info { + margin-left: 45px; + margin-top: 3px; + > .control-sidebar-subheading { + margin: 0; + } + > p { + margin: 0; + font-size: 11px; + } + } + .progress { + margin: 0; + } +} +//Dark skin +.control-sidebar-dark { + color: @sidebar-dark-color; + // Background + + .control-sidebar-bg { + background: @sidebar-dark-bg; + } + // Sidebar tabs + .control-sidebar-tabs { + border-bottom: darken(@sidebar-dark-bg, 3%); + > li { + > a { + background: darken(@sidebar-dark-bg, 5%); + color: @sidebar-dark-color; + //Hover and active states + &, + &:hover { + border-left-color: darken(@sidebar-dark-bg, 7%)!important; + border-bottom-color: darken(@sidebar-dark-bg, 7%)!important; + } + &:hover, + &:focus, + &:active { + background: darken(@sidebar-dark-bg, 3%); + } + } + //Active state + &.active { + > a { + &, + &:hover, + &:focus, + &:active { + background: @sidebar-dark-bg; + color: #fff; + } + } + } + } + } + //Heading & subheading + .control-sidebar-heading, + .control-sidebar-subheading { + color: #fff; + } + //Sidebar list + .control-sidebar-menu { + > li { + > a { + &:hover { + background: @sidebar-dark-hover-bg; + } + .menu-info { + > p { + color: @sidebar-dark-color; + } + } + } + } + } +} +//Light skin +.control-sidebar-light { + color: lighten(@sidebar-light-color, 10%); + // Background + + .control-sidebar-bg { + background: @sidebar-light-bg; + border-left: 1px solid @gray; + } + // Sidebar tabs + .control-sidebar-tabs { + border-bottom: @gray; + > li { + > a { + background: darken(@sidebar-light-bg, 5%); + color: @sidebar-light-color; + //Hover and active states + &, + &:hover { + border-left-color: @gray!important; + border-bottom-color: @gray!important; + } + &:hover, + &:focus, + &:active { + background: darken(@sidebar-light-bg, 3%); + } + } + //Active state + &.active { + > a { + &, + &:hover, + &:focus, + &:active { + background: @sidebar-light-bg; + color: #111; + } + } + } + } + } + //Heading & subheading + .control-sidebar-heading, + .control-sidebar-subheading { + color: #111; + } + //Sidebar list + .control-sidebar-menu { + margin-left: -14px; + > li { + > a { + &:hover { + background: @sidebar-light-hover-bg; + } + .menu-info { + > p { + color: lighten(@sidebar-light-color, 10%); + } + } + } + } + } +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/core.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/core.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/core.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/core.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,134 @@ +/* + * Core: Genral Layout Style + * ------------------------- + */ +html, +body { + min-height: 100%; + .layout-boxed & { + height: 100%; + } +} + +body { + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-weight: 400; + overflow-x: hidden; + overflow-y: auto; + //background-color: @body-bg; +} + +/* Layout */ +.wrapper { + .clearfix(); + min-height: 100%; + position: static; + overflow: hidden; +} + +/* + * Content Wrapper - contains the main content + */ +.content-wrapper, +.main-footer { + //Using disposable variable to join statements with a comma + @transition-rule: @transition-speed @transition-fn, + margin @transition-speed @transition-fn; + .transition-transform(@transition-rule); + margin-left: @sidebar-width; + z-index: 820; + //Top nav layout + .layout-top-nav & { + margin-left: 0; + } + @media (max-width: @screen-xs-max) { + margin-left: 0; + } + //When opening the sidebar on large screens + .sidebar-collapse & { + @media (min-width: @screen-sm) { + margin-left: 0; + } + } + //When opening the sidebar on small screens + .sidebar-open & { + @media (max-width: @screen-xs-max) { + .translate(@sidebar-width, 0); + } + } +} + +.content-wrapper{ + min-height: 100%; + background-color: @body-bg; + z-index: 800; +} +.main-footer { + background-color: @body-bg; + padding: 0 15px; + color: #444; + font-size: 12px; + height: @main-footer-height; + line-height: @main-footer-height - 1; //Subtract the border + display: none; +} + +/* Fixed layout */ +.fixed { + .main-header, + .main-sidebar{ + position: fixed; + } + .main-header { + top: 0; + right: 0; + left: 0; + } + .content-wrapper{ + padding-top: @navbar-height; + @media (max-width: @screen-header-collapse) { + padding-top: 100px; + } + } + &.layout-boxed { + .wrapper { + max-width: 100%; + } + } +} + +/* Content */ +.content { + min-height: 250px; + padding: 15px; + .container-fixed(@grid-gutter-width); +} + +/* H1 - H6 font */ +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: 'Source Sans Pro', sans-serif; +} +/* General Links */ +a { + color: @link-color; +} +a:hover, +a:active, +a:focus { + outline: none; + text-decoration: none; + color: @link-hover-color; +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/displaytable.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/displaytable.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/displaytable.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/displaytable.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,52 @@ +.displaytable,.formtable{ + .table; + .table-bordered(); +} + +.displaytable,.formtable{ + tr{ + td{ + padding:7px; + } + .separator, + .formseparator{ + display: none; + } + .description{ + font-weight: bold; + } + } +} +.displaytable,.formtable{ + td{ + input[type="text"], + input[type="password"], + select{ + height: @input-height-base; + padding: @padding-base-vertical @padding-base-horizontal; + font-size: @font-size-base; + line-height: @line-height-base; + background-color: @input-bg; + background-image: none; + 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"); + .border-radius(@input-radius)!important; + box-shadow: none!important; + border-color: @gray; + width:auto!important; + &:focus { + border-color: @light-blue !important; + box-shadow: none; + } + } + input[type="submit"], + input[type="reset"], + input[type="button"]{ + .btn; + .btn-primary; + color: #fff; + } + } +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/dropdown.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/dropdown.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/dropdown.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/dropdown.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,363 @@ +/* + * Component: Dropdown menus + * ------------------------- + */ + +/*Dropdowns in general*/ +.dropdown-menu { + box-shadow: @box-boxshadow; + border-radius: 2px; + > li > a { + color: #777; + } + > li > a > .glyphicon, + > li > a > .fa, + > li > a > .ion{ + margin-right: 10px; + } + > li > a:hover { + background-color: lighten(@gray, 5%); + color: #333; + } + > .divider { + background-color: #eee; + } +} + +//Navbar custom dropdown menu +.navbar-nav .dropdown-menu { + .box-shadow(none)!important; +} + +.navbar-nav > .notifications-menu, +.navbar-nav > .messages-menu, +.navbar-nav > .tasks-menu { + position: relative; + //fix width and padding + > .dropdown-menu { + > li { + position: relative; + } + width: 280px; + //Remove padding and margins + padding: 0 0 0 0!important; + margin: 0!important; + top: 100%; + } + //Define header class + > .dropdown-menu > li.header { + //.border-radius(4px; 4px; 0; 0); + background-color: #ffffff; + padding: 7px 10px; + border-bottom: 1px solid #f4f4f4; + color: #444444; + font-size: 14px; + } + + + //Define footer class + > .dropdown-menu > li.footer > a { + //.border-radius(0px; 0px; 4px; 4px); + font-size: 12px; + background-color: #fff; + padding: 7px 10px; + border-bottom: 1px solid #eeeeee; + color: #444!important; + @media (max-width: @screen-sm-max) { + background: #fff!important; + color: #444!important; + } + text-align: center; + //Hover state + &:hover { + text-decoration: none; + font-weight: normal; + } + } + + //Clear inner menu padding and margins + > .dropdown-menu > li .menu { + max-height: 200px; + margin: 0; + padding: 0; + list-style: none; + overflow-x: hidden; + > li > a { + display: block; + white-space: nowrap; /* Prevent text from breaking */ + border-bottom: 1px solid #f4f4f4; + // Hove state + &:hover { + background: #f4f4f4; + text-decoration: none; + } + } + } +} + +//Notifications menu +.navbar-nav > .notifications-menu { + > .dropdown-menu > li .menu { + // Links inside the menu + > li > a { + color: #444444; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + padding: 10px; + // Icons inside the menu + > .glyphicon, + > .fa, + > .ion { + width: 20px; + } + } + + } +} + +//Messages menu +.navbar-nav > .messages-menu { + //Inner menu + > .dropdown-menu > li .menu { + // Messages menu item + > li > a { + margin: 0px; + //line-height: 20px; + padding: 10px 10px; + // User image + > div > img { + margin: auto 10px auto auto; + width: 40px; + height: 40px; + } + // Message heading + > h4 { + padding: 0; + margin: 0 0 0 45px; + color: #444444; + font-size: 15px; + position: relative; + // Small for message time display + > small { + color: #999999; + font-size: 10px; + position: absolute; + top: 0px; + right: 0px; + } + } + + > p { + margin: 0 0 0 45px; + font-size: 12px; + color: #888888; + } + + .clearfix(); + + } + + } +} +//Tasks menu +.navbar-nav > .tasks-menu { + > .dropdown-menu > li .menu { + > li > a { + padding: 10px; + + > h3 { + font-size: 14px; + padding: 0; + margin: 0 0 10px 0; + color: #666666; + } + + > .progress { + padding: 0; + margin: 0; + } + } + } +} +//User menu +.navbar-nav > .user-menu { + > .dropdown-menu { + .border-top-radius(0); + padding: 1px 0 0 0; + border-top-width: 0; + width: 280px; + + &, + > .user-body { + .border-bottom-radius(4px); + } + // Header menu + > li.user-header { + height: 175px; + padding: 10px; + text-align: center; + // User image + > img { + z-index: 5; + height: 90px; + width: 90px; + border: 3px solid; + border-color: transparent; + border-color: rgba(255, 255, 255, 0.2); + } + > p { + z-index: 5; + color: #fff; + color: rgba(255, 255, 255, 0.8); + font-size: 17px; + //text-shadow: 2px 2px 3px #333333; + margin-top: 10px; + > small { + display: block; + font-size: 12px; + } + } + } + + // Menu Body + > .user-body { + padding: 15px; + border-bottom: 1px solid #f4f4f4; + border-top: 1px solid #dddddd; + .clearfix(); + a { + color: #444 !important; + @media (max-width: @screen-sm-max) { + background: #fff !important; + color: #444 !important; + } + } + } + + // Menu Footer + > .user-footer { + background-color: #f9f9f9; + padding: 10px; + .clearfix(); + .btn-default { + color: #666666; + } + } + } + .user-image { + float: left; + width: 25px; + height: 25px; + border-radius: 50%; + margin-right: 10px; + margin-top: -2px; + @media (max-width: @screen-xs-max) { + float: none; + margin-right: 0; + margin-top: -8px; + line-height: 10px; + } + } +} + +/* Add fade animation to dropdown menus by appending + the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/ +.open:not(.dropup) > .animated-dropdown-menu { + backface-visibility: visible !important; + .animation(flipInX .7s both); + +} +@keyframes flipInX { + 0% { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transition-timing-function: ease-in; + opacity: 0; + } + + 40% { + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transition-timing-function: ease-in; + } + + 60% { + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + 100% { + transform: perspective(400px); + } +} +@-webkit-keyframes flipInX { + 0% { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transition-timing-function: ease-in; + opacity: 0; + } + + 40% { + transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + transition-timing-function: ease-in; + } + + 60% { + transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; + } + + 80% { + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + + 100% { + transform: perspective(400px); + } +} + +/* Fix dropdown menu in navbars */ +.navbar-custom-menu > .navbar-nav { + > li { + position: relative; + > .dropdown-menu { + position: absolute; + right: 0; + left: auto; + } + } + } +@media (max-width: @screen-sm-max) { + .navbar-custom-menu > .navbar-nav { + float: right; + > li { + position: static; + > .dropdown-menu { + position: absolute; + right: 5%; + left: auto; + border: 1px solid #ddd; + background: #fff; + } + } + } +} + +.bootstrap-select{ + .btn{ + border-radius: 0; + } + &.open{ + .dropdown-toggle{ + box-shadow: none; + -webkit-box-shadow: none; + } + } + &:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){ + width:170px; + } +} + Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/forms.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/forms.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/forms.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/forms.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,92 @@ +/* + * Component: Form + * --------------- + */ +.form-control { + .border-radius(@input-radius)!important; + box-shadow: none; + border-color: @gray; + color: #555; + &:focus { + border-color: @light-blue !important; + box-shadow: none !important; + } + &::-moz-placeholder { + color: #bbb; + opacity: 1; + } + &:-ms-input-placeholder { + color: #bbb; + } + &::-webkit-input-placeholder { + color: #bbb; + } + + &:not(select) { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + } +} + +.form-group { + &.has-success { + label { + color: @green; + } + .form-control { + border-color: @green !important; + box-shadow: none; + } + } + + &.has-warning { + label { + color: @yellow; + } + .form-control { + border-color: @yellow !important; + box-shadow: none; + } + } + + &.has-error { + label { + color: @red; + } + .form-control { + border-color: @red !important; + box-shadow: none; + } + } +} + +/* Input group */ +.input-group { + .input-group-addon { + .border-radius(@input-radius); + border-color: @gray; + background-color: #fff; + } + .label{ + color:@black; + line-height: 3; + } + select{ + .form-control; + display:table-cell; + width:auto; + } +} +/* button groups */ +.btn-group-vertical { + .btn { + &.btn-flat:first-of-type, &.btn-flat:last-of-type { + .border-radius(0); + } + } +} + +.icheck > label { + padding-left: 0; +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/header.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/header.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/header.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/header.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,205 @@ +/* + * Component: Main Header + * ---------------------- + */ + +.main-header { + position: relative; + max-height: 100px; + z-index: 1030; + box-shadow: 0 5px 5px -5px #aaaaaa !important; + //Navbar + > .navbar { + .transition(margin-left @transition-speed @transition-fn); + margin-bottom: 0; + border: none; + min-height: @navbar-height; + border-radius: 0; + .layout-top-nav & { + margin-left: 0!important; + } + h1{ + font-size: 24px; + color: #808080; + margin: 27px 10px; + float: left; + font-weight: 300; + } + } + + //Navbar Right Menu + .navbar-custom-menu, + .navbar-right { + float: right; + .spinner{ + display: none; + margin: 28px 40px; + float: left; + } + @media (max-width: @screen-sm-max) { + a { + color: inherit; + background: transparent; + } + .spinner{ + margin: 28px 20px; + } + } + } + .navbar-right { + @media (max-width: @screen-header-collapse) { + float: none; + .navbar-collapse & { + margin: 7.5px -15px; + } + > li { + color: inherit; + border: 0; + } + } + } + //Navbar toggle button + .sidebar-toggle { + float: left; + background-color: transparent; + background-image: none; + padding: @navbar-padding-vertical @navbar-padding-horizontal; + //Add the fontawesome bars icon + font-family: fontAwesome; + &:before { + content: "\f0c9"; + } + &:hover { + color: #fff; + } + &:focus, + &:active { + background: transparent; + } + } + .sidebar-toggle .icon-bar { + display: none; + } + //Navbar User Menu + .navbar .nav > li.user > a { + > .fa, + > .glyphicon, + > .ion { + margin-right: 5px; + } + } + + //Labels in navbar + .navbar .nav > li > a > .label { + position: absolute; + top: 9px; + right: 7px; + text-align: center; + font-size: 9px; + padding: 2px 3px; + line-height: .9; + } + + //Logo bar + .logo { + .transition(width @transition-speed @transition-fn); + display: block; + float: left; + height: @navbar-height; + font-size: 20px; + line-height: @navbar-height - 3; + text-align: center; + width: @sidebar-width; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 15px; + font-weight: 300; + overflow: hidden; + //Add support to sidebar mini by allowing the user to create + //2 logo designs. mini and lg + .logo-lg { + //should be visibile when sidebar isn't collapsed + display: block; + } + .logo-mini { + display: none; + } + img{ + width:100%; + height: 100%; + } + } + //Navbar Brand. Alternative logo with layout-top-nav + .navbar-brand { + color: #fff; + } +} + +// Content Header +.content-header { + position: relative; + padding: 15px 15px 0 15px; + // Header Text + > h1 { + margin: 0; + font-size: 24px; + > small { + font-size: 15px; + display: inline-block; + padding-left: 4px; + font-weight: 300; + } + } +} +.navbar-toggle { + color: #fff; + border: 0; + margin: 0; + padding: @navbar-padding-vertical @navbar-padding-horizontal; +} +//Control navbar scaffolding on x-small screens +@media (max-width: @screen-sm-max) { + .navbar-custom-menu .navbar-nav > li { + float: left; + } + //Dont't let links get full width + .navbar-custom-menu .navbar-nav { + margin: 0; + float: left; + } + + .navbar-custom-menu .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + line-height: 20px; + } +} + +// Collapse header +@media (max-width: @screen-header-collapse) { + .main-header { + position: relative; + .navbar { + margin: 0; + } + .navbar-custom-menu { + float: right; + } + + .sidebar-toggle{ + float:right; + border-left:solid 1px #eee; + } + } +} + +.navbar-collapse.pull-left { + @media(max-width: @screen-sm-max) { + float: none!important; + + .navbar-custom-menu { + display: block; + position: absolute; + top: 0; + right: 40px; + } + } +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/info-box.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/info-box.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/info-box.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/info-box.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,66 @@ +/* + * Component: Info Box + * ------------------- + */ +.info-box { + display: block; + min-height: 90px; + background: #fff; + width: 100%; + box-shadow: @box-boxshadow; + .border-radius(2px); + margin-bottom: 15px; + small { + font-size: 14px; + } + .progress { + background: rgba(0,0,0,.2); + margin: 5px -10px 5px -10px; + height: 2px; + &, + & .progress-bar { + .border-radius(0); + } + .progress-bar { + background: #fff; + } + } +} +.info-box-icon { + //.border-radius(2px; 0; 2px; 0); + display: block; + float: left; + height: 90px; + width: 90px; + text-align: center; + font-size: 45px; + line-height: 90px; + background: rgba(0,0,0,0.2); +} +.info-box-content { + padding: 5px 10px; + margin-left: 90px; +} +.info-box-number { + display: block; + font-weight: bold; + font-size: 18px; +} +.progress-description, +.info-box-text { + display: block; + font-size: 14px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.info-box-text { + text-transform: uppercase; +} +.info-box-more { + display: block; +} + +.progress-description { + margin: 0; +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/labels.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/labels.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/labels.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/labels.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,23 @@ +/* + * Component: Label + * ---------------- + */ +.label-default { + background-color: @gray; + color: #444; +} +.label-danger { + &:extend(.bg-red); +} +.label-info { + &:extend(.bg-aqua); +} +.label-waring { + &:extend(.bg-yellow); +} +.label-primary { + &:extend(.bg-light-blue); +} +.label-success { + &:extend(.bg-green); +} \ No newline at end of file Added: manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/login.less URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/login.less?rev=1783605&view=auto ============================================================================== --- manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/login.less (added) +++ manifoldcf/branches/CONNECTORS-1196/framework/crawler-ui/src/main/webapp/less/login.less Sun Feb 19 00:46:39 2017 @@ -0,0 +1,42 @@ +/* + * Page: Login & Register + * ---------------------- + */ + +.login-logo{ + font-size: 35px; + text-align: center; + font-weight: 300; + padding:10px; + border-bottom:solid 1px @box-border-color; + a { + color: #444; + } +} + +.login-box{ + width: 360px; + margin: 0px auto; + border:solid 1px @box-border-color; + box-shadow: @box-boxshadow; + @media (max-width: @screen-sm) { + width: 90%; + margin-top: 20px; + } +} + +.login-box-body{ + background: #fff; + padding:20px; + color: #444; + border-top: 0; + color: #666; + .form-control-feedback { + color: #777; + } +} +.login-box-msg{ + margin: 0; + text-align: center; + padding: 0 20px 20px 20px; +} \ No newline at end of file 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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -0,0 +1,146 @@ +/* + * 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; + } + } + } + + //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; + } +} + +.tab-group{ + padding-bottom: 0px; + + .btn-group{ + border:none; + border-radius:4px 4px 0px 0px; + border-top: 1px solid @nav-tabs-border-color; + margin:0px 3px; + + .btn{ + padding:8px 12px; + border-radius:0px; + border-width: 3px 1px 0px 1px; + border-color:@nav-tabs-border-color; + border-top-color: transparent; + + &.active{ + .box-shadow(none); + border-color:@btn-default-border; + border-top-color: @btn-primary-border ; + } + + &:active{ + .box-shadow(none); + } + } + } +} + +/* 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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -0,0 +1,49 @@ +.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); + } +} + +#loader{ + background-color: #FFF8DC; + border: 1px solid #E0DCBF; + color: #444; + padding:3px 10px; + position: absolute; + top:1px; + right:~"calc(50% - 80px)"; + z-index: 999; + display:none; /*deafult display to none*/ +} \ 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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -0,0 +1,81 @@ +/* + * Component: Table + * ---------------- + */ + +.table { + //Cells + > thead, + > tbody, + > tfoot { + > tr { + > th, + > td { + border-top: 1px solid @box-border-color; + } + } + } + //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; + } +} + +//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=1783605&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 Sun Feb 19 00:46:39 2017 @@ -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
