diff --git a/.gitignore b/.gitignore index 6e063594..9c7344f0 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ client/coverage .cache .config .npm +db.json diff --git a/bower.json b/bower.json old mode 100644 new mode 100755 index 1d555024..ccdaf6bf --- a/bower.json +++ b/bower.json @@ -2,8 +2,8 @@ "name": "loopback", "version": "0.0.1", "dependencies": { - "angular": "1.3.12", - "bootstrap": "3.3.2", + "angular": "1.4.3", + "bootstrap": "3.3.4", "angular-resource": "1.3.12", "angular-cookies": "1.3.12", "angular-route": "1.3.12", @@ -12,7 +12,7 @@ "angular-touch": "1.3.12", "angular-ui-router": "0.2.10", "font-awesome": "4.3.0", - "angular-formly": "1.0.0", + "angular-formly": "6.23.0", "angular-toasty": "0.1.8", "angular-file-upload": "v1.1.5", "angular-filter": "0.5.2", @@ -66,7 +66,7 @@ }, "appPath": "client/app/", "resolutions": { - "angular": "1.3.12", + "angular": "~1.4.3", "angular-animate": "1.3.12", "angular-translate-loader-static-files": "2.6.0", "angular-translate": "2.6.0", diff --git a/client/app/css/AdminLTE.css b/client/app/css/AdminLTE.css old mode 100755 new mode 100644 index 25d7b85c..813158e3 --- a/client/app/css/AdminLTE.css +++ b/client/app/css/AdminLTE.css @@ -1,121 +1,143 @@ -@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic); -@import url(//fonts.googleapis.com/css?family=Kaushan+Script); -/*! - * AdminLTE v1.2 - * Author: AlmsaeedStudio.com +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic); +/*! + * AdminLTE v2.1.2 + * Author: Almsaeed Studio + * Website: Almsaeed Studio * License: Open source - MIT * Please visit http://opensource.org/licenses/MIT for more information !*/ /* - Core: General style ----------------------------- -*/ + * Core: General Layout Style + * ------------------------- + */ html, body { - overflow-x: hidden!important; - font-family: 'Source Sans Pro', sans-serif; - -webkit-font-smoothing: antialiased; min-height: 100%; - height: 100%; - background: #f9f9f9; } -a { - color: #3c8dbc; +.layout-boxed html, +.layout-boxed body { + height: 100%; } -a:hover, -a:active, -a:focus { - outline: none; - text-decoration: none; - color: #72afd2; +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; } -/* Layouts */ +/* Layout */ .wrapper { min-height: 100%; + position: static; + overflow: hidden; } .wrapper:before, .wrapper:after { - display: table; content: " "; + display: table; } .wrapper:after { clear: both; } -/* Header */ -header.header { - position: absolute; - top: 0; - left: 0; - right: 0; - z-index: 1030; -} -/* Define 2 column template */ -.right-side, -.left-side { +.layout-boxed .wrapper { + max-width: 1250px; + margin: 0 auto; min-height: 100%; - display: block; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); + position: relative; } -/*right side - contins main content*/ -.right-side { - background-color: #f9f9f9; - margin-left: 220px; +.layout-boxed { + background: url('../img/boxed-bg.jpg') repeat fixed; } -/*left side - contains sidebar*/ -.left-side { - position: absolute; - width: 220px; - top: 0; +/* + * Content Wrapper - contains the main content + * ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ``` + */ +.content-wrapper, +.right-side, +.main-footer { + -webkit-transition: -webkit-transform 0.3s ease-in-out, margin 0.3s ease-in-out; + -moz-transition: -moz-transform 0.3s ease-in-out, margin 0.3s ease-in-out; + -o-transition: -o-transform 0.3s ease-in-out, margin 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, margin 0.3s ease-in-out; + margin-left: 230px; + z-index: 820; +} +.layout-top-nav .content-wrapper, +.layout-top-nav .right-side, +.layout-top-nav .main-footer { + margin-left: 0; } -@media screen and (min-width: 992px) { - .left-side { - top: 50px; - } - /*Right side strech mode*/ - .right-side.strech { +@media (max-width: 767px) { + .content-wrapper, + .right-side, + .main-footer { margin-left: 0; } - .right-side.strech > .content-header { - margin-top: 0px; - } - /* Left side collapse */ - .left-side.collapse-left { - left: -220px; - } } -/*Give content full width on xs screens*/ -@media screen and (max-width: 992px) { - .right-side { +@media (min-width: 768px) { + .sidebar-collapse .content-wrapper, + .sidebar-collapse .right-side, + .sidebar-collapse .main-footer { margin-left: 0; } } -/* - By default the layout is not fixed but if you add the class .fixed to the body element - the sidebar and the navbar will automatically become poisitioned fixed -*/ -body.fixed header.header, -body.fixed .left-side, -body.fixed .navbar { +@media (max-width: 767px) { + .sidebar-open .content-wrapper, + .sidebar-open .right-side, + .sidebar-open .main-footer { + -webkit-transform: translate(230px, 0); + -ms-transform: translate(230px, 0); + -o-transform: translate(230px, 0); + transform: translate(230px, 0); + } +} +.content-wrapper, +.right-side { + min-height: 100%; + background-color: #ecf0f5; + z-index: 800; +} +.main-footer { + background: #fff; + padding: 15px; + color: #444; + border-top: 1px solid #d2d6de; +} +/* Fixed layout */ +.fixed .main-header, +.fixed .main-sidebar, +.fixed .left-side { position: fixed; } -body.fixed header.header { +.fixed .main-header { top: 0; right: 0; left: 0; } -body.fixed .navbar { - left: 0; - right: 0; +.fixed .content-wrapper, +.fixed .right-side { + padding-top: 50px; +} +@media (max-width: 767px) { + .fixed .content-wrapper, + .fixed .right-side { + padding-top: 100px; + } } -body.fixed .wrapper { - margin-top: 50px; +.fixed.layout-boxed .wrapper { + max-width: 100%; } /* Content */ .content { - padding: 20px 15px; - background: #f9f9f9; - overflow: auto; + min-height: 250px; + padding: 15px; + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; } -/* Utility */ /* H1 - H6 font */ h1, h2, @@ -131,6 +153,17 @@ h6, .h6 { font-family: 'Source Sans Pro', sans-serif; } +/* General Links */ +a { + color: #3c8dbc; +} +a:hover, +a:active, +a:focus { + outline: none; + text-decoration: none; + color: #72afd2; +} /* Page Header */ .page-header { margin: 10px 0 20px 0; @@ -141,623 +174,731 @@ h6, display: block; margin-top: 5px; } -/* All images should be responsive */ -img { - max-width: 100% !important; +/* + * Component: Main Header + * ---------------------- + */ +.main-header { + position: relative; + max-height: 100px; + z-index: 1030; } -.sort-highlight { - background: #f4f4f4; - border: 1px dashed #ddd; - margin-bottom: 10px; +.main-header > .navbar { + -webkit-transition: margin-left 0.3s ease-in-out; + -o-transition: margin-left 0.3s ease-in-out; + transition: margin-left 0.3s ease-in-out; + margin-bottom: 0; + margin-left: 230px; + border: none; + min-height: 50px; + border-radius: 0; } -/* 10px padding and margins */ -.pad { - padding: 10px; +.layout-top-nav .main-header > .navbar { + margin-left: 0; } -.margin { - margin: 10px; +.main-header #navbar-search-input.form-control { + background: rgba(255, 255, 255, 0.2); + border-color: transparent; } -/* Display inline */ -.inline { - display: inline; - width: auto; +.main-header #navbar-search-input.form-control:focus, +.main-header #navbar-search-input.form-control:active { + border-color: rgba(0, 0, 0, 0.1); + background: rgba(255, 255, 255, 0.9); } -/* 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 { - color: #f9f9f9 !important; +.main-header #navbar-search-input.form-control::-moz-placeholder { + color: #ccc; + opacity: 1; } -.bg-gray { - background-color: #eaeaec !important; +.main-header #navbar-search-input.form-control:-ms-input-placeholder { + color: #ccc; } -.bg-black { - background-color: #222222 !important; +.main-header #navbar-search-input.form-control::-webkit-input-placeholder { + color: #ccc; } -.bg-red { - background-color: #f56954 !important; +.main-header .navbar-custom-menu, +.main-header .navbar-right { + float: right; } -.bg-yellow { - background-color: #f39c12 !important; +@media (max-width: 991px) { + .main-header .navbar-custom-menu a, + .main-header .navbar-right a { + color: inherit; + background: transparent; + } } -.bg-aqua { - background-color: #00c0ef !important; +@media (max-width: 767px) { + .main-header .navbar-right { + float: none; + } + .navbar-collapse .main-header .navbar-right { + margin: 7.5px -15px; + } + .main-header .navbar-right > li { + color: inherit; + border: 0; + } } -.bg-blue { - background-color: #0073b7 !important; +.main-header .sidebar-toggle { + float: left; + background-color: transparent; + background-image: none; + padding: 15px 15px; + font-family: fontAwesome; } -.bg-light-blue { - background-color: #3c8dbc !important; +.main-header .sidebar-toggle:before { + content: "\f0c9"; } -.bg-green { - background-color: #00a65a !important; +.main-header .sidebar-toggle:hover { + color: #fff; } -.bg-navy { - background-color: #001f3f !important; +.main-header .sidebar-toggle:focus, +.main-header .sidebar-toggle:active { + background: transparent; } -.bg-teal { - background-color: #39cccc !important; +.main-header .sidebar-toggle .icon-bar { + display: none; } -.bg-olive { - background-color: #3d9970 !important; +.main-header .navbar .nav > li.user > a > .fa, +.main-header .navbar .nav > li.user > a > .glyphicon, +.main-header .navbar .nav > li.user > a > .ion { + margin-right: 5px; } -.bg-lime { - background-color: #01ff70 !important; +.main-header .navbar .nav > li > a > .label { + position: absolute; + top: 9px; + right: 7px; + text-align: center; + font-size: 9px; + padding: 2px 3px; + line-height: .9; } -.bg-orange { - background-color: #ff851b !important; +.main-header .logo { + -webkit-transition: width 0.3s ease-in-out; + -o-transition: width 0.3s ease-in-out; + transition: width 0.3s ease-in-out; + display: block; + float: left; + height: 50px; + font-size: 20px; + line-height: 50px; + text-align: center; + width: 230px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + padding: 0 15px; + font-weight: 300; + overflow: hidden; } -.bg-fuchsia { - background-color: #f012be !important; +.main-header .logo .logo-lg { + display: block; } -.bg-purple { - background-color: #932ab6 !important; +.main-header .logo .logo-mini { + display: none; } -.bg-maroon { - background-color: #85144b !important; +.main-header .navbar-brand { + color: #fff; } -/* Text colors */ -.text-red { - color: #f56954 !important; +.content-header { + position: relative; + padding: 15px 15px 0 15px; } -.text-yellow { - color: #f39c12 !important; +.content-header > h1 { + margin: 0; + font-size: 24px; } -.text-aqua { - color: #00c0ef !important; +.content-header > h1 > small { + font-size: 15px; + display: inline-block; + padding-left: 4px; + font-weight: 300; } -.text-blue { - color: #0073b7 !important; +.content-header > .breadcrumb { + float: right; + background: transparent; + margin-top: 0; + margin-bottom: 0; + font-size: 12px; + padding: 7px 5px; + position: absolute; + top: 15px; + right: 10px; + border-radius: 2px; } -.text-black { - color: #222222 !important; +.content-header > .breadcrumb > li > a { + color: #444; + text-decoration: none; + display: inline-block; } -.text-light-blue { - color: #3c8dbc !important; +.content-header > .breadcrumb > li > a > .fa, +.content-header > .breadcrumb > li > a > .glyphicon, +.content-header > .breadcrumb > li > a > .ion { + margin-right: 5px; } -.text-green { - color: #00a65a !important; +.content-header > .breadcrumb > li + li:before { + content: '>\00a0'; } -.text-navy { - color: #001f3f !important; +@media (max-width: 991px) { + .content-header > .breadcrumb { + position: relative; + margin-top: 5px; + top: 0; + right: 0; + float: none; + background: #d2d6de; + padding-left: 10px; + } + .content-header > .breadcrumb li:before { + color: #97a0b3; + } } -.text-teal { - color: #39cccc !important; +.navbar-toggle { + color: #fff; + border: 0; + margin: 0; + padding: 15px 15px; } -.text-olive { - color: #3d9970 !important; +@media (max-width: 991px) { + .navbar-custom-menu .navbar-nav > li { + float: left; + } + .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; + } } -.text-lime { - color: #01ff70 !important; +@media (max-width: 767px) { + .main-header { + position: relative; + } + .main-header .logo, + .main-header .navbar { + width: 100%; + float: none; + } + .main-header .navbar { + margin: 0; + } + .main-header .navbar-custom-menu { + float: right; + } } -.text-orange { - color: #ff851b !important; +@media (max-width: 991px) { + .navbar-collapse.pull-left { + float: none!important; + } + .navbar-collapse.pull-left + .navbar-custom-menu { + display: block; + position: absolute; + top: 0; + right: 40px; + } } -.text-fuchsia { - color: #f012be !important; +/* + * Component: Sidebar + * ------------------ + */ +.main-sidebar, +.left-side { + position: absolute; + top: 0; + left: 0; + padding-top: 50px; + min-height: 100%; + width: 230px; + z-index: 810; + -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out; + -moz-transition: -moz-transform 0.3s ease-in-out, width 0.3s ease-in-out; + -o-transition: -o-transform 0.3s ease-in-out, width 0.3s ease-in-out; + transition: transform 0.3s ease-in-out, width 0.3s ease-in-out; } -.text-purple { - color: #932ab6 !important; +@media (max-width: 767px) { + .main-sidebar, + .left-side { + padding-top: 100px; + } } -.text-maroon { - color: #85144b !important; +@media (max-width: 767px) { + .main-sidebar, + .left-side { + -webkit-transform: translate(-230px, 0); + -ms-transform: translate(-230px, 0); + -o-transform: translate(-230px, 0); + transform: translate(-230px, 0); + } } -/*Hide elements by display none only*/ -.hide { - display: none !important; +@media (min-width: 768px) { + .sidebar-collapse .main-sidebar, + .sidebar-collapse .left-side { + -webkit-transform: translate(-230px, 0); + -ms-transform: translate(-230px, 0); + -o-transform: translate(-230px, 0); + transform: translate(-230px, 0); + } } -/* Remove borders */ -.no-border { - border: 0px !important; +@media (max-width: 767px) { + .sidebar-open .main-sidebar, + .sidebar-open .left-side { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); + } } -/* Remove padding */ -.no-padding { - padding: 0px !important; +.sidebar { + padding-bottom: 10px; } -/* Remove margins */ -.no-margin { - margin: 0px !important; +.sidebar-form input:focus { + border-color: transparent; } -/* Remove box shadow */ -.no-shadow { - box-shadow: none!important; +.user-panel { + position: relative; + width: 100%; + padding: 10px; + overflow: hidden; } -/* Don't display when printing */ -@media print { - .no-print { - display: none; - } - .left-side, - .header, - .content-header { - display: none; - } - .right-side { - margin: 0; - } +.user-panel:before, +.user-panel:after { + content: " "; + display: table; } -/* Remove border radius */ -.flat { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; +.user-panel:after { + clear: both; } -/* Change the color of the striped tables */ -.table-striped > tbody > tr:nth-child(odd) > td, -.table-striped > tbody > tr:nth-child(odd) > th { - background-color: #f3f4f5; +.user-panel > .image > img { + width: 100%; + max-width: 45px; + height: auto; } -.table.no-border, -.table.no-border td, -.table.no-border th { - border: 0; +.user-panel > .info { + padding: 5px 5px 5px 15px; + line-height: 1; + position: absolute; + left: 55px; } -/* .text-center in tables */ -table.text-center, -table.text-center td, -table.text-center th { - text-align: center; +.user-panel > .info > p { + font-weight: 600; + margin-bottom: 9px; } -.table.align th { - text-align: left; +.user-panel > .info > a { + text-decoration: none; + padding-right: 5px; + margin-top: 3px; + font-size: 11px; } -.table.align td { - text-align: right; +.user-panel > .info > a > .fa, +.user-panel > .info > a > .ion, +.user-panel > .info > a > .glyphicon { + margin-right: 3px; } -.text-bold, -.text-bold.table td, -.text-bold.table th { - font-weight: 700; +.sidebar-menu { + list-style: none; + margin: 0; + padding: 0; } -.border-radius-none { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; +.sidebar-menu > li { + position: relative; + margin: 0; + padding: 0; } -/* _fix for sparkline tooltip */ -.jqstooltip { - padding: 5px!important; - width: auto!important; - height: auto!important; +.sidebar-menu > li > a { + padding: 12px 5px 12px 15px; + display: block; } -/* -Gradient Background colors -*/ -.bg-teal-gradient { - background: #39cccc !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #39cccc), color-stop(1, #7adddd)) !important; - background: -ms-linear-gradient(bottom, #39cccc, #7adddd) !important; - background: -moz-linear-gradient(center bottom, #39cccc 0%, #7adddd 100%) !important; - background: -o-linear-gradient(#7adddd, #39cccc) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7adddd', endColorstr='#39cccc', GradientType=0) !important; - color: #fff; +.sidebar-menu > li > a > .fa, +.sidebar-menu > li > a > .glyphicon, +.sidebar-menu > li > a > .ion { + width: 20px; } -.bg-light-blue-gradient { - background: #3c8dbc !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3c8dbc), color-stop(1, #67a8ce)) !important; - background: -ms-linear-gradient(bottom, #3c8dbc, #67a8ce) !important; - background: -moz-linear-gradient(center bottom, #3c8dbc 0%, #67a8ce 100%) !important; - background: -o-linear-gradient(#67a8ce, #3c8dbc) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#67a8ce', endColorstr='#3c8dbc', GradientType=0) !important; - color: #fff; +.sidebar-menu > li .label, +.sidebar-menu > li .badge { + margin-top: 3px; + margin-right: 5px; } -.bg-blue-gradient { - background: #0073b7 !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important; - background: -ms-linear-gradient(bottom, #0073b7, #0089db) !important; - background: -moz-linear-gradient(center bottom, #0073b7 0%, #0089db 100%) !important; - background: -o-linear-gradient(#0089db, #0073b7) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important; - color: #fff; +.sidebar-menu li.header { + padding: 10px 25px 10px 15px; + font-size: 12px; } -.bg-aqua-gradient { - background: #00c0ef !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #00c0ef), color-stop(1, #14d1ff)) !important; - background: -ms-linear-gradient(bottom, #00c0ef, #14d1ff) !important; - background: -moz-linear-gradient(center bottom, #00c0ef 0%, #14d1ff 100%) !important; - background: -o-linear-gradient(#14d1ff, #00c0ef) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#14d1ff', endColorstr='#00c0ef', GradientType=0) !important; - color: #fff; +.sidebar-menu li > a > .fa-angle-left { + width: auto; + height: auto; + padding: 0; + margin-right: 10px; + margin-top: 3px; } -.bg-yellow-gradient { - background: #f39c12 !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f39c12), color-stop(1, #f7bc60)) !important; - background: -ms-linear-gradient(bottom, #f39c12, #f7bc60) !important; - background: -moz-linear-gradient(center bottom, #f39c12 0%, #f7bc60 100%) !important; - background: -o-linear-gradient(#f7bc60, #f39c12) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7bc60', endColorstr='#f39c12', GradientType=0) !important; - color: #fff; +.sidebar-menu li.active > a > .fa-angle-left { + -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); + -o-transform: rotate(-90deg); + transform: rotate(-90deg); } -.bg-purple-gradient { - background: #932ab6 !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #932ab6), color-stop(1, #b959d9)) !important; - background: -ms-linear-gradient(bottom, #932ab6, #b959d9) !important; - background: -moz-linear-gradient(center bottom, #932ab6 0%, #b959d9 100%) !important; - background: -o-linear-gradient(#b959d9, #932ab6) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b959d9', endColorstr='#932ab6', GradientType=0) !important; - color: #fff; +.sidebar-menu li.active > .treeview-menu { + display: block; } -.bg-green-gradient { - background: #00a65a !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #00a65a), color-stop(1, #00ca6d)) !important; - background: -ms-linear-gradient(bottom, #00a65a, #00ca6d) !important; - background: -moz-linear-gradient(center bottom, #00a65a 0%, #00ca6d 100%) !important; - background: -o-linear-gradient(#00ca6d, #00a65a) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ca6d', endColorstr='#00a65a', GradientType=0) !important; - color: #fff; +.sidebar-menu .treeview-menu { + display: none; + list-style: none; + padding: 0; + margin: 0; + padding-left: 5px; } -.bg-red-gradient { - background: #f56954 !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f56954), color-stop(1, #f89384)) !important; - background: -ms-linear-gradient(bottom, #f56954, #f89384) !important; - background: -moz-linear-gradient(center bottom, #f56954 0%, #f89384 100%) !important; - background: -o-linear-gradient(#f89384, #f56954) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f89384', endColorstr='#f56954', GradientType=0) !important; - color: #fff; +.sidebar-menu .treeview-menu .treeview-menu { + padding-left: 20px; } -.bg-black-gradient { - background: #222222 !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #222222), color-stop(1, #3c3c3c)) !important; - background: -ms-linear-gradient(bottom, #222222, #3c3c3c) !important; - background: -moz-linear-gradient(center bottom, #222222 0%, #3c3c3c 100%) !important; - background: -o-linear-gradient(#3c3c3c, #222222) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3c3c3c', endColorstr='#222222', GradientType=0) !important; - color: #fff; +.sidebar-menu .treeview-menu > li { + margin: 0; } -.bg-maroon-gradient { - background: #85144b !important; - background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #85144b), color-stop(1, #b11b64)) !important; - background: -ms-linear-gradient(bottom, #85144b, #b11b64) !important; - background: -moz-linear-gradient(center bottom, #85144b 0%, #b11b64 100%) !important; - background: -o-linear-gradient(#b11b64, #85144b) !important; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b11b64', endColorstr='#85144b', GradientType=0) !important; - color: #fff; +.sidebar-menu .treeview-menu > li > a { + padding: 5px 5px 5px 15px; + display: block; + font-size: 14px; } -.connectedSortable { - min-height: 100px; +.sidebar-menu .treeview-menu > li > a > .fa, +.sidebar-menu .treeview-menu > li > a > .glyphicon, +.sidebar-menu .treeview-menu > li > a > .ion { + width: 20px; +} +.sidebar-menu .treeview-menu > li > a > .fa-angle-left, +.sidebar-menu .treeview-menu > li > a > .fa-angle-down { + width: auto; } -/*--------------------------------------------------- - LESS Elements 0.9 - --------------------------------------------------- - A set of useful LESS mixins - More info at: http://lesselements.com - ---------------------------------------------------*/ /* - Components: navbar, logo and content header -------------------------------------------------- -*/ -header.header { - position: relative; - max-height: 100px; - z-index: 1030; + * Component: Sidebar Mini + */ +@media (min-width: 768px) { + .sidebar-mini.sidebar-collapse .content-wrapper, + .sidebar-mini.sidebar-collapse .right-side, + .sidebar-mini.sidebar-collapse .main-footer { + margin-left: 50px!important; + z-index: 840; + } + .sidebar-mini.sidebar-collapse .main-sidebar { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); + width: 50px!important; + z-index: 850; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li { + position: relative; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li > a { + margin-right: 0; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span { + border-top-right-radius: 4px; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li:not(.treeview) > a > span { + border-bottom-right-radius: 4px; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu { + padding-top: 5px; + padding-bottom: 5px; + border-bottom-right-radius: 4px; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right), + .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu { + display: block!important; + position: absolute; + width: 180px; + left: 50px; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span { + top: 0; + margin-left: -3px; + padding: 12px 5px 12px 20px; + background-color: inherit; + } + .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu { + top: 44px; + margin-left: 0; + } + .sidebar-mini.sidebar-collapse .main-sidebar .user-panel > .info, + .sidebar-mini.sidebar-collapse .sidebar-form, + .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span, + .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu, + .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .pull-right, + .sidebar-mini.sidebar-collapse .sidebar-menu li.header { + display: none!important; + -webkit-transform: translateZ(0); + } + .sidebar-mini.sidebar-collapse .main-header .logo { + width: 50px; + } + .sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini { + display: block; + margin-left: -15px; + margin-right: -15px; + font-size: 18px; + } + .sidebar-mini.sidebar-collapse .main-header .logo > .logo-lg { + display: none; + } + .sidebar-mini.sidebar-collapse .main-header .navbar { + margin-left: 50px; + } } -header.header .navbar { - height: 50px; - margin-bottom: 0; - margin-left: 220px; +.sidebar-menu, +.main-sidebar .user-panel, +.sidebar-menu > li.header { + white-space: nowrap; + overflow: hidden; } -header.header .navbar .sidebar-toggle { - float: left; - padding: 9px 5px; - margin-top: 8px; - margin-right: 0; - margin-bottom: 8px; - margin-left: 5px; - background-color: transparent; - background-image: none; - border: 1px solid transparent; - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; +.sidebar-menu:hover { + overflow: visible; } -header.header .navbar .sidebar-toggle:hover .icon-bar { - background: #f6f6f6; +.sidebar-form, +.sidebar-menu > li.header { + overflow: hidden; + text-overflow: clip; } -header.header .navbar .sidebar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; +.sidebar-menu li > a { + position: relative; } -header.header .navbar .sidebar-toggle .icon-bar + .icon-bar { - margin-top: 4px; +.sidebar-menu li > a > .pull-right { + position: absolute; + top: 50%; + right: 10px; + margin-top: -7px; } -header.header .navbar .nav > li.user > a { - font-weight: bold; +/* + * Component: Control sidebar. By default, this is the right sidebar. + */ +.control-sidebar-bg { + position: fixed; + z-index: 1000; + bottom: 0; } -header.header .navbar .nav > li.user > a > .fa, -header.header .navbar .nav > li.user > a > .glyphicon, -header.header .navbar .nav > li.user > a > .ion { - margin-right: 5px; +.control-sidebar-bg, +.control-sidebar { + top: 0; + right: -230px; + width: 230px; + -webkit-transition: right 0.3s ease-in-out; + -o-transition: right 0.3s ease-in-out; + transition: right 0.3s ease-in-out; } -header.header .navbar .nav > li > a > .label { - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; +.control-sidebar { position: absolute; - top: 7px; - right: 2px; - font-size: 10px; - font-weight: normal; - width: 15px; - height: 15px; - line-height: 1.0em; - text-align: center; - padding: 2px; + padding-top: 50px; + z-index: 1010; } -header.header .navbar .nav > li > a:hover > .label { - top: 3px; +@media (max-width: 768px) { + .control-sidebar { + padding-top: 100px; + } } -header.header .logo { - float: left; - font-size: 20px; - line-height: 50px; - text-align: center; - padding: 0 10px; - width: 220px; - font-family: 'Kaushan Script', cursive; - font-weight: 500; - height: 50px; - display: block; +.control-sidebar > .tab-content { + padding: 10px 15px; } -header.header .logo .icon { - margin-right: 10px; +.control-sidebar.control-sidebar-open, +.control-sidebar.control-sidebar-open + .control-sidebar-bg { + right: 0; } -.right-side > .content-header { - position: relative; - padding: 15px 15px 10px 20px; +.control-sidebar-open .control-sidebar-bg, +.control-sidebar-open .control-sidebar { + right: 0; } -.right-side > .content-header > h1 { - margin: 0; - font-size: 24px; +@media (min-width: 768px) { + .control-sidebar-open .content-wrapper, + .control-sidebar-open .right-side, + .control-sidebar-open .main-footer { + margin-right: 230px; + } } -.right-side > .content-header > h1 > small { - font-size: 15px; - display: inline-block; - padding-left: 4px; - font-weight: 300; +.nav-tabs.control-sidebar-tabs > li:first-of-type > a, +.nav-tabs.control-sidebar-tabs > li:first-of-type > a:hover, +.nav-tabs.control-sidebar-tabs > li:first-of-type > a:focus { + border-left-width: 0; } -.right-side > .content-header > .breadcrumb { - float: right; - background: transparent; - margin-top: 0px; - margin-bottom: 0; - font-size: 12px; - padding: 7px 5px; - position: absolute; - top: 15px; - right: 10px; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; +.nav-tabs.control-sidebar-tabs > li > a { + border-radius: 0; } -.right-side > .content-header > .breadcrumb > li > a { - color: #444; - text-decoration: none; +.nav-tabs.control-sidebar-tabs > li > a, +.nav-tabs.control-sidebar-tabs > li > a:hover { + border-top: none; + border-right: none; + border-left: 1px solid transparent; + border-bottom: 1px solid transparent; } -.right-side > .content-header > .breadcrumb > li > a > .fa, -.right-side > .content-header > .breadcrumb > li > a > .glyphicon, -.right-side > .content-header > .breadcrumb > li > a > .ion { - margin-right: 5px; +.nav-tabs.control-sidebar-tabs > li > a .icon { + font-size: 16px; } -.right-side > .content-header > .breadcrumb > li + li:before { - content: '>\00a0'; +.nav-tabs.control-sidebar-tabs > li.active > a, +.nav-tabs.control-sidebar-tabs > li.active > a:hover, +.nav-tabs.control-sidebar-tabs > li.active > a:focus, +.nav-tabs.control-sidebar-tabs > li.active > a:active { + border-top: none; + border-right: none; + border-bottom: none; +} +@media (max-width: 768px) { + .nav-tabs.control-sidebar-tabs { + display: table; + } + .nav-tabs.control-sidebar-tabs > li { + display: table-cell; + } } -@media screen and (max-width: 767px) { - .right-side > .content-header > .breadcrumb { - position: relative; - margin-top: 5px; - top: 0; - right: 0; - float: none; - background: #efefef; - } +.control-sidebar-heading { + font-weight: 400; + font-size: 16px; + padding: 10px 0; + margin-bottom: 10px; } -@media (max-width: 767px) { - .navbar .navbar-nav > li { - float: left; - } - .navbar-nav { - margin: 0; - float: left; - } - .navbar-nav > li > a { - padding-top: 15px; - padding-bottom: 15px; - line-height: 20px; - } - .navbar .navbar-right { - float: right; - } +.control-sidebar-subheading { + display: block; + font-weight: 400; + font-size: 14px; } -@media screen and (max-width: 560px) { - header.header { - position: relative; - } - header.header .logo, - header.header .navbar { - width: 100%; - float: none; - position: relative!important; - } - header.header .navbar { - margin: 0; - } - body.fixed > header.header { - position: fixed; - } - body.fixed > .wrapper, - body.fixed .sidebar-offcanvas { - margin-top: 100px!important; - } +.control-sidebar-menu { + list-style: none; + padding: 0; + margin: 0 -15px; } -/* - Component: Sidebar --------------------------- -*/ -.sidebar { - margin-bottom: 5px; +.control-sidebar-menu > li > a { + display: block; + padding: 10px 15px; } -.sidebar .sidebar-form input:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-color: transparent!important; +.control-sidebar-menu > li > a:before, +.control-sidebar-menu > li > a:after { + content: " "; + display: table; } -.sidebar .sidebar-menu { - list-style: none; - margin: 0; - padding: 0; +.control-sidebar-menu > li > a:after { + clear: both; } -.sidebar .sidebar-menu > li { - margin: 0; - padding: 0; +.control-sidebar-menu > li > a > .control-sidebar-subheading { + margin-top: 0; } -.sidebar .sidebar-menu > li > a { - padding: 12px 5px 12px 15px; - display: block; +.control-sidebar-menu .menu-icon { + float: left; + width: 35px; + height: 35px; + border-radius: 50%; + text-align: center; + line-height: 35px; } -.sidebar .sidebar-menu > li > a > .fa, -.sidebar .sidebar-menu > li > a > .glyphicon, -.sidebar .sidebar-menu > li > a > .ion { - width: 20px; +.control-sidebar-menu .menu-info { + margin-left: 45px; + margin-top: 3px; } -.sidebar .sidebar-menu .treeview-menu { - display: none; - list-style: none; - padding: 0; +.control-sidebar-menu .menu-info > .control-sidebar-subheading { + margin: 0; +} +.control-sidebar-menu .menu-info > p { margin: 0; + font-size: 11px; } -.sidebar .sidebar-menu .treeview-menu > li { +.control-sidebar-menu .progress { margin: 0; } -.sidebar .sidebar-menu .treeview-menu > li > a { - padding: 5px 5px 5px 15px; - display: block; - font-size: 14px; - margin: 0px 0px; +.control-sidebar-dark { + color: #b8c7ce; } -.sidebar .sidebar-menu .treeview-menu > li > a > .fa, -.sidebar .sidebar-menu .treeview-menu > li > a > .glyphicon, -.sidebar .sidebar-menu .treeview-menu > li > a > .ion { - width: 20px; +.control-sidebar-dark, +.control-sidebar-dark + .control-sidebar-bg { + background: #222d32; } -.user-panel { - padding: 10px; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs { + border-bottom: #1c2529; } -.user-panel:before, -.user-panel:after { - display: table; - content: " "; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a { + background: #181f23; + color: #b8c7ce; } -.user-panel:after { - clear: both; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:hover, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:focus { + border-left-color: #141a1d; + border-bottom-color: #141a1d; } -.user-panel > .image > img { - width: 45px; - height: 45px; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:hover, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:focus, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:active { + background: #1c2529; } -.user-panel > .info { - font-weight: 600; - padding: 5px 5px 5px 15px; - font-size: 14px; - line-height: 1; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li > a:hover { + color: #fff; } -.user-panel > .info > p { - margin-bottom: 9px; +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li.active > a, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li.active > a:hover, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li.active > a:focus, +.control-sidebar-dark .nav-tabs.control-sidebar-tabs > li.active > a:active { + background: #222d32; + color: #fff; } -.user-panel > .info > a { - text-decoration: none; - padding-right: 5px; - margin-top: 3px; - font-size: 11px; - font-weight: normal; +.control-sidebar-dark .control-sidebar-heading, +.control-sidebar-dark .control-sidebar-subheading { + color: #fff; } -.user-panel > .info > a > .fa, -.user-panel > .info > a > .ion, -.user-panel > .info > a > .glyphicon { - margin-right: 3px; +.control-sidebar-dark .control-sidebar-menu > li > a:hover { + background: #1e282c; +} +.control-sidebar-dark .control-sidebar-menu > li > a .menu-info > p { + color: #b8c7ce; +} +.control-sidebar-light { + color: #5e5e5e; +} +.control-sidebar-light, +.control-sidebar-light + .control-sidebar-bg { + background: #f9fafc; + border-left: 1px solid #d2d6de; +} +.control-sidebar-light .nav-tabs.control-sidebar-tabs { + border-bottom: #d2d6de; +} +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a { + background: #e8ecf4; + color: #444444; +} +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a:hover, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a:focus { + border-left-color: #d2d6de; + border-bottom-color: #d2d6de; +} +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a:hover, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a:focus, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li > a:active { + background: #eff1f7; +} +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:hover, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:focus, +.control-sidebar-light .nav-tabs.control-sidebar-tabs > li.active > a:active { + background: #f9fafc; + color: #111; +} +.control-sidebar-light .control-sidebar-heading, +.control-sidebar-light .control-sidebar-subheading { + color: #111; +} +.control-sidebar-light .control-sidebar-menu { + margin-left: -14px; +} +.control-sidebar-light .control-sidebar-menu > li > a:hover { + background: #f4f4f5; +} +.control-sidebar-light .control-sidebar-menu > li > a .menu-info > p { + color: #5e5e5e; } /* - * Off Canvas - * -------------------------------------------------- - * Gives us the push menu effect + * Component: Dropdown menus + * ------------------------- */ -@media screen and (max-width: 992px) { - .relative { - position: relative; - } - .row-offcanvas-right .sidebar-offcanvas { - right: -220px; - } - .row-offcanvas-left .sidebar-offcanvas { - left: -220px; - } - .row-offcanvas-right.active { - right: 220px; - } - .row-offcanvas-left.active { - left: 220px; - } - .sidebar-offcanvas { - left: 0; - } - body.fixed .sidebar-offcanvas { - margin-top: 50px; - left: -220px; - } - body.fixed .row-offcanvas-left.active .navbar { - left: 220px !important; - right: 0; - } - body.fixed .row-offcanvas-left.active .sidebar-offcanvas { - left: 0px; - } -} -/* - Dropdown menus ----------------------------- -*/ /*Dropdowns in general*/ .dropdown-menu { - -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1); - box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1); - z-index: 2300; + box-shadow: none; + border-color: #eee; +} +.dropdown-menu > li > a { + color: #777; } .dropdown-menu > li > a > .glyphicon, .dropdown-menu > li > a > .fa, @@ -765,40 +906,28 @@ header.header .logo .icon { margin-right: 10px; } .dropdown-menu > li > a:hover { - background-color: #3c8dbc; - color: #f9f9f9; + background-color: #e1e3e9; + color: #333; } -/*Drodown in navbars*/ -.skin-blue .navbar .dropdown-menu > li > a { - color: #444444; +.dropdown-menu > .divider { + background-color: #eee; } -/* - Navbar custom dropdown menu ------------------------------------- -*/ .navbar-nav > .notifications-menu > .dropdown-menu, .navbar-nav > .messages-menu > .dropdown-menu, .navbar-nav > .tasks-menu > .dropdown-menu { width: 280px; - padding: 0 0 0 0!important; - margin: 0!important; + padding: 0 0 0 0; + margin: 0; top: 100%; - border: 1px solid #dfdfdf; - -webkit-border-radius: 4px !important; - -moz-border-radius: 4px !important; - border-radius: 4px !important; +} +.navbar-nav > .notifications-menu > .dropdown-menu > li, +.navbar-nav > .messages-menu > .dropdown-menu > li, +.navbar-nav > .tasks-menu > .dropdown-menu > li { + position: relative; } .navbar-nav > .notifications-menu > .dropdown-menu > li.header, .navbar-nav > .messages-menu > .dropdown-menu > li.header, .navbar-nav > .tasks-menu > .dropdown-menu > li.header { - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-bottomright: 0; - -moz-border-radius-bottomleft: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 0; @@ -809,54 +938,38 @@ header.header .logo .icon { color: #444444; font-size: 14px; } -.navbar-nav > .notifications-menu > .dropdown-menu > li.header:after, -.navbar-nav > .messages-menu > .dropdown-menu > li.header:after, -.navbar-nav > .tasks-menu > .dropdown-menu > li.header:after { - bottom: 100%; - left: 92%; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-color: rgba(255, 255, 255, 0); - border-bottom-color: #ffffff; - border-width: 7px; - margin-left: -7px; -} .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a, .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a, .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a { - -webkit-border-top-left-radius: 0px; - -webkit-border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-topleft: 0px; - -moz-border-radius-topright: 0px; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; - border-top-left-radius: 0px; - border-top-right-radius: 0px; + border-top-left-radius: 0; + border-top-right-radius: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; font-size: 12px; - background-color: #f4f4f4; + background-color: #fff; padding: 7px 10px; border-bottom: 1px solid #eeeeee; - color: #444444; + color: #444!important; text-align: center; } +@media (max-width: 991px) { + .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a, + .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a, + .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a { + background: #fff!important; + color: #444!important; + } +} .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a:hover, .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a:hover, .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a:hover { - background: #f4f4f4; text-decoration: none; font-weight: normal; } .navbar-nav > .notifications-menu > .dropdown-menu > li .menu, .navbar-nav > .messages-menu > .dropdown-menu > li .menu, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu { + max-height: 200px; margin: 0; padding: 0; list-style: none; @@ -873,71 +986,43 @@ header.header .logo .icon { .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:hover, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a:hover { - background: #f6f6f6; + background: #f4f4f4; text-decoration: none; } .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a { - font-size: 12px; color: #444444; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + padding: 10px; } .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon, .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa, .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion { - font-size: 20px; - width: 50px; - text-align: center; - padding: 15px 0px; - margin-right: 5px; - /* Default background and font colors */ - background: #00c0ef; - color: #f9f9f9; - /* Fallback for browsers that doesn't support rgba */ - color: rgba(255, 255, 255, 0.7); -} -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon.danger, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa.danger, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion.danger { - background: #f56954; -} -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon.warning, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa.warning, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion.warning { - background: #f39c12; -} -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon.success, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa.success, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion.success { - background: #00a65a; -} -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon.info, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa.info, -.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion.info { - background: #00c0ef; + width: 20px; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a { - margin: 0px; - line-height: 20px; - padding: 10px 5px 10px 5px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; + margin: 0; + padding: 10px 10px; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > div > img { margin: auto 10px auto auto; width: 40px; height: 40px; - border: 1px solid #dddddd; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 { padding: 0; margin: 0 0 0 45px; color: #444444; font-size: 15px; + position: relative; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 > small { color: #999999; font-size: 10px; - float: right; + position: absolute; + top: 0; + right: 0; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p { margin: 0 0 0 45px; @@ -946,8 +1031,8 @@ header.header .logo .icon { } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:before, .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after { - display: table; content: " "; + display: table; } .navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after { clear: both; @@ -966,228 +1051,293 @@ header.header .logo .icon { margin: 0; } .navbar-nav > .user-menu > .dropdown-menu { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; padding: 1px 0 0 0; border-top-width: 0; width: 280px; } -.navbar-nav > .user-menu > .dropdown-menu:after { - bottom: 100%; - right: 10px; - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - border-color: rgba(255, 255, 255, 0); - border-bottom-color: #ffffff; - border-width: 10px; - margin-left: -10px; +.navbar-nav > .user-menu > .dropdown-menu, +.navbar-nav > .user-menu > .dropdown-menu > .user-body { + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; } .navbar-nav > .user-menu > .dropdown-menu > li.user-header { height: 175px; padding: 10px; - background: #3c8dbc; text-align: center; } .navbar-nav > .user-menu > .dropdown-menu > li.user-header > img { z-index: 5; height: 90px; width: 90px; - border: 8px solid; + border: 3px solid; border-color: transparent; border-color: rgba(255, 255, 255, 0.2); } .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p { z-index: 5; - color: #f9f9f9; + color: #fff; color: rgba(255, 255, 255, 0.8); font-size: 17px; - text-shadow: 2px 2px 3px #333333; margin-top: 10px; } .navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small { display: block; font-size: 12px; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-body { +.navbar-nav > .user-menu > .dropdown-menu > .user-body { padding: 15px; border-bottom: 1px solid #f4f4f4; border-top: 1px solid #dddddd; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-body:before, -.navbar-nav > .user-menu > .dropdown-menu > li.user-body:after { - display: table; +.navbar-nav > .user-menu > .dropdown-menu > .user-body:before, +.navbar-nav > .user-menu > .dropdown-menu > .user-body:after { content: " "; + display: table; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-body:after { +.navbar-nav > .user-menu > .dropdown-menu > .user-body:after { clear: both; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-body > div > a { - color: #0073b7; +.navbar-nav > .user-menu > .dropdown-menu > .user-body a { + color: #444 !important; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-footer { +@media (max-width: 991px) { + .navbar-nav > .user-menu > .dropdown-menu > .user-body a { + background: #fff !important; + color: #444 !important; + } +} +.navbar-nav > .user-menu > .dropdown-menu > .user-footer { background-color: #f9f9f9; padding: 10px; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-footer:before, -.navbar-nav > .user-menu > .dropdown-menu > li.user-footer:after { - display: table; +.navbar-nav > .user-menu > .dropdown-menu > .user-footer:before, +.navbar-nav > .user-menu > .dropdown-menu > .user-footer:after { content: " "; + display: table; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-footer:after { +.navbar-nav > .user-menu > .dropdown-menu > .user-footer:after { clear: both; } -.navbar-nav > .user-menu > .dropdown-menu > li.user-footer .btn-default { +.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default { color: #666666; } -/* Add fade animation to dropdown menus */ -.open > .dropdown-menu { - animation-name: fadeAnimation; - animation-duration: .7s; - animation-iteration-count: 1; - animation-timing-function: ease; - animation-fill-mode: forwards; - -webkit-animation-name: fadeAnimation; - -webkit-animation-duration: .7s; - -webkit-animation-iteration-count: 1; - -webkit-animation-timing-function: ease; - -webkit-animation-fill-mode: forwards; - -moz-animation-name: fadeAnimation; - -moz-animation-duration: .7s; - -moz-animation-iteration-count: 1; - -moz-animation-timing-function: ease; - -moz-animation-fill-mode: forwards; -} -@keyframes fadeAnimation { - from { - opacity: 0; - top: 120%; +@media (max-width: 991px) { + .navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default:hover { + background-color: #f9f9f9; } - to { - opacity: 1; - top: 100%; +} +.navbar-nav > .user-menu .user-image { + float: left; + width: 25px; + height: 25px; + border-radius: 50%; + margin-right: 10px; + margin-top: -2px; +} +@media (max-width: 767px) { + .navbar-nav > .user-menu .user-image { + float: none; + margin-right: 0; + margin-top: -8px; + line-height: 10px; } } -@-webkit-keyframes fadeAnimation { - from { +/* 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; + -webkit-animation: flipInX 0.7s both; + -o-animation: flipInX 0.7s both; + animation: flipInX 0.7s both; +} +@keyframes flipInX { + 0% { + transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + transition-timing-function: ease-in; opacity: 0; - top: 120%; } - to { + 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; - top: 100%; } -} -/* Fix dropdown menu for small screens to display correctly on small screens */ -@media screen and (max-width: 767px) { - .navbar-nav > .notifications-menu > .dropdown-menu, - .navbar-nav > .user-menu > .dropdown-menu, - .navbar-nav > .tasks-menu > .dropdown-menu, - .navbar-nav > .messages-menu > .dropdown-menu { - position: absolute; - top: 100%; - right: 0; - left: auto; - border-right: 1px solid #dddddd; - border-bottom: 1px solid #dddddd; - border-left: 1px solid #dddddd; - background: #ffffff; + 80% { + transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + 100% { + transform: perspective(400px); } } -/* Fix menu positions on xs screens to appear correctly and fully */ -@media screen and (max-width: 480px) { - .navbar-nav > .notifications-menu > .dropdown-menu > li.header, - .navbar-nav > .tasks-menu > .dropdown-menu > li.header, - .navbar-nav > .messages-menu > .dropdown-menu > li.header { - /* Remove arrow from the top */ +@-webkit-keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg); + -webkit-transition-timing-function: ease-in; + opacity: 0; } - .navbar-nav > .notifications-menu > .dropdown-menu > li.header:after, - .navbar-nav > .tasks-menu > .dropdown-menu > li.header:after, - .navbar-nav > .messages-menu > .dropdown-menu > li.header:after { - border-width: 0px!important; + 40% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg); + -webkit-transition-timing-function: ease-in; } - .navbar-nav > .tasks-menu > .dropdown-menu { - position: absolute; - right: -120px; - left: auto; + 60% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg); + opacity: 1; } - .navbar-nav > .notifications-menu > .dropdown-menu { - position: absolute; - right: -170px; - left: auto; + 80% { + -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg); + } + 100% { + -webkit-transform: perspective(400px); + } +} +/* Fix dropdown menu in navbars */ +.navbar-custom-menu > .navbar-nav > li { + position: relative; +} +.navbar-custom-menu > .navbar-nav > li > .dropdown-menu { + position: absolute; + right: 0; + left: auto; +} +@media (max-width: 991px) { + .navbar-custom-menu > .navbar-nav { + float: right; } - .navbar-nav > .messages-menu > .dropdown-menu { + .navbar-custom-menu > .navbar-nav > li { + position: static; + } + .navbar-custom-menu > .navbar-nav > li > .dropdown-menu { position: absolute; - right: -210px; + right: 5%; left: auto; + border: 1px solid #ddd; + background: #fff; } } -/* - All form elements including input, select, textarea etc. ------------------------------------------------------------------ -*/ +/* + * Component: Form + * --------------- + */ .form-control { - -webkit-border-radius: 0px !important; - -moz-border-radius: 0px !important; - border-radius: 0px !important; + border-radius: 0; box-shadow: none; + border-color: #d2d6de; } .form-control:focus { - border-color: #3c8dbc !important; + border-color: #3c8dbc; box-shadow: none; } +.form-control::-moz-placeholder, +.form-control:-ms-input-placeholder, +.form-control::-webkit-input-placeholder { + color: #bbb; + opacity: 1; +} +.form-control:not(select) { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} .form-group.has-success label { color: #00a65a; } .form-group.has-success .form-control { - border-color: #00a65a !important; + border-color: #00a65a; box-shadow: none; } .form-group.has-warning label { color: #f39c12; } .form-group.has-warning .form-control { - border-color: #f39c12 !important; + border-color: #f39c12; box-shadow: none; } .form-group.has-error label { - color: #f56954; + color: #dd4b39; } .form-group.has-error .form-control { - border-color: #f56954 !important; + border-color: #dd4b39; box-shadow: none; } /* Input group */ .input-group .input-group-addon { border-radius: 0; - background-color: #f4f4f4; + border-color: #d2d6de; + background-color: #fff; } /* button groups */ .btn-group-vertical .btn.btn-flat:first-of-type, .btn-group-vertical .btn.btn-flat:last-of-type { border-radius: 0; } -/* Checkbox and radio inputs */ -.checkbox, -.radio { +.icheck > label { padding-left: 0; } -/* - Compenent: Progress bars --------------------------------- -*/ +/* support Font Awesome icons in form-control */ +.form-control-feedback.fa { + line-height: 34px; +} +.input-lg + .form-control-feedback.fa, +.input-group-lg + .form-control-feedback.fa, +.form-group-lg .form-control + .form-control-feedback.fa { + line-height: 46px; +} +.input-sm + .form-control-feedback.fa, +.input-group-sm + .form-control-feedback.fa, +.form-group-sm .form-control + .form-control-feedback.fa { + line-height: 30px; +} +/* + * Component: Progress Bar + * ----------------------- + */ +.progress, +.progress > .progress-bar { + -webkit-box-shadow: none; + box-shadow: none; +} +.progress, +.progress > .progress-bar, +.progress .progress-bar, +.progress > .progress-bar .progress-bar { + border-radius: 1px; +} /* size variation */ -.progress.sm { +.progress.sm, +.progress-sm { height: 10px; } -.progress.xs { +.progress.sm, +.progress-sm, +.progress.sm .progress-bar, +.progress-sm .progress-bar { + border-radius: 1px; +} +.progress.xs, +.progress-xs { height: 7px; } -/* Vertical bars */ +.progress.xs, +.progress-xs, +.progress.xs .progress-bar, +.progress-xs .progress-bar { + border-radius: 1px; +} +.progress.xxs, +.progress-xxs { + height: 3px; +} +.progress.xxs, +.progress-xxs, +.progress.xxs .progress-bar, +.progress-xxs .progress-bar { + border-radius: 1px; +} +/* Vertical bars */ .progress.vertical { position: relative; width: 30px; @@ -1196,16 +1346,28 @@ header.header .logo .icon { margin-right: 10px; } .progress.vertical > .progress-bar { - width: 100%!important; + width: 100%; position: absolute; bottom: 0; } -.progress.vertical.sm { +.progress.vertical.sm, +.progress.vertical.progress-sm { width: 20px; } -.progress.vertical.xs { +.progress.vertical.xs, +.progress.vertical.progress-xs { width: 10px; } +.progress.vertical.xxs, +.progress.vertical.progress-xxs { + width: 3px; +} +.progress-group .progress-text { + font-weight: 600; +} +.progress-group .progress-number { + float: right; +} /* Remove margins from progress bars when put in a table */ .table tr > td .progress { margin: 0; @@ -1216,9 +1378,8 @@ header.header .logo .icon { } .progress-striped .progress-bar-light-blue, .progress-striped .progress-bar-primary { - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-green, @@ -1227,9 +1388,8 @@ header.header .logo .icon { } .progress-striped .progress-bar-green, .progress-striped .progress-bar-success { - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-aqua, @@ -1238,9 +1398,8 @@ header.header .logo .icon { } .progress-striped .progress-bar-aqua, .progress-striped .progress-bar-info { - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-yellow, @@ -1249,32 +1408,30 @@ header.header .logo .icon { } .progress-striped .progress-bar-yellow, .progress-striped .progress-bar-warning { - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-red, .progress-bar-danger { - background-color: #f56954; + background-color: #dd4b39; } .progress-striped .progress-bar-red, .progress-striped .progress-bar-danger { - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); + background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } /* - Component: Small boxes -*/ + * Component: Small Box + * -------------------- + */ .small-box { + border-radius: 2px; position: relative; display: block; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - margin-bottom: 15px; + margin-bottom: 20px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); } .small-box > .inner { padding: 10px; @@ -1315,10 +1472,12 @@ header.header .logo .icon { z-index: 5px; } .small-box .icon { + -webkit-transition: all 0.3s linear; + -o-transition: all 0.3s linear; + transition: all 0.3s linear; position: absolute; - top: auto; - bottom: 5px; - right: 5px; + top: -10px; + right: 10px; z-index: 0; font-size: 90px; color: rgba(0, 0, 0, 0.15); @@ -1328,39 +1487,9 @@ header.header .logo .icon { color: #f9f9f9; } .small-box:hover .icon { - animation-name: tansformAnimation; - animation-duration: .5s; - animation-iteration-count: 1; - animation-timing-function: ease; - animation-fill-mode: forwards; - -webkit-animation-name: tansformAnimation; - -webkit-animation-duration: .5s; - -webkit-animation-iteration-count: 1; - -webkit-animation-timing-function: ease; - -webkit-animation-fill-mode: forwards; - -moz-animation-name: tansformAnimation; - -moz-animation-duration: .5s; - -moz-animation-iteration-count: 1; - -moz-animation-timing-function: ease; - -moz-animation-fill-mode: forwards; -} -@keyframes tansformAnimation { - from { - font-size: 90px; - } - to { - font-size: 100px; - } -} -@-webkit-keyframes tansformAnimation { - from { - font-size: 90px; - } - to { - font-size: 100px; - } -} -@media screen and (max-width: 480px) { + font-size: 95px; +} +@media (max-width: 767px) { .small-box { text-align: center; } @@ -1372,19 +1501,17 @@ header.header .logo .icon { } } /* - component: Boxes -------------------------- -*/ + * Component: Box + * -------------- + */ .box { position: relative; + border-radius: 3px; background: #ffffff; - border-top: 2px solid #c1c1c1; + border-top: 3px solid #d2d6de; margin-bottom: 20px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; width: 100%; - box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); } .box.box-primary { border-top-color: #3c8dbc; @@ -1393,7 +1520,7 @@ header.header .logo .icon { border-top-color: #00c0ef; } .box.box-danger { - border-top-color: #f56954; + border-top-color: #dd4b39; } .box.box-warning { border-top-color: #f39c12; @@ -1401,201 +1528,116 @@ header.header .logo .icon { .box.box-success { border-top-color: #00a65a; } -.box.height-control .box-body { - max-height: 300px; - overflow: auto; -} -.box .box-header { - position: relative; - -webkit-border-top-left-radius: 3px; - -webkit-border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-topleft: 3px; - -moz-border-radius-topright: 3px; - -moz-border-radius-bottomright: 0; - -moz-border-radius-bottomleft: 0; - border-top-left-radius: 3px; - border-top-right-radius: 3px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - border-bottom: 0px solid #f4f4f4; - color: #444; -} -.box .box-header:before, -.box .box-header:after { - display: table; - content: " "; +.box.box-default { + border-top-color: #d2d6de; } -.box .box-header:after { - clear: both; +.box.collapsed-box .box-body, +.box.collapsed-box .box-footer { + display: none; } -.box .box-header > .fa, -.box .box-header > .glyphicon, -.box .box-header > .ion, -.box .box-header .box-title { - display: inline-block; - padding: 10px 10px 10px 10px; +.box .nav-stacked > li { + border-bottom: 1px solid #f4f4f4; margin: 0; - font-size: 20px; - font-weight: 400; - float: left; - cursor: default; -} -.box .box-header a { - color: #444; -} -.box .box-header > .box-tools { - padding: 5px 10px 5px 5px; -} -.box .box-body { - padding: 10px; - -webkit-border-top-left-radius: 0; - -webkit-border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-topleft: 0; - -moz-border-radius-topright: 0; - -moz-border-radius-bottomright: 3px; - -moz-border-radius-bottomleft: 3px; - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.box .box-body > table, -.box .box-body > .table { - margin-bottom: 0; -} -.box .box-body.chart-responsive { - width: 100%; - overflow: hidden; -} -.box .box-body > .chart { - position: relative; - overflow: hidden; - width: 100%; -} -.box .box-body > .chart svg, -.box .box-body > .chart canvas { - width: 100%!important; } -.box .box-body .fc { - margin-top: 5px; -} -.box .box-body .fc-header-title h2 { - font-size: 15px; - line-height: 1.6em; - color: #666; - margin-left: 10px; -} -.box .box-body .fc-header-right { - padding-right: 10px; +.box .nav-stacked > li:last-of-type { + border-bottom: none; } -.box .box-body .fc-header-left { - padding-left: 10px; -} -.box .box-body .fc-widget-header { - background: #fafafa; - box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.02); -} -.box .box-body .fc-grid { - width: 100%; - border: 0; +.box.height-control .box-body { + max-height: 300px; + overflow: auto; } -.box .box-body .fc-widget-header:first-of-type, -.box .box-body .fc-widget-content:first-of-type { - border-left: 0; - border-right: 0; +.box .border-right { + border-right: 1px solid #f4f4f4; } -.box .box-body .fc-widget-header:last-of-type, -.box .box-body .fc-widget-content:last-of-type { - border-right: 0; +.box .border-left { + border-left: 1px solid #f4f4f4; } -.box .box-body .table { - margin-bottom: 0; +.box.box-solid { + border-top: 0; } -.box .box-body .full-width-chart { - margin: -19px; +.box.box-solid > .box-header .btn.btn-default { + background: transparent; } -.box .box-body.no-padding .full-width-chart { - margin: -9px; +.box.box-solid > .box-header .btn:hover, +.box.box-solid > .box-header a:hover { + background: rgba(0, 0, 0, 0.1); } -.box .box-footer { - border-top: 1px solid #f4f4f4; - -webkit-border-top-left-radius: 0; - -webkit-border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-topleft: 0; - -moz-border-radius-topright: 0; - -moz-border-radius-bottomright: 3px; - -moz-border-radius-bottomleft: 3px; - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; - padding: 10px; - background-color: #ffffff; +.box.box-solid.box-default { + border: 1px solid #d2d6de; } -.box.box-solid { - border-top: 0px; +.box.box-solid.box-default > .box-header { + color: #444444; + background: #d2d6de; + background-color: #d2d6de; } -.box.box-solid > .box-header { - padding-bottom: 0px!important; +.box.box-solid.box-default > .box-header a, +.box.box-solid.box-default > .box-header .btn { + color: #444444; } -.box.box-solid > .box-header .btn.btn-default { - background: transparent; +.box.box-solid.box-primary { + border: 1px solid #3c8dbc; } .box.box-solid.box-primary > .box-header { - color: #fff; + color: #ffffff; background: #3c8dbc; background-color: #3c8dbc; } -.box.box-solid.box-primary > .box-header a { - color: #444; +.box.box-solid.box-primary > .box-header a, +.box.box-solid.box-primary > .box-header .btn { + color: #ffffff; +} +.box.box-solid.box-info { + border: 1px solid #00c0ef; } .box.box-solid.box-info > .box-header { - color: #fff; + color: #ffffff; background: #00c0ef; background-color: #00c0ef; } -.box.box-solid.box-info > .box-header a { - color: #444; +.box.box-solid.box-info > .box-header a, +.box.box-solid.box-info > .box-header .btn { + color: #ffffff; +} +.box.box-solid.box-danger { + border: 1px solid #dd4b39; } .box.box-solid.box-danger > .box-header { - color: #fff; - background: #f56954; - background-color: #f56954; + color: #ffffff; + background: #dd4b39; + background-color: #dd4b39; } -.box.box-solid.box-danger > .box-header a { - color: #444; +.box.box-solid.box-danger > .box-header a, +.box.box-solid.box-danger > .box-header .btn { + color: #ffffff; +} +.box.box-solid.box-warning { + border: 1px solid #f39c12; } .box.box-solid.box-warning > .box-header { - color: #fff; + color: #ffffff; background: #f39c12; background-color: #f39c12; } -.box.box-solid.box-warning > .box-header a { - color: #444; +.box.box-solid.box-warning > .box-header a, +.box.box-solid.box-warning > .box-header .btn { + color: #ffffff; +} +.box.box-solid.box-success { + border: 1px solid #00a65a; } .box.box-solid.box-success > .box-header { - color: #fff; + color: #ffffff; background: #00a65a; background-color: #00a65a; } -.box.box-solid.box-success > .box-header a { - color: #444; +.box.box-solid.box-success > .box-header a, +.box.box-solid.box-success > .box-header .btn { + color: #ffffff; } .box.box-solid > .box-header > .box-tools .btn { border: 0; box-shadow: none; } -.box.box-solid.collapsed-box .box-header { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} .box.box-solid[class*='bg'] > .box-header { color: #fff; } @@ -1609,168 +1651,371 @@ header.header .logo .icon { font-size: 12px; margin-bottom: 0.3em; } -.box .todo-list { +.box > .overlay, +.overlay-wrapper > .overlay, +.box > .loading-img, +.overlay-wrapper > .loading-img { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.box .overlay, +.overlay-wrapper .overlay { + z-index: 50; + background: rgba(255, 255, 255, 0.7); + border-radius: 3px; +} +.box .overlay > .fa, +.overlay-wrapper .overlay > .fa { + position: absolute; + top: 50%; + left: 50%; + margin-left: -15px; + margin-top: -15px; + color: #000; + font-size: 30px; +} +.box .overlay.dark, +.overlay-wrapper .overlay.dark { + background: rgba(0, 0, 0, 0.5); +} +.box-header:before, +.box-body:before, +.box-footer:before, +.box-header:after, +.box-body:after, +.box-footer:after { + content: " "; + display: table; +} +.box-header:after, +.box-body:after, +.box-footer:after { + clear: both; +} +.box-header { + color: #444; + display: block; + padding: 10px; + position: relative; +} +.box-header.with-border { + border-bottom: 1px solid #f4f4f4; +} +.collapsed-box .box-header.with-border { + border-bottom: none; +} +.box-header > .fa, +.box-header > .glyphicon, +.box-header > .ion, +.box-header .box-title { + display: inline-block; + font-size: 18px; margin: 0; - padding: 0px 0px; - list-style: none; + line-height: 1; } -.box .todo-list > li { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; +.box-header > .fa, +.box-header > .glyphicon, +.box-header > .ion { + margin-right: 5px; +} +.box-header > .box-tools { + position: absolute; + right: 10px; + top: 5px; +} +.box-header > .box-tools [data-toggle="tooltip"] { + position: relative; +} +.box-header > .box-tools.pull-right .dropdown-menu { + right: 0; + left: auto; +} +.btn-box-tool { + padding: 5px; + font-size: 12px; + background: transparent; + color: #97a0b3; +} +.open .btn-box-tool, +.btn-box-tool:hover { + color: #606c84; +} +.btn-box-tool.btn:active { + box-shadow: none; +} +.box-body { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; padding: 10px; - background: #f3f4f5; - margin-bottom: 2px; - border-left: 2px solid #e6e7e8; - color: #444; } -.box .todo-list > li:last-of-type { +.no-header .box-body { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.box-body > .table { margin-bottom: 0; } -.box .todo-list > li.danger { - border-left-color: #f56954; +.box-body .fc { + margin-top: 5px; } -.box .todo-list > li.warning { - border-left-color: #f39c12; +.box-body .full-width-chart { + margin: -19px; } -.box .todo-list > li.info { - border-left-color: #00c0ef; +.box-body.no-padding .full-width-chart { + margin: -9px; } -.box .todo-list > li.success { - border-left-color: #00a65a; +.box-body .box-pane { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 3px; } -.box .todo-list > li.primary { - border-left-color: #3c8dbc; +.box-body .box-pane-right { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 0; +} +.box-footer { + border-top-left-radius: 0; + border-top-right-radius: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + border-top: 1px solid #f4f4f4; + padding: 10px; + background-color: #ffffff; +} +.chart-legend { + margin: 10px 0; +} +@media (max-width: 991px) { + .chart-legend > li { + float: left; + margin-right: 10px; + } +} +/* Widget: TODO LIST */ +.todo-list { + margin: 0; + padding: 0; + list-style: none; + overflow: auto; +} +.todo-list > li { + border-radius: 2px; + padding: 10px; + background: #f4f4f4; + margin-bottom: 2px; + border-left: 2px solid #e6e7e8; + color: #444; } -.box .todo-list > li > input[type='checkbox'] { +.todo-list > li:last-of-type { + margin-bottom: 0; +} +.todo-list > li > input[type='checkbox'] { margin: 0 10px 0 5px; } -.box .todo-list > li .text { +.todo-list > li .text { display: inline-block; margin-left: 5px; font-weight: 600; } -.box .todo-list > li .label { +.todo-list > li .label { margin-left: 10px; font-size: 9px; } -.box .todo-list > li .tools { +.todo-list > li .tools { display: none; float: right; - color: #f56954; + color: #dd4b39; } -.box .todo-list > li .tools > .fa, -.box .todo-list > li .tools > .glyphicon, -.box .todo-list > li .tools > .ion { +.todo-list > li .tools > .fa, +.todo-list > li .tools > .glyphicon, +.todo-list > li .tools > .ion { margin-right: 5px; cursor: pointer; } -.box .todo-list > li:hover .tools { +.todo-list > li:hover .tools { display: inline-block; } -.box .todo-list > li.done { +.todo-list > li.done { color: #999; } -.box .todo-list > li.done .text { +.todo-list > li.done .text { text-decoration: line-through; font-weight: 500; } -.box .todo-list > li.done .label { - background: #eaeaec !important; +.todo-list > li.done .label { + background: #d2d6de !important; +} +.todo-list .danger { + border-left-color: #dd4b39; +} +.todo-list .warning { + border-left-color: #f39c12; +} +.todo-list .info { + border-left-color: #00c0ef; +} +.todo-list .success { + border-left-color: #00a65a; +} +.todo-list .primary { + border-left-color: #3c8dbc; } -.box .todo-list .handle { +.todo-list .handle { display: inline-block; cursor: move; margin: 0 5px; } -.box .chat { +/* Chat widget (DEPRECATED - this will be removed in the next major release. Use Direct Chat instead)*/ +.chat { padding: 5px 20px 5px 10px; } -.box .chat .item { +.chat .item { margin-bottom: 10px; } -.box .chat .item:before, -.box .chat .item:after { - display: table; +.chat .item:before, +.chat .item:after { content: " "; + display: table; } -.box .chat .item:after { +.chat .item:after { clear: both; } -.box .chat .item > img { +.chat .item > img { width: 40px; height: 40px; border: 2px solid transparent; - -webkit-border-radius: 50% !important; - -moz-border-radius: 50% !important; - border-radius: 50% !important; + border-radius: 50%; } -.box .chat .item > img.online { +.chat .item > .online { border: 2px solid #00a65a; } -.box .chat .item > img.offline { - border: 2px solid #f56954; +.chat .item > .offline { + border: 2px solid #dd4b39; } -.box .chat .item > .message { +.chat .item > .message { margin-left: 55px; margin-top: -40px; } -.box .chat .item > .message > .name { +.chat .item > .message > .name { display: block; font-weight: 600; } -.box .chat .item > .attachment { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; +.chat .item > .attachment { border-radius: 3px; - background: #f0f0f0; + background: #f4f4f4; margin-left: 65px; margin-right: 15px; padding: 10px; } -.box .chat .item > .attachment > h4 { +.chat .item > .attachment > h4 { margin: 0 0 5px 0; font-weight: 600; font-size: 14px; } -.box .chat .item > .attachment > p, -.box .chat .item > .attachment > .filename { +.chat .item > .attachment > p, +.chat .item > .attachment > .filename { font-weight: 600; font-size: 13px; font-style: italic; margin: 0; } -.box .chat .item > .attachment:before, -.box .chat .item > .attachment:after { - display: table; +.chat .item > .attachment:before, +.chat .item > .attachment:after { content: " "; + display: table; } -.box .chat .item > .attachment:after { +.chat .item > .attachment:after { clear: both; } -.box > .overlay, -.box > .loading-img { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; +.box-input { + max-width: 200px; } -.box > .overlay { - z-index: 1010; - background: rgba(255, 255, 255, 0.7); +.modal .panel-body { + color: #444; } -.box > .overlay.dark { - background: rgba(0, 0, 0, 0.5); +/* + * Component: Info Box + * ------------------- + */ +.info-box { + display: block; + min-height: 90px; + background: #fff; + width: 100%; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + border-radius: 2px; + margin-bottom: 15px; +} +.info-box small { + font-size: 14px; +} +.info-box .progress { + background: rgba(0, 0, 0, 0.2); + margin: 5px -10px 5px -10px; + height: 2px; +} +.info-box .progress, +.info-box .progress .progress-bar { + border-radius: 0; +} +.info-box .progress .progress-bar { + background: #fff; +} +.info-box-icon { + border-top-left-radius: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 2px; + 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-icon > img { + max-width: 100%; +} +.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; } -.box > .loading-img { - z-index: 1020; - background: transparent url('../images/ajax-loader1.gif') 50% 50% no-repeat; +.progress-description { + margin: 0; } /* -Component: timeline --------------------- -*/ + * Component: Timeline + * ------------------- + */ .timeline { position: relative; margin: 0 0 30px 0; @@ -1780,15 +2025,12 @@ Component: timeline .timeline:before { content: ''; position: absolute; - top: 0px; + top: 0; bottom: 0; - width: 5px; + width: 4px; background: #ddd; - left: 30px; - border: 1px solid #eee; + left: 31px; margin: 0; - -webkit-border-radius: 2px; - -moz-border-radius: 2px; border-radius: 2px; } .timeline > li { @@ -1798,33 +2040,35 @@ Component: timeline } .timeline > li:before, .timeline > li:after { - display: table; content: " "; + display: table; } .timeline > li:after { clear: both; } .timeline > li > .timeline-item { - margin-top: 10px; - border: 0px solid #dfdfdf; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + border-radius: 3px; + margin-top: 0; background: #fff; - color: #555; + color: #444; margin-left: 60px; margin-right: 15px; - padding: 5px; + padding: 0; position: relative; - box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); } .timeline > li > .timeline-item > .time { color: #999; float: right; - margin: 2px 0 0 0; + padding: 10px; + font-size: 12px; } .timeline > li > .timeline-item > .timeline-header { margin: 0; color: #555; border-bottom: 1px solid #f4f4f4; - padding: 5px; + padding: 10px; font-size: 16px; line-height: 1.1; } @@ -1835,219 +2079,206 @@ Component: timeline .timeline > li > .timeline-item > .timeline-footer { padding: 10px; } -.timeline > li.time-label > span { - font-weight: 600; - padding: 5px; - display: inline-block; - background-color: #fff; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} .timeline > li > .fa, .timeline > li > .glyphicon, .timeline > li > .ion { - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); width: 30px; height: 30px; font-size: 15px; line-height: 30px; position: absolute; color: #666; - background: #eee; + background: #d2d6de; border-radius: 50%; text-align: center; left: 18px; top: 0; } +.timeline > .time-label > span { + font-weight: 600; + padding: 5px; + display: inline-block; + background-color: #fff; + border-radius: 4px; +} /* - Component: Buttons -------------------------- -*/ + * Component: Button + * ----------------- + */ .btn { - font-weight: 500; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; border-radius: 3px; + -webkit-box-shadow: none; + box-shadow: none; border: 1px solid transparent; - -webkit-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09); - -moz-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09); - box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.09); } -.btn.btn-default { - background-color: #fafafa; - color: #666; - border-color: #ddd; - border-bottom-color: #ddd; +.btn.uppercase { + text-transform: uppercase; +} +.btn.btn-flat { + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + border-width: 1px; +} +.btn:active { + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.btn:focus { + outline: none; +} +.btn.btn-file { + position: relative; + overflow: hidden; +} +.btn.btn-file > input[type='file'] { + position: absolute; + top: 0; + right: 0; + min-width: 100%; + min-height: 100%; + font-size: 100px; + text-align: right; + opacity: 0; + filter: alpha(opacity=0); + outline: none; + background: white; + cursor: inherit; + display: block; } -.btn.btn-default:hover, -.btn.btn-default:active, -.btn.btn-default.hover { - background-color: #f4f4f4!important; +.btn-default { + background-color: #f4f4f4; + color: #444; + border-color: #ddd; } -.btn.btn-default.btn-flat { - border-bottom-color: #d9dadc; +.btn-default:hover, +.btn-default:active, +.btn-default.hover { + background-color: #e7e7e7; } -.btn.btn-primary { +.btn-primary { background-color: #3c8dbc; border-color: #367fa9; } -.btn.btn-primary:hover, -.btn.btn-primary:active, -.btn.btn-primary.hover { +.btn-primary:hover, +.btn-primary:active, +.btn-primary.hover { background-color: #367fa9; } -.btn.btn-success { +.btn-success { background-color: #00a65a; border-color: #008d4c; } -.btn.btn-success:hover, -.btn.btn-success:active, -.btn.btn-success.hover { +.btn-success:hover, +.btn-success:active, +.btn-success.hover { background-color: #008d4c; } -.btn.btn-info { +.btn-info { background-color: #00c0ef; border-color: #00acd6; } -.btn.btn-info:hover, -.btn.btn-info:active, -.btn.btn-info.hover { +.btn-info:hover, +.btn-info:active, +.btn-info.hover { background-color: #00acd6; } -.btn.btn-danger { - background-color: #f56954; - border-color: #f4543c; +.btn-danger { + background-color: #dd4b39; + border-color: #d73925; } -.btn.btn-danger:hover, -.btn.btn-danger:active, -.btn.btn-danger.hover { - background-color: #f4543c; +.btn-danger:hover, +.btn-danger:active, +.btn-danger.hover { + background-color: #d73925; } -.btn.btn-warning { +.btn-warning { background-color: #f39c12; border-color: #e08e0b; } -.btn.btn-warning:hover, -.btn.btn-warning:active, -.btn.btn-warning.hover { +.btn-warning:hover, +.btn-warning:active, +.btn-warning.hover { background-color: #e08e0b; } -.btn.btn-flat { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-width: 1px; -} -.btn:active { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +.btn-outline { + border: 1px solid #fff; + background: transparent; + color: #fff; } -.btn:focus { - outline: none; +.btn-outline:hover, +.btn-outline:focus, +.btn-outline:active { + color: rgba(255, 255, 255, 0.7); + border-color: rgba(255, 255, 255, 0.7); } -.btn.btn-file { - position: relative; - width: 120px; - height: 35px; - overflow: hidden; +.btn-link { + -webkit-box-shadow: none; + box-shadow: none; } -.btn.btn-file > input[type='file'] { - display: block !important; - width: 100% !important; - height: 35px !important; - opacity: 0 !important; - position: absolute; - top: -10px; - cursor: pointer; +.btn[class*='bg-']:hover { + -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2); + box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2); } -.btn.btn-app { +.btn-app { + border-radius: 3px; position: relative; padding: 15px 5px; margin: 0 0 10px 10px; min-width: 80px; height: 60px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; text-align: center; color: #666; border: 1px solid #ddd; - background-color: #fafafa; + background-color: #f4f4f4; font-size: 12px; } -.btn.btn-app > .fa, -.btn.btn-app > .glyphicon, -.btn.btn-app > .ion { +.btn-app > .fa, +.btn-app > .glyphicon, +.btn-app > .ion { font-size: 20px; display: block; } -.btn.btn-app:hover { +.btn-app:hover { background: #f4f4f4; color: #444; border-color: #aaa; } -.btn.btn-app:active, -.btn.btn-app:focus { +.btn-app:active, +.btn-app:focus { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } -.btn.btn-app > .badge { +.btn-app > .badge { position: absolute; top: -3px; right: -10px; font-size: 10px; font-weight: 400; } -.btn.btn-social-old { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - opacity: 0.9; - padding: 0; -} -.btn.btn-social-old > .fa { - padding: 10px 0; - width: 40px; -} -.btn.btn-social-old > .fa + span { - border-left: 1px solid rgba(255, 255, 255, 0.3); -} -.btn.btn-social-old span { - padding: 10px; -} -.btn.btn-social-old:hover { - opacity: 1; -} -.btn.btn-circle { - width: 30px; - height: 30px; - line-height: 30px; - padding: 0; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; -} -/* - Component: callout ------------------------- -*/ +/* + * Component: Callout + * ------------------ + */ .callout { + border-radius: 3px; margin: 0 0 20px 0; padding: 15px 30px 15px 15px; border-left: 5px solid #eee; } +.callout a { + color: #fff; + text-decoration: underline; +} +.callout a:hover { + color: #eee; +} .callout h4 { margin-top: 0; + font-weight: 600; } .callout p:last-child { margin-bottom: 0; @@ -2057,93 +2288,100 @@ Component: timeline background-color: #fff; } .callout.callout-danger { - background-color: #fcf2f2; - border-color: #dFb5b4; + border-color: #c23321; } .callout.callout-warning { - background-color: #fefbed; - border-color: #f1e7bc; + border-color: #c87f0a; } .callout.callout-info { - background-color: #f0f7fd; - border-color: #d0e3f0; + border-color: #0097bc; } -.callout.callout-danger h4 { - color: #B94A48; +.callout.callout-success { + border-color: #00733e; } -.callout.callout-warning h4 { - color: #C09853; +/* + * Component: alert + * ---------------- + */ +.alert { + border-radius: 3px; } -.callout.callout-info h4 { - color: #3A87AD; +.alert h4 { + font-weight: 600; } -/* - Component: alert ------------------------- -*/ -.alert { - padding-left: 30px; - margin-left: 15px; - position: relative; +.alert .icon { + margin-right: 10px; } -.alert > .fa, -.alert > .glyphicon { - position: absolute; - left: -15px; - top: -15px; - width: 35px; - height: 35px; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; - line-height: 35px; - text-align: center; - background: inherit; - border: inherit; +.alert .close { + color: #000; + opacity: 0.2; + filter: alpha(opacity=20); +} +.alert .close:hover { + opacity: 0.5; + filter: alpha(opacity=50); +} +.alert a { + color: #fff; + text-decoration: underline; +} +.alert-success { + border-color: #008d4c; +} +.alert-danger, +.alert-error { + border-color: #d73925; +} +.alert-warning { + border-color: #e08e0b; +} +.alert-info { + border-color: #00acd6; } /* - Component: Navs -*/ + * Component: Nav + * -------------- + */ +.nav > li > a:hover, +.nav > li > a:active, +.nav > li > a:focus { + color: #444; + background: #f7f7f7; +} /* NAV PILLS */ -.nav.nav-pills > li > a { - border-top: 3px solid transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; +.nav-pills > li > a { border-radius: 0; + border-top: 3px solid transparent; color: #444; } -.nav.nav-pills > li > a > .fa, -.nav.nav-pills > li > a > .glyphicon, -.nav.nav-pills > li > a > .ion { +.nav-pills > li > a > .fa, +.nav-pills > li > a > .glyphicon, +.nav-pills > li > a > .ion { margin-right: 5px; } -.nav.nav-pills > li.active > a, -.nav.nav-pills > li.active > a:hover { - background-color: #f6f6f6; +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { border-top-color: #3c8dbc; - color: #444; } -.nav.nav-pills > li.active > a { +.nav-pills > li.active > a { font-weight: 600; } -.nav.nav-pills > li > a:hover { - background-color: #f6f6f6; -} -.nav.nav-pills.nav-stacked > li > a { +/* NAV STACKED */ +.nav-stacked > li > a { + border-radius: 0; border-top: 0; border-left: 3px solid transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; color: #444; } -.nav.nav-pills.nav-stacked > li.active > a, -.nav.nav-pills.nav-stacked > li.active > a:hover { - background-color: #f6f6f6; - border-left-color: #3c8dbc; +.nav-stacked > li.active > a, +.nav-stacked > li.active > a:hover { + background: transparent; color: #444; + border-top: 0; + border-left-color: #3c8dbc; } -.nav.nav-pills.nav-stacked > li.header { +.nav-stacked > li.header { border-bottom: 1px solid #ddd; color: #777; margin-bottom: 10px; @@ -2154,11 +2392,14 @@ Component: timeline .nav-tabs-custom { margin-bottom: 20px; background: #fff; - box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + border-radius: 3px; } .nav-tabs-custom > .nav-tabs { margin: 0; border-bottom-color: #f4f4f4; + border-top-right-radius: 3px; + border-top-left-radius: 3px; } .nav-tabs-custom > .nav-tabs > li { border-top: 3px solid transparent; @@ -2166,15 +2407,17 @@ Component: timeline margin-right: 5px; } .nav-tabs-custom > .nav-tabs > li > a { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; + color: #444; + border-radius: 0; } .nav-tabs-custom > .nav-tabs > li > a, .nav-tabs-custom > .nav-tabs > li > a:hover { background: transparent; margin: 0; } +.nav-tabs-custom > .nav-tabs > li > a:hover { + color: #999; +} .nav-tabs-custom > .nav-tabs > li:not(.active) > a:hover, .nav-tabs-custom > .nav-tabs > li:not(.active) > a:focus, .nav-tabs-custom > .nav-tabs > li:not(.active) > a:active { @@ -2186,17 +2429,18 @@ Component: timeline .nav-tabs-custom > .nav-tabs > li.active > a, .nav-tabs-custom > .nav-tabs > li.active:hover > a { background-color: #fff; + color: #444; } .nav-tabs-custom > .nav-tabs > li.active > a { - border-top: 0; + border-top-color: transparent; border-left-color: #f4f4f4; border-right-color: #f4f4f4; } .nav-tabs-custom > .nav-tabs > li:first-of-type { - margin-left: 0px; + margin-left: 0; } .nav-tabs-custom > .nav-tabs > li:first-of-type.active > a { - border-left-width: 0; + border-left-color: transparent; } .nav-tabs-custom > .nav-tabs.pull-right { float: none!important; @@ -2205,778 +2449,762 @@ Component: timeline float: right; } .nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type { - margin-right: 0px; + margin-right: 0; } -.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type.active > a { +.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type > a { border-left-width: 1px; - border-right-width: 0px; +} +.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type.active > a { + border-left-color: #f4f4f4; + border-right-color: transparent; } .nav-tabs-custom > .nav-tabs > li.header { - font-weight: 400; line-height: 35px; padding: 0 10px; font-size: 20px; color: #444; - cursor: default; } .nav-tabs-custom > .nav-tabs > li.header > .fa, .nav-tabs-custom > .nav-tabs > li.header > .glyphicon, .nav-tabs-custom > .nav-tabs > li.header > .ion { - margin-right: 10px; + margin-right: 5px; } .nav-tabs-custom > .tab-content { background: #fff; padding: 10px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; } -/* Nav tabs bottom */ -.tabs-bottom.nav-3 li a { - width: 3333.33333333% !important; -} -.tabs-bottom li a { - border: 0; +.nav-tabs-custom .dropdown.open > a:active, +.nav-tabs-custom .dropdown.open > a:focus { + background: transparent; + color: #999; } /* PAGINATION */ .pagination > li > a { background: #fafafa; color: #666; - -webkit-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09); - -moz-box-shadow: inset 0px -2px 0px 0px rgba(0, 0, 0, 0.09); - box-shadow: inset 0px -1px 0px 0px rgba(0, 0, 0, 0.09); -} -.pagination > li:first-of-type a, -.pagination > li:last-of-type a { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; } -/* - Component: Mailbox -*/ -.mailbox .table-mailbox { - border-left: 1px solid #ddd; - border-right: 1px solid #ddd; - border-bottom: 1px solid #ddd; +.pagination.pagination-flat > li > a { + border-radius: 0 !important; } -.mailbox .table-mailbox tr.unread > td { - background-color: rgba(0, 0, 0, 0.05); - color: #000; - font-weight: 600; +/* + * Component: Products List + * ------------------------ + */ +.products-list { + list-style: none; + margin: 0; + padding: 0; } -.mailbox .table-mailbox tr > td > .fa.fa-star, -.mailbox .table-mailbox tr > td > .fa.fa-star-o, -.mailbox .table-mailbox tr > td > .glyphicon.glyphicon-star, -.mailbox .table-mailbox tr > td > .glyphicon.glyphicon-star-empty { - color: #f39c12; - cursor: pointer; +.products-list > .item { + border-radius: 3px; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + padding: 10px 0; + background: #fff; } -.mailbox .table-mailbox tr > td.small-col { - width: 30px; +.products-list > .item:before, +.products-list > .item:after { + content: " "; + display: table; } -.mailbox .table-mailbox tr > td.name { - width: 150px; - font-weight: 600; +.products-list > .item:after { + clear: both; } -.mailbox .table-mailbox tr > td.time { - text-align: right; - width: 100px; +.products-list .product-img { + float: left; } -.mailbox .table-mailbox tr > td { - white-space: nowrap; -} -.mailbox .table-mailbox tr > td > a { - color: #444; -} -@media screen and (max-width: 767px) { - .mailbox .nav-stacked > li:not(.header) { - float: left; - width: 50%; - } - .mailbox .nav-stacked > li:not(.header).header { - border: 0!important; - } - .mailbox .search-form { - margin-top: 10px; - } +.products-list .product-img img { + width: 50px; + height: 50px; } -/* - Page: locked screen -*/ -/* ADD THIS CLASS TO THE TAG */ -.lockscreen { - background: url(../images/blur-background09.jpg) repeat center center fixed; - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; -} -/* Remove the background from the body element */ -.lockscreen > body { - background: transparent; +.products-list .product-info { + margin-left: 60px; } -/* We will put the dynamically generated digital clock here */ -.lockscreen .headline { - color: #fff; - text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5); - font-weight: 300; - -webkit-font-smoothing: antialiased !important; - opacity: 0.8; - margin: 10px 0 30px 0; - font-size: 90px; +.products-list .product-title { + font-weight: 600; } -@media screen and (max-width: 480px) { - .lockscreen .headline { - font-size: 60px; - margin-bottom: 40px; - } +.products-list .product-description { + display: block; + color: #999; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } -/* User name [optional] */ -.lockscreen .lockscreen-name { - text-align: center; - font-weight: 600; - font-size: 16px; +.product-list-in-box > .item { + -webkit-box-shadow: none; + box-shadow: none; + border-radius: 0; + border-bottom: 1px solid #f4f4f4; } -/* Will contain the image and the sign in form */ -.lockscreen-item { - padding: 0; - background: #fff; - position: relative; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - margin: 10px auto; - width: 290px; +.product-list-in-box > .item:last-of-type { + border-bottom-width: 0; } -.lockscreen-item:before, -.lockscreen-item:after { - display: table; - content: " "; +/* + * Component: Table + * ---------------- + */ +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + border-top: 1px solid #f4f4f4; } -.lockscreen-item:after { - clear: both; +.table > thead > tr > th { + border-bottom: 2px solid #f4f4f4; } -/* User image */ -.lockscreen-item > .lockscreen-image { - position: absolute; - left: -10px; - top: -30px; - background: #fff; - padding: 10px; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; - z-index: 10; +.table tr td .progress { + margin-top: 5px; } -.lockscreen-item > .lockscreen-image > img { - width: 70px; - height: 70px; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; +.table-bordered { + border: 1px solid #f4f4f4; } -/* Contains the password input and the login button */ -.lockscreen-item > .lockscreen-credentials { - margin-left: 80px; +.table-bordered > thead > tr > th, +.table-bordered > tbody > tr > th, +.table-bordered > tfoot > tr > th, +.table-bordered > thead > tr > td, +.table-bordered > tbody > tr > td, +.table-bordered > tfoot > tr > td { + border: 1px solid #f4f4f4; } -.lockscreen-item > .lockscreen-credentials input { - border: 0 !important; +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; } -.lockscreen-item > .lockscreen-credentials .btn { - background-color: #fff; +.table.no-border, +.table.no-border td, +.table.no-border th { border: 0; } -/* Extra to give the user an option to navigate the website [optional]*/ -.lockscreen-link { - margin-top: 30px; +/* .text-center in tables */ +table.text-center, +table.text-center td, +table.text-center th { text-align: center; } -/* - Page: register and login -*/ -.form-box { - width: 360px; - padding-top: 5%; - margin: 0px auto 0 auto; -} -.form-box .header { - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-bottomright: 0; - -moz-border-radius-bottomleft: 0; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - background: #3d9970; - box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.2); - padding: 20px 10px; - text-align: center; - font-size: 26px; - font-weight: 300; - color: #fff; +.table.align th { + text-align: left; } -.form-box .body, -.form-box .footer { - padding: 10px 20px; - background: #fff; +.table.align td { + text-align: right; +} +/* + * Component: Label + * ---------------- + */ +.label-default { + background-color: #d2d6de; color: #444; } -.form-box .body > .form-group, -.form-box .footer > .form-group { - margin-top: 20px; +/* + * Component: Direct Chat + * ---------------------- + */ +.direct-chat .box-body { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + position: relative; + overflow-x: hidden; + padding: 0; +} +.direct-chat.chat-pane-open .direct-chat-contacts { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.direct-chat-messages { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); + padding: 10px; + height: 250px; + overflow: auto; } -.form-box .body > .form-group > input, -.form-box .footer > .form-group > input { - border: #fff; +.direct-chat-msg, +.direct-chat-text { + display: block; } -.form-box .body > .btn, -.form-box .footer > .btn { +.direct-chat-msg { margin-bottom: 10px; } -.form-box .footer { - -webkit-border-top-left-radius: 0; - -webkit-border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-topleft: 0; - -moz-border-radius-topright: 0; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-bottomleft: 4px; - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; +.direct-chat-msg:before, +.direct-chat-msg:after { + content: " "; + display: table; } -@media (max-width: 767px) { - .form-box { - width: 90%; - } +.direct-chat-msg:after { + clear: both; } -/* - Page: 404 and 500 error pages ------------------------------------- -*/ -.error-page { - width: 600px; - margin: 20px auto 0 auto; +.direct-chat-messages, +.direct-chat-contacts { + -webkit-transition: -webkit-transform 0.5s ease-in-out; + -moz-transition: -moz-transform 0.5s ease-in-out; + -o-transition: -o-transform 0.5s ease-in-out; + transition: transform 0.5s ease-in-out; } -@media screen and (max-width: 767px) { - .error-page { - width: 100%; - } +.direct-chat-text { + border-radius: 5px; + position: relative; + padding: 5px 10px; + background: #d2d6de; + border: 1px solid #d2d6de; + margin: 5px 0 0 50px; + color: #444444; } -.error-page > .headline { +.direct-chat-text:after, +.direct-chat-text:before { + position: absolute; + right: 100%; + top: 15px; + border: solid transparent; + border-right-color: #d2d6de; + content: ' '; + height: 0; + width: 0; + pointer-events: none; +} +.direct-chat-text:after { + border-width: 5px; + margin-top: -5px; +} +.direct-chat-text:before { + border-width: 6px; + margin-top: -6px; +} +.right .direct-chat-text { + margin-right: 50px; + margin-left: 0; +} +.right .direct-chat-text:after, +.right .direct-chat-text:before { + right: auto; + left: 100%; + border-right-color: transparent; + border-left-color: #d2d6de; +} +.direct-chat-img { + border-radius: 50%; float: left; - font-size: 100px; - font-weight: 300; + width: 40px; + height: 40px; } -@media screen and (max-width: 767px) { - .error-page > .headline { - float: none; - text-align: center; - } +.right .direct-chat-img { + float: right; } -.error-page > .error-content { - margin-left: 190px; +.direct-chat-info { display: block; + margin-bottom: 2px; + font-size: 12px; } -@media screen and (max-width: 767px) { - .error-page > .error-content { - margin-left: 0; - } +.direct-chat-name { + font-weight: 600; } -.error-page > .error-content > h3 { - font-weight: 300; - font-size: 25px; +.direct-chat-timestamp { + color: #999; } -@media screen and (max-width: 767px) { - .error-page > .error-content > h3 { - text-align: center; - } +.direct-chat-contacts-open .direct-chat-contacts { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + -o-transform: translate(0, 0); + transform: translate(0, 0); +} +.direct-chat-contacts { + -webkit-transform: translate(101%, 0); + -ms-transform: translate(101%, 0); + -o-transform: translate(101%, 0); + transform: translate(101%, 0); + position: absolute; + top: 0; + bottom: 0; + height: 250px; + width: 100%; + background: #222d32; + color: #fff; + overflow: auto; } -.error-page:before, -.error-page:after { - display: table; +.contacts-list > li { + border-bottom: 1px solid rgba(0, 0, 0, 0.2); + padding: 10px; + margin: 0; +} +.contacts-list > li:before, +.contacts-list > li:after { content: " "; + display: table; } -.error-page:after { +.contacts-list > li:after { clear: both; } -/* - Page: Invoice -*/ -.invoice { - position: relative; - width: 90%; - margin: 10px auto; - background: #fff; - border: 1px solid #f4f4f4; +.contacts-list > li:last-of-type { + border-bottom: none; } -.invoice-title { - margin-top: 0; +.contacts-list-img { + border-radius: 50%; + width: 40px; + float: left; } -/* Enhancement for printing */ -@media print { - .invoice { - width: 100%; - border: 0; - margin: 0; - padding: 0; - } - .invoice-col { - float: left; - width: 33.3333333%; - } - .table-responsive { - overflow: auto; - } - .table-responsive > .table tr th, - .table-responsive > .table tr td { - white-space: normal!important; - } +.contacts-list-info { + margin-left: 45px; + color: #fff; } -/* - Skins - ----- -*/ -/* - Skin Blue - --------- -*/ -/* skin-blue navbar */ -.skin-blue .navbar { - background-color: #3c8dbc; +.contacts-list-name, +.contacts-list-status { + display: block; } -.skin-blue .navbar .nav a { - color: rgba(255, 255, 255, 0.8); +.contacts-list-name { + font-weight: 600; } -.skin-blue .navbar .nav > li > a:hover, -.skin-blue .navbar .nav > li > a:active, -.skin-blue .navbar .nav > li > a:focus, -.skin-blue .navbar .nav .open > a, -.skin-blue .navbar .nav .open > a:hover, -.skin-blue .navbar .nav .open > a:focus { - background: rgba(0, 0, 0, 0.1); - color: #f6f6f6; +.contacts-list-status { + font-size: 12px; } -.skin-blue .navbar .navbar-right > .nav { - margin-right: 10px; +.contacts-list-date { + color: #aaa; + font-weight: normal; } -.skin-blue .navbar .sidebar-toggle .icon-bar { - background: rgba(255, 255, 255, 0.8); +.contacts-list-msg { + color: #999; } -.skin-blue .navbar .sidebar-toggle:hover .icon-bar { - background: #f6f6f6 !important; +.direct-chat-danger .right > .direct-chat-text { + background: #dd4b39; + border-color: #dd4b39; + color: #ffffff; } -/* skin-blue logo */ -.skin-blue .logo { - background-color: #367fa9; - color: #f9f9f9; +.direct-chat-danger .right > .direct-chat-text:after, +.direct-chat-danger .right > .direct-chat-text:before { + border-left-color: #dd4b39; } -.skin-blue .logo > a { - color: #f9f9f9; +.direct-chat-primary .right > .direct-chat-text { + background: #3c8dbc; + border-color: #3c8dbc; + color: #ffffff; } -.skin-blue .logo:hover { - background: #357ca5; +.direct-chat-primary .right > .direct-chat-text:after, +.direct-chat-primary .right > .direct-chat-text:before { + border-left-color: #3c8dbc; } -/* skin-blue content header */ -.skin-blue .right-side > .content-header { - background: #fbfbfb; - box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); +.direct-chat-warning .right > .direct-chat-text { + background: #f39c12; + border-color: #f39c12; + color: #ffffff; } -/* Skin-blue user panel */ -.skin-blue .user-panel > .image > img { - border: 1px solid #dfdfdf; +.direct-chat-warning .right > .direct-chat-text:after, +.direct-chat-warning .right > .direct-chat-text:before { + border-left-color: #f39c12; } -.skin-blue .user-panel > .info, -.skin-blue .user-panel > .info > a { - color: #555555; +.direct-chat-info .right > .direct-chat-text { + background: #00c0ef; + border-color: #00c0ef; + color: #ffffff; } -/* skin-blue sidebar */ -.skin-blue .sidebar { - border-bottom: 1px solid #fff; +.direct-chat-info .right > .direct-chat-text:after, +.direct-chat-info .right > .direct-chat-text:before { + border-left-color: #00c0ef; } -.skin-blue .sidebar > .sidebar-menu > li { - border-top: 1px solid #fff; - border-bottom: 1px solid #dbdbdb; +.direct-chat-success .right > .direct-chat-text { + background: #00a65a; + border-color: #00a65a; + color: #ffffff; } -.skin-blue .sidebar > .sidebar-menu > li:first-of-type { - border-top: 1px solid #dbdbdb; +.direct-chat-success .right > .direct-chat-text:after, +.direct-chat-success .right > .direct-chat-text:before { + border-left-color: #00a65a; } -.skin-blue .sidebar > .sidebar-menu > li:first-of-type > a { - border-top: 1px solid #fff; +/* + * Component: Users List + * --------------------- + */ +.users-list > li { + width: 25%; + float: left; + padding: 10px; + text-align: center; } -.skin-blue .sidebar > .sidebar-menu > li > a { - margin-right: 1px; +.users-list > li img { + border-radius: 50%; + max-width: 100%; + height: auto; } -.skin-blue .sidebar > .sidebar-menu > li > a:hover, -.skin-blue .sidebar > .sidebar-menu > li.active > a { - color: #222; - background: #f9f9f9; +.users-list > li > a:hover, +.users-list > li > a:hover .users-list-name { + color: #999; } -.skin-blue .sidebar > .sidebar-menu > li > .treeview-menu { - margin: 0 1px; - background: #f9f9f9; +.users-list-name, +.users-list-date { + display: block; } -.skin-blue .left-side { - background: #f4f4f4; - -webkit-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.1); - box-shadow: inset -3px 0px 8px -4px rgba(0, 0, 0, 0.07); +.users-list-name { + font-weight: 600; + color: #444; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } -.skin-blue .sidebar a { - color: #555555; +.users-list-date { + color: #999; + font-size: 12px; } -.skin-blue .sidebar a:hover { - text-decoration: none; +/* + * Component: Carousel + * ------------------- + */ +.carousel-control.left, +.carousel-control.right { + background-image: none; } -.skin-blue .treeview-menu > li > a { - color: #777; +.carousel-control > .fa { + font-size: 40px; + position: absolute; + top: 50%; + z-index: 5; + display: inline-block; + margin-top: -20px; } -.skin-blue .treeview-menu > li.active > a, -.skin-blue .treeview-menu > li > a:hover { - color: #111; +/* + * Component: modal + * ---------------- + */ +.modal { + background: rgba(0, 0, 0, 0.3); } -.skin-blue .sidebar-form { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - border: 1px solid #dbdbdb; - margin: 10px 10px; +.modal-content { + border-radius: 0; + -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125); + box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125); + border: 0; } -.skin-blue .sidebar-form input[type="text"], -.skin-blue .sidebar-form .btn { - box-shadow: none; - background-color: #fafafa; - border: 1px solid #fafafa; - height: 35px; +@media (min-width: 768px) { + .modal-content { + -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125); + box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125); + } } -.skin-blue .sidebar-form input[type="text"] { - color: #666; - -webkit-border-top-left-radius: 2px !important; - -webkit-border-top-right-radius: 0 !important; - -webkit-border-bottom-right-radius: 0 !important; - -webkit-border-bottom-left-radius: 2px !important; - -moz-border-radius-topleft: 2px !important; - -moz-border-radius-topright: 0 !important; - -moz-border-radius-bottomright: 0 !important; - -moz-border-radius-bottomleft: 2px !important; - border-top-left-radius: 2px !important; - border-top-right-radius: 0 !important; - border-bottom-right-radius: 0 !important; - border-bottom-left-radius: 2px !important; -} -.skin-blue .sidebar-form input[type="text"]:focus, -.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { - background-color: #fff; - color: #666; +.modal-header { + border-bottom-color: #f4f4f4; } -.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { - border-left-color: #fff; +.modal-footer { + border-top-color: #f4f4f4; } -.skin-blue .sidebar-form .btn { - color: #999; - -webkit-border-top-left-radius: 0 !important; - -webkit-border-top-right-radius: 2px !important; - -webkit-border-bottom-right-radius: 2px !important; - -webkit-border-bottom-left-radius: 0 !important; - -moz-border-radius-topleft: 0 !important; - -moz-border-radius-topright: 2px !important; - -moz-border-radius-bottomright: 2px !important; - -moz-border-radius-bottomleft: 0 !important; - border-top-left-radius: 0 !important; - border-top-right-radius: 2px !important; - border-bottom-right-radius: 2px !important; - border-bottom-left-radius: 0 !important; +.modal-primary .modal-header, +.modal-primary .modal-footer { + border-color: #307095; } -/* - Skin Black - -------- -*/ -/* skin-black navbar */ -.skin-black .navbar { - background-color: #ffffff; - border-bottom: 1px solid #eee; +.modal-warning .modal-header, +.modal-warning .modal-footer { + border-color: #c87f0a; } -.skin-black .navbar .nav a { - color: #333333; +.modal-info .modal-header, +.modal-info .modal-footer { + border-color: #0097bc; } -.skin-black .navbar .nav > li > a:hover, -.skin-black .navbar .nav > li > a:active, -.skin-black .navbar .nav > li > a:focus, -.skin-black .navbar .nav .open > a, -.skin-black .navbar .nav .open > a:hover, -.skin-black .navbar .nav .open > a:focus { - background: #ffffff; - color: #999999; +.modal-success .modal-header, +.modal-success .modal-footer { + border-color: #00733e; } -.skin-black .navbar .navbar-right > .nav { - margin-right: 10px; +.modal-danger .modal-header, +.modal-danger .modal-footer { + border-color: #c23321; } -.skin-black .navbar .sidebar-toggle .icon-bar { - background: #333333; +/* + * Page: Mailbox + * ------------- + */ +.mailbox-messages > .table { + margin: 0; } -.skin-black .navbar .sidebar-toggle:hover .icon-bar { - background: #999999 !important; +.mailbox-controls { + padding: 5px; } -/* skin-black logo */ -.skin-black .logo { - background-color: #333333; - color: #f9f9f9; +.mailbox-controls.with-border { + border-bottom: 1px solid #f4f4f4; } -.skin-black .logo > a { - color: #f9f9f9; +.mailbox-read-info { + border-bottom: 1px solid #f4f4f4; + padding: 10px; } -.skin-black .logo:hover { - background: #303030; +.mailbox-read-info h3 { + font-size: 20px; + margin: 0; } -/* skin-black content header */ -.skin-black .right-side > .content-header { - background: transparent; - box-shadow: none; +.mailbox-read-info h5 { + margin: 0; + padding: 5px 0 0 0; } -/* Skin-red user panel */ -.skin-black .user-panel > .image > img { - border: 1px solid #444; +.mailbox-read-time { + color: #999; + font-size: 13px; } -.skin-black .user-panel > .info, -.skin-black .user-panel > .info > a { - color: #eee; +.mailbox-read-message { + padding: 10px; } -/* skin-black sidebar */ -.skin-black .sidebar { - border-bottom: 1px solid #333; +.mailbox-attachments li { + float: left; + width: 200px; + border: 1px solid #eee; + margin-bottom: 10px; + margin-right: 10px; } -.skin-black .sidebar > .sidebar-menu > li { - border-top: 1px solid #333; - border-bottom: 0px solid #444; +.mailbox-attachment-name { + font-weight: bold; + color: #666; } -.skin-black .sidebar > .sidebar-menu > li:first-of-type { - border-top: 1px solid #444; +.mailbox-attachment-icon, +.mailbox-attachment-info, +.mailbox-attachment-size { + display: block; } -.skin-black .sidebar > .sidebar-menu > li:first-of-type > a { - border-top: 0px solid #333; +.mailbox-attachment-info { + padding: 10px; + background: #f4f4f4; } -.skin-black .sidebar > .sidebar-menu > li > a { - margin-right: 1px; +.mailbox-attachment-size { + color: #999; + font-size: 12px; } -.skin-black .sidebar > .sidebar-menu > li > a:hover, -.skin-black .sidebar > .sidebar-menu > li.active > a { - color: #f6f6f6; - background: #444; +.mailbox-attachment-icon { + text-align: center; + font-size: 65px; + color: #666; + padding: 20px 10px; } -.skin-black .sidebar > .sidebar-menu > li > .treeview-menu { - margin: 0 1px; - background: #444; +.mailbox-attachment-icon.has-img { + padding: 0; } -.skin-black .left-side { - background: #333; +.mailbox-attachment-icon.has-img > img { + max-width: 100%; + height: auto; } -.skin-black .sidebar a { - color: #eee; +/* + * Page: Lock Screen + * ----------------- + */ +/* ADD THIS CLASS TO THE TAG */ +.lockscreen { + background: #d2d6de; } -.skin-black .sidebar a:hover { - text-decoration: none; +.lockscreen-logo { + font-size: 35px; + text-align: center; + margin-bottom: 25px; + font-weight: 300; } -.skin-black .treeview-menu > li > a { - color: #ccc; +.lockscreen-logo a { + color: #444; } -.skin-black .treeview-menu > li.active > a, -.skin-black .treeview-menu > li > a:hover { - color: #fff; +.lockscreen-wrapper { + max-width: 400px; + margin: 0 auto; + margin-top: 10%; } -.skin-black .sidebar-form { - -webkit-border-radius: 2px; - -moz-border-radius: 2px; - border-radius: 2px; - border: 0px solid #555; - margin: 10px 10px; +/* User name [optional] */ +.lockscreen .lockscreen-name { + text-align: center; + font-weight: 600; } -.skin-black .sidebar-form input[type="text"], -.skin-black .sidebar-form .btn { - box-shadow: none; - background-color: rgba(255, 255, 255, 0.1); - border: 0 solid rgba(255, 255, 255, 0.1); - height: 35px; - outline: none; +/* Will contain the image and the sign in form */ +.lockscreen-item { + border-radius: 4px; + padding: 0; + background: #fff; + position: relative; + margin: 10px auto 30px auto; + width: 290px; } -.skin-black .sidebar-form input[type="text"] { - color: #666; - -webkit-border-top-left-radius: 2px !important; - -webkit-border-top-right-radius: 0 !important; - -webkit-border-bottom-right-radius: 0 !important; - -webkit-border-bottom-left-radius: 2px !important; - -moz-border-radius-topleft: 2px !important; - -moz-border-radius-topright: 0 !important; - -moz-border-radius-bottomright: 0 !important; - -moz-border-radius-bottomleft: 2px !important; - border-top-left-radius: 2px !important; - border-top-right-radius: 0 !important; - border-bottom-right-radius: 0 !important; - border-bottom-left-radius: 2px !important; -} -.skin-black .sidebar-form input[type="text"]:focus, -.skin-black .sidebar-form input[type="text"]:focus + .input-group-btn .btn { - background-color: #444; +/* User image */ +.lockscreen-image { + border-radius: 50%; + position: absolute; + left: -10px; + top: -25px; + background: #fff; + padding: 5px; + z-index: 10; +} +.lockscreen-image > img { + border-radius: 50%; + width: 70px; + height: 70px; +} +/* Contains the password input and the login button */ +.lockscreen-credentials { + margin-left: 70px; +} +.lockscreen-credentials .form-control { border: 0; } -.skin-black .sidebar-form input[type="text"]:focus + .input-group-btn .btn { - border-left: 0; +.lockscreen-credentials .btn { + background-color: #fff; + border: 0; + padding: 0 10px; } -.skin-black .sidebar-form .btn { - color: #999; - -webkit-border-top-left-radius: 0 !important; - -webkit-border-top-right-radius: 2px !important; - -webkit-border-bottom-right-radius: 2px !important; - -webkit-border-bottom-left-radius: 0 !important; - -moz-border-radius-topleft: 0 !important; - -moz-border-radius-topright: 2px !important; - -moz-border-radius-bottomright: 2px !important; - -moz-border-radius-bottomleft: 0 !important; - border-top-left-radius: 0 !important; - border-top-right-radius: 2px !important; - border-bottom-right-radius: 2px !important; - border-bottom-left-radius: 0 !important; - border-left: 0; +.lockscreen-footer { + margin-top: 10px; } -/*! - * iCheck v1.0.1, http://git.io/arlzeA - * ================================= - * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization - * - * (c) 2013 Damir Sultanov, http://fronteed.com - * MIT Licensed +/* + * Page: Login & Register + * ---------------------- */ -/* iCheck plugin Minimal skin, black ------------------------------------ */ -.icheckbox_minimal, -.iradio_minimal { - display: inline-block; - *display: inline; - vertical-align: middle; - margin: 0; - padding: 0; - width: 18px; - height: 18px; - background: rgba(255, 255, 255, 0.7) url(iCheck/minimal/minimal.png) no-repeat; - border: none; - cursor: pointer; +.login-logo, +.register-logo { + font-size: 35px; + text-align: center; + margin-bottom: 25px; + font-weight: 300; +} +.login-logo a, +.register-logo a { + color: #444; } -.icheckbox_minimal { - background-position: 0 0; +.login-page, +.register-page { + background: #d2d6de; } -.icheckbox_minimal.hover { - background-position: -20px 0; +.login-box, +.register-box { + width: 360px; + margin: 7% auto; } -.icheckbox_minimal.checked { - background-position: -40px 0; +@media (max-width: 768px) { + .login-box, + .register-box { + width: 90%; + margin-top: 20px; + } } -.icheckbox_minimal.disabled { - background-position: -60px 0; - cursor: default; +.login-box-body, +.register-box-body { + background: #fff; + padding: 20px; + border-top: 0; + color: #666; } -.icheckbox_minimal.checked.disabled { - background-position: -80px 0; +.login-box-body .form-control-feedback, +.register-box-body .form-control-feedback { + color: #777; } -.iradio_minimal { - background-position: -100px 0; +.login-box-msg, +.register-box-msg { + margin: 0; + text-align: center; + padding: 0 20px 20px 20px; } -.iradio_minimal.hover { - background-position: -120px 0; +.social-auth-links { + margin: 10px 0; } -.iradio_minimal.checked { - background-position: -140px 0; +/* + * Page: 400 and 500 error pages + * ------------------------------ + */ +.error-page { + width: 600px; + margin: 20px auto 0 auto; } -.iradio_minimal.disabled { - background-position: -160px 0; - cursor: default; +@media (max-width: 991px) { + .error-page { + width: 100%; + } } -.iradio_minimal.checked.disabled { - background-position: -180px 0; +.error-page > .headline { + float: left; + font-size: 100px; + font-weight: 300; } -/* Retina support */ -@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min-device-pixel-ratio: 1.5) { - .icheckbox_minimal, - .iradio_minimal { - background-image: url('iCheck/minimal/minimal@2x.png'); - -webkit-background-size: 200px 20px; - background-size: 200px 20px; +@media (max-width: 991px) { + .error-page > .headline { + float: none; + text-align: center; } } -.pace .pace-progress { - background: #00c0ef; - position: fixed; - z-index: 2000; - top: 0; - left: 0; - height: 2px; - -webkit-transition: width 1s; - -moz-transition: width 1s; - -o-transition: width 1s; - transition: width 1s; +.error-page > .error-content { + margin-left: 190px; + display: block; } -.pace-inactive { - display: none; +@media (max-width: 991px) { + .error-page > .error-content { + margin-left: 0; + } +} +.error-page > .error-content > h3 { + font-weight: 300; + font-size: 25px; +} +@media (max-width: 991px) { + .error-page > .error-content > h3 { + text-align: center; + } +} +/* + * Page: Invoice + * ------------- + */ +.invoice { + position: relative; + background: #fff; + border: 1px solid #f4f4f4; + padding: 20px; + margin: 10px 25px; +} +.invoice-title { + margin-top: 0; } /* * Social Buttons for Bootstrap * - * Copyright 2013-2014 Panayiotis Lipiridis + * Copyright 2013-2015 Panayiotis Lipiridis * Licensed under the MIT License * * https://github.com/lipis/bootstrap-social - * - * Note: this file has been altered to work correctly with AdminLTE */ .btn-social { position: relative; - padding-left: 44px !important; + padding-left: 44px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } -.btn-social :first-child { +.btn-social > :first-child { position: absolute; left: 0; top: 0; bottom: 0; - width: 32px !important; - line-height: 34px !important; - font-size: 1.6em!important; + width: 32px; + line-height: 34px; + font-size: 1.6em; text-align: center; border-right: 1px solid rgba(0, 0, 0, 0.2); } .btn-social.btn-lg { - padding-left: 60px !important; + padding-left: 61px; } -.btn-social.btn-lg :first-child { +.btn-social.btn-lg > :first-child { line-height: 45px; width: 45px; font-size: 1.8em; } .btn-social.btn-sm { - padding-left: 38px !important; + padding-left: 38px; } -.btn-social.btn-sm :first-child { +.btn-social.btn-sm > :first-child { line-height: 28px; width: 28px; font-size: 1.4em; } .btn-social.btn-xs { - padding-left: 30px !important; + padding-left: 30px; } -.btn-social.btn-xs :first-child { +.btn-social.btn-xs > :first-child { line-height: 20px; width: 20px; font-size: 1.2em; } .btn-social-icon { position: relative; - padding-left: 44px !important; + padding-left: 44px; text-align: left; white-space: nowrap; overflow: hidden; @@ -2985,45 +3213,45 @@ Component: timeline width: 34px; padding: 0; } -.btn-social-icon :first-child { +.btn-social-icon > :first-child { position: absolute; left: 0; top: 0; bottom: 0; - width: 32px !important; - line-height: 34px !important; - font-size: 1.6em!important; + width: 32px; + line-height: 34px; + font-size: 1.6em; text-align: center; border-right: 1px solid rgba(0, 0, 0, 0.2); } .btn-social-icon.btn-lg { - padding-left: 60px !important; + padding-left: 61px; } -.btn-social-icon.btn-lg :first-child { +.btn-social-icon.btn-lg > :first-child { line-height: 45px; width: 45px; font-size: 1.8em; } .btn-social-icon.btn-sm { - padding-left: 38px !important; + padding-left: 38px; } -.btn-social-icon.btn-sm :first-child { +.btn-social-icon.btn-sm > :first-child { line-height: 28px; width: 28px; font-size: 1.4em; } .btn-social-icon.btn-xs { - padding-left: 30px !important; + padding-left: 30px; } -.btn-social-icon.btn-xs :first-child { +.btn-social-icon.btn-xs > :first-child { line-height: 20px; width: 20px; font-size: 1.2em; } -.btn-social-icon :first-child { +.btn-social-icon > :first-child { border: none; text-align: center; - width: 100%!important; + width: 100%; } .btn-social-icon.btn-lg { height: 45px; @@ -3043,6 +3271,30 @@ Component: timeline padding-left: 0; padding-right: 0; } +.btn-adn { + color: #ffffff; + background-color: #d87a68; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-adn:hover, +.btn-adn:focus, +.btn-adn.focus, +.btn-adn:active, +.btn-adn.active, +.open > .dropdown-toggle.btn-adn { + color: #ffffff; + background-color: #ce563f; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-adn:active, +.btn-adn.active, +.open > .dropdown-toggle.btn-adn { + background-image: none; +} +.btn-adn .badge { + color: #d87a68; + background-color: #ffffff; +} .btn-bitbucket { color: #ffffff; background-color: #205081; @@ -3050,36 +3302,19 @@ Component: timeline } .btn-bitbucket:hover, .btn-bitbucket:focus, +.btn-bitbucket.focus, .btn-bitbucket:active, .btn-bitbucket.active, -.open .dropdown-toggle.btn-bitbucket { +.open > .dropdown-toggle.btn-bitbucket { color: #ffffff; - background-color: #183c60; + background-color: #163758; border-color: rgba(0, 0, 0, 0.2); } .btn-bitbucket:active, .btn-bitbucket.active, -.open .dropdown-toggle.btn-bitbucket { +.open > .dropdown-toggle.btn-bitbucket { background-image: none; } -.btn-bitbucket.disabled, -.btn-bitbucket[disabled], -fieldset[disabled] .btn-bitbucket, -.btn-bitbucket.disabled:hover, -.btn-bitbucket[disabled]:hover, -fieldset[disabled] .btn-bitbucket:hover, -.btn-bitbucket.disabled:focus, -.btn-bitbucket[disabled]:focus, -fieldset[disabled] .btn-bitbucket:focus, -.btn-bitbucket.disabled:active, -.btn-bitbucket[disabled]:active, -fieldset[disabled] .btn-bitbucket:active, -.btn-bitbucket.disabled.active, -.btn-bitbucket[disabled].active, -fieldset[disabled] .btn-bitbucket.active { - background-color: #205081; - border-color: rgba(0, 0, 0, 0.2); -} .btn-bitbucket .badge { color: #205081; background-color: #ffffff; @@ -3091,36 +3326,19 @@ fieldset[disabled] .btn-bitbucket.active { } .btn-dropbox:hover, .btn-dropbox:focus, +.btn-dropbox.focus, .btn-dropbox:active, .btn-dropbox.active, -.open .dropdown-toggle.btn-dropbox { +.open > .dropdown-toggle.btn-dropbox { color: #ffffff; - background-color: #0d70b7; + background-color: #0d6aad; border-color: rgba(0, 0, 0, 0.2); } .btn-dropbox:active, .btn-dropbox.active, -.open .dropdown-toggle.btn-dropbox { +.open > .dropdown-toggle.btn-dropbox { background-image: none; } -.btn-dropbox.disabled, -.btn-dropbox[disabled], -fieldset[disabled] .btn-dropbox, -.btn-dropbox.disabled:hover, -.btn-dropbox[disabled]:hover, -fieldset[disabled] .btn-dropbox:hover, -.btn-dropbox.disabled:focus, -.btn-dropbox[disabled]:focus, -fieldset[disabled] .btn-dropbox:focus, -.btn-dropbox.disabled:active, -.btn-dropbox[disabled]:active, -fieldset[disabled] .btn-dropbox:active, -.btn-dropbox.disabled.active, -.btn-dropbox[disabled].active, -fieldset[disabled] .btn-dropbox.active { - background-color: #1087dd; - border-color: rgba(0, 0, 0, 0.2); -} .btn-dropbox .badge { color: #1087dd; background-color: #ffffff; @@ -3132,36 +3350,19 @@ fieldset[disabled] .btn-dropbox.active { } .btn-facebook:hover, .btn-facebook:focus, +.btn-facebook.focus, .btn-facebook:active, .btn-facebook.active, -.open .dropdown-toggle.btn-facebook { +.open > .dropdown-toggle.btn-facebook { color: #ffffff; - background-color: #30487b; + background-color: #2d4373; border-color: rgba(0, 0, 0, 0.2); } .btn-facebook:active, .btn-facebook.active, -.open .dropdown-toggle.btn-facebook { +.open > .dropdown-toggle.btn-facebook { background-image: none; } -.btn-facebook.disabled, -.btn-facebook[disabled], -fieldset[disabled] .btn-facebook, -.btn-facebook.disabled:hover, -.btn-facebook[disabled]:hover, -fieldset[disabled] .btn-facebook:hover, -.btn-facebook.disabled:focus, -.btn-facebook[disabled]:focus, -fieldset[disabled] .btn-facebook:focus, -.btn-facebook.disabled:active, -.btn-facebook[disabled]:active, -fieldset[disabled] .btn-facebook:active, -.btn-facebook.disabled.active, -.btn-facebook[disabled].active, -fieldset[disabled] .btn-facebook.active { - background-color: #3b5998; - border-color: rgba(0, 0, 0, 0.2); -} .btn-facebook .badge { color: #3b5998; background-color: #ffffff; @@ -3173,79 +3374,45 @@ fieldset[disabled] .btn-facebook.active { } .btn-flickr:hover, .btn-flickr:focus, +.btn-flickr.focus, .btn-flickr:active, .btn-flickr.active, -.open .dropdown-toggle.btn-flickr { +.open > .dropdown-toggle.btn-flickr { color: #ffffff; - background-color: #d6006f; + background-color: #cc006a; border-color: rgba(0, 0, 0, 0.2); } .btn-flickr:active, .btn-flickr.active, -.open .dropdown-toggle.btn-flickr { +.open > .dropdown-toggle.btn-flickr { background-image: none; } -.btn-flickr.disabled, -.btn-flickr[disabled], -fieldset[disabled] .btn-flickr, -.btn-flickr.disabled:hover, -.btn-flickr[disabled]:hover, -fieldset[disabled] .btn-flickr:hover, -.btn-flickr.disabled:focus, -.btn-flickr[disabled]:focus, -fieldset[disabled] .btn-flickr:focus, -.btn-flickr.disabled:active, -.btn-flickr[disabled]:active, -fieldset[disabled] .btn-flickr:active, -.btn-flickr.disabled.active, -.btn-flickr[disabled].active, -fieldset[disabled] .btn-flickr.active { - background-color: #ff0084; - border-color: rgba(0, 0, 0, 0.2); -} .btn-flickr .badge { color: #ff0084; background-color: #ffffff; } .btn-foursquare { color: #ffffff; - background-color: #0072b1; + background-color: #f94877; border-color: rgba(0, 0, 0, 0.2); } .btn-foursquare:hover, .btn-foursquare:focus, +.btn-foursquare.focus, .btn-foursquare:active, .btn-foursquare.active, -.open .dropdown-toggle.btn-foursquare { +.open > .dropdown-toggle.btn-foursquare { color: #ffffff; - background-color: #005888; + background-color: #f71752; border-color: rgba(0, 0, 0, 0.2); } .btn-foursquare:active, .btn-foursquare.active, -.open .dropdown-toggle.btn-foursquare { +.open > .dropdown-toggle.btn-foursquare { background-image: none; } -.btn-foursquare.disabled, -.btn-foursquare[disabled], -fieldset[disabled] .btn-foursquare, -.btn-foursquare.disabled:hover, -.btn-foursquare[disabled]:hover, -fieldset[disabled] .btn-foursquare:hover, -.btn-foursquare.disabled:focus, -.btn-foursquare[disabled]:focus, -fieldset[disabled] .btn-foursquare:focus, -.btn-foursquare.disabled:active, -.btn-foursquare[disabled]:active, -fieldset[disabled] .btn-foursquare:active, -.btn-foursquare.disabled.active, -.btn-foursquare[disabled].active, -fieldset[disabled] .btn-foursquare.active { - background-color: #0072b1; - border-color: rgba(0, 0, 0, 0.2); -} .btn-foursquare .badge { - color: #0072b1; + color: #f94877; background-color: #ffffff; } .btn-github { @@ -3255,78 +3422,44 @@ fieldset[disabled] .btn-foursquare.active { } .btn-github:hover, .btn-github:focus, +.btn-github.focus, .btn-github:active, .btn-github.active, -.open .dropdown-toggle.btn-github { +.open > .dropdown-toggle.btn-github { color: #ffffff; - background-color: #303030; + background-color: #2b2b2b; border-color: rgba(0, 0, 0, 0.2); } .btn-github:active, .btn-github.active, -.open .dropdown-toggle.btn-github { +.open > .dropdown-toggle.btn-github { background-image: none; } -.btn-github.disabled, -.btn-github[disabled], -fieldset[disabled] .btn-github, -.btn-github.disabled:hover, -.btn-github[disabled]:hover, -fieldset[disabled] .btn-github:hover, -.btn-github.disabled:focus, -.btn-github[disabled]:focus, -fieldset[disabled] .btn-github:focus, -.btn-github.disabled:active, -.btn-github[disabled]:active, -fieldset[disabled] .btn-github:active, -.btn-github.disabled.active, -.btn-github[disabled].active, -fieldset[disabled] .btn-github.active { - background-color: #444444; - border-color: rgba(0, 0, 0, 0.2); -} .btn-github .badge { color: #444444; background-color: #ffffff; } -.btn-google-plus { +.btn-google { color: #ffffff; background-color: #dd4b39; border-color: rgba(0, 0, 0, 0.2); } -.btn-google-plus:hover, -.btn-google-plus:focus, -.btn-google-plus:active, -.btn-google-plus.active, -.open .dropdown-toggle.btn-google-plus { +.btn-google:hover, +.btn-google:focus, +.btn-google.focus, +.btn-google:active, +.btn-google.active, +.open > .dropdown-toggle.btn-google { color: #ffffff; - background-color: #ca3523; + background-color: #c23321; border-color: rgba(0, 0, 0, 0.2); } -.btn-google-plus:active, -.btn-google-plus.active, -.open .dropdown-toggle.btn-google-plus { +.btn-google:active, +.btn-google.active, +.open > .dropdown-toggle.btn-google { background-image: none; } -.btn-google-plus.disabled, -.btn-google-plus[disabled], -fieldset[disabled] .btn-google-plus, -.btn-google-plus.disabled:hover, -.btn-google-plus[disabled]:hover, -fieldset[disabled] .btn-google-plus:hover, -.btn-google-plus.disabled:focus, -.btn-google-plus[disabled]:focus, -fieldset[disabled] .btn-google-plus:focus, -.btn-google-plus.disabled:active, -.btn-google-plus[disabled]:active, -fieldset[disabled] .btn-google-plus:active, -.btn-google-plus.disabled.active, -.btn-google-plus[disabled].active, -fieldset[disabled] .btn-google-plus.active { - background-color: #dd4b39; - border-color: rgba(0, 0, 0, 0.2); -} -.btn-google-plus .badge { +.btn-google .badge { color: #dd4b39; background-color: #ffffff; } @@ -3337,36 +3470,19 @@ fieldset[disabled] .btn-google-plus.active { } .btn-instagram:hover, .btn-instagram:focus, +.btn-instagram.focus, .btn-instagram:active, .btn-instagram.active, -.open .dropdown-toggle.btn-instagram { +.open > .dropdown-toggle.btn-instagram { color: #ffffff; - background-color: #335d7e; + background-color: #305777; border-color: rgba(0, 0, 0, 0.2); } .btn-instagram:active, .btn-instagram.active, -.open .dropdown-toggle.btn-instagram { +.open > .dropdown-toggle.btn-instagram { background-image: none; } -.btn-instagram.disabled, -.btn-instagram[disabled], -fieldset[disabled] .btn-instagram, -.btn-instagram.disabled:hover, -.btn-instagram[disabled]:hover, -fieldset[disabled] .btn-instagram:hover, -.btn-instagram.disabled:focus, -.btn-instagram[disabled]:focus, -fieldset[disabled] .btn-instagram:focus, -.btn-instagram.disabled:active, -.btn-instagram[disabled]:active, -fieldset[disabled] .btn-instagram:active, -.btn-instagram.disabled.active, -.btn-instagram[disabled].active, -fieldset[disabled] .btn-instagram.active { - background-color: #3f729b; - border-color: rgba(0, 0, 0, 0.2); -} .btn-instagram .badge { color: #3f729b; background-color: #ffffff; @@ -3378,40 +3494,143 @@ fieldset[disabled] .btn-instagram.active { } .btn-linkedin:hover, .btn-linkedin:focus, +.btn-linkedin.focus, .btn-linkedin:active, .btn-linkedin.active, -.open .dropdown-toggle.btn-linkedin { +.open > .dropdown-toggle.btn-linkedin { color: #ffffff; - background-color: #005f8d; + background-color: #005983; border-color: rgba(0, 0, 0, 0.2); } .btn-linkedin:active, .btn-linkedin.active, -.open .dropdown-toggle.btn-linkedin { +.open > .dropdown-toggle.btn-linkedin { background-image: none; } -.btn-linkedin.disabled, -.btn-linkedin[disabled], -fieldset[disabled] .btn-linkedin, -.btn-linkedin.disabled:hover, -.btn-linkedin[disabled]:hover, -fieldset[disabled] .btn-linkedin:hover, -.btn-linkedin.disabled:focus, -.btn-linkedin[disabled]:focus, -fieldset[disabled] .btn-linkedin:focus, -.btn-linkedin.disabled:active, -.btn-linkedin[disabled]:active, -fieldset[disabled] .btn-linkedin:active, -.btn-linkedin.disabled.active, -.btn-linkedin[disabled].active, -fieldset[disabled] .btn-linkedin.active { - background-color: #007bb6; - border-color: rgba(0, 0, 0, 0.2); -} .btn-linkedin .badge { color: #007bb6; background-color: #ffffff; } +.btn-microsoft { + color: #ffffff; + background-color: #2672ec; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-microsoft:hover, +.btn-microsoft:focus, +.btn-microsoft.focus, +.btn-microsoft:active, +.btn-microsoft.active, +.open > .dropdown-toggle.btn-microsoft { + color: #ffffff; + background-color: #125acd; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-microsoft:active, +.btn-microsoft.active, +.open > .dropdown-toggle.btn-microsoft { + background-image: none; +} +.btn-microsoft .badge { + color: #2672ec; + background-color: #ffffff; +} +.btn-openid { + color: #ffffff; + background-color: #f7931e; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-openid:hover, +.btn-openid:focus, +.btn-openid.focus, +.btn-openid:active, +.btn-openid.active, +.open > .dropdown-toggle.btn-openid { + color: #ffffff; + background-color: #da7908; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-openid:active, +.btn-openid.active, +.open > .dropdown-toggle.btn-openid { + background-image: none; +} +.btn-openid .badge { + color: #f7931e; + background-color: #ffffff; +} +.btn-pinterest { + color: #ffffff; + background-color: #cb2027; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-pinterest:hover, +.btn-pinterest:focus, +.btn-pinterest.focus, +.btn-pinterest:active, +.btn-pinterest.active, +.open > .dropdown-toggle.btn-pinterest { + color: #ffffff; + background-color: #9f191f; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-pinterest:active, +.btn-pinterest.active, +.open > .dropdown-toggle.btn-pinterest { + background-image: none; +} +.btn-pinterest .badge { + color: #cb2027; + background-color: #ffffff; +} +.btn-reddit { + color: #000000; + background-color: #eff7ff; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-reddit:hover, +.btn-reddit:focus, +.btn-reddit.focus, +.btn-reddit:active, +.btn-reddit.active, +.open > .dropdown-toggle.btn-reddit { + color: #000000; + background-color: #bcddff; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-reddit:active, +.btn-reddit.active, +.open > .dropdown-toggle.btn-reddit { + background-image: none; +} +.btn-reddit .badge { + color: #eff7ff; + background-color: #000000; +} +.btn-soundcloud { + color: #ffffff; + background-color: #ff5500; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-soundcloud:hover, +.btn-soundcloud:focus, +.btn-soundcloud.focus, +.btn-soundcloud:active, +.btn-soundcloud.active, +.open > .dropdown-toggle.btn-soundcloud { + color: #ffffff; + background-color: #cc4400; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-soundcloud:active, +.btn-soundcloud.active, +.open > .dropdown-toggle.btn-soundcloud { + background-image: none; +} +.btn-soundcloud .badge { + color: #ff5500; + background-color: #ffffff; +} .btn-tumblr { color: #ffffff; background-color: #2c4762; @@ -3419,36 +3638,19 @@ fieldset[disabled] .btn-linkedin.active { } .btn-tumblr:hover, .btn-tumblr:focus, +.btn-tumblr.focus, .btn-tumblr:active, .btn-tumblr.active, -.open .dropdown-toggle.btn-tumblr { +.open > .dropdown-toggle.btn-tumblr { color: #ffffff; - background-color: #1f3346; + background-color: #1c2d3f; border-color: rgba(0, 0, 0, 0.2); } .btn-tumblr:active, .btn-tumblr.active, -.open .dropdown-toggle.btn-tumblr { +.open > .dropdown-toggle.btn-tumblr { background-image: none; } -.btn-tumblr.disabled, -.btn-tumblr[disabled], -fieldset[disabled] .btn-tumblr, -.btn-tumblr.disabled:hover, -.btn-tumblr[disabled]:hover, -fieldset[disabled] .btn-tumblr:hover, -.btn-tumblr.disabled:focus, -.btn-tumblr[disabled]:focus, -fieldset[disabled] .btn-tumblr:focus, -.btn-tumblr.disabled:active, -.btn-tumblr[disabled]:active, -fieldset[disabled] .btn-tumblr:active, -.btn-tumblr.disabled.active, -.btn-tumblr[disabled].active, -fieldset[disabled] .btn-tumblr.active { - background-color: #2c4762; - border-color: rgba(0, 0, 0, 0.2); -} .btn-tumblr .badge { color: #2c4762; background-color: #ffffff; @@ -3460,40 +3662,47 @@ fieldset[disabled] .btn-tumblr.active { } .btn-twitter:hover, .btn-twitter:focus, +.btn-twitter.focus, .btn-twitter:active, .btn-twitter.active, -.open .dropdown-toggle.btn-twitter { +.open > .dropdown-toggle.btn-twitter { color: #ffffff; - background-color: #309aea; + background-color: #2795e9; border-color: rgba(0, 0, 0, 0.2); } .btn-twitter:active, .btn-twitter.active, -.open .dropdown-toggle.btn-twitter { +.open > .dropdown-toggle.btn-twitter { background-image: none; } -.btn-twitter.disabled, -.btn-twitter[disabled], -fieldset[disabled] .btn-twitter, -.btn-twitter.disabled:hover, -.btn-twitter[disabled]:hover, -fieldset[disabled] .btn-twitter:hover, -.btn-twitter.disabled:focus, -.btn-twitter[disabled]:focus, -fieldset[disabled] .btn-twitter:focus, -.btn-twitter.disabled:active, -.btn-twitter[disabled]:active, -fieldset[disabled] .btn-twitter:active, -.btn-twitter.disabled.active, -.btn-twitter[disabled].active, -fieldset[disabled] .btn-twitter.active { - background-color: #55acee; - border-color: rgba(0, 0, 0, 0.2); -} .btn-twitter .badge { color: #55acee; background-color: #ffffff; } +.btn-vimeo { + color: #ffffff; + background-color: #1ab7ea; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-vimeo:hover, +.btn-vimeo:focus, +.btn-vimeo.focus, +.btn-vimeo:active, +.btn-vimeo.active, +.open > .dropdown-toggle.btn-vimeo { + color: #ffffff; + background-color: #1295bf; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-vimeo:active, +.btn-vimeo.active, +.open > .dropdown-toggle.btn-vimeo { + background-image: none; +} +.btn-vimeo .badge { + color: #1ab7ea; + background-color: #ffffff; +} .btn-vk { color: #ffffff; background-color: #587ea3; @@ -3501,37 +3710,714 @@ fieldset[disabled] .btn-twitter.active { } .btn-vk:hover, .btn-vk:focus, +.btn-vk.focus, .btn-vk:active, .btn-vk.active, -.open .dropdown-toggle.btn-vk { +.open > .dropdown-toggle.btn-vk { color: #ffffff; - background-color: #4a6a89; + background-color: #466482; border-color: rgba(0, 0, 0, 0.2); } .btn-vk:active, .btn-vk.active, -.open .dropdown-toggle.btn-vk { +.open > .dropdown-toggle.btn-vk { background-image: none; } -.btn-vk.disabled, -.btn-vk[disabled], -fieldset[disabled] .btn-vk, -.btn-vk.disabled:hover, -.btn-vk[disabled]:hover, -fieldset[disabled] .btn-vk:hover, -.btn-vk.disabled:focus, -.btn-vk[disabled]:focus, -fieldset[disabled] .btn-vk:focus, -.btn-vk.disabled:active, -.btn-vk[disabled]:active, -fieldset[disabled] .btn-vk:active, -.btn-vk.disabled.active, -.btn-vk[disabled].active, -fieldset[disabled] .btn-vk.active { - background-color: #587ea3; - border-color: rgba(0, 0, 0, 0.2); -} .btn-vk .badge { color: #587ea3; background-color: #ffffff; } +.btn-yahoo { + color: #ffffff; + background-color: #720e9e; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-yahoo:hover, +.btn-yahoo:focus, +.btn-yahoo.focus, +.btn-yahoo:active, +.btn-yahoo.active, +.open > .dropdown-toggle.btn-yahoo { + color: #ffffff; + background-color: #500a6f; + border-color: rgba(0, 0, 0, 0.2); +} +.btn-yahoo:active, +.btn-yahoo.active, +.open > .dropdown-toggle.btn-yahoo { + background-image: none; +} +.btn-yahoo .badge { + color: #720e9e; + background-color: #ffffff; +} +/* + * Plugin: Full Calendar + * --------------------- + */ +.fc-button { + background: #f4f4f4; + background-image: none; + color: #444; + border-color: #ddd; + border-bottom-color: #ddd; +} +.fc-button:hover, +.fc-button:active, +.fc-button.hover { + background-color: #e9e9e9; +} +.fc-header-title h2 { + font-size: 15px; + line-height: 1.6em; + color: #666; + margin-left: 10px; +} +.fc-header-right { + padding-right: 10px; +} +.fc-header-left { + padding-left: 10px; +} +.fc-widget-header { + background: #fafafa; +} +.fc-grid { + width: 100%; + border: 0; +} +.fc-widget-header:first-of-type, +.fc-widget-content:first-of-type { + border-left: 0; + border-right: 0; +} +.fc-widget-header:last-of-type, +.fc-widget-content:last-of-type { + border-right: 0; +} +.fc-toolbar { + padding: 10px; + margin: 0; +} +.fc-day-number { + font-size: 20px; + font-weight: 300; + padding-right: 10px; +} +.fc-color-picker { + list-style: none; + margin: 0; + padding: 0; +} +.fc-color-picker > li { + float: left; + font-size: 30px; + margin-right: 5px; + line-height: 30px; +} +.fc-color-picker > li .fa { + -webkit-transition: -webkit-transform linear 0.3s; + -moz-transition: -moz-transform linear 0.3s; + -o-transition: -o-transform linear 0.3s; + transition: transform linear 0.3s; +} +.fc-color-picker > li .fa:hover { + -webkit-transform: rotate(30deg); + -ms-transform: rotate(30deg); + -o-transform: rotate(30deg); + transform: rotate(30deg); +} +#add-new-event { + -webkit-transition: all linear 0.3s; + -o-transition: all linear 0.3s; + transition: all linear 0.3s; +} +.external-event { + padding: 5px 10px; + font-weight: bold; + margin-bottom: 4px; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); + border-radius: 3px; + cursor: move; +} +.external-event:hover { + box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.2); +} +/* + * Plugin: Select2 + * --------------- + */ +.select2-container--default.select2-container--focus, +.select2-selection.select2-container--focus, +.select2-container--default:focus, +.select2-selection:focus, +.select2-container--default:active, +.select2-selection:active { + outline: none; +} +.select2-container--default .select2-selection--single, +.select2-selection .select2-selection--single { + border: 1px solid #d2d6de; + border-radius: 0; + padding: 6px 12px; + height: 34px; +} +.select2-container--default.select2-container--open { + border-color: #3c8dbc; +} +.select2-dropdown { + border: 1px solid #d2d6de; + border-radius: 0; +} +.select2-container--default .select2-results__option--highlighted[aria-selected] { + background-color: #3c8dbc; + color: white; +} +.select2-results__option { + padding: 6px 12px; + user-select: none; + -webkit-user-select: none; +} +.select2-container .select2-selection--single .select2-selection__rendered { + padding-left: 0; + padding-right: 0; + height: auto; + margin-top: -4px; +} +.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { + padding-right: 6px; + padding-left: 20px; +} +.select2-container--default .select2-selection--single .select2-selection__arrow { + height: 28px; + right: 3px; +} +.select2-container--default .select2-selection--single .select2-selection__arrow b { + margin-top: 0; +} +.select2-dropdown .select2-search__field, +.select2-search--inline .select2-search__field { + border: 1px solid #d2d6de; +} +.select2-dropdown .select2-search__field:focus, +.select2-search--inline .select2-search__field:focus { + outline: none; + border: 1px solid #3c8dbc; +} +.select2-container--default .select2-results__option[aria-disabled=true] { + color: #999; +} +.select2-container--default .select2-results__option[aria-selected=true] { + background-color: #ddd; +} +.select2-container--default .select2-results__option[aria-selected=true], +.select2-container--default .select2-results__option[aria-selected=true]:hover { + color: #444; +} +.select2-container--default .select2-selection--multiple { + border: 1px solid #d2d6de; + border-radius: 0; + height: 34px; +} +.select2-container--default .select2-selection--multiple:focus { + border-color: #3c8dbc; +} +.select2-container--default.select2-container--focus .select2-selection--multiple { + border-color: #d2d6de; +} +.select2-container--default .select2-selection--multiple .select2-selection__choice { + background-color: #3c8dbc; + border-color: #367fa9; + padding: 1px 10px; + color: #fff; +} +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { + margin-right: 5px; + color: rgba(255, 255, 255, 0.7); +} +.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { + color: #fff; +} +.select2-container .select2-selection--single .select2-selection__rendered { + padding-right: 10px; +} +/* + * General: Miscellaneous + * ---------------------- + */ +.pad { + padding: 10px; +} +.margin { + margin: 10px; +} +.margin-bottom { + margin-bottom: 20px; +} +.inline { + display: inline; +} +.description-block { + display: block; + margin: 10px 0; + text-align: center; +} +.description-block.margin-bottom { + margin-bottom: 25px; +} +.description-block > .description-header { + margin: 0; + padding: 0; + font-weight: 600; + font-size: 16px; +} +.description-block > .description-text { + text-transform: uppercase; +} +.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, +.callout.callout-danger, +.callout.callout-warning, +.callout.callout-info, +.callout.callout-success, +.alert-success, +.alert-danger, +.alert-error, +.alert-warning, +.alert-info, +.label-danger, +.label-info, +.label-warning, +.label-primary, +.label-success, +.modal-primary .modal-body, +.modal-primary .modal-header, +.modal-primary .modal-footer, +.modal-warning .modal-body, +.modal-warning .modal-header, +.modal-warning .modal-footer, +.modal-info .modal-body, +.modal-info .modal-header, +.modal-info .modal-footer, +.modal-success .modal-body, +.modal-success .modal-header, +.modal-success .modal-footer, +.modal-danger .modal-body, +.modal-danger .modal-header, +.modal-danger .modal-footer { + color: #fff !important; +} +.bg-gray { + color: #000; + background-color: #d2d6de !important; +} +.bg-black { + background-color: #111111 !important; +} +.bg-red, +.callout.callout-danger, +.alert-danger, +.alert-error, +.label-danger, +.modal-danger .modal-body { + background-color: #dd4b39 !important; +} +.bg-yellow, +.callout.callout-warning, +.alert-warning, +.label-warning, +.modal-warning .modal-body { + background-color: #f39c12 !important; +} +.bg-aqua, +.callout.callout-info, +.alert-info, +.label-info, +.modal-info .modal-body { + background-color: #00c0ef !important; +} +.bg-blue { + background-color: #0073b7 !important; +} +.bg-light-blue, +.label-primary, +.modal-primary .modal-body { + background-color: #3c8dbc !important; +} +.bg-green, +.callout.callout-success, +.alert-success, +.label-success, +.modal-success .modal-body { + background-color: #00a65a !important; +} +.bg-navy { + background-color: #001f3f !important; +} +.bg-teal { + background-color: #39cccc !important; +} +.bg-olive { + background-color: #3d9970 !important; +} +.bg-lime { + background-color: #01ff70 !important; +} +.bg-orange { + background-color: #ff851b !important; +} +.bg-fuchsia { + background-color: #f012be !important; +} +.bg-purple { + background-color: #605ca8 !important; +} +.bg-maroon { + background-color: #d81b60 !important; +} +.bg-gray-active { + color: #000; + background-color: #b5bbc8 !important; +} +.bg-black-active { + background-color: #000000 !important; +} +.bg-red-active, +.modal-danger .modal-header, +.modal-danger .modal-footer { + background-color: #d33724 !important; +} +.bg-yellow-active, +.modal-warning .modal-header, +.modal-warning .modal-footer { + background-color: #db8b0b !important; +} +.bg-aqua-active, +.modal-info .modal-header, +.modal-info .modal-footer { + background-color: #00a7d0 !important; +} +.bg-blue-active { + background-color: #005384 !important; +} +.bg-light-blue-active, +.modal-primary .modal-header, +.modal-primary .modal-footer { + background-color: #357ca5 !important; +} +.bg-green-active, +.modal-success .modal-header, +.modal-success .modal-footer { + background-color: #008d4c !important; +} +.bg-navy-active { + background-color: #001a35 !important; +} +.bg-teal-active { + background-color: #30bbbb !important; +} +.bg-olive-active { + background-color: #368763 !important; +} +.bg-lime-active { + background-color: #00e765 !important; +} +.bg-orange-active { + background-color: #ff7701 !important; +} +.bg-fuchsia-active { + background-color: #db0ead !important; +} +.bg-purple-active { + background-color: #555299 !important; +} +.bg-maroon-active { + background-color: #ca195a !important; +} +[class^="bg-"].disabled { + opacity: 0.65; + filter: alpha(opacity=65); +} +.text-red { + color: #dd4b39 !important; +} +.text-yellow { + color: #f39c12 !important; +} +.text-aqua { + color: #00c0ef !important; +} +.text-blue { + color: #0073b7 !important; +} +.text-black { + color: #111111 !important; +} +.text-light-blue { + color: #3c8dbc !important; +} +.text-green { + color: #00a65a !important; +} +.text-gray { + color: #d2d6de !important; +} +.text-navy { + color: #001f3f !important; +} +.text-teal { + color: #39cccc !important; +} +.text-olive { + color: #3d9970 !important; +} +.text-lime { + color: #01ff70 !important; +} +.text-orange { + color: #ff851b !important; +} +.text-fuchsia { + color: #f012be !important; +} +.text-purple { + color: #605ca8 !important; +} +.text-maroon { + color: #d81b60 !important; +} +.hide { + display: none !important; +} +.no-border { + border: 0 !important; +} +.no-padding { + padding: 0 !important; +} +.no-margin { + margin: 0 !important; +} +.no-shadow { + box-shadow: none!important; +} +.list-unstyled, +.chart-legend, +.contacts-list, +.users-list, +.mailbox-attachments { + list-style: none; + margin: 0; + padding: 0; +} +.flat { + border-radius: 0 !important; +} +.text-bold, +.text-bold.table td, +.text-bold.table th { + font-weight: 700; +} +.jqstooltip { + padding: 5px!important; + width: auto!important; + height: auto!important; +} +.bg-teal-gradient { + background: #39cccc !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #39cccc), color-stop(1, #7adddd)) !important; + background: -ms-linear-gradient(bottom, #39cccc, #7adddd) !important; + background: -moz-linear-gradient(center bottom, #39cccc 0%, #7adddd 100%) !important; + background: -o-linear-gradient(#7adddd, #39cccc) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7adddd', endColorstr='#39cccc', GradientType=0) !important; + color: #fff; +} +.bg-light-blue-gradient { + background: #3c8dbc !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3c8dbc), color-stop(1, #67a8ce)) !important; + background: -ms-linear-gradient(bottom, #3c8dbc, #67a8ce) !important; + background: -moz-linear-gradient(center bottom, #3c8dbc 0%, #67a8ce 100%) !important; + background: -o-linear-gradient(#67a8ce, #3c8dbc) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#67a8ce', endColorstr='#3c8dbc', GradientType=0) !important; + color: #fff; +} +.bg-blue-gradient { + background: #0073b7 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important; + background: -ms-linear-gradient(bottom, #0073b7, #0089db) !important; + background: -moz-linear-gradient(center bottom, #0073b7 0%, #0089db 100%) !important; + background: -o-linear-gradient(#0089db, #0073b7) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important; + color: #fff; +} +.bg-aqua-gradient { + background: #00c0ef !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #00c0ef), color-stop(1, #14d1ff)) !important; + background: -ms-linear-gradient(bottom, #00c0ef, #14d1ff) !important; + background: -moz-linear-gradient(center bottom, #00c0ef 0%, #14d1ff 100%) !important; + background: -o-linear-gradient(#14d1ff, #00c0ef) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#14d1ff', endColorstr='#00c0ef', GradientType=0) !important; + color: #fff; +} +.bg-yellow-gradient { + background: #f39c12 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #f39c12), color-stop(1, #f7bc60)) !important; + background: -ms-linear-gradient(bottom, #f39c12, #f7bc60) !important; + background: -moz-linear-gradient(center bottom, #f39c12 0%, #f7bc60 100%) !important; + background: -o-linear-gradient(#f7bc60, #f39c12) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7bc60', endColorstr='#f39c12', GradientType=0) !important; + color: #fff; +} +.bg-purple-gradient { + background: #605ca8 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #605ca8), color-stop(1, #9491c4)) !important; + background: -ms-linear-gradient(bottom, #605ca8, #9491c4) !important; + background: -moz-linear-gradient(center bottom, #605ca8 0%, #9491c4 100%) !important; + background: -o-linear-gradient(#9491c4, #605ca8) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9491c4', endColorstr='#605ca8', GradientType=0) !important; + color: #fff; +} +.bg-green-gradient { + background: #00a65a !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #00a65a), color-stop(1, #00ca6d)) !important; + background: -ms-linear-gradient(bottom, #00a65a, #00ca6d) !important; + background: -moz-linear-gradient(center bottom, #00a65a 0%, #00ca6d 100%) !important; + background: -o-linear-gradient(#00ca6d, #00a65a) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ca6d', endColorstr='#00a65a', GradientType=0) !important; + color: #fff; +} +.bg-red-gradient { + background: #dd4b39 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #dd4b39), color-stop(1, #e47365)) !important; + background: -ms-linear-gradient(bottom, #dd4b39, #e47365) !important; + background: -moz-linear-gradient(center bottom, #dd4b39 0%, #e47365 100%) !important; + background: -o-linear-gradient(#e47365, #dd4b39) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e47365', endColorstr='#dd4b39', GradientType=0) !important; + color: #fff; +} +.bg-black-gradient { + background: #111111 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #111111), color-stop(1, #2b2b2b)) !important; + background: -ms-linear-gradient(bottom, #111111, #2b2b2b) !important; + background: -moz-linear-gradient(center bottom, #111111 0%, #2b2b2b 100%) !important; + background: -o-linear-gradient(#2b2b2b, #111111) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b2b2b', endColorstr='#111111', GradientType=0) !important; + color: #fff; +} +.bg-maroon-gradient { + background: #d81b60 !important; + background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #d81b60), color-stop(1, #e73f7c)) !important; + background: -ms-linear-gradient(bottom, #d81b60, #e73f7c) !important; + background: -moz-linear-gradient(center bottom, #d81b60 0%, #e73f7c 100%) !important; + background: -o-linear-gradient(#e73f7c, #d81b60) !important; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e73f7c', endColorstr='#d81b60', GradientType=0) !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: 0.65; + filter: alpha(opacity=65); +} +.full-opacity-hover:hover { + opacity: 1; + filter: alpha(opacity=100); +} +.chart { + position: relative; + overflow: hidden; + width: 100%; +} +.chart svg, +.chart canvas { + width: 100%!important; +} +/* + * Misc: print + * ----------- + */ +@media print { + .no-print, + .main-sidebar, + .left-side, + .main-header, + .content-header { + display: none!important; + } + .content-wrapper, + .right-side, + .main-footer { + margin-left: 0!important; + min-height: 0!important; + -webkit-transform: translate(0, 0) !important; + -ms-transform: translate(0, 0) !important; + -o-transform: translate(0, 0) !important; + transform: translate(0, 0) !important; + } + .fixed .content-wrapper, + .fixed .right-side { + padding-top: 0!important; + } + .invoice { + width: 100%; + border: 0; + margin: 0; + padding: 0; + } + .invoice-col { + float: left; + width: 33.3333333%; + } + .table-responsive { + overflow: auto; + } + .table-responsive > .table tr th, + .table-responsive > .table tr td { + white-space: normal!important; + } +} diff --git a/client/app/css/skins/skin-black.css b/client/app/css/skins/skin-black.css new file mode 100644 index 00000000..5d2d1c7f --- /dev/null +++ b/client/app/css/skins/skin-black.css @@ -0,0 +1,153 @@ +/* + * Skin: Black + * ----------- + */ +/* skin-black navbar */ +.skin-black .main-header { + -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05); +} +.skin-black .main-header .navbar-toggle { + color: #333; +} +.skin-black .main-header .navbar-brand { + color: #333; + border-right: 1px solid #eee; +} +.skin-black .main-header > .navbar { + background-color: #ffffff; +} +.skin-black .main-header > .navbar .nav > li > a { + color: #333333; +} +.skin-black .main-header > .navbar .nav > li > a:hover, +.skin-black .main-header > .navbar .nav > li > a:active, +.skin-black .main-header > .navbar .nav > li > a:focus, +.skin-black .main-header > .navbar .nav .open > a, +.skin-black .main-header > .navbar .nav .open > a:hover, +.skin-black .main-header > .navbar .nav .open > a:focus { + background: #ffffff; + color: #999999; +} +.skin-black .main-header > .navbar .sidebar-toggle { + color: #333333; +} +.skin-black .main-header > .navbar .sidebar-toggle:hover { + color: #999999; + background: #ffffff; +} +.skin-black .main-header > .navbar > .sidebar-toggle { + color: #333; + border-right: 1px solid #eee; +} +.skin-black .main-header > .navbar .navbar-nav > li > a { + border-right: 1px solid #eee; +} +.skin-black .main-header > .navbar .navbar-custom-menu .navbar-nav > li > a, +.skin-black .main-header > .navbar .navbar-right > li > a { + border-left: 1px solid #eee; + border-right-width: 0; +} +.skin-black .main-header > .logo { + background-color: #ffffff; + color: #333333; + border-bottom: 0 solid transparent; + border-right: 1px solid #eee; +} +.skin-black .main-header > .logo:hover { + background-color: #fcfcfc; +} +@media (max-width: 767px) { + .skin-black .main-header > .logo { + background-color: #222222; + color: #ffffff; + border-bottom: 0 solid transparent; + border-right: none; + } + .skin-black .main-header > .logo:hover { + background-color: #1f1f1f; + } +} +.skin-black .main-header li.user-header { + background-color: #222; +} +.skin-black .content-header { + background: transparent; + box-shadow: none; +} +.skin-black .wrapper, +.skin-black .main-sidebar, +.skin-black .left-side { + background-color: #222d32; +} +.skin-black .user-panel > .info, +.skin-black .user-panel > .info > a { + color: #fff; +} +.skin-black .sidebar-menu > li.header { + color: #4b646f; + background: #1a2226; +} +.skin-black .sidebar-menu > li > a { + border-left: 3px solid transparent; +} +.skin-black .sidebar-menu > li:hover > a, +.skin-black .sidebar-menu > li.active > a { + color: #ffffff; + background: #1e282c; + border-left-color: #ffffff; +} +.skin-black .sidebar-menu > li > .treeview-menu { + margin: 0 1px; + background: #2c3b41; +} +.skin-black .sidebar a { + color: #b8c7ce; +} +.skin-black .sidebar a:hover { + text-decoration: none; +} +.skin-black .treeview-menu > li > a { + color: #8aa4af; +} +.skin-black .treeview-menu > li.active > a, +.skin-black .treeview-menu > li > a:hover { + color: #ffffff; +} +.skin-black .sidebar-form { + border-radius: 3px; + border: 1px solid #374850; + margin: 10px 10px; +} +.skin-black .sidebar-form input[type="text"], +.skin-black .sidebar-form .btn { + box-shadow: none; + background-color: #374850; + border: 1px solid transparent; + height: 35px; + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; +} +.skin-black .sidebar-form input[type="text"] { + color: #666; + border-top-left-radius: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 2px; +} +.skin-black .sidebar-form input[type="text"]:focus, +.skin-black .sidebar-form input[type="text"]:focus + .input-group-btn .btn { + background-color: #fff; + color: #666; +} +.skin-black .sidebar-form input[type="text"]:focus + .input-group-btn .btn { + border-left-color: #fff; +} +.skin-black .sidebar-form .btn { + color: #999; + border-top-left-radius: 0; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; + border-bottom-left-radius: 0; +} diff --git a/client/app/css/skins/skin-blue.css b/client/app/css/skins/skin-blue.css new file mode 100644 index 00000000..67e05566 --- /dev/null +++ b/client/app/css/skins/skin-blue.css @@ -0,0 +1,141 @@ +/* + * Skin: Blue + * ---------- + */ +.skin-blue .main-header .navbar { + background-color: #3c8dbc; +} +.skin-blue .main-header .navbar .nav > li > a { + color: #ffffff; +} +.skin-blue .main-header .navbar .nav > li > a:hover, +.skin-blue .main-header .navbar .nav > li > a:active, +.skin-blue .main-header .navbar .nav > li > a:focus, +.skin-blue .main-header .navbar .nav .open > a, +.skin-blue .main-header .navbar .nav .open > a:hover, +.skin-blue .main-header .navbar .nav .open > a:focus { + background: rgba(0, 0, 0, 0.1); + color: #f6f6f6; +} +.skin-blue .main-header .navbar .sidebar-toggle { + color: #ffffff; +} +.skin-blue .main-header .navbar .sidebar-toggle:hover { + color: #f6f6f6; + background: rgba(0, 0, 0, 0.1); +} +.skin-blue .main-header .navbar .sidebar-toggle { + color: #fff; +} +.skin-blue .main-header .navbar .sidebar-toggle:hover { + background-color: #367fa9; +} +@media (max-width: 767px) { + .skin-blue .main-header .navbar .dropdown-menu li.divider { + background-color: rgba(255, 255, 255, 0.1); + } + .skin-blue .main-header .navbar .dropdown-menu li a { + color: #fff; + } + .skin-blue .main-header .navbar .dropdown-menu li a:hover { + background: #367fa9; + } +} +.skin-blue .main-header .logo { + background-color: #367fa9; + color: #ffffff; + border-bottom: 0 solid transparent; +} +.skin-blue .main-header .logo:hover { + background-color: #357ca5; +} +.skin-blue .main-header li.user-header { + background-color: #3c8dbc; +} +.skin-blue .content-header { + background: transparent; +} +.skin-blue .wrapper, +.skin-blue .main-sidebar, +.skin-blue .left-side { + background-color: #222d32; +} +.skin-blue .user-panel > .info, +.skin-blue .user-panel > .info > a { + color: #fff; +} +.skin-blue .sidebar-menu > li.header { + color: #4b646f; + background: #1a2226; +} +.skin-blue .sidebar-menu > li > a { + border-left: 3px solid transparent; +} +.skin-blue .sidebar-menu > li:hover > a, +.skin-blue .sidebar-menu > li.active > a { + color: #ffffff; + background: #1e282c; + border-left-color: #3c8dbc; +} +.skin-blue .sidebar-menu > li > .treeview-menu { + margin: 0 1px; + background: #2c3b41; +} +.skin-blue .sidebar a { + color: #b8c7ce; +} +.skin-blue .sidebar a:hover { + text-decoration: none; +} +.skin-blue .treeview-menu > li > a { + color: #8aa4af; +} +.skin-blue .treeview-menu > li.active > a, +.skin-blue .treeview-menu > li > a:hover { + color: #ffffff; +} +.skin-blue .sidebar-form { + border-radius: 3px; + border: 1px solid #374850; + margin: 10px 10px; +} +.skin-blue .sidebar-form input[type="text"], +.skin-blue .sidebar-form .btn { + box-shadow: none; + background-color: #374850; + border: 1px solid transparent; + height: 35px; + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; +} +.skin-blue .sidebar-form input[type="text"] { + color: #666; + border-top-left-radius: 2px; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 2px; +} +.skin-blue .sidebar-form input[type="text"]:focus, +.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { + background-color: #fff; + color: #666; +} +.skin-blue .sidebar-form input[type="text"]:focus + .input-group-btn .btn { + border-left-color: #fff; +} +.skin-blue .sidebar-form .btn { + color: #999; + border-top-left-radius: 0; + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; + border-bottom-left-radius: 0; +} +.skin-blue.layout-top-nav .main-header > .logo { + background-color: #3c8dbc; + color: #ffffff; + border-bottom: 0 solid transparent; +} +.skin-blue.layout-top-nav .main-header > .logo:hover { + background-color: #3b8ab8; +} diff --git a/client/app/index.tpl.html b/client/app/index.tpl.html index dfddce04..c2cd92ca 100644 --- a/client/app/index.tpl.html +++ b/client/app/index.tpl.html @@ -12,11 +12,11 @@ - + - + diff --git a/client/app/modules/core/config/core.config.js b/client/app/modules/core/config/core.config.js old mode 100644 new mode 100755 index d085c8b9..9e894731 --- a/client/app/modules/core/config/core.config.js +++ b/client/app/modules/core/config/core.config.js @@ -86,11 +86,13 @@ app.config(function(formlyConfigProvider) { ]; angular.forEach(fields, function(val) { - formlyConfigProvider.setTemplateUrl(val, formly + val + '.html'); + formlyConfigProvider.setType({ + 'name' : val, + 'templateUrl' : (formly + val + '.html') + }); }); - - formlyConfigProvider.setTemplateUrl('date', templates + 'date.html'); - formlyConfigProvider.setTemplateUrl('time', templates + 'time.html'); + formlyConfigProvider.setType({'name' : 'date', 'templateUrl' : templates + 'date.html'}); + formlyConfigProvider.setType({'name' : 'time', 'templateUrl' : templates + 'time.html'}); }); diff --git a/client/app/modules/core/controllers/layout.ctrl.js b/client/app/modules/core/controllers/layout.ctrl.js index 59c49075..9743e237 100644 --- a/client/app/modules/core/controllers/layout.ctrl.js +++ b/client/app/modules/core/controllers/layout.ctrl.js @@ -55,14 +55,17 @@ angular.module('com.module.core') $scope.toggleSidebar = function() { var $ = angular.element; if ($(window).width() <= 992) { - $('.row-offcanvas').toggleClass('active'); - $('.left-side').removeClass('collapse-left'); - $('.right-side').removeClass('strech'); - $('.row-offcanvas').toggleClass('relative'); + if ($("body").hasClass('sidebar-open')) { + $("body").removeClass('sidebar-open').removeClass('sidebar-collapse').trigger('collapsed.pushMenu'); + } else { + $("body").addClass('sidebar-open').trigger('expanded.pushMenu'); + } } else { - // Else, enable content streching - $('.left-side').toggleClass('collapse-left'); - $('.right-side').toggleClass('strech'); + if ($("body").hasClass('sidebar-collapse')) { + $("body").removeClass('sidebar-collapse').trigger('expanded.pushMenu'); + } else { + $("body").addClass('sidebar-collapse').trigger('collapsed.pushMenu'); + } } }; diff --git a/client/app/modules/core/directives/navbar.js b/client/app/modules/core/directives/navbar.js index c5e4f16e..32240077 100644 --- a/client/app/modules/core/directives/navbar.js +++ b/client/app/modules/core/directives/navbar.js @@ -10,6 +10,6 @@ angular.module('com.module.core') .directive('navbar', function() { return { templateUrl: 'modules/core/views/elements/navbar.html', - restrict: 'E' + restrict: 'A' }; }); diff --git a/client/app/modules/core/services/core.service.js b/client/app/modules/core/services/core.service.js index f299b984..aafd9cec 100644 --- a/client/app/modules/core/services/core.service.js +++ b/client/app/modules/core/services/core.service.js @@ -1,9 +1,42 @@ 'use strict'; -var app = angular.module('com.module.core'); +angular.module('com.module.core') +.service('CoreService', ['ENV', 'SweetAlert', 'toasty','$filter', function(ENV, + SweetAlert, toasty,$filter) { -app.service('CoreService', ['ENV', 'SweetAlert', 'toasty', function(ENV, - SweetAlert, toasty) { + var adminModules = {}; + adminModules = { + schema:{ + name: 'string', + boot: function(){}, + }, + list:[], + register:function(ModuleRegisterObject){ + if (ModuleRegisterObject instanceof Object){ + var found = $filter('filter')(adminModules.list,{name:ModuleRegisterObject.name},true); + if (found.length === 0 ){ + adminModules.list.push(ModuleRegisterObject); + } + } + }, + boot:function(){ + adminModules.list = adminModules.list.sort(function (a, b) { + if (a.name > b.name) { + return 1; + } + if (a.name < b.name) { + return -1; + } + return 0; + }); + for (var i = adminModules.list.length - 1; i >= 0; i--) { + if(adminModules.list[i].boot instanceof Function){ adminModules.list[i].boot.call() } + }; + } + } + + this.adminModules = adminModules; + window.A=adminModules; this.env = ENV; this.alert = function(title, text) { diff --git a/client/app/modules/core/views/app.html b/client/app/modules/core/views/app.html index 2567e332..e75336e7 100644 --- a/client/app/modules/core/views/app.html +++ b/client/app/modules/core/views/app.html @@ -1,14 +1,14 @@ -
- - -
-
diff --git a/client/app/modules/core/views/elements/fields/date.html b/client/app/modules/core/views/elements/fields/date.html old mode 100644 new mode 100755 index 3cf5af06..5702fa93 --- a/client/app/modules/core/views/elements/fields/date.html +++ b/client/app/modules/core/views/elements/fields/date.html @@ -1,7 +1,7 @@

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + ng-model="model[options.key || index]"> {{options.label || 'Checkbox'}} - {{options.required ? '*' : ''}} + {{ ( options.templateOptions.required || options.required ) ? '*' : ''}} -

{{options.description}}

+

{{options.templateOptions.description || options.description}}

\ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-email.html b/client/app/modules/core/views/elements/fields/formly-field-email.html old mode 100644 new mode 100755 index 2c44e2fc..8b1dada6 --- a/client/app/modules/core/views/elements/fields/formly-field-email.html +++ b/client/app/modules/core/views/elements/fields/formly-field-email.html @@ -1,7 +1,7 @@
-

{{options.description}}

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + ng-model="model[options.key || index]"> +

{{options.templateOptions.description || options.description}}

\ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-hidden.html b/client/app/modules/core/views/elements/fields/formly-field-hidden.html old mode 100644 new mode 100755 index 4cc8ee0b..82227380 --- a/client/app/modules/core/views/elements/fields/formly-field-hidden.html +++ b/client/app/modules/core/views/elements/fields/formly-field-hidden.html @@ -1,2 +1,2 @@ \ No newline at end of file + ng-model="model[options.key || index]"> \ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-number.html b/client/app/modules/core/views/elements/fields/formly-field-number.html old mode 100644 new mode 100755 index a1a1af6f..027f72cb --- a/client/app/modules/core/views/elements/fields/formly-field-number.html +++ b/client/app/modules/core/views/elements/fields/formly-field-number.html @@ -1,21 +1,21 @@
-

{{options.description}}

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + min="{{options.templateOptions.min || options.min}}" + max="{{options.templateOptions.max || options.max}}" + ng-minlength="{{options.templateOptions.minlength || options.minlength}}" + ng-maxlength="{{options.templateOptions.maxlength || options.maxlength}}" + ng-model="model[options.key || index]"> +

{{options.templateOptions.description || options.description}}

\ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-password.html b/client/app/modules/core/views/elements/fields/formly-field-password.html old mode 100644 new mode 100755 index c0824627..651aaba5 --- a/client/app/modules/core/views/elements/fields/formly-field-password.html +++ b/client/app/modules/core/views/elements/fields/formly-field-password.html @@ -1,7 +1,7 @@
-

{{options.description}}

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + ng-trim="{{options.templateOptions.trimWhitespace || options.trimWhitespace || false}}" + ng-model="model[options.key || index]"> +

{{options.templateOptions.description || options.description}}

\ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-radio.html b/client/app/modules/core/views/elements/fields/formly-field-radio.html old mode 100644 new mode 100755 index 8312ee0c..e6ea062b --- a/client/app/modules/core/views/elements/fields/formly-field-radio.html +++ b/client/app/modules/core/views/elements/fields/formly-field-radio.html @@ -1,7 +1,7 @@
@@ -12,7 +12,7 @@ id="{{id + '_'+ $index}}" aria-describedby="{{id}}_description" ng-value="option.value" - ng-required="options.required" + ng-required="options.templateOptions.required || options.required" ng-model="$parent.result[$parent.options.key || $parent.index]"> {{option.name}} diff --git a/client/app/modules/core/views/elements/fields/formly-field-select.html b/client/app/modules/core/views/elements/fields/formly-field-select.html old mode 100644 new mode 100755 index 545b5649..8f4f76a3 --- a/client/app/modules/core/views/elements/fields/formly-field-select.html +++ b/client/app/modules/core/views/elements/fields/formly-field-select.html @@ -1,17 +1,17 @@
-

{{options.description}}

+

{{options.templateOptions.description || options.description}}

diff --git a/client/app/modules/core/views/elements/fields/formly-field-text.html b/client/app/modules/core/views/elements/fields/formly-field-text.html old mode 100644 new mode 100755 index 6e88e82d..27ab39ca --- a/client/app/modules/core/views/elements/fields/formly-field-text.html +++ b/client/app/modules/core/views/elements/fields/formly-field-text.html @@ -1,7 +1,7 @@
-

{{options.description}}

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + ng-model="model[options.key || index]"> +

{{options.templateOptions.description || options.description}}

\ No newline at end of file diff --git a/client/app/modules/core/views/elements/fields/formly-field-textarea.html b/client/app/modules/core/views/elements/fields/formly-field-textarea.html old mode 100644 new mode 100755 index 5be3cb8a..e595dbb4 --- a/client/app/modules/core/views/elements/fields/formly-field-textarea.html +++ b/client/app/modules/core/views/elements/fields/formly-field-textarea.html @@ -1,7 +1,7 @@
-

{{options.description}}

+

{{options.templateOptions.description || options.description}}

diff --git a/client/app/modules/core/views/elements/fields/phone-number.html b/client/app/modules/core/views/elements/fields/phone-number.html old mode 100644 new mode 100755 index 75543ce7..14cbc4ad --- a/client/app/modules/core/views/elements/fields/phone-number.html +++ b/client/app/modules/core/views/elements/fields/phone-number.html @@ -1,20 +1,20 @@

+ ng-required="options.templateOptions.required || options.required" + ng-disabled="options.templateOptions.disabled || options.disabled" + ng-model="model[options.key || index]">

{{options.description}}

diff --git a/client/app/modules/core/views/elements/navbar.html b/client/app/modules/core/views/elements/navbar.html index 925caa72..12767bb3 100644 --- a/client/app/modules/core/views/elements/navbar.html +++ b/client/app/modules/core/views/elements/navbar.html @@ -1,16 +1,16 @@ - + diff --git a/client/app/modules/events/app.events.js b/client/app/modules/events/app.events.js index 40587b71..a2924912 100644 --- a/client/app/modules/events/app.events.js +++ b/client/app/modules/events/app.events.js @@ -1,2 +1,2 @@ 'use strict'; -angular.module('com.module.events', []); +angular.module('com.module.events', ['com.module.core']); diff --git a/client/app/modules/events/config/events.config.js b/client/app/modules/events/config/events.config.js index 0fba21be..9ba39597 100644 --- a/client/app/modules/events/config/events.config.js +++ b/client/app/modules/events/config/events.config.js @@ -1,12 +1,26 @@ 'use strict'; angular.module('com.module.events') - .run(function($rootScope, Event, gettextCatalog) { - $rootScope.addMenu(gettextCatalog.getString('Events'), 'app.events.list', - 'fa-calendar-o'); + .run(function($rootScope, Event, gettextCatalog,CoreService) { + // $rootScope.addMenu(gettextCatalog.getString('Events'), 'app.events.list', + // 'fa-calendar-o'); - Event.find(function(data) { - $rootScope.addDashboardBox('Events', 'bg-purple', 'ion-calendar', - data.length, 'app.events.list'); - }); + // Event.find(function(data) { + // $rootScope.addDashboardBox('Events', 'bg-purple', 'ion-calendar', + // data.length, 'app.events.list'); + // }); + console.log(CoreService); + function EventModuleBoot(){ + $rootScope.addMenu(gettextCatalog.getString('Events'), 'app.events.list', + 'fa-calendar-o'); + Event.find(function(data) { + $rootScope.addDashboardBox('Events', 'bg-purple', 'ion-calendar', + data.length, 'app.events.list'); + }); + } + CoreService.adminModules.register({ + name:gettextCatalog.getString('Events'), + boot:EventModuleBoot + }) + CoreService.toastSuccess('Success Load EventModule','') }); diff --git a/client/app/modules/events/controllers/events.ctrl.js b/client/app/modules/events/controllers/events.ctrl.js old mode 100644 new mode 100755 index 330a61aa..95c83ba6 --- a/client/app/modules/events/controllers/events.ctrl.js +++ b/client/app/modules/events/controllers/events.ctrl.js @@ -15,15 +15,15 @@ angular.module('com.module.events') } var out = angular.copy(time); - out.setFullYear(date.getFullYear()); - out.setMonth(date.getMonth()); - out.setDate(date.getDate()); + // out.setFullYear(date.getFullYear()); + // out.setMonth(date.getMonth()); + // out.setDate(date.getDate()); return out; }; var splitDate = function() { var event = $scope.event; - event.sDate = event.sTime = event.startTime; + event.sDate = event.sTime = Date.parse(event['start_time']);//event.startTime; event.eDate = event.eTime = Date.parse(event['end_time']); // event['start_time'] = event['end_time'] = null; }; @@ -77,68 +77,72 @@ angular.module('com.module.events') $scope.formFields = [{ key: 'name', - label: gettextCatalog.getString('Name'), type: 'text', - required: true + templateOptions:{label: gettextCatalog.getString('Name'), + required: true} }, { key: 'description', type: 'text', - label: gettextCatalog.getString('Description'), - required: true + templateOptions: {label: gettextCatalog.getString('Description'), + required: true} }, { key: 'sDate', - required: true, - label: gettextCatalog.getString('Start Date'), type: 'date', - format: gettextCatalog.getString('dd/MM/yyyy'), - opened: false, - switchOpen: dateOpen + templateOptions: {required: true, + label: gettextCatalog.getString('Start Date'), + format: gettextCatalog.getString('dd/MM/yyyy'), + opened: false, + switchOpen: dateOpen} }, { key: 'sTime', - required: true, - label: gettextCatalog.getString('Start Time'), + type: 'time', - hstep: 1, - mstep: 5, - ismeridian: true + templateOptions:{required: true, + label: gettextCatalog.getString('Start Time'), + hstep: 1, + mstep: 5, + ismeridian: true} }, { key: 'eDate', - label: gettextCatalog.getString('End'), type: 'date', - format: gettextCatalog.getString('dd/MM/yyyy'), - opened: false, - switchOpen: dateOpen + templateOptions:{ + label: gettextCatalog.getString('End'), + format: gettextCatalog.getString('dd/MM/yyyy'), + opened: false, + switchOpen: dateOpen + } }, { key: 'eTime', - required: true, - label: gettextCatalog.getString('End Time'), type: 'time', - hstep: 1, - mstep: 5, - ismeridian: true + templateOptions:{ + required: true, + label: gettextCatalog.getString('End Time'), + hstep: 1, + mstep: 5, + ismeridian: true, + } } ]; $scope.formOptions = { - uniqueFormId: true, - hideSubmit: false, - submitCopy: gettextCatalog.getString('Save') + //+ uniqueFormId: true, + // hideSubmit: false, + // submitCopy: gettextCatalog.getString('Save') }; $scope.alerts = []; $scope.onSubmit = function() { - var event = $scope.event; - + var event = angular.copy($scope.event); event['start_time'] = createDate(event.sDate, event.sTime); - event.sDate = null; - event.sTime = null; + delete event.sDate; + delete event.sTime; event['end_time'] = createDate(event.eDate, event.eTime); - event.eDate = null; - event.eTime = null; + delete event.eDate; + delete event.eTime; - Event.upsert($scope.event, function() { + Event.upsert(event, function() { CoreService.toastSuccess(gettextCatalog.getString('Event saved'), gettextCatalog.getString('Your event is safe with us!')); $state.go('^.list'); diff --git a/client/app/modules/events/views/form.html b/client/app/modules/events/views/form.html old mode 100644 new mode 100755 index 0f6a69bf..9224ff1c --- a/client/app/modules/events/views/form.html +++ b/client/app/modules/events/views/form.html @@ -13,7 +13,7 @@

Could not add event!

{{alert.msg}} - +