diff --git a/.gitignore b/.gitignore index 0d9550db..bb20f469 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -/build -/node_modules -/electron_build +build/ +node_modules/ +electron_build/ .env dist/ +vendor/ diff --git a/Gulpfile.js b/Gulpfile.js index 198623f9..94f37f59 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -1,118 +1,26 @@ -require('dotenv').load() -var env = process.env - var gulp = require('gulp') var styl = require('gulp-stylus') var autoprefixer = require('gulp-autoprefixer') -var templateCache = require('gulp-angular-templatecache') -var globby = require('globby') -var template = require('gulp-template') var del = require('del') var runSequence = require('run-sequence') var plumber = require('gulp-plumber') var notify = require('gulp-notify') -var changed = require('gulp-changed') +var rename = require('gulp-rename') var livereload = require('gulp-livereload') +var inject = require('gulp-inject') // for Dist var rev = require('gulp-rev') var ngAnnotate = require('gulp-ng-annotate') +var templateCache = require('gulp-angular-templatecache') var uglify = require('gulp-uglify') var minifyCss = require('gulp-minify-css') var merge = require('merge-stream') var concat = require('gulp-concat') -var streamqueue = require('streamqueue') var minifyHtml = require('gulp-minify-html') var config = require('./build.config.js') -gulp.task('js', function () { - return streamqueue({objectMode: true}, - gulp.src('tpls/env.js') - .pipe(template({ - apiUrl: env.BUILD_API_URL - })), - gulp.src(['src/**/*.js']) - ) - .pipe(changed('build')) - .pipe(gulp.dest('build')) -}) - -gulp.task('dist', function () { - var js = streamqueue({objectMode: true}, - gulp.src(['src/**/*.js']), - gulp.src('tpls/env.js') - .pipe(template({ - apiUrl: env.DIST_API_URL - })), - gulp.src('src/**/*.tpl.html') - .pipe(templateCache()) - ) - .pipe(ngAnnotate()) - .pipe(uglify()) - .pipe(concat('app.js')) - .pipe(gulp.dest('dist')) - - var css = gulp.src('src/styles/main.styl') - .pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')})) - .pipe(styl()) - .pipe(autoprefixer()) - .pipe(minifyCss()) - .pipe(gulp.dest('dist')) - - var index = gulp.src('src/index.html') - .pipe(template({ - scripts: ['app.js'], - styles: ['main.css'], - env: 'dist' - })) - .pipe(minifyHtml()) - .pipe(gulp.dest('dist')) - - return merge(js, css, index) -}) - -gulp.task('styl', function () { - return gulp.src('src/styles/main.styl') - .pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')})) - .pipe(styl()) - .pipe(autoprefixer()) - .pipe(gulp.dest('build')) - .pipe(notify('Stylus!!')) - .pipe(livereload()) -}) - -gulp.task('tpls', function () { - return gulp.src('src/**/*.tpl.html') - .pipe(templateCache()) - .pipe(notify('Tpls Done!! :)')) - .pipe(gulp.dest('build')) -}) - -gulp.task('index', function () { - var files = globby.sync(['build/**/*', '!build/vendor/**/*']) - - var filter = function (files, ext) { - return files.filter(function (file) { - var reg = new RegExp('.+\.' + ext + '$') - return file.match(reg) - }).map(function (file) { - return file.replace('build/', '') - }) - } - var scripts = filter(files, 'js') - var styles = filter(files, 'css') - - return gulp.src('src/index.html') - .pipe(template({ - scripts: scripts, - styles: styles, - env: 'build' - })) - .pipe(gulp.dest('build')) - .pipe(livereload()) -}) - gulp.task('vendor', function () { var vendors = config.vendors @@ -125,29 +33,53 @@ gulp.task('vendor', function () { vendorFiles.push('node_modules/font-awesome/**/FontAwesome.*') return gulp.src(vendorFiles) - .pipe(gulp.dest('build/vendor')) + .pipe(gulp.dest('src/browser/vendor')) }) -gulp.task('resources', function () { - return gulp.src('resources/**/*') - .pipe(changed('build/resources')) - .pipe(gulp.dest('build/resources')) +gulp.task('styl', function () { + return gulp.src('src/**/app.styl') + .pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')})) + .pipe(styl()) + .pipe(autoprefixer()) + .pipe(gulp.dest('src')) + .pipe(notify('Stylus!!')) + .pipe(livereload()) }) -gulp.task('build', function (cb) { - runSequence(['js', 'styl', 'tpls', 'vendor', 'resources'], 'index', cb) +gulp.task('bs', function () { + return gulp.src('src/**/bootstrap.styl') + .pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')})) + .pipe(styl()) + .pipe(autoprefixer()) + .pipe(gulp.dest('src')) + .pipe(notify('Bootstrap compiled!!')) + .pipe(livereload()) }) -gulp.task('watch', function (cb) { - gulp.watch(['.env', 'tpls/env.js', 'src/**/*.js'], ['js']) +gulp.task('inject', function (cb) { + runSequence('inject-main', 'inject-popup', cb) +}) - gulp.watch('src/styles/**/*.styl', ['styl']) +gulp.task('inject-main', function () { + return gulp.src('src/browser/main/index.inject.html') + .pipe(inject(gulp.src(['src/browser/main/**/*.js', 'src/browser/main/**/*.css', 'src/browser/shared/**/*.js', 'src/browser/shared/**/*.css'], {read: false}), { + relative: true + })) + .pipe(rename(function (path) { + path.basename = 'index' + })) + .pipe(gulp.dest('src/browser/main/')) +}) - gulp.watch('src/**/*.tpl.html', ['tpls']) - - gulp.watch(['build/**/*.js', 'src/index.html'], ['index']) - - livereload.listen() +gulp.task('inject-popup', function () { + return gulp.src('src/browser/popup/index.inject.html') + .pipe(inject(gulp.src(['src/browser/popup/**/*.js', 'src/browser/popup/**/*.css', 'src/browser/shared/**/*.js', 'src/browser/shared/**/*.css'], {read: false}), { + relative: true + })) + .pipe(rename(function (path) { + path.basename = 'index' + })) + .pipe(gulp.dest('src/browser/popup/')) }) gulp.task('del', function (cb) { @@ -157,5 +89,3 @@ gulp.task('del', function (cb) { gulp.task('default', function (cb) { runSequence('del', 'build', 'watch', cb) }) - -require('./gulp-electron')(gulp) diff --git a/electron_src/styles/main.styl b/electron_src/styles/main.styl deleted file mode 100644 index bf62d376..00000000 --- a/electron_src/styles/main.styl +++ /dev/null @@ -1,13 +0,0 @@ -@import '../../src/styles/_vars' -@import '../../src/styles/mixins/*' - -@import '../../src/styles/_bootstrap' - -@import '../../src/styles/_index' -@import '../../src/styles/_shared' - -@import '../../src/styles/modals/*' -@import '../../src/styles/directives/*' -@import '../../src/styles/states/*' - -@import '_popup' diff --git a/gulp-electron.js b/gulp-electron.js deleted file mode 100644 index 4287040f..00000000 --- a/gulp-electron.js +++ /dev/null @@ -1,139 +0,0 @@ -require('dotenv').load() -var env = process.env - -var styl = require('gulp-stylus') -var autoprefixer = require('gulp-autoprefixer') -var templateCache = require('gulp-angular-templatecache') -var globby = require('globby') -var template = require('gulp-template') -var del = require('del') -var runSequence = require('run-sequence') -var plumber = require('gulp-plumber') -var notify = require('gulp-notify') -var changed = require('gulp-changed') -var livereload = require('gulp-livereload') -var merge = require('merge-stream') - -var config = require('./build.config.js') - -module.exports = function (gulp) { - - gulp.task('elec-env', function () { - return gulp.src('tpls/env.js') - .pipe(template({ - apiUrl: env.ELEC_API_URL - })) - .pipe(gulp.dest('electron_build/config')) - }) - - gulp.task('elec-js', function () { - var main = gulp.src('src/**/*.js') - .pipe(changed('electron_build')) - .pipe(gulp.dest('electron_build')) - - var electron = gulp.src('electron_src/**/*.js') - .pipe(changed('electron_build/electron')) - .pipe(gulp.dest('electron_build/electron')) - - return merge(main, electron) - }) - - gulp.task('elec-styl', function () { - return gulp.src('electron_src/styles/main.styl') - .pipe(plumber({errorHandler: notify.onError('Error: <%= error.message %>')})) - .pipe(styl()) - .pipe(autoprefixer()) - .pipe(gulp.dest('electron_build')) - .pipe(notify('Stylus!!')) - .pipe(livereload()) - }) - - gulp.task('elec-tpls', function () { - var main = gulp.src('src/**/*.tpl.html') - .pipe(templateCache()) - .pipe(gulp.dest('electron_build')) - - var electron = gulp.src('electron_src/**/*.tpl.html') - .pipe(templateCache()) - .pipe(gulp.dest('electron_build/electron')) - - return merge(main, electron) - }) - - gulp.task('elec-index', function () { - var files = globby.sync(['electron_build/**/*', '!electron_build/vendor/**/*', '!electron_build/electron/**/*']) - - var filter = function (files, ext) { - return files.filter(function (file) { - var reg = new RegExp('.+\.' + ext + '$') - return file.match(reg) - }).map(function (file) { - return file.replace('electron_build/', '') - }) - } - var scripts = filter(files, 'js') - var styles = filter(files, 'css') - - var main = gulp.src('src/index.html') - .pipe(template({ - scripts: scripts, - styles: styles, - env: 'build' - })) - .pipe(gulp.dest('electron_build')) - .pipe(livereload()) - - var electron = gulp.src('electron_src/**/index.html') - .pipe(gulp.dest('electron_build/electron')) - - return merge(main, electron) - }) - - gulp.task('elec-vendor', function () { - var vendors = config.vendors - - var vendorFiles = vendors.map(function (vendor) { - return vendor.src - }) - - vendorFiles.push('node_modules/font-awesome/**/font-awesome.css') - vendorFiles.push('node_modules/font-awesome/**/fontawesome-webfont.*') - vendorFiles.push('node_modules/font-awesome/**/FontAwesome.*') - - return gulp.src(vendorFiles) - .pipe(gulp.dest('electron_build/vendor')) - }) - - gulp.task('elec-resources', function () { - return gulp.src('resources/**/*') - .pipe(changed('electron_build/resources')) - .pipe(gulp.dest('electron_build/resources')) - }) - - gulp.task('elec-build', function (cb) { - runSequence(['elec-env', 'elec-js', 'elec-styl', 'elec-tpls', 'elec-vendor', 'elec-resources'], 'elec-index', cb) - }) - - gulp.task('elec-watch', function (cb) { - gulp.watch(['.env', 'tpls/env.js'], ['elec-env']) - - gulp.watch(['src/**/*.js', 'electron_src/**/*.js'], ['elec-js']) - - gulp.watch(['src/styles/**/*.styl', 'electron_src/styles/**/*.styl'], ['elec-styl']) - - gulp.watch('src/**/*.tpl.html', ['elec-tpls']) - - gulp.watch(['electron_build/**/*.js', 'src/index.html', 'src/index.html', 'electron_src/**/index.html'], ['elec-index']) - - livereload.listen() - }) - - gulp.task('elec-del', function (cb) { - del(['electron_build/**/*'], cb) - }) - - gulp.task('elec', function (cb) { - runSequence('elec-del', 'elec-build', 'elec-watch', cb) - }) - -} diff --git a/icon.png b/icon.png deleted file mode 100644 index c26ad86d..00000000 Binary files a/icon.png and /dev/null differ diff --git a/package.json b/package.json index 02c43e57..627b4b47 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { - "name": "codexen-app", - "version": "0.0.1", - "description": "CodeXen App", - "main": "index.js", + "name": "codexen-app-builder", + "version": "0.2.0", + "description": "CodeXen App Builder", "scripts": { "install": "gulp build", "start": "http-server build", @@ -31,6 +30,11 @@ }, "homepage": "https://github.com/Rokt33r/codexen-app#readme", "dependencies": { + "dotenv": "^1.1.0", + "robotjs": "^0.1.2", + "node-notifier": "^4.2.1" + }, + "devDependencies": { "@rokt33r/ace-builds": "^1.1.9", "@rokt33r/angular-ui-ace": "^0.2.3", "angular": "^1.3.15", @@ -39,38 +43,34 @@ "angular-md5": "^0.1.7", "angular-sanitize": "^1.3.15", "angular-ui-router": "^0.2.15", - "bootstrap-sass": "^3.3.4", "bootstrap-styl": "^4.0.4", "del": "^1.2.0", - "dotenv": "^1.1.0", - "electron-prebuilt": "^0.27.2", - "electron-rebuild": "^0.2.1", "font-awesome": "^4.3.0", "globby": "^2.0.0", "gulp": "^3.8.11", "gulp-angular-templatecache": "^1.6.0", "gulp-autoprefixer": "^2.3.0", + "gulp-cached": "^1.1.0", "gulp-changed": "^1.2.1", + "gulp-concat": "^2.5.2", + "gulp-inject": "^1.3.1", "gulp-livereload": "^3.8.0", "gulp-minify-css": "^1.1.1", + "gulp-minify-html": "^1.0.3", "gulp-ng-annotate": "^0.5.3", "gulp-notify": "^2.2.0", "gulp-plumber": "^1.0.1", + "gulp-remember": "^0.3.0", + "gulp-rename": "^1.2.2", "gulp-rev": "^4.0.0", "gulp-stylus": "^2.0.3", "gulp-template": "^3.0.0", "gulp-uglify": "^1.2.0", "merge-stream": "^0.1.7", "moment": "^2.10.3", - "node-notifier": "^4.2.1", - "robotjs": "^0.1.2", "run-sequence": "^1.1.0", "satellizer": "^0.10.1", + "streamqueue": "^1.1.0", "ui-select": "^0.11.2" - }, - "devDependencies": { - "gulp-concat": "^2.5.2", - "gulp-minify-html": "^1.0.3", - "streamqueue": "^1.1.0" } } diff --git a/app-logo.png b/src/app-logo.png similarity index 100% rename from app-logo.png rename to src/app-logo.png diff --git a/src/app.js b/src/browser/main/app.js similarity index 80% rename from src/app.js rename to src/browser/main/app.js index 9c139070..0409f18e 100644 --- a/src/app.js +++ b/src/browser/main/app.js @@ -1,5 +1,6 @@ /* global angular */ angular.module('codexen', [ + 'codexen.shared', 'ngSanitize', 'ui.select', 'ui.ace', @@ -8,4 +9,5 @@ angular.module('codexen', [ 'satellizer', 'angular-md5', 'templates']) + .constant('appName', 'main') angular.module('templates', []) diff --git a/src/config/states.js b/src/browser/main/config/states.js similarity index 100% rename from src/config/states.js rename to src/browser/main/config/states.js diff --git a/src/controllers/AppController.js b/src/browser/main/controllers/AppController.js similarity index 100% rename from src/controllers/AppController.js rename to src/browser/main/controllers/AppController.js diff --git a/src/controllers/directives/SideNavController.js b/src/browser/main/controllers/directives/SideNavController.js similarity index 100% rename from src/controllers/directives/SideNavController.js rename to src/browser/main/controllers/directives/SideNavController.js diff --git a/src/controllers/modals/DeleteSnippetModalController.js b/src/browser/main/controllers/modals/DeleteSnippetModalController.js similarity index 100% rename from src/controllers/modals/DeleteSnippetModalController.js rename to src/browser/main/controllers/modals/DeleteSnippetModalController.js diff --git a/src/controllers/modals/EditSnippetModalController.js b/src/browser/main/controllers/modals/EditSnippetModalController.js similarity index 100% rename from src/controllers/modals/EditSnippetModalController.js rename to src/browser/main/controllers/modals/EditSnippetModalController.js diff --git a/src/controllers/modals/NewSnippetModalController.js b/src/browser/main/controllers/modals/NewSnippetModalController.js similarity index 100% rename from src/controllers/modals/NewSnippetModalController.js rename to src/browser/main/controllers/modals/NewSnippetModalController.js diff --git a/src/controllers/states/AuthRegisterController.js b/src/browser/main/controllers/states/AuthRegisterController.js similarity index 100% rename from src/controllers/states/AuthRegisterController.js rename to src/browser/main/controllers/states/AuthRegisterController.js diff --git a/src/controllers/states/AuthSignInController.js b/src/browser/main/controllers/states/AuthSignInController.js similarity index 100% rename from src/controllers/states/AuthSignInController.js rename to src/browser/main/controllers/states/AuthSignInController.js diff --git a/src/controllers/states/HomeController.js b/src/browser/main/controllers/states/HomeController.js similarity index 100% rename from src/controllers/states/HomeController.js rename to src/browser/main/controllers/states/HomeController.js diff --git a/src/controllers/states/SettingsController.js b/src/browser/main/controllers/states/SettingsController.js similarity index 100% rename from src/controllers/states/SettingsController.js rename to src/browser/main/controllers/states/SettingsController.js diff --git a/src/controllers/states/SnippetsDetailController.js b/src/browser/main/controllers/states/SnippetsDetailController.js similarity index 100% rename from src/controllers/states/SnippetsDetailController.js rename to src/browser/main/controllers/states/SnippetsDetailController.js diff --git a/src/controllers/states/SnippetsListController.js b/src/browser/main/controllers/states/SnippetsListController.js similarity index 100% rename from src/controllers/states/SnippetsListController.js rename to src/browser/main/controllers/states/SnippetsListController.js diff --git a/src/directives/btn-delete-snippet.js b/src/browser/main/directives/btn-delete-snippet.js similarity index 100% rename from src/directives/btn-delete-snippet.js rename to src/browser/main/directives/btn-delete-snippet.js diff --git a/src/directives/btn-edit-snippet.js b/src/browser/main/directives/btn-edit-snippet.js similarity index 100% rename from src/directives/btn-edit-snippet.js rename to src/browser/main/directives/btn-edit-snippet.js diff --git a/src/directives/btn-new-snippet.js b/src/browser/main/directives/btn-new-snippet.js similarity index 100% rename from src/directives/btn-new-snippet.js rename to src/browser/main/directives/btn-new-snippet.js diff --git a/src/directives/side-nav.js b/src/browser/main/directives/side-nav.js similarity index 100% rename from src/directives/side-nav.js rename to src/browser/main/directives/side-nav.js diff --git a/src/directives/snippet-item.js b/src/browser/main/directives/snippet-item.js similarity index 100% rename from src/directives/snippet-item.js rename to src/browser/main/directives/snippet-item.js diff --git a/src/directives/tag-item.js b/src/browser/main/directives/tag-item.js similarity index 100% rename from src/directives/tag-item.js rename to src/browser/main/directives/tag-item.js diff --git a/src/directives/tag-list.js b/src/browser/main/directives/tag-list.js similarity index 100% rename from src/directives/tag-list.js rename to src/browser/main/directives/tag-list.js diff --git a/src/filters/from-now.js b/src/browser/main/filters/from-now.js similarity index 100% rename from src/filters/from-now.js rename to src/browser/main/filters/from-now.js diff --git a/src/filters/search-snippets.js b/src/browser/main/filters/search-snippets.js similarity index 100% rename from src/filters/search-snippets.js rename to src/browser/main/filters/search-snippets.js diff --git a/src/browser/main/index.html b/src/browser/main/index.html new file mode 100644 index 00000000..3e36c3fc --- /dev/null +++ b/src/browser/main/index.html @@ -0,0 +1,73 @@ + + + + + CodeXen App + + + + + + + + Codexen! + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/browser/main/index.inject.html b/src/browser/main/index.inject.html new file mode 100644 index 00000000..9d428b34 --- /dev/null +++ b/src/browser/main/index.inject.html @@ -0,0 +1,39 @@ + + + + + CodeXen App + + + + + + + + Codexen! + + + + + + + + +
+
+ + + + + + + + + + + + + + + + diff --git a/src/services/Modal.js b/src/browser/main/services/Modal.js similarity index 100% rename from src/services/Modal.js rename to src/browser/main/services/Modal.js diff --git a/src/services/Settings.js b/src/browser/main/services/Settings.js similarity index 100% rename from src/services/Settings.js rename to src/browser/main/services/Settings.js diff --git a/src/services/tag.js b/src/browser/main/services/Tag.js similarity index 100% rename from src/services/tag.js rename to src/browser/main/services/Tag.js diff --git a/src/services/user.js b/src/browser/main/services/User.js similarity index 100% rename from src/services/user.js rename to src/browser/main/services/User.js diff --git a/src/browser/main/styles/app.css b/src/browser/main/styles/app.css new file mode 100644 index 00000000..2f40598e --- /dev/null +++ b/src/browser/main/styles/app.css @@ -0,0 +1,378 @@ +.new-snippet-modal .ace_editor { + height: 200px; +} +#side-view .nav-control-group { + margin: 0 5px; +} +#side-view ul.nav.nav-pills { + margin-top: 10px; +} +#side-view ul.nav.nav-pills li hr { + margin: 5px 0; + border-top: none; + border-bottom: solid 1px #001a20; +} +#side-view ul.nav.nav-pills li a { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + -webkit-transition: 0.2s; + transition: 0.2s; +} +#side-view ul.nav.nav-pills li.active > a, +#side-view ul.nav.nav-pills .nav-pills > li.active > a:hover, +#side-view ul.nav.nav-pills .nav-pills > li.active > a:focus { + background-color: #004b5f; +} +/* + * ui-select + * http://github.com/angular-ui/ui-select + * Version: 0.11.2 - 2015-03-17T04:08:46.478Z + * License: MIT + */ +.ui-select-highlight { + font-weight: bold; +} +.ui-select-offscreen { + clip: rect(0 0 0 0) !important; + width: 1px !important; + height: 1px !important; + border: 0 !important; + margin: 0 !important; + padding: 0 !important; + overflow: hidden !important; + position: absolute !important; + outline: 0 !important; + left: 0px !important; + top: 0px !important; +} +.ng-dirty.ng-invalid > a.select2-choice { + border-color: #d44950; +} +.select2-result-single { + padding-left: 0; +} +.select2-locked > .select2-search-choice-close { + display: none; +} +.select-locked > .ui-select-match-close { + display: none; +} +body > .select2-container.open { + z-index: 9999; +} +.selectize-input.selectize-focus { + border-color: #007fbb !important; +} +.selectize-control > .selectize-input > input { + width: 100%; +} +.selectize-control > .selectize-dropdown { + width: 100%; +} +.ng-dirty.ng-invalid > div.selectize-input { + border-color: #d44950; +} +.btn-default-focus { + color: #333; + background-color: #ebebeb; + border-color: #adadad; + text-decoration: none; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6); +} +.ui-select-bootstrap .ui-select-toggle { + position: relative; + border-radius: $input-border-radius; +} +.ui-select-bootstrap .ui-select-toggle .ui-select-placeholder { + color: #99b2b8; +} +.ui-select-bootstrap .ui-select-toggle > .caret { + position: absolute; + height: 10px; + top: 50%; + right: 10px; + margin-top: -2px; +} +.input-group > .ui-select-bootstrap.dropdown { +/* Instead of relative */ + position: static; +} +.input-group > .ui-select-bootstrap > input.ui-select-search.form-control { + border-radius: $input-border-radius; + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} +.ui-select-bootstrap > .ui-select-match > .btn { +/* Instead of center because of .btn */ + text-align: left !important; + padding-right: 25px; + border-radius: $input-border-radius; + border: solid 1px #001a20; +} +.ui-select-bootstrap > .ui-select-match > .caret { + position: absolute; + top: 45%; + right: 15px; +} +.ui-select-bootstrap > .ui-select-choices { + width: 100%; + height: auto; + max-height: 200px; + overflow-x: hidden; + margin-top: -1px; +} +body > .ui-select-bootstrap.open { + z-index: 1000; +} +.ui-select-multiple.ui-select-bootstrap { + height: auto; + padding: 3px 3px 0 10px; +} +.ui-select-multiple.ui-select-bootstrap.open { + border-color: #52dcff; + outline: 0; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(82,220,255,0.6); +} +.ui-select-multiple.ui-select-bootstrap input.ui-select-search { + background-color: transparent !important; + border: none; + outline: none; + height: 1.666666em; + margin-bottom: 3px; +} +.ui-select-multiple.ui-select-bootstrap .ui-select-match .close { + font-size: 1.6em; + line-height: 0.75; +} +.ui-select-multiple.ui-select-bootstrap .ui-select-match-item { + outline: 0; + margin: 0 3px 3px 0; +} +.ui-select-multiple .ui-select-match-item { + position: relative; +} +.ui-select-multiple .ui-select-match-item.dropping-before:before { + content: ""; + position: absolute; + top: 0; + right: 100%; + height: 100%; + margin-right: 2px; + border-left: 1px solid #428bca; +} +.ui-select-multiple .ui-select-match-item.dropping-after:after { + content: ""; + position: absolute; + top: 0; + left: 100%; + height: 100%; + margin-left: 2px; + border-right: 1px solid #428bca; +} +.ui-select-bootstrap .ui-select-choices-row>a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: 400; + line-height: 1.42857143; + color: #99b2b8; + white-space: nowrap; +} +.ui-select-bootstrap .ui-select-choices-row>a:hover, +.ui-select-bootstrap .ui-select-choices-row>a:focus { + text-decoration: none; + color: #fff; + background-color: #004b5f; +} +.ui-select-bootstrap .ui-select-choices-row.active>a { + color: #fff; + text-decoration: none; + outline: 0; + background-color: #004b5f; +} +.ui-select-bootstrap .ui-select-choices-row.disabled>a, +.ui-select-bootstrap .ui-select-choices-row.active.disabled>a { + color: #777; + cursor: not-allowed; + background-color: #fff; +} +.ui-select-match.ng-hide-add, +.ui-select-search.ng-hide-add { + display: none !important; +} +.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match { + border-color: #d44950; +} +.auth-state .panel { + margin-top: 50px; +} +.auth-state h1 { + margin: 15px 0; +} +.auth-state .auth-control { + margin: 10px 0; +} +.home-state { + padding: 10px; +} +.settings-state .panel { + margin-top: 15px; +} +.settings-state h1 { + margin: 30px 0; +} +.settings-state .section h4 { + margin-bottom: 15px; +} +.snippets-list-state { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; +} +.snippets-list-state .left-pane { + border-right: 1px solid #001a20; + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 275px; + overflow: hidden; +} +.snippets-list-state .left-pane .snippet-search { + position: absolute; + top: 0; + height: 50px; + left: 0; + right: 0; + border-right: 1px solid #001a20; + padding: 7px 5px; +} +.snippets-list-state .left-pane .snippet-list { + position: absolute; + top: 50px; + bottom: 0; + left: 0; + right: 0; + overflow-x: hidden; + overflow-y: auto; + list-style: none; + padding: 0; +} +.snippets-list-state .left-pane .snippet-list li { + cursor: pointer; + padding: 5px; + border-right: 1px solid #001a20; + border-bottom: 1px solid #001a20; +} +.snippets-list-state .left-pane .snippet-list li:nth-child(even) { + background-color: #002b36; +} +.snippets-list-state .left-pane .snippet-list li:nth-child(odd) { + background-color: #00323f; +} +.snippets-list-state .left-pane .snippet-list li h4 { + margin: 0; +} +.snippets-list-state .left-pane .snippet-list li:hover { + background-color: #004b5f; +} +.snippets-list-state .left-pane .snippet-list li p { + margin: 0; +} +.snippets-list-state .left-pane .snippet-list li p.call-sign { + font-size: 0.8em; +} +.snippets-list-state .left-pane .snippet-list li p.created-at { + font-size: 0.8em; + opacity: 0.8; +} +.snippets-list-state .left-pane .snippet-list li.active { + color: #fff; + background-color: #088cff; +} +.snippets-list-state .left-pane .snippet-list li.active a { + color: #fff; +} +.snippets-list-state .right-pane { + position: absolute; + top: 0; + bottom: 0; + left: 275px; + right: 0; + overflow-x: hidden; + overflow-y: auto; + background-color: #00323f; +} +.snippets-detail-state { + position: absolute; + top: 0; + width: 100%; + bottom: 0; + overflow: hidden; +} +.snippets-detail-state .detail-header { + position: absolute; + top: 0; + width: 100%; + background-color: #003d4d; + padding: 5px 10px; + height: 50px; + border-bottom: solid 1px #001a20; +} +.snippets-detail-state .detail-header .detail-header-title { + color: #d5dfe2; + line-height: 40px; + font-size: 1.2em; +} +.snippets-detail-state .detail-header .detail-header-title small { + font-size: 0.6em; + color: #99b2b8; +} +.snippets-detail-state .detail-header .detail-header-control { + padding: 3px; +} +.snippets-detail-state .detail-body { + position: absolute; + top: 50px; + width: 100%; + bottom: 0; + padding: 5px 10px; + overflow-y: auto; +} +.snippets-detail-state .detail-body .ace_editor { + min-height: 300px; + border: solid 1px $border-color; + border-radius: 5px; + margin-bottom: 5px; +} +.tags { + word-break: break-all; +} +.tags a { + margin: 0 2px; +} +#side-view { + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 200px; + background-color: #002b36; + border-right: solid 2px #004b5f; + box-sizing: border-box; + padding: 10px 0 10px 10px; +} +#main-view { + position: absolute; + top: 0; + bottom: 0; + left: 200px; + right: 0; + overflow-x: hidden; + overflow-y: auto; + background-color: $bgDarker; +} diff --git a/src/styles/_index.styl b/src/browser/main/styles/app.styl similarity index 51% rename from src/styles/_index.styl rename to src/browser/main/styles/app.styl index d1f112c2..2091d773 100644 --- a/src/styles/_index.styl +++ b/src/browser/main/styles/app.styl @@ -1,28 +1,9 @@ +@import '../../shared/styles/_vars' +@import '../../shared/styles/mixins/*' -html - overflow: hidden - height: 100% - -body - height: 100% - overflow: auto - font-family: "Lato", sans-serif - color $textColor - background-color: $appBackgroundColor - -label - font-family: "Lato", sans-serif - color $textColor - -h1, h2, h3, h4, h5 - color $textColorHighlight - margin 0 - -textarea - resize: vertical - -hr - border-color $baseBorderColor +@import 'modals/*' +@import 'directives/*' +@import 'states/*' #side-view position:absolute diff --git a/src/styles/directives/side-nav.styl b/src/browser/main/styles/directives/side-nav.styl similarity index 100% rename from src/styles/directives/side-nav.styl rename to src/browser/main/styles/directives/side-nav.styl diff --git a/src/styles/directives/ui-select.styl b/src/browser/main/styles/directives/ui-select.styl similarity index 100% rename from src/styles/directives/ui-select.styl rename to src/browser/main/styles/directives/ui-select.styl diff --git a/src/styles/modals/new-snippet-editor.styl b/src/browser/main/styles/modals/new-snippet-editor.styl similarity index 100% rename from src/styles/modals/new-snippet-editor.styl rename to src/browser/main/styles/modals/new-snippet-editor.styl diff --git a/src/styles/states/auth.styl b/src/browser/main/styles/states/auth.styl similarity index 100% rename from src/styles/states/auth.styl rename to src/browser/main/styles/states/auth.styl diff --git a/src/styles/states/home.styl b/src/browser/main/styles/states/home.styl similarity index 100% rename from src/styles/states/home.styl rename to src/browser/main/styles/states/home.styl diff --git a/src/styles/states/settings.styl b/src/browser/main/styles/states/settings.styl similarity index 100% rename from src/styles/states/settings.styl rename to src/browser/main/styles/states/settings.styl diff --git a/src/styles/states/snippets.styl b/src/browser/main/styles/states/snippets.styl similarity index 100% rename from src/styles/states/snippets.styl rename to src/browser/main/styles/states/snippets.styl diff --git a/src/tpls/directives/side-nav.tpl.html b/src/browser/main/tpls/directives/side-nav.tpl.html similarity index 100% rename from src/tpls/directives/side-nav.tpl.html rename to src/browser/main/tpls/directives/side-nav.tpl.html diff --git a/src/tpls/modals/delete-snippet-modal.tpl.html b/src/browser/main/tpls/modals/delete-snippet-modal.tpl.html similarity index 100% rename from src/tpls/modals/delete-snippet-modal.tpl.html rename to src/browser/main/tpls/modals/delete-snippet-modal.tpl.html diff --git a/src/tpls/modals/edit-snippet-modal.tpl.html b/src/browser/main/tpls/modals/edit-snippet-modal.tpl.html similarity index 100% rename from src/tpls/modals/edit-snippet-modal.tpl.html rename to src/browser/main/tpls/modals/edit-snippet-modal.tpl.html diff --git a/src/tpls/modals/new-snippet-modal.tpl.html b/src/browser/main/tpls/modals/new-snippet-modal.tpl.html similarity index 100% rename from src/tpls/modals/new-snippet-modal.tpl.html rename to src/browser/main/tpls/modals/new-snippet-modal.tpl.html diff --git a/src/tpls/states/auth.register.tpl.html b/src/browser/main/tpls/states/auth.register.tpl.html similarity index 100% rename from src/tpls/states/auth.register.tpl.html rename to src/browser/main/tpls/states/auth.register.tpl.html diff --git a/src/tpls/states/auth.signin.tpl.html b/src/browser/main/tpls/states/auth.signin.tpl.html similarity index 100% rename from src/tpls/states/auth.signin.tpl.html rename to src/browser/main/tpls/states/auth.signin.tpl.html diff --git a/src/tpls/states/auth.tpl.html b/src/browser/main/tpls/states/auth.tpl.html similarity index 100% rename from src/tpls/states/auth.tpl.html rename to src/browser/main/tpls/states/auth.tpl.html diff --git a/src/tpls/states/home.tpl.html b/src/browser/main/tpls/states/home.tpl.html similarity index 100% rename from src/tpls/states/home.tpl.html rename to src/browser/main/tpls/states/home.tpl.html diff --git a/src/tpls/states/settings.tpl.html b/src/browser/main/tpls/states/settings.tpl.html similarity index 100% rename from src/tpls/states/settings.tpl.html rename to src/browser/main/tpls/states/settings.tpl.html diff --git a/src/tpls/states/snippets.detail.tpl.html b/src/browser/main/tpls/states/snippets.detail.tpl.html similarity index 100% rename from src/tpls/states/snippets.detail.tpl.html rename to src/browser/main/tpls/states/snippets.detail.tpl.html diff --git a/src/tpls/states/snippets.list.tpl.html b/src/browser/main/tpls/states/snippets.list.tpl.html similarity index 100% rename from src/tpls/states/snippets.list.tpl.html rename to src/browser/main/tpls/states/snippets.list.tpl.html diff --git a/src/browser/popup/index.html b/src/browser/popup/index.html new file mode 100644 index 00000000..7f3cc7ec --- /dev/null +++ b/src/browser/popup/index.html @@ -0,0 +1,67 @@ + + + + + CodeXen App + + + + + + + + + + + + + + + + +
+ +
+ +
+ + +
+
+ + + +
+
+
+
+ + + + + + + + + + + + + + + + + diff --git a/electron_src/popup/index.html b/src/browser/popup/index.inject.html similarity index 75% rename from electron_src/popup/index.html rename to src/browser/popup/index.inject.html index c5ee3df7..21b92d6f 100644 --- a/electron_src/popup/index.html +++ b/src/browser/popup/index.inject.html @@ -10,8 +10,11 @@ - - + + + + + @@ -44,12 +47,12 @@ > - - - - - - - + + + + + + + diff --git a/electron_src/popup/popup.js b/src/browser/popup/popup.js similarity index 98% rename from electron_src/popup/popup.js rename to src/browser/popup/popup.js index 33ec7557..76a52fd5 100644 --- a/electron_src/popup/popup.js +++ b/src/browser/popup/popup.js @@ -6,10 +6,12 @@ var ipc = require('ipc') var resultList = document.getElementById('result-list') angular.module('codexen.popup', [ + 'codexen.shared', 'ui.ace', 'satellizer', 'cfp.hotkeys' ]) +.constant('appName', 'popup') .controller('PopUpController', function ($scope, Snippet, $auth, $window, hotkeys, $document, $filter) { // Setup Events remote.getCurrentWindow().on('focus', function () { diff --git a/electron_src/popup/services/snippet.js b/src/browser/popup/services/snippet.js similarity index 100% rename from electron_src/popup/services/snippet.js rename to src/browser/popup/services/snippet.js diff --git a/electron_src/styles/_popup.styl b/src/browser/popup/styles/_popup.styl similarity index 100% rename from electron_src/styles/_popup.styl rename to src/browser/popup/styles/_popup.styl diff --git a/src/browser/popup/styles/main.styl b/src/browser/popup/styles/main.styl new file mode 100644 index 00000000..090d691f --- /dev/null +++ b/src/browser/popup/styles/main.styl @@ -0,0 +1,4 @@ +@import '../../shared/styles/_vars' +@import '../../shared/styles/mixins/*' + +@import '_popup' diff --git a/src/config/ace.js b/src/browser/shared/config/ace.js similarity index 97% rename from src/config/ace.js rename to src/browser/shared/config/ace.js index 2410549b..fff0e713 100644 --- a/src/config/ace.js +++ b/src/browser/shared/config/ace.js @@ -1,3 +1,3 @@ /* global angular */ -angular.module('codexen') +angular.module('codexen.shared') .constant('aceModes', ['ABAP', 'ABC', 'ActionScript', 'ADA', 'Apache_Conf', 'AsciiDoc', 'Assembly_x86', 'AutoHotKey', 'BatchFile', 'C9Search', 'C_Cpp', 'Cirru', 'Clojure', 'Cobol', 'coffee', 'ColdFusion', 'CSharp', 'CSS', 'Curly', 'D', 'Dart', 'Diff', 'Dockerfile', 'Dot', 'Dummy', 'DummySyntax', 'Eiffel', 'EJS', 'Elixir', 'Elm', 'Erlang', 'Forth', 'FTL', 'Gcode', 'Gherkin', 'Gitignore', 'Glsl', 'golang', 'Groovy', 'HAML', 'Handlebars', 'Haskell', 'haXe', 'HTML', 'HTML_Ruby', 'INI', 'Io', 'Jack', 'Jade', 'Java', 'JavaScript', 'JSON', 'JSONiq', 'JSP', 'JSX', 'Julia', 'LaTeX', 'Lean', 'LESS', 'Liquid', 'Lisp', 'LiveScript', 'LogiQL', 'LSL', 'Lua', 'LuaPage', 'Lucene', 'Makefile', 'Markdown', 'Mask', 'MATLAB', 'MEL', 'MUSHCode', 'MySQL', 'Nix', 'ObjectiveC', 'OCaml', 'Pascal', 'Perl', 'pgSQL', 'PHP', 'Powershell', 'Praat', 'Prolog', 'Properties', 'Protobuf', 'Python', 'R', 'RDoc', 'RHTML', 'Ruby', 'Rust', 'SASS', 'SCAD', 'Scala', 'Scheme', 'SCSS', 'SH', 'SJS', 'Smarty', 'snippets', 'Soy_Template', 'Space', 'SQL', 'SQLServer', 'Stylus', 'SVG', 'Tcl', 'Tex', 'Text', 'Textile', 'Toml', 'Twig', 'Typescript', 'Vala', 'VBScript', 'Velocity', 'Verilog', 'VHDL', 'XML', 'XQuery', 'YAML', 'Django']) diff --git a/src/browser/shared/config/env.js b/src/browser/shared/config/env.js new file mode 100644 index 00000000..d8d15783 --- /dev/null +++ b/src/browser/shared/config/env.js @@ -0,0 +1,4 @@ +/* global angular */ +angular.module('codexen.shared') + .constant('apiUrl', 'http://localhost:8000/') + // .constant('apiUrl', 'http://codexen-server-dev.elasticbeanstalk.com/') diff --git a/src/config/satellizer.js b/src/browser/shared/config/satellizer.js similarity index 52% rename from src/config/satellizer.js rename to src/browser/shared/config/satellizer.js index 62316ef2..b7717dc7 100644 --- a/src/config/satellizer.js +++ b/src/browser/shared/config/satellizer.js @@ -1,6 +1,6 @@ /* global angular */ -angular.module('codexen') - .config(function ($authProvider, $httpProvider, apiUrl) { +angular.module('codexen.shared') + .config(function ($authProvider, $httpProvider, apiUrl, appName) { $authProvider.baseUrl = apiUrl $httpProvider.defaults.useXDomain = true @@ -10,8 +10,15 @@ angular.module('codexen') responseError: function (res) { switch (res.status) { case 401: - var $state = $injector.get('$state') - $state.go('auth.signin') + switch (appName) { + case 'main' : + var $state = $injector.get('$state') + $state.go('auth.signin') + break + case 'popup' : + // TODO: hide popup + break + } break } diff --git a/src/directives/ui-ace.js b/src/browser/shared/directives/ui-ace.js similarity index 100% rename from src/directives/ui-ace.js rename to src/browser/shared/directives/ui-ace.js diff --git a/src/services/snippet.js b/src/browser/shared/services/Snippet.js similarity index 96% rename from src/services/snippet.js rename to src/browser/shared/services/Snippet.js index 23e204f6..218473c2 100644 --- a/src/services/snippet.js +++ b/src/browser/shared/services/Snippet.js @@ -1,5 +1,5 @@ /* global angular */ -angular.module('codexen') +angular.module('codexen.shared') .factory('Snippet', function ($http, $auth, apiUrl) { var findByUser = function (user) { var url = apiUrl + 'snippets/search' diff --git a/src/browser/shared/shared.js b/src/browser/shared/shared.js new file mode 100644 index 00000000..5fa067c9 --- /dev/null +++ b/src/browser/shared/shared.js @@ -0,0 +1,3 @@ +angular.module('codexen.shared', [ + 'satellizer' +]) diff --git a/src/browser/shared/styles/_index.styl b/src/browser/shared/styles/_index.styl new file mode 100644 index 00000000..14aee701 --- /dev/null +++ b/src/browser/shared/styles/_index.styl @@ -0,0 +1,24 @@ +html + overflow: hidden + height: 100% + +body + height: 100% + overflow: auto + font-family: "Lato", sans-serif + color $textColor + background-color: $appBackgroundColor + +label + font-family: "Lato", sans-serif + color $textColor + +h1, h2, h3, h4, h5 + color $textColorHighlight + margin 0 + +textarea + resize: vertical + +hr + border-color $baseBorderColor diff --git a/src/styles/_shared.styl b/src/browser/shared/styles/_shared.styl similarity index 100% rename from src/styles/_shared.styl rename to src/browser/shared/styles/_shared.styl diff --git a/src/styles/_vars.styl b/src/browser/shared/styles/_vars.styl similarity index 100% rename from src/styles/_vars.styl rename to src/browser/shared/styles/_vars.styl diff --git a/src/browser/shared/styles/bootstrap.css b/src/browser/shared/styles/bootstrap.css new file mode 100644 index 00000000..571ce794 --- /dev/null +++ b/src/browser/shared/styles/bootstrap.css @@ -0,0 +1,5639 @@ +.clearfix:before, +.dl-horizontal dd:before, +.container:before, +.container-fluid:before, +.row:before, +.form-horizontal .form-group:before, +.btn-toolbar:before, +.btn-group-vertical > .btn-group:before, +.nav:before, +.navbar:before, +.navbar-header:before, +.navbar-collapse:before, +.panel-body:before, +.modal-footer:before, +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.panel-body:after, +.modal-footer:after { + content: " "; + display: table; +} +.clearfix:after, +.dl-horizontal dd:after, +.container:after, +.container-fluid:after, +.row:after, +.form-horizontal .form-group:after, +.btn-toolbar:after, +.btn-group-vertical > .btn-group:after, +.nav:after, +.navbar:after, +.navbar-header:after, +.navbar-collapse:after, +.panel-body:after, +.modal-footer:after { + clear: both; +} +.center-block { + display: block; + margin-left: auto; + margin-right: auto; +} +.pull-right { + float: right !important; +} +.pull-left { + float: left !important; +} +.hide { + display: none !important; +} +.show { + display: block !important; +} +.invisible { + visibility: hidden; +} +.text-hide { + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; +} +.hidden { + display: none !important; +} +.affix { + position: fixed; +} +@-ms-viewport { + width: device-width; +} +.visible-xs, +.visible-sm, +.visible-md, +.visible-lg { + display: none !important; +} +.visible-xs-block, +.visible-xs-inline, +.visible-xs-inline-block, +.visible-sm-block, +.visible-sm-inline, +.visible-sm-inline-block, +.visible-md-block, +.visible-md-inline, +.visible-md-inline-block, +.visible-lg-block, +.visible-lg-inline, +.visible-lg-inline-block { + display: none !important; +} +@media (max-width: 767px) { + .visible-xs { + display: block !important; + } + table.visible-xs { + display: table; + } + tr.visible-xs { + display: table-row !important; + } + th.visible-xs, + td.visible-xs { + display: table-cell !important; + } +} +@media (max-width: 767px) { + .visible-xs-block { + display: block !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline { + display: inline !important; + } +} +@media (max-width: 767px) { + .visible-xs-inline-block { + display: inline-block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important; + } + table.visible-sm { + display: table; + } + tr.visible-sm { + display: table-row !important; + } + th.visible-sm, + td.visible-sm { + display: table-cell !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-block { + display: block !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline { + display: inline !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm-inline-block { + display: inline-block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important; + } + table.visible-md { + display: table; + } + tr.visible-md { + display: table-row !important; + } + th.visible-md, + td.visible-md { + display: table-cell !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-block { + display: block !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline { + display: inline !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md-inline-block { + display: inline-block !important; + } +} +@media (min-width: 1200px) { + .visible-lg { + display: block !important; + } + table.visible-lg { + display: table; + } + tr.visible-lg { + display: table-row !important; + } + th.visible-lg, + td.visible-lg { + display: table-cell !important; + } +} +@media (min-width: 1200px) { + .visible-lg-block { + display: block !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline { + display: inline !important; + } +} +@media (min-width: 1200px) { + .visible-lg-inline-block { + display: inline-block !important; + } +} +@media (max-width: 767px) { + .hidden-xs { + display: none !important; + } +} +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important; + } +} +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important; + } +} +@media (min-width: 1200px) { + .hidden-lg { + display: none !important; + } +} +.visible-print { + display: none !important; +} +@media print { + .visible-print { + display: block !important; + } + table.visible-print { + display: table; + } + tr.visible-print { + display: table-row !important; + } + th.visible-print, + td.visible-print { + display: table-cell !important; + } +} +.visible-print-block { + display: none !important; +} +@media print { + .visible-print-block { + display: block !important; + } +} +.visible-print-inline { + display: none !important; +} +@media print { + .visible-print-inline { + display: inline !important; + } +} +.visible-print-inline-block { + display: none !important; +} +@media print { + .visible-print-inline-block { + display: inline-block !important; + } +} +@media print { + .hidden-print { + display: none !important; + } +} +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ +html { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + font-size: 2em; + margin: 0.67em 0; +} +mark { + background: #ff0; + color: #000; +} +small { + font-size: 80%; +} +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + box-sizing: content-box; + height: 0; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +legend { + border: 0; + padding: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +td, +th { + padding: 0; +} +/* Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ +@media print { + *, + *:before, + *:after { + background: transparent !important; + color: #000 !important; + box-shadow: none !important; + text-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + a[href^="#"]:after, + a[href^="javascript:"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + select { + background: #fff !important; + } + .navbar { + display: none; + } + .btn > .caret, + .dropup > .btn > .caret { + border-top-color: #000 !important; + } + .label { + border: 1px solid #000; + } + .table { + border-collapse: collapse !important; + } + .table td, + .table th { + background-color: #fff !important; + } + .table-bordered th, + .table-bordered td { + border: 1px solid #ddd !important; + } +} +* { + box-sizing: border-box; +} +*:before, +*:after { + box-sizing: border-box; +} +html { + font-size: 10px; + -webkit-tap-highlight-color: rgba(0,0,0,0); +} +body { + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + line-height: 1.428571429; + color: #333; + background-color: #fff; +} +input, +button, +select, +textarea { + font-family: inherit; + font-size: inherit; + line-height: inherit; +} +a { + color: #d5dfe2; + text-decoration: none; +} +a:hover, +a:focus { + color: #aec1c7; + text-decoration: underline; +} +a:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +figure { + margin: 0; +} +img { + vertical-align: middle; +} +.img-responsive, +.thumbnail > img, +.thumbnail a > img { + display: block; + max-width: 100%; + height: auto; +} +.img-rounded { + border-radius: 6px; +} +.img-thumbnail { + padding: 4px; + line-height: 1.428571429; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; + display: inline-block; + max-width: 100%; + height: auto; +} +.img-circle { + border-radius: 50%; +} +hr { + margin-top: 20px; + margin-bottom: 20px; + border: 0; + border-top: 1px solid #eee; +} +.sr-only { + position: absolute; + width: 1px; + height: 1px; + margin: -1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.sr-only-focusable:active, +.sr-only-focusable:focus { + position: static; + width: auto; + height: auto; + margin: 0; + overflow: visible; + clip: auto; +} +[role="button"] { + cursor: pointer; +} +h1, +h2, +h3, +h4, +h5, +h6, +.h1, +.h2, +.h3, +.h4, +.h5, +.h6 { + font-family: inherit; + font-weight: 500; + line-height: 1.1; + color: inherit; +} +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small, +.h1 small, +.h2 small, +.h3 small, +.h4 small, +.h5 small, +.h6 small, +h1 .small, +h2 .small, +h3 .small, +h4 .small, +h5 .small, +h6 .small, +.h1 .small, +.h2 .small, +.h3 .small, +.h4 .small, +.h5 .small, +.h6 .small { + font-weight: normal; + line-height: 1; + color: #777; +} +h1, +.h1, +h2, +.h2, +h3, +.h3 { + margin-top: 20px; + margin-bottom: 10px; +} +h1 small, +.h1 small, +h2 small, +.h2 small, +h3 small, +.h3 small, +h1 .small, +.h1 .small, +h2 .small, +.h2 .small, +h3 .small, +.h3 .small { + font-size: 65%; +} +h4, +.h4, +h5, +.h5, +h6, +.h6 { + margin-top: 10px; + margin-bottom: 10px; +} +h4 small, +.h4 small, +h5 small, +.h5 small, +h6 small, +.h6 small, +h4 .small, +.h4 .small, +h5 .small, +.h5 .small, +h6 .small, +.h6 .small { + font-size: 75%; +} +h1, +.h1 { + font-size: 36px; +} +h2, +.h2 { + font-size: 30px; +} +h3, +.h3 { + font-size: 24px; +} +h4, +.h4 { + font-size: 18px; +} +h5, +.h5 { + font-size: 14px; +} +h6, +.h6 { + font-size: 12px; +} +p { + margin: 0 0 10px; +} +.lead { + margin-bottom: 20px; + font-size: 16px; + font-weight: 300; + line-height: 1.4; +} +@media (min-width: 768px) { + .lead { + font-size: 21px; + } +} +small, +.small { + font-size: 85%; +} +mark, +.mark { + background-color: #fcf8e3; + padding: 0.2em; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-center { + text-align: center; +} +.text-justify { + text-align: justify; +} +.text-nowrap { + white-space: nowrap; +} +.text-lowercase { + text-transform: lowercase; +} +.text-uppercase { + text-transform: uppercase; +} +.text-capitalize { + text-transform: capitalize; +} +.text-muted { + color: #777; +} +.text-primary { + color: #088cff; +} +a.text-primary:hover { + color: #007eed; +} +.text-success { + color: #3c763d; +} +a.text-success:hover { + color: #366a37; +} +.text-info { + color: #31708f; +} +a.text-info:hover { + color: #2c6581; +} +.text-warning { + color: #8a6d3b; +} +a.text-warning:hover { + color: #7c6235; +} +.text-danger { + color: #a94442; +} +a.text-danger:hover { + color: #983d3b; +} +.bg-primary { + color: #fff; + background-color: #088cff; +} +a.bg-primary:hover { + background-color: #007eed; +} +.bg-success { + background-color: #dff0d8; +} +a.bg-success:hover { + background-color: #c4e3b7; +} +.bg-info { + background-color: #d9edf7; +} +a.bg-info:hover { + background-color: #b3dbef; +} +.bg-warning { + background-color: #fcf8e3; +} +a.bg-warning:hover { + background-color: #f7edb8; +} +.bg-danger { + background-color: #f2dede; +} +a.bg-danger:hover { + background-color: #e5bdbd; +} +.page-header { + padding-bottom: 9px; + margin: 40px 0 20px; + border-bottom: 1px solid #eee; +} +ul, +ol { + margin-top: 0; + margin-bottom: 10px; +} +ul ul, +ol ul, +ul ol, +ol ol { + margin-bottom: 0; +} +.list-inline, +.list-unstyled { + padding-left: 0; + list-style: none; +} +.list-inline { + margin-left: -5px; +} +.list-inline > li { + display: inline-block; + padding-left: 5px; + padding-right: 5px; +} +dl { + margin-top: 0; + margin-bottom: 20px; +} +dt, +dd { + line-height: 1.428571429; +} +dt { + font-weight: bold; +} +dd { + margin-left: 0; +} +@media (min-width: 768px) { + .dl-horizontal dt { + float: left; + width: 160px; + clear: left; + text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + } + .dl-horizontal dd { + margin-left: 180px; + } +} +abbr[title], +abbr[data-original-title] { + cursor: help; + border-bottom: 1px dotted #777; +} +.initialism { + font-size: 90%; + text-transform: uppercase; +} +blockquote { + padding: 10px 20px; + margin: 0 0 20px; + font-size: 17.5px; + border-left: 5px solid #eee; +} +blockquote p:last-child, +blockquote ul:last-child, +blockquote ol:last-child { + margin-bottom: 0; +} +blockquote footer, +blockquote small, +blockquote .small { + display: block; + font-size: 80%; + line-height: 1.428571429; + color: #777; +} +blockquote footer:before, +blockquote small:before, +blockquote .small:before { + content: '\2014 \00A0'; +} +.blockquote-reverse, +blockquote.pull-right { + padding-right: 15px; + padding-left: 0; + border-right: 5px solid #eee; + border-left: 0; + text-align: right; +} +.blockquote-reverse footer:before, +blockquote.pull-right footer:before, +.blockquote-reverse small:before, +blockquote.pull-right small:before, +.blockquote-reverse .small:before, +blockquote.pull-right .small:before { + content: ''; +} +.blockquote-reverse footer:after, +blockquote.pull-right footer:after, +.blockquote-reverse small:after, +blockquote.pull-right small:after, +.blockquote-reverse .small:after, +blockquote.pull-right .small:after { + content: '\00A0 \2014'; +} +address { + margin-bottom: 20px; + font-style: normal; + line-height: 1.428571429; +} +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +@media (min-width: 768px) { + .container { + width: 750px; + } +} +@media (min-width: 992px) { + .container { + width: 970px; + } +} +@media (min-width: 1200px) { + .container { + width: 1170px; + } +} +.container-fluid { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px; +} +.row { + margin-left: -15px; + margin-right: -15px; +} +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px; +} +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} +.col-xs-12 { + width: 100%; +} +.col-xs-11 { + width: 91.66666666666666%; +} +.col-xs-10 { + width: 83.33333333333334%; +} +.col-xs-9 { + width: 75%; +} +.col-xs-8 { + width: 66.66666666666666%; +} +.col-xs-7 { + width: 58.333333333333336%; +} +.col-xs-6 { + width: 50%; +} +.col-xs-5 { + width: 41.66666666666667%; +} +.col-xs-4 { + width: 33.33333333333333%; +} +.col-xs-3 { + width: 25%; +} +.col-xs-2 { + width: 16.666666666666664%; +} +.col-xs-1 { + width: 8.333333333333332%; +} +.col-xs-pull-12 { + right: 100%; +} +.col-xs-pull-11 { + right: 91.66666666666666%; +} +.col-xs-pull-10 { + right: 83.33333333333334%; +} +.col-xs-pull-9 { + right: 75%; +} +.col-xs-pull-8 { + right: 66.66666666666666%; +} +.col-xs-pull-7 { + right: 58.333333333333336%; +} +.col-xs-pull-6 { + right: 50%; +} +.col-xs-pull-5 { + right: 41.66666666666667%; +} +.col-xs-pull-4 { + right: 33.33333333333333%; +} +.col-xs-pull-3 { + right: 25%; +} +.col-xs-pull-2 { + right: 16.666666666666664%; +} +.col-xs-pull-1 { + right: 8.333333333333332%; +} +.col-xs-pull-0 { + right: auto; +} +.col-xs-push-12 { + left: 100%; +} +.col-xs-push-11 { + left: 91.66666666666666%; +} +.col-xs-push-10 { + left: 83.33333333333334%; +} +.col-xs-push-9 { + left: 75%; +} +.col-xs-push-8 { + left: 66.66666666666666%; +} +.col-xs-push-7 { + left: 58.333333333333336%; +} +.col-xs-push-6 { + left: 50%; +} +.col-xs-push-5 { + left: 41.66666666666667%; +} +.col-xs-push-4 { + left: 33.33333333333333%; +} +.col-xs-push-3 { + left: 25%; +} +.col-xs-push-2 { + left: 16.666666666666664%; +} +.col-xs-push-1 { + left: 8.333333333333332%; +} +.col-xs-push-0 { + left: auto; +} +.col-xs-offset-12 { + margin-left: 100%; +} +.col-xs-offset-11 { + margin-left: 91.66666666666666%; +} +.col-xs-offset-10 { + margin-left: 83.33333333333334%; +} +.col-xs-offset-9 { + margin-left: 75%; +} +.col-xs-offset-8 { + margin-left: 66.66666666666666%; +} +.col-xs-offset-7 { + margin-left: 58.333333333333336%; +} +.col-xs-offset-6 { + margin-left: 50%; +} +.col-xs-offset-5 { + margin-left: 41.66666666666667%; +} +.col-xs-offset-4 { + margin-left: 33.33333333333333%; +} +.col-xs-offset-3 { + margin-left: 25%; +} +.col-xs-offset-2 { + margin-left: 16.666666666666664%; +} +.col-xs-offset-1 { + margin-left: 8.333333333333332%; +} +.col-xs-offset-0 { + margin-left: 0; +} +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666666666666%; + } + .col-sm-10 { + width: 83.33333333333334%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666666666666%; + } + .col-sm-7 { + width: 58.333333333333336%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666666666667%; + } + .col-sm-4 { + width: 33.33333333333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.666666666666664%; + } + .col-sm-1 { + width: 8.333333333333332%; + } + .col-sm-pull-12 { + right: 100%; + } + .col-sm-pull-11 { + right: 91.66666666666666%; + } + .col-sm-pull-10 { + right: 83.33333333333334%; + } + .col-sm-pull-9 { + right: 75%; + } + .col-sm-pull-8 { + right: 66.66666666666666%; + } + .col-sm-pull-7 { + right: 58.333333333333336%; + } + .col-sm-pull-6 { + right: 50%; + } + .col-sm-pull-5 { + right: 41.66666666666667%; + } + .col-sm-pull-4 { + right: 33.33333333333333%; + } + .col-sm-pull-3 { + right: 25%; + } + .col-sm-pull-2 { + right: 16.666666666666664%; + } + .col-sm-pull-1 { + right: 8.333333333333332%; + } + .col-sm-pull-0 { + right: auto; + } + .col-sm-push-12 { + left: 100%; + } + .col-sm-push-11 { + left: 91.66666666666666%; + } + .col-sm-push-10 { + left: 83.33333333333334%; + } + .col-sm-push-9 { + left: 75%; + } + .col-sm-push-8 { + left: 66.66666666666666%; + } + .col-sm-push-7 { + left: 58.333333333333336%; + } + .col-sm-push-6 { + left: 50%; + } + .col-sm-push-5 { + left: 41.66666666666667%; + } + .col-sm-push-4 { + left: 33.33333333333333%; + } + .col-sm-push-3 { + left: 25%; + } + .col-sm-push-2 { + left: 16.666666666666664%; + } + .col-sm-push-1 { + left: 8.333333333333332%; + } + .col-sm-push-0 { + left: auto; + } + .col-sm-offset-12 { + margin-left: 100%; + } + .col-sm-offset-11 { + margin-left: 91.66666666666666%; + } + .col-sm-offset-10 { + margin-left: 83.33333333333334%; + } + .col-sm-offset-9 { + margin-left: 75%; + } + .col-sm-offset-8 { + margin-left: 66.66666666666666%; + } + .col-sm-offset-7 { + margin-left: 58.333333333333336%; + } + .col-sm-offset-6 { + margin-left: 50%; + } + .col-sm-offset-5 { + margin-left: 41.66666666666667%; + } + .col-sm-offset-4 { + margin-left: 33.33333333333333%; + } + .col-sm-offset-3 { + margin-left: 25%; + } + .col-sm-offset-2 { + margin-left: 16.666666666666664%; + } + .col-sm-offset-1 { + margin-left: 8.333333333333332%; + } + .col-sm-offset-0 { + margin-left: 0; + } +} +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666666666666%; + } + .col-md-10 { + width: 83.33333333333334%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666666666666%; + } + .col-md-7 { + width: 58.333333333333336%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666666666667%; + } + .col-md-4 { + width: 33.33333333333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.666666666666664%; + } + .col-md-1 { + width: 8.333333333333332%; + } + .col-md-pull-12 { + right: 100%; + } + .col-md-pull-11 { + right: 91.66666666666666%; + } + .col-md-pull-10 { + right: 83.33333333333334%; + } + .col-md-pull-9 { + right: 75%; + } + .col-md-pull-8 { + right: 66.66666666666666%; + } + .col-md-pull-7 { + right: 58.333333333333336%; + } + .col-md-pull-6 { + right: 50%; + } + .col-md-pull-5 { + right: 41.66666666666667%; + } + .col-md-pull-4 { + right: 33.33333333333333%; + } + .col-md-pull-3 { + right: 25%; + } + .col-md-pull-2 { + right: 16.666666666666664%; + } + .col-md-pull-1 { + right: 8.333333333333332%; + } + .col-md-pull-0 { + right: auto; + } + .col-md-push-12 { + left: 100%; + } + .col-md-push-11 { + left: 91.66666666666666%; + } + .col-md-push-10 { + left: 83.33333333333334%; + } + .col-md-push-9 { + left: 75%; + } + .col-md-push-8 { + left: 66.66666666666666%; + } + .col-md-push-7 { + left: 58.333333333333336%; + } + .col-md-push-6 { + left: 50%; + } + .col-md-push-5 { + left: 41.66666666666667%; + } + .col-md-push-4 { + left: 33.33333333333333%; + } + .col-md-push-3 { + left: 25%; + } + .col-md-push-2 { + left: 16.666666666666664%; + } + .col-md-push-1 { + left: 8.333333333333332%; + } + .col-md-push-0 { + left: auto; + } + .col-md-offset-12 { + margin-left: 100%; + } + .col-md-offset-11 { + margin-left: 91.66666666666666%; + } + .col-md-offset-10 { + margin-left: 83.33333333333334%; + } + .col-md-offset-9 { + margin-left: 75%; + } + .col-md-offset-8 { + margin-left: 66.66666666666666%; + } + .col-md-offset-7 { + margin-left: 58.333333333333336%; + } + .col-md-offset-6 { + margin-left: 50%; + } + .col-md-offset-5 { + margin-left: 41.66666666666667%; + } + .col-md-offset-4 { + margin-left: 33.33333333333333%; + } + .col-md-offset-3 { + margin-left: 25%; + } + .col-md-offset-2 { + margin-left: 16.666666666666664%; + } + .col-md-offset-1 { + margin-left: 8.333333333333332%; + } + .col-md-offset-0 { + margin-left: 0; + } +} +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666666666666%; + } + .col-lg-10 { + width: 83.33333333333334%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666666666666%; + } + .col-lg-7 { + width: 58.333333333333336%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666666666667%; + } + .col-lg-4 { + width: 33.33333333333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.666666666666664%; + } + .col-lg-1 { + width: 8.333333333333332%; + } + .col-lg-pull-12 { + right: 100%; + } + .col-lg-pull-11 { + right: 91.66666666666666%; + } + .col-lg-pull-10 { + right: 83.33333333333334%; + } + .col-lg-pull-9 { + right: 75%; + } + .col-lg-pull-8 { + right: 66.66666666666666%; + } + .col-lg-pull-7 { + right: 58.333333333333336%; + } + .col-lg-pull-6 { + right: 50%; + } + .col-lg-pull-5 { + right: 41.66666666666667%; + } + .col-lg-pull-4 { + right: 33.33333333333333%; + } + .col-lg-pull-3 { + right: 25%; + } + .col-lg-pull-2 { + right: 16.666666666666664%; + } + .col-lg-pull-1 { + right: 8.333333333333332%; + } + .col-lg-pull-0 { + right: auto; + } + .col-lg-push-12 { + left: 100%; + } + .col-lg-push-11 { + left: 91.66666666666666%; + } + .col-lg-push-10 { + left: 83.33333333333334%; + } + .col-lg-push-9 { + left: 75%; + } + .col-lg-push-8 { + left: 66.66666666666666%; + } + .col-lg-push-7 { + left: 58.333333333333336%; + } + .col-lg-push-6 { + left: 50%; + } + .col-lg-push-5 { + left: 41.66666666666667%; + } + .col-lg-push-4 { + left: 33.33333333333333%; + } + .col-lg-push-3 { + left: 25%; + } + .col-lg-push-2 { + left: 16.666666666666664%; + } + .col-lg-push-1 { + left: 8.333333333333332%; + } + .col-lg-push-0 { + left: auto; + } + .col-lg-offset-12 { + margin-left: 100%; + } + .col-lg-offset-11 { + margin-left: 91.66666666666666%; + } + .col-lg-offset-10 { + margin-left: 83.33333333333334%; + } + .col-lg-offset-9 { + margin-left: 75%; + } + .col-lg-offset-8 { + margin-left: 66.66666666666666%; + } + .col-lg-offset-7 { + margin-left: 58.333333333333336%; + } + .col-lg-offset-6 { + margin-left: 50%; + } + .col-lg-offset-5 { + margin-left: 41.66666666666667%; + } + .col-lg-offset-4 { + margin-left: 33.33333333333333%; + } + .col-lg-offset-3 { + margin-left: 25%; + } + .col-lg-offset-2 { + margin-left: 16.666666666666664%; + } + .col-lg-offset-1 { + margin-left: 8.333333333333332%; + } + .col-lg-offset-0 { + margin-left: 0; + } +} +table { + background-color: transparent; +} +caption { + padding-top: 8px; + padding-bottom: 8px; + color: #777; + text-align: left; +} +th { + text-align: left; +} +.table { + width: 100%; + max-width: 100%; + margin-bottom: 20px; +} +.table > thead > tr > th, +.table > tbody > tr > th, +.table > tfoot > tr > th, +.table > thead > tr > td, +.table > tbody > tr > td, +.table > tfoot > tr > td { + padding: 8px; + line-height: 1.428571429; + vertical-align: top; + border-top: 1px solid #ddd; +} +.table > thead > tr > th { + vertical-align: bottom; + border-bottom: 2px solid #ddd; +} +.table > caption + thead > tr:first-child > th, +.table > colgroup + thead > tr:first-child > th, +.table > thead:first-child > tr:first-child > th, +.table > caption + thead > tr:first-child > td, +.table > colgroup + thead > tr:first-child > td, +.table > thead:first-child > tr:first-child > td { + border-top: 0; +} +.table > tbody + tbody { + border-top: 2px solid #ddd; +} +.table .table { + background-color: #fff; +} +.table-condensed > thead > tr > th, +.table-condensed > tbody > tr > th, +.table-condensed > tfoot > tr > th, +.table-condensed > thead > tr > td, +.table-condensed > tbody > tr > td, +.table-condensed > tfoot > tr > td { + padding: 5px; +} +.table-bordered { + border: 1px solid #ddd; +} +.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 #ddd; +} +.table-bordered > thead > tr > th, +.table-bordered > thead > tr > td { + border-bottom-width: 2px; +} +.table-striped > tbody > tr:nth-of-type(odd) { + background-color: #f9f9f9; +} +.table-hover > tbody > tr:hover { + background-color: #f5f5f5; +} +table col[class*="col-"] { + position: static; + float: none; + display: table-column; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + float: none; + display: table-cell; +} +.table > thead > tr > td.active, +.table > tbody > tr > td.active, +.table > tfoot > tr > td.active, +.table > thead > tr > th.active, +.table > tbody > tr > th.active, +.table > tfoot > tr > th.active, +.table > thead > tr.active > td, +.table > tbody > tr.active > td, +.table > tfoot > tr.active > td, +.table > thead > tr.active > th, +.table > tbody > tr.active > th, +.table > tfoot > tr.active > th { + background-color: #f5f5f5; +} +.table-hover > tbody > tr > td.active:hover, +.table-hover > tbody > tr > th.active:hover, +.table-hover > tbody > tr.active:hover > td, +.table-hover > tbody > tr:hover > .active, +.table-hover > tbody > tr.active:hover > th { + background-color: #e9e9e9; +} +.table > thead > tr > td.success, +.table > tbody > tr > td.success, +.table > tfoot > tr > td.success, +.table > thead > tr > th.success, +.table > tbody > tr > th.success, +.table > tfoot > tr > th.success, +.table > thead > tr.success > td, +.table > tbody > tr.success > td, +.table > tfoot > tr.success > td, +.table > thead > tr.success > th, +.table > tbody > tr.success > th, +.table > tfoot > tr.success > th { + background-color: #dff0d8; +} +.table-hover > tbody > tr > td.success:hover, +.table-hover > tbody > tr > th.success:hover, +.table-hover > tbody > tr.success:hover > td, +.table-hover > tbody > tr:hover > .success, +.table-hover > tbody > tr.success:hover > th { + background-color: #d1eac8; +} +.table > thead > tr > td.info, +.table > tbody > tr > td.info, +.table > tfoot > tr > td.info, +.table > thead > tr > th.info, +.table > tbody > tr > th.info, +.table > tfoot > tr > th.info, +.table > thead > tr.info > td, +.table > tbody > tr.info > td, +.table > tfoot > tr.info > td, +.table > thead > tr.info > th, +.table > tbody > tr.info > th, +.table > tfoot > tr.info > th { + background-color: #d9edf7; +} +.table-hover > tbody > tr > td.info:hover, +.table-hover > tbody > tr > th.info:hover, +.table-hover > tbody > tr.info:hover > td, +.table-hover > tbody > tr:hover > .info, +.table-hover > tbody > tr.info:hover > th { + background-color: #c6e4f3; +} +.table > thead > tr > td.warning, +.table > tbody > tr > td.warning, +.table > tfoot > tr > td.warning, +.table > thead > tr > th.warning, +.table > tbody > tr > th.warning, +.table > tfoot > tr > th.warning, +.table > thead > tr.warning > td, +.table > tbody > tr.warning > td, +.table > tfoot > tr.warning > td, +.table > thead > tr.warning > th, +.table > tbody > tr.warning > th, +.table > tfoot > tr.warning > th { + background-color: #fcf8e3; +} +.table-hover > tbody > tr > td.warning:hover, +.table-hover > tbody > tr > th.warning:hover, +.table-hover > tbody > tr.warning:hover > td, +.table-hover > tbody > tr:hover > .warning, +.table-hover > tbody > tr.warning:hover > th { + background-color: #faf3cd; +} +.table > thead > tr > td.danger, +.table > tbody > tr > td.danger, +.table > tfoot > tr > td.danger, +.table > thead > tr > th.danger, +.table > tbody > tr > th.danger, +.table > tfoot > tr > th.danger, +.table > thead > tr.danger > td, +.table > tbody > tr.danger > td, +.table > tfoot > tr.danger > td, +.table > thead > tr.danger > th, +.table > tbody > tr.danger > th, +.table > tfoot > tr.danger > th { + background-color: #f2dede; +} +.table-hover > tbody > tr > td.danger:hover, +.table-hover > tbody > tr > th.danger:hover, +.table-hover > tbody > tr.danger:hover > td, +.table-hover > tbody > tr:hover > .danger, +.table-hover > tbody > tr.danger:hover > th { + background-color: #ebcdcd; +} +.table-responsive { + overflow-x: auto; + min-height: 0.01%; +} +@media screen and (max-width: 767px) { + .table-responsive { + width: 100%; + margin-bottom: 15px; + overflow-y: hidden; + -ms-overflow-style: -ms-autohiding-scrollbar; + border: 1px solid #ddd; + } + .table-responsive > .table { + margin-bottom: 0; + } + .table-responsive > .table > thead > tr > th, + .table-responsive > .table > tbody > tr > th, + .table-responsive > .table > tfoot > tr > th, + .table-responsive > .table > thead > tr > td, + .table-responsive > .table > tbody > tr > td, + .table-responsive > .table > tfoot > tr > td { + white-space: nowrap; + } + .table-responsive > .table-bordered { + border: 0; + } + .table-responsive > .table-bordered > thead > tr > th:first-child, + .table-responsive > .table-bordered > tbody > tr > th:first-child, + .table-responsive > .table-bordered > tfoot > tr > th:first-child, + .table-responsive > .table-bordered > thead > tr > td:first-child, + .table-responsive > .table-bordered > tbody > tr > td:first-child, + .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; + } + .table-responsive > .table-bordered > thead > tr > th:last-child, + .table-responsive > .table-bordered > tbody > tr > th:last-child, + .table-responsive > .table-bordered > tfoot > tr > th:last-child, + .table-responsive > .table-bordered > thead > tr > td:last-child, + .table-responsive > .table-bordered > tbody > tr > td:last-child, + .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; + } + .table-responsive > .table-bordered > tbody > tr:last-child > th, + .table-responsive > .table-bordered > tfoot > tr:last-child > th, + .table-responsive > .table-bordered > tbody > tr:last-child > td, + .table-responsive > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; + } +} +fieldset { + padding: 0; + margin: 0; + border: 0; + min-width: 0; +} +legend { + display: block; + width: 100%; + padding: 0; + margin-bottom: 20px; + font-size: 21px; + line-height: inherit; + color: #333; + border: 0; + border-bottom: 1px solid #e5e5e5; +} +label { + display: inline-block; + max-width: 100%; + margin-bottom: 5px; + font-weight: bold; +} +input[type="search"] { + box-sizing: border-box; +} +input[type="radio"], +input[type="checkbox"] { + margin: 4px 0 0; + margin-top: 1px \9; + line-height: normal; +} +input[type="file"] { + display: block; +} +input[type="range"] { + display: block; + width: 100%; +} +select[multiple], +select[size] { + height: auto; +} +input[type="file"]:focus, +input[type="radio"]:focus, +input[type="checkbox"]:focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +output { + display: block; + padding-top: 7px; + font-size: 14px; + line-height: 1.428571429; + color: #fff; +} +.form-control, +.inline-form-control { + display: block; + width: 100%; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + color: #fff; + background-color: #003b4a; + background-image: none; + border: 1px solid #001a20; + border-radius: 4px; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} +.form-control:focus, +.inline-form-control:focus { + border-color: #52dcff; + outline: 0; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(82,220,255,0.6); +} +.form-control::-moz-placeholder, +.inline-form-control::-moz-placeholder { + color: #999; + opacity: 1; +} +.form-control:-ms-input-placeholder, +.inline-form-control:-ms-input-placeholder { + color: #999; +} +.form-control::-webkit-input-placeholder, +.inline-form-control::-webkit-input-placeholder { + color: #999; +} +.form-control[disabled], +.inline-form-control[disabled], +.form-control[readonly], +.inline-form-control[readonly], +fieldset[disabled] .form-control, +fieldset[disabled] .inline-form-control { + background-color: #eee; + opacity: 1; +} +.form-control[disabled], +.inline-form-control[disabled], +fieldset[disabled] .form-control, +fieldset[disabled] .inline-form-control { + cursor: not-allowed; +} +textarea.form-control, +textarea.inline-form-control { + height: auto; +} +input[type="search"] { + -webkit-appearance: none; +} +@media screen and (-webkit-min-device-pixel-ratio: 0) { + input[type="date"], + input[type="time"], + input[type="datetime-local"], + input[type="month"] { + line-height: 34px; + } + input[type="date"].input-sm, + input[type="time"].input-sm, + input[type="datetime-local"].input-sm, + input[type="month"].input-sm, + .input-group-sm input[type="date"], + .input-group-sm input[type="time"], + .input-group-sm input[type="datetime-local"], + .input-group-sm input[type="month"] { + line-height: 30px; + } + input[type="date"].input-lg, + input[type="time"].input-lg, + input[type="datetime-local"].input-lg, + input[type="month"].input-lg, + .input-group-lg input[type="date"], + .input-group-lg input[type="time"], + .input-group-lg input[type="datetime-local"], + .input-group-lg input[type="month"] { + line-height: 46px; + } +} +.form-group { + margin-bottom: 15px; +} +.radio, +.checkbox { + position: relative; + display: block; + margin-top: 10px; + margin-bottom: 10px; +} +.radio label, +.checkbox label { + min-height: 20px; + padding-left: 20px; + margin-bottom: 0; + font-weight: normal; + cursor: pointer; +} +.radio input[type="radio"], +.radio-inline input[type="radio"], +.checkbox input[type="checkbox"], +.checkbox-inline input[type="checkbox"] { + position: absolute; + margin-left: -20px; + margin-top: 4px \9; +} +.radio + .radio, +.checkbox + .checkbox { + margin-top: -5px; +} +.radio-inline, +.checkbox-inline { + position: relative; + display: inline-block; + padding-left: 20px; + margin-bottom: 0; + vertical-align: middle; + font-weight: normal; + cursor: pointer; +} +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; +} +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"].disabled, +input[type="checkbox"].disabled, +fieldset[disabled] input[type="radio"], +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} +.radio-inline.disabled, +.checkbox-inline.disabled, +fieldset[disabled] .radio-inline, +fieldset[disabled] .checkbox-inline { + cursor: not-allowed; +} +.radio.disabled label, +.checkbox.disabled label, +fieldset[disabled] .radio label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} +.form-control-static { + padding-top: 7px; + padding-bottom: 7px; + margin-bottom: 0; + min-height: 34px; +} +.form-control-static.input-lg, +.form-control-static.input-sm { + padding-left: 0; + padding-right: 0; +} +.input-sm, +.form-horizontal .form-group-sm .form-control, +.input-group-sm > .form-control, +.input-group-sm > .input-group-addon, +.input-group-sm > .input-group-btn > .btn { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.input-sm, +select.form-horizontal .form-group-sm .form-control, +select.input-group-sm > .form-control, +select.input-group-sm > .input-group-addon, +select.input-group-sm > .input-group-btn > .btn { + height: 30px; + line-height: 30px; +} +textarea.input-sm, +textarea.form-horizontal .form-group-sm .form-control, +textarea.input-group-sm > .form-control, +textarea.input-group-sm > .input-group-addon, +textarea.input-group-sm > .input-group-btn > .btn, +select[multiple].input-sm, +select[multiple].form-horizontal .form-group-sm .form-control, +select[multiple].input-group-sm > .form-control, +select[multiple].input-group-sm > .input-group-addon, +select[multiple].input-group-sm > .input-group-btn > .btn { + height: auto; +} +.form-group-sm .form-control { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +select.form-group-sm .form-control { + height: 30px; + line-height: 30px; +} +textarea.form-group-sm .form-control, +select[multiple].form-group-sm .form-control { + height: auto; +} +.form-group-sm .form-control-static { + height: 30px; + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + min-height: 32px; +} +.input-lg, +.input-group-lg > .form-control, +.input-group-lg > .input-group-addon, +.input-group-lg > .input-group-btn > .btn { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.input-lg, +select.input-group-lg > .form-control, +select.input-group-lg > .input-group-addon, +select.input-group-lg > .input-group-btn > .btn { + height: 46px; + line-height: 46px; +} +textarea.input-lg, +textarea.input-group-lg > .form-control, +textarea.input-group-lg > .input-group-addon, +textarea.input-group-lg > .input-group-btn > .btn, +select[multiple].input-lg, +select[multiple].input-group-lg > .form-control, +select[multiple].input-group-lg > .input-group-addon, +select[multiple].input-group-lg > .input-group-btn > .btn { + height: auto; +} +.form-group-lg .form-control { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +select.form-group-lg .form-control { + height: 46px; + line-height: 46px; +} +textarea.form-group-lg .form-control, +select[multiple].form-group-lg .form-control { + height: auto; +} +.form-group-lg .form-control-static { + height: 46px; + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + min-height: 38px; +} +.has-feedback { + position: relative; +} +.has-feedback .form-control { + padding-right: 42.5px; +} +.form-control-feedback { + position: absolute; + top: 0; + right: 0; + z-index: 2; + display: block; + width: 34px; + height: 34px; + line-height: 34px; + text-align: center; + pointer-events: none; +} +.input-lg + .form-control-feedback { + width: 46px; + height: 46px; + line-height: 46px; +} +.input-sm + .form-control-feedback { + width: 30px; + height: 30px; + line-height: 30px; +} +.has-success .help-block, +.has-success .control-label, +.has-success .radio, +.has-success .checkbox, +.has-success .radio-inline, +.has-success .checkbox-inline, +.has-success.radio label, +.has-success.checkbox label, +.has-success.radio-inline label, +.has-success.checkbox-inline label { + color: #3c763d; +} +.has-success .form-control { + border-color: #3c763d; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); +} +.has-success .form-control:focus { + border-color: #366a37; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #52a254; +} +.has-success .input-group-addon { + color: #3c763d; + border-color: #3c763d; + background-color: #dff0d8; +} +.has-success .form-control-feedback { + color: #3c763d; +} +.has-warning .help-block, +.has-warning .control-label, +.has-warning .radio, +.has-warning .checkbox, +.has-warning .radio-inline, +.has-warning .checkbox-inline, +.has-warning.radio label, +.has-warning.checkbox label, +.has-warning.radio-inline label, +.has-warning.checkbox-inline label { + color: #8a6d3b; +} +.has-warning .form-control { + border-color: #8a6d3b; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); +} +.has-warning .form-control:focus { + border-color: #7c6235; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #b48f50; +} +.has-warning .input-group-addon { + color: #8a6d3b; + border-color: #8a6d3b; + background-color: #fcf8e3; +} +.has-warning .form-control-feedback { + color: #8a6d3b; +} +.has-error .help-block, +.has-error .control-label, +.has-error .radio, +.has-error .checkbox, +.has-error .radio-inline, +.has-error .checkbox-inline, +.has-error.radio label, +.has-error.checkbox label, +.has-error.radio-inline label, +.has-error.checkbox-inline label { + color: #a94442; +} +.has-error .form-control { + border-color: #a94442; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); +} +.has-error .form-control:focus { + border-color: #983d3b; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 6px #c16361; +} +.has-error .input-group-addon { + color: #a94442; + border-color: #a94442; + background-color: #f2dede; +} +.has-error .form-control-feedback { + color: #a94442; +} +.has-feedback label ~ .form-control-feedback { + top: 25px; +} +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} +.help-block { + display: block; + margin-top: 5px; + margin-bottom: 10px; + color: #666; +} +@media (min-width: 768px) { + .form-inline .form-group, + .navbar-form .form-group { + display: inline-block; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .form-control, + .navbar-form .form-control { + display: inline-block; + width: auto; + vertical-align: middle; + } + .form-inline .form-control-static, + .navbar-form .form-control-static { + display: inline-block; + } + .form-inline .input-group, + .navbar-form .input-group { + display: inline-table; + vertical-align: middle; + } + .form-inline .input-group .input-group-addon, + .navbar-form .input-group .input-group-addon, + .form-inline .input-group .input-group-btn, + .navbar-form .input-group .input-group-btn, + .form-inline .input-group .form-control, + .navbar-form .input-group .form-control { + width: auto; + } + .form-inline .input-group > .form-control, + .navbar-form .input-group > .form-control { + width: 100%; + } + .form-inline .control-label, + .navbar-form .control-label { + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio, + .navbar-form .radio, + .form-inline .checkbox, + .navbar-form .checkbox { + display: inline-block; + margin-top: 0; + margin-bottom: 0; + vertical-align: middle; + } + .form-inline .radio label, + .navbar-form .radio label, + .form-inline .checkbox label, + .navbar-form .checkbox label { + padding-left: 0; + } + .form-inline .radio input[type="radio"], + .navbar-form .radio input[type="radio"], + .form-inline .checkbox input[type="checkbox"], + .navbar-form .checkbox input[type="checkbox"] { + position: relative; + margin-left: 0; + } + .form-inline .has-feedback .form-control-feedback, + .navbar-form .has-feedback .form-control-feedback { + top: 0; + } +} +.form-horizontal .radio, +.form-horizontal .checkbox, +.form-horizontal .radio-inline, +.form-horizontal .checkbox-inline { + margin-top: 0; + margin-bottom: 0; + padding-top: 7px; +} +.form-horizontal .radio, +.form-horizontal .checkbox { + min-height: 27px; +} +.form-horizontal .form-group { + margin-left: -15px; + margin-right: -15px; +} +@media (min-width: 768px) { + .form-horizontal .control-label { + text-align: right; + margin-bottom: 0; + padding-top: 7px; + } +} +.form-horizontal .has-feedback .form-control-feedback { + right: 15px; +} +@media (min-width: 768px) { + .form-horizontal .form-group-lg .control-label { + padding-top: 14.333333px; + } +} +@media (min-width: 768px) { + .form-horizontal .form-group-sm .control-label { + padding-top: 6px; + } +} +.btn { + display: inline-block; + margin-bottom: 0; + font-weight: normal; + text-align: center; + vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + background-image: none; + border: 1px solid transparent; + white-space: nowrap; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + border-radius: 4px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.btn:focus, +.btn:active:focus, +.btn.active:focus, +.btn.focus, +.btn:active.focus, +.btn.active.focus { + outline: thin dotted; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} +.btn:hover, +.btn:focus, +.btn.focus { + color: #99b2b8; + text-decoration: none; +} +.btn:active, +.btn.active { + outline: 0; + background-image: none; + box-shadow: inset 0 3px 5px rgba(0,0,0,0.125); +} +.btn.disabled, +.btn[disabled], +fieldset[disabled] .btn { + cursor: not-allowed; + pointer-events: none; + opacity: 0.65; + filter: alpha(opacity=65); + box-shadow: none; +} +.btn-default { + color: #99b2b8; + background-color: #004355; + border-color: #001a20; +} +.btn-default:hover, +.btn-default:focus, +.btn-default.focus, +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + color: #99b2b8; + background-color: #003c4d; + border-color: #00171c; +} +.btn-default:active, +.btn-default.active, +.open > .dropdown-toggle.btn-default { + background-image: none; +} +.btn-default.disabled, +.btn-default[disabled], +fieldset[disabled] .btn-default, +.btn-default.disabled:hover, +.btn-default[disabled]:hover, +fieldset[disabled] .btn-default:hover, +.btn-default.disabled:focus, +.btn-default[disabled]:focus, +fieldset[disabled] .btn-default:focus, +.btn-default.disabled.focus, +.btn-default[disabled].focus, +fieldset[disabled] .btn-default.focus, +.btn-default.disabled:active, +.btn-default[disabled]:active, +fieldset[disabled] .btn-default:active, +.btn-default.disabled.active, +.btn-default[disabled].active, +fieldset[disabled] .btn-default.active { + background-color: #004355; + border-color: #001a20; +} +.btn-default .badge { + color: #004355; + background-color: #99b2b8; +} +.btn-primary { + color: #fff; + background-color: #088cff; + border-color: #0086fa; +} +.btn-primary:hover, +.btn-primary:focus, +.btn-primary.focus, +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + color: #fff; + background-color: #007eed; + border-color: #0076dc; +} +.btn-primary:active, +.btn-primary.active, +.open > .dropdown-toggle.btn-primary { + background-image: none; +} +.btn-primary.disabled, +.btn-primary[disabled], +fieldset[disabled] .btn-primary, +.btn-primary.disabled:hover, +.btn-primary[disabled]:hover, +fieldset[disabled] .btn-primary:hover, +.btn-primary.disabled:focus, +.btn-primary[disabled]:focus, +fieldset[disabled] .btn-primary:focus, +.btn-primary.disabled.focus, +.btn-primary[disabled].focus, +fieldset[disabled] .btn-primary.focus, +.btn-primary.disabled:active, +.btn-primary[disabled]:active, +fieldset[disabled] .btn-primary:active, +.btn-primary.disabled.active, +.btn-primary[disabled].active, +fieldset[disabled] .btn-primary.active { + background-color: #088cff; + border-color: #0086fa; +} +.btn-primary .badge { + color: #088cff; + background-color: #fff; +} +.btn-success { + color: #fff; + background-color: #22bd89; + border-color: #20b482; +} +.btn-success:hover, +.btn-success:focus, +.btn-success.focus, +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + color: #fff; + background-color: #1faa7b; + border-color: #1c9e72; +} +.btn-success:active, +.btn-success.active, +.open > .dropdown-toggle.btn-success { + background-image: none; +} +.btn-success.disabled, +.btn-success[disabled], +fieldset[disabled] .btn-success, +.btn-success.disabled:hover, +.btn-success[disabled]:hover, +fieldset[disabled] .btn-success:hover, +.btn-success.disabled:focus, +.btn-success[disabled]:focus, +fieldset[disabled] .btn-success:focus, +.btn-success.disabled.focus, +.btn-success[disabled].focus, +fieldset[disabled] .btn-success.focus, +.btn-success.disabled:active, +.btn-success[disabled]:active, +fieldset[disabled] .btn-success:active, +.btn-success.disabled.active, +.btn-success[disabled].active, +fieldset[disabled] .btn-success.active { + background-color: #22bd89; + border-color: #20b482; +} +.btn-success .badge { + color: #22bd89; + background-color: #fff; +} +.btn-info { + color: #fff; + background-color: #5bdeff; + border-color: #4adbff; +} +.btn-info:hover, +.btn-info:focus, +.btn-info.focus, +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + color: #fff; + background-color: #38d7ff; + border-color: #23d3ff; +} +.btn-info:active, +.btn-info.active, +.open > .dropdown-toggle.btn-info { + background-image: none; +} +.btn-info.disabled, +.btn-info[disabled], +fieldset[disabled] .btn-info, +.btn-info.disabled:hover, +.btn-info[disabled]:hover, +fieldset[disabled] .btn-info:hover, +.btn-info.disabled:focus, +.btn-info[disabled]:focus, +fieldset[disabled] .btn-info:focus, +.btn-info.disabled.focus, +.btn-info[disabled].focus, +fieldset[disabled] .btn-info.focus, +.btn-info.disabled:active, +.btn-info[disabled]:active, +fieldset[disabled] .btn-info:active, +.btn-info.disabled.active, +.btn-info[disabled].active, +fieldset[disabled] .btn-info.active { + background-color: #5bdeff; + border-color: #4adbff; +} +.btn-info .badge { + color: #5bdeff; + background-color: #fff; +} +.btn-warning { + color: #fff; + background-color: #cd8737; + border-color: #c68031; +} +.btn-warning:hover, +.btn-warning:focus, +.btn-warning.focus, +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + color: #fff; + background-color: #bb7a2f; + border-color: #ae712b; +} +.btn-warning:active, +.btn-warning.active, +.open > .dropdown-toggle.btn-warning { + background-image: none; +} +.btn-warning.disabled, +.btn-warning[disabled], +fieldset[disabled] .btn-warning, +.btn-warning.disabled:hover, +.btn-warning[disabled]:hover, +fieldset[disabled] .btn-warning:hover, +.btn-warning.disabled:focus, +.btn-warning[disabled]:focus, +fieldset[disabled] .btn-warning:focus, +.btn-warning.disabled.focus, +.btn-warning[disabled].focus, +fieldset[disabled] .btn-warning.focus, +.btn-warning.disabled:active, +.btn-warning[disabled]:active, +fieldset[disabled] .btn-warning:active, +.btn-warning.disabled.active, +.btn-warning[disabled].active, +fieldset[disabled] .btn-warning.active { + background-color: #cd8737; + border-color: #c68031; +} +.btn-warning .badge { + color: #cd8737; + background-color: #fff; +} +.btn-danger { + color: #fff; + background-color: #da2828; + border-color: #d12424; +} +.btn-danger:hover, +.btn-danger:focus, +.btn-danger.focus, +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + color: #fff; + background-color: #c62222; + border-color: #b82020; +} +.btn-danger:active, +.btn-danger.active, +.open > .dropdown-toggle.btn-danger { + background-image: none; +} +.btn-danger.disabled, +.btn-danger[disabled], +fieldset[disabled] .btn-danger, +.btn-danger.disabled:hover, +.btn-danger[disabled]:hover, +fieldset[disabled] .btn-danger:hover, +.btn-danger.disabled:focus, +.btn-danger[disabled]:focus, +fieldset[disabled] .btn-danger:focus, +.btn-danger.disabled.focus, +.btn-danger[disabled].focus, +fieldset[disabled] .btn-danger.focus, +.btn-danger.disabled:active, +.btn-danger[disabled]:active, +fieldset[disabled] .btn-danger:active, +.btn-danger.disabled.active, +.btn-danger[disabled].active, +fieldset[disabled] .btn-danger.active { + background-color: #da2828; + border-color: #d12424; +} +.btn-danger .badge { + color: #da2828; + background-color: #fff; +} +.btn-link { + color: #d5dfe2; + font-weight: normal; + border-radius: 0; +} +.btn-link, +.btn-link:active, +.btn-link.active, +.btn-link[disabled], +fieldset[disabled] .btn-link { + background-color: transparent; + box-shadow: none; +} +.btn-link, +.btn-link:hover, +.btn-link:focus, +.btn-link:active { + border-color: transparent; +} +.btn-link:hover, +.btn-link:focus { + color: #aec1c7; + text-decoration: underline; + background-color: transparent; +} +.btn-link[disabled]:hover, +fieldset[disabled] .btn-link:hover, +.btn-link[disabled]:focus, +fieldset[disabled] .btn-link:focus { + color: #777; + text-decoration: none; +} +.btn-lg, +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.3333333; + border-radius: 6px; +} +.btn-sm, +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-xs, +.btn-group-xs > .btn { + padding: 1px 5px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; +} +.btn-block { + display: block; + width: 100%; +} +.btn-block + .btn-block { + margin-top: 5px; +} +input[type="submit"].btn-block, +input[type="reset"].btn-block, +input[type="button"].btn-block { + width: 100%; +} +.fade { + opacity: 0; + -webkit-transition: opacity 0.15s linear; + transition: opacity 0.15s linear; +} +.fade.in { + opacity: 1; +} +.collapse { + display: none; +} +.collapse.in { + display: block; +} +tr.collapse.in { + display: table-row; +} +tbody.collapse.in { + display: table-row-group; +} +.collapsing { + position: relative; + height: 0; + overflow: hidden; + -webkit-transition-property: height, visibility; + transition-property: height, visibility; + -webkit-transition-duration: 0.35s; + transition-duration: 0.35s; + -webkit-transition-timing-function: ease; + transition-timing-function: ease; +} +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px dashed; + border-right: 4px solid transparent; + border-left: 4px solid transparent; +} +.dropup, +.dropdown { + position: relative; +} +.dropdown-toggle:focus { + outline: 0; +} +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + font-size: 14px; + text-align: left; + background-color: #002b36; + border: 1px solid #ccc; + border: 1px solid #001a20; + border-radius: 4px; + box-shadow: 0 6px 12px rgba(0,0,0,0.175); + background-clip: padding-box; +} +.dropdown-menu.pull-right { + right: 0; + left: auto; +} +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.dropdown-menu > li > a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #99b2b8; + white-space: nowrap; +} +.dropdown-menu > li > a:hover, +.dropdown-menu > li > a:focus { + text-decoration: none; + color: #fff; + background-color: #004b5f; +} +.dropdown-menu > .active > a, +.dropdown-menu > .active > a:hover, +.dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + outline: 0; + background-color: #088cff; +} +.dropdown-menu > .disabled > a, +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + color: #777; +} +.dropdown-menu > .disabled > a:hover, +.dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); + cursor: not-allowed; +} +.open > .dropdown-menu { + display: block; +} +.open > a { + outline: 0; +} +.dropdown-menu-right { + left: auto; + right: 0; +} +.dropdown-menu-left { + left: 0; + right: auto; +} +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #777; + white-space: nowrap; +} +.dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: 990; +} +.pull-right > .dropdown-menu { + right: 0; + left: auto; +} +.dropup .caret, +.navbar-fixed-bottom .dropdown .caret { + border-top: 0; + border-bottom: 4px solid; + content: ""; +} +.dropup .dropdown-menu, +.navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto; + } + .navbar-right .dropdown-menu-left { + right: auto; + left: 0; + } +} +.btn-group, +.btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle; +} +.btn-group > .btn, +.btn-group-vertical > .btn { + position: relative; + float: left; +} +.btn-group > .btn:hover, +.btn-group-vertical > .btn:hover, +.btn-group > .btn:focus, +.btn-group-vertical > .btn:focus, +.btn-group > .btn:active, +.btn-group-vertical > .btn:active, +.btn-group > .btn.active, +.btn-group-vertical > .btn.active { + z-index: 2; +} +.btn-group .btn + .btn, +.btn-group .btn + .btn-group, +.btn-group .btn-group + .btn, +.btn-group .btn-group + .btn-group { + margin-left: -1px; +} +.btn-toolbar { + margin-left: -5px; +} +.btn-toolbar .btn-group, +.btn-toolbar .input-group { + float: left; +} +.btn-toolbar > .btn, +.btn-toolbar > .btn-group, +.btn-toolbar > .input-group { + margin-left: 5px; +} +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0; +} +.btn-group > .btn:first-child { + margin-left: 0; +} +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.btn-group > .btn:last-child:not(:first-child), +.btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.btn-group > .btn-group { + float: left; +} +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.btn-group .dropdown-toggle:active, +.btn-group.open .dropdown-toggle { + outline: 0; +} +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px; +} +.btn-group > .btn-lg + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px; +} +.btn-group.open .dropdown-toggle { + box-shadow: inset 0 3px 5px rgba(0,0,0,0.125); +} +.btn-group.open .dropdown-toggle.btn-link { + box-shadow: none; +} +.btn .caret { + margin-left: 0; +} +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0; +} +.dropup .btn-lg .caret { + border-width: 0 5px 5px; +} +.btn-group-vertical > .btn, +.btn-group-vertical > .btn-group, +.btn-group-vertical > .btn-group > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; +} +.btn-group-vertical > .btn-group > .btn { + float: none; +} +.btn-group-vertical > .btn + .btn, +.btn-group-vertical > .btn + .btn-group, +.btn-group-vertical > .btn-group + .btn, +.btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0; +} +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0; +} +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-bottom-left-radius: 4px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0; +} +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, +.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate; +} +.btn-group-justified > .btn, +.btn-group-justified > .btn-group { + float: none; + display: table-cell; + width: 1%; +} +.btn-group-justified > .btn-group .btn { + width: 100%; +} +.btn-group-justified > .btn-group .dropdown-menu { + left: auto; +} +[data-toggle="buttons"] > .btn input[type="radio"], +[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], +[data-toggle="buttons"] > .btn input[type="checkbox"], +[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { + position: absolute; + clip: rect(0, 0, 0, 0); + pointer-events: none; +} +.input-group { + position: relative; + display: table; + border-collapse: separate; +} +.input-group[class*="col-"] { + float: none; + padding-left: 0; + padding-right: 0; +} +.input-group .form-control { + position: relative; + z-index: 2; + float: left; + width: 100%; + margin-bottom: 0; +} +.input-group-addon, +.input-group-btn, +.input-group .form-control { + display: table-cell; +} +.input-group-addon:not(:first-child):not(:last-child), +.input-group-btn:not(:first-child):not(:last-child), +.input-group .form-control:not(:first-child):not(:last-child) { + border-radius: 0; +} +.input-group-addon, +.input-group-btn { + width: 1%; + white-space: nowrap; + vertical-align: middle; +} +.input-group-addon { + padding: 6px 12px; + font-size: 14px; + font-weight: normal; + line-height: 1; + color: #fff; + text-align: center; + background-color: #eee; + border: 1px solid #001a20; + border-radius: 4px; +} +.input-group-addon.input-sm { + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; +} +.input-group-addon.input-lg { + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; +} +.input-group-addon input[type="radio"], +.input-group-addon input[type="checkbox"] { + margin-top: 0; +} +.input-group .form-control:first-child, +.input-group-addon:first-child, +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group > .btn, +.input-group-btn:first-child > .dropdown-toggle, +.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), +.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { + border-bottom-right-radius: 0; + border-top-right-radius: 0; +} +.input-group-addon:first-child { + border-right: 0; +} +.input-group .form-control:last-child, +.input-group-addon:last-child, +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group > .btn, +.input-group-btn:last-child > .dropdown-toggle, +.input-group-btn:first-child > .btn:not(:first-child), +.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { + border-bottom-left-radius: 0; + border-top-left-radius: 0; +} +.input-group-addon:last-child { + border-left: 0; +} +.input-group-btn { + position: relative; + font-size: 0; + white-space: nowrap; +} +.input-group-btn > .btn { + position: relative; +} +.input-group-btn > .btn + .btn { + margin-left: -1px; +} +.input-group-btn > .btn:hover, +.input-group-btn > .btn:focus, +.input-group-btn > .btn:active { + z-index: 2; +} +.input-group-btn:first-child > .btn, +.input-group-btn:first-child > .btn-group { + margin-right: -1px; +} +.input-group-btn:last-child > .btn, +.input-group-btn:last-child > .btn-group { + margin-left: -1px; +} +.nav { + margin-bottom: 0; + padding-left: 0; + list-style: none; +} +.nav > li { + position: relative; + display: block; +} +.nav > li > a { + position: relative; + display: block; + padding: 10px 15px; +} +.nav > li > a:hover, +.nav > li > a:focus { + text-decoration: none; + background-color: #003b4a; +} +.nav > li.disabled > a { + color: #777; +} +.nav > li.disabled > a:hover, +.nav > li.disabled > a:focus { + color: #777; + text-decoration: none; + background-color: transparent; + cursor: not-allowed; +} +.nav .open > a, +.nav .open > a:hover, +.nav .open > a:focus { + background-color: #003b4a; + border-color: #d5dfe2; +} +.nav .nav-divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5; +} +.nav > li > a > img { + max-width: none; +} +.nav-tabs { + border-bottom: 1px solid #ddd; +} +.nav-tabs > li { + float: left; + margin-bottom: -1px; +} +.nav-tabs > li > a { + margin-right: 2px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius: 4px 4px 0 0; +} +.nav-tabs > li > a:hover { + border-color: #eee #eee #ddd; +} +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + color: #808080; + background-color: #fff; + border: 1px solid #ddd; + border-bottom-color: transparent; + cursor: default; +} +.nav-pills > li { + float: left; +} +.nav-pills > li > a { + border-radius: 4px; +} +.nav-pills > li + li { + margin-left: 2px; +} +.nav-pills > li.active > a, +.nav-pills > li.active > a:hover, +.nav-pills > li.active > a:focus { + color: #d5dfe2; + background-color: #088cff; +} +.nav-stacked > li { + float: none; +} +.nav-stacked > li + li { + margin-top: 2px; + margin-left: 0; +} +.nav-justified, +.nav-tabs.nav-justified { + width: 100%; +} +.nav-justified > li, +.nav-tabs.nav-justified > li { + float: none; +} +.nav-justified > li > a, +.nav-tabs.nav-justified > li > a { + text-align: center; + margin-bottom: 5px; +} +.nav-justified > .dropdown .dropdown-menu, +.nav-tabs.nav-justified > .dropdown .dropdown-menu { + top: auto; + left: auto; +} +@media (min-width: 768px) { + .nav-justified > li, + .nav-tabs.nav-justified > li { + display: table-cell; + width: 1%; + } + .nav-justified > li > a, + .nav-tabs.nav-justified > li > a { + margin-bottom: 0; + } +} +.nav-tabs-justified, +.nav-tabs.nav-justified { + border-bottom: 0; +} +.nav-tabs-justified > li > a, +.nav-tabs.nav-justified > li > a { + margin-right: 0; + border-radius: 4px; +} +.nav-tabs-justified > .active > a, +.nav-tabs.nav-justified > .active > a, +.nav-tabs-justified > .active > a:hover, +.nav-tabs.nav-justified > .active > a:hover, +.nav-tabs-justified > .active > a:focus, +.nav-tabs.nav-justified > .active > a:focus { + border: 1px solid #ddd; +} +@media (min-width: 768px) { + .nav-tabs-justified > li > a, + .nav-tabs.nav-justified > li > a { + border-bottom: 1px solid #ddd; + border-radius: 4px 4px 0 0; + } + .nav-tabs-justified > .active > a, + .nav-tabs.nav-justified > .active > a, + .nav-tabs-justified > .active > a:hover, + .nav-tabs.nav-justified > .active > a:hover, + .nav-tabs-justified > .active > a:focus, + .nav-tabs.nav-justified > .active > a:focus { + border-bottom-color: #fff; + } +} +.tab-content > .tab-pane { + display: none; +} +.tab-content > .active { + display: block; +} +.nav-tabs .dropdown-menu { + margin-top: -1px; + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.navbar { + position: relative; + min-height: 50px; + margin-bottom: 20px; + border: 1px solid transparent; +} +@media (min-width: 768px) { + .navbar { + border-radius: 4px; + } +} +@media (min-width: 768px) { + .navbar-header { + float: left; + } +} +.navbar-collapse { + overflow-x: visible; + padding-right: 15px; + padding-left: 15px; + border-top: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); + -webkit-overflow-scrolling: touch; +} +.navbar-collapse.in { + overflow-y: auto; +} +@media (min-width: 768px) { + .navbar-collapse { + width: auto; + border-top: 0; + box-shadow: none; + } + .navbar-collapse.collapse { + display: block !important; + height: auto !important; + padding-bottom: 0; + overflow: visible !important; + } + .navbar-collapse.in { + overflow-y: visible; + } + .navbar-fixed-top .navbar-collapse, + .navbar-static-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + padding-left: 0; + padding-right: 0; + } +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { + max-height: 340px; +} +@media (max-device-width: 480px) and (orientation: landscape) { + .navbar-fixed-top .navbar-collapse, + .navbar-fixed-bottom .navbar-collapse { + max-height: 200px; + } +} +.container > .navbar-header, +.container-fluid > .navbar-header, +.container > .navbar-collapse, +.container-fluid > .navbar-collapse { + margin-right: -15px; + margin-left: -15px; +} +@media (min-width: 768px) { + .container > .navbar-header, + .container-fluid > .navbar-header, + .container > .navbar-collapse, + .container-fluid > .navbar-collapse { + margin-right: 0; + margin-left: 0; + } +} +.navbar-static-top { + z-index: 1000; + border-width: 0 0 1px; +} +@media (min-width: 768px) { + .navbar-static-top { + border-radius: 0; + } +} +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} +.navbar-brand { + float: left; + padding: 15px 15px; + font-size: 18px; + line-height: 20px; + height: 50px; +} +.navbar-brand:hover, +.navbar-brand:focus { + text-decoration: none; +} +.navbar-brand > img { + display: block; +} +@media (min-width: 768px) { + .navbar > .container .navbar-brand, + .navbar > .container-fluid .navbar-brand { + margin-left: -15px; + } +} +.navbar-toggle { + position: relative; + float: right; + margin-right: 15px; + padding: 9px 10px; + margin-top: 8px; + margin-bottom: 8px; + background-color: transparent; + background-image: none; + border: 1px solid transparent; + border-radius: 4px; +} +.navbar-toggle:focus { + outline: 0; +} +.navbar-toggle .icon-bar { + display: block; + width: 22px; + height: 2px; + border-radius: 1px; +} +.navbar-toggle .icon-bar + .icon-bar { + margin-top: 4px; +} +@media (min-width: 768px) { + .navbar-toggle { + display: none; + } +} +.navbar-nav { + margin: 7.5px -15px; +} +.navbar-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; + line-height: 20px; +} +@media (max-width: 767px) { + .navbar-nav .open .dropdown-menu { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + .navbar-nav .open .dropdown-menu > li > a, + .navbar-nav .open .dropdown-menu .dropdown-header { + padding: 5px 15px 5px 25px; + } + .navbar-nav .open .dropdown-menu > li > a { + line-height: 20px; + } + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-image: none; + } +} +@media (min-width: 768px) { + .navbar-nav { + float: left; + margin: 0; + } + .navbar-nav > li { + float: left; + } + .navbar-nav > li > a { + padding-top: 15px; + padding-bottom: 15px; + } +} +.navbar-form { + margin-left: -15px; + margin-right: -15px; + padding: 10px 15px; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 1px 0 rgba(255,255,255,0.1); + margin-top: 8px; + margin-bottom: 8px; +} +@media (max-width: 767px) { + .navbar-form .form-group { + margin-bottom: 5px; + } + .navbar-form .form-group:last-child { + margin-bottom: 0; + } +} +@media (min-width: 768px) { + .navbar-form { + width: auto; + border: 0; + margin-left: 0; + margin-right: 0; + padding-top: 0; + padding-bottom: 0; + box-shadow: none; + } +} +.navbar-nav > li > .dropdown-menu { + margin-top: 0; + border-top-right-radius: 0; + border-top-left-radius: 0; +} +.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { + margin-bottom: 0; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; +} +.navbar-btn { + margin-top: 8px; + margin-bottom: 8px; +} +.navbar-btn.btn-sm { + margin-top: 10px; + margin-bottom: 10px; +} +.navbar-btn.btn-xs { + margin-top: 14px; + margin-bottom: 14px; +} +.navbar-text { + margin-top: 15px; + margin-bottom: 15px; +} +@media (min-width: 768px) { + .navbar-text { + float: left; + margin-left: 15px; + margin-right: 15px; + } +} +@media (min-width: 768px) { + .navbar-left { + float: left !important; + } + .navbar-right { + float: right !important; + margin-right: -15px; + } + .navbar-right ~ .navbar-right { + margin-right: 0; + } +} +.navbar-default { + background-color: #f8f8f8; + border-color: #e8e8e8; +} +.navbar-default .navbar-brand { + color: #777; +} +.navbar-default .navbar-brand:hover, +.navbar-default .navbar-brand:focus { + color: #6b6b6b; + background-color: transparent; +} +.navbar-default .navbar-text { + color: #777; +} +.navbar-default .navbar-nav > li > a { + color: #777; +} +.navbar-default .navbar-nav > li > a:hover, +.navbar-default .navbar-nav > li > a:focus { + color: #333; + background-color: transparent; +} +.navbar-default .navbar-nav > .active > a, +.navbar-default .navbar-nav > .active > a:hover, +.navbar-default .navbar-nav > .active > a:focus { + color: #555; + background-color: #e8e8e8; +} +.navbar-default .navbar-nav > .disabled > a, +.navbar-default .navbar-nav > .disabled > a:hover, +.navbar-default .navbar-nav > .disabled > a:focus { + color: #ccc; + background-color: transparent; +} +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #ddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #888; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e8e8e8; +} +.navbar-default .navbar-nav > .open > a, +.navbar-default .navbar-nav > .open > a:hover, +.navbar-default .navbar-nav > .open > a:focus { + background-color: #e8e8e8; + color: #555; +} +@media (max-width: 767px) { + .navbar-default .navbar-nav .open .dropdown-menu > li > a { + color: #777; + } + .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { + color: #333; + background-color: transparent; + } + .navbar-default .navbar-nav .open .dropdown-menu > .active > a, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #555; + background-color: #e8e8e8; + } + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #ccc; + background-color: transparent; + } +} +.navbar-default .navbar-link { + color: #777; +} +.navbar-default .navbar-link:hover { + color: #333; +} +.navbar-default .btn-link { + color: #777; +} +.navbar-default .btn-link:hover, +.navbar-default .btn-link:focus { + color: #333; +} +.navbar-default .btn-link[disabled]:hover, +fieldset[disabled] .navbar-default .btn-link:hover, +.navbar-default .btn-link[disabled]:focus, +fieldset[disabled] .navbar-default .btn-link:focus { + color: #ccc; +} +.navbar-inverse { + background-color: #222; + border-color: #1f1f1f; +} +.navbar-inverse .navbar-brand { + color: #8b8b8b; +} +.navbar-inverse .navbar-brand:hover, +.navbar-inverse .navbar-brand:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-text { + color: #8b8b8b; +} +.navbar-inverse .navbar-nav > li > a { + color: #8b8b8b; +} +.navbar-inverse .navbar-nav > li > a:hover, +.navbar-inverse .navbar-nav > li > a:focus { + color: #fff; + background-color: transparent; +} +.navbar-inverse .navbar-nav > .active > a, +.navbar-inverse .navbar-nav > .active > a:hover, +.navbar-inverse .navbar-nav > .active > a:focus { + color: #fff; + background-color: #1f1f1f; +} +.navbar-inverse .navbar-nav > .disabled > a, +.navbar-inverse .navbar-nav > .disabled > a:hover, +.navbar-inverse .navbar-nav > .disabled > a:focus { + color: #444; + background-color: transparent; +} +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #202020; +} +.navbar-inverse .navbar-nav > .open > a, +.navbar-inverse .navbar-nav > .open > a:hover, +.navbar-inverse .navbar-nav > .open > a:focus { + background-color: #1f1f1f; + color: #fff; +} +@media (max-width: 767px) { + .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { + border-color: #1f1f1f; + } + .navbar-inverse .navbar-nav .open .dropdown-menu .divider { + background-color: #1f1f1f; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { + color: #8b8b8b; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { + color: #fff; + background-color: transparent; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { + color: #fff; + background-color: #1f1f1f; + } + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, + .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { + color: #444; + background-color: transparent; + } +} +.navbar-inverse .navbar-link { + color: #8b8b8b; +} +.navbar-inverse .navbar-link:hover { + color: #fff; +} +.navbar-inverse .btn-link { + color: #8b8b8b; +} +.navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link:focus { + color: #fff; +} +.navbar-inverse .btn-link[disabled]:hover, +fieldset[disabled] .navbar-inverse .btn-link:hover, +.navbar-inverse .btn-link[disabled]:focus, +fieldset[disabled] .navbar-inverse .btn-link:focus { + color: #444; +} +.label { + display: inline; + padding: 0.2em 0.6em 0.3em; + font-size: 75%; + font-weight: bold; + line-height: 1; + color: #fff; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25em; +} +a.label:hover, +a.label:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.label:empty { + display: none; +} +.btn .label { + position: relative; + top: -1px; +} +.label-default { + background-color: #777; +} +.label-default[href]:hover, +.label-default[href]:focus { + background-color: #6b6b6b; +} +.label-primary { + background-color: #088cff; +} +.label-primary[href]:hover, +.label-primary[href]:focus { + background-color: #007eed; +} +.label-success { + background-color: #22bd89; +} +.label-success[href]:hover, +.label-success[href]:focus { + background-color: #1faa7b; +} +.label-info { + background-color: #5bdeff; +} +.label-info[href]:hover, +.label-info[href]:focus { + background-color: #38d7ff; +} +.label-warning { + background-color: #cd8737; +} +.label-warning[href]:hover, +.label-warning[href]:focus { + background-color: #bb7a2f; +} +.label-danger { + background-color: #da2828; +} +.label-danger[href]:hover, +.label-danger[href]:focus { + background-color: #c62222; +} +.badge { + display: inline-block; + min-width: 10px; + padding: 3px 7px; + font-size: 12px; + font-weight: bold; + color: #fff; + line-height: 1; + vertical-align: baseline; + white-space: nowrap; + text-align: center; + background-color: #777; + border-radius: 10px; +} +.badge:empty { + display: none; +} +.btn .badge { + position: relative; + top: -1px; +} +.btn-xs .badge, +.btn-group-xs > .btn .badge { + top: 0; + padding: 1px 5px; +} +a.badge:hover, +a.badge:focus { + color: #fff; + text-decoration: none; + cursor: pointer; +} +.list-group-item.active > .badge, +.nav-pills > .active > a > .badge { + color: #d5dfe2; + background-color: #fff; +} +.list-group-item > .badge { + float: right; +} +.list-group-item > .badge + .badge { + margin-right: 5px; +} +.nav-pills > li > a > .badge { + margin-left: 3px; +} +.jumbotron { + padding: 30px 15px; + margin-bottom: 30px; + color: inherit; + background-color: #003b4a; +} +.jumbotron h1, +.jumbotron .h1 { + color: inherit; +} +.jumbotron p { + margin-bottom: 15px; + font-size: 21px; + font-weight: 200; +} +.jumbotron > hr { + border-top-color: #003543; +} +.container .jumbotron, +.container-fluid .jumbotron { + border-radius: 6px; +} +.jumbotron .container { + max-width: 100%; +} +@media screen and (min-width: 768px) { + .jumbotron { + padding: 48px 0; + } + .container .jumbotron, + .container-fluid .jumbotron { + padding-left: 60px; + padding-right: 60px; + } + .jumbotron h1, + .jumbotron .h1 { + font-size: 63px; + } +} +.thumbnail { + display: block; + padding: 4px; + margin-bottom: 20px; + line-height: 1.428571429; + background-color: #fff; + border: 1px solid #ddd; + border-radius: 4px; + -webkit-transition: border 0.2s ease-in-out; + transition: border 0.2s ease-in-out; +} +.thumbnail > img, +.thumbnail a > img { + margin-left: auto; + margin-right: auto; +} +a.thumbnail:hover, +a.thumbnail:focus, +a.thumbnail.active { + border-color: #d5dfe2; +} +.thumbnail .caption { + padding: 9px; + color: #333; +} +.alert { + padding: 15px; + margin-bottom: 20px; + border: 1px solid transparent; + border-radius: 4px; +} +.alert h4 { + margin-top: 0; + color: inherit; +} +.alert .alert-link { + font-weight: bold; +} +.alert > p, +.alert > ul { + margin-bottom: 0; +} +.alert > p + p { + margin-top: 5px; +} +.alert-dismissable, +.alert-dismissible { + padding-right: 35px; +} +.alert-dismissable .close, +.alert-dismissible .close { + position: relative; + top: -2px; + right: -21px; + color: inherit; +} +.alert-success { + background-color: #73c990; + border-color: #7acc96; + color: #fff; +} +.alert-success hr { + border-top-color: #6ec78d; +} +.alert-success .alert-link { + color: #e6e6e6; +} +.alert-info { + background-color: #6494ed; + border-color: #6c99ee; + color: #fff; +} +.alert-info hr { + border-top-color: #5c8eec; +} +.alert-info .alert-link { + color: #e6e6e6; +} +.alert-warning { + background-color: #e2c08d; + border-color: #e3c393; + color: #fff; +} +.alert-warning hr { + border-top-color: #dfbb84; +} +.alert-warning .alert-link { + color: #e6e6e6; +} +.alert-danger { + background-color: #ff6347; + border-color: #ff6b50; + color: #fff; +} +.alert-danger hr { + border-top-color: #ff5d3f; +} +.alert-danger .alert-link { + color: #e6e6e6; +} +.progress { + overflow: hidden; + height: 20px; + margin-bottom: 20px; + background-color: #f5f5f5; + border-radius: 4px; + box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); +} +.progress-bar { + float: left; + width: 0%; + height: 100%; + font-size: 12px; + line-height: 20px; + color: #fff; + text-align: center; + background-color: #088cff; + box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15); + -webkit-transition: width 0.6s ease; + transition: width 0.6s ease; +} +.progress-striped .progress-bar, +.progress-bar-striped { + 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: 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-size: 40px 40px; +} +.progress.active .progress-bar, +.progress-bar.active { + -webkit-animation: progress-bar-stripes 2s linear infinite; + animation: progress-bar-stripes 2s linear infinite; +} +.progress-bar-success { + background-color: #22bd89; +} +.progress-striped .progress-bar-success { + 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: 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-info { + background-color: #5bdeff; +} +.progress-striped .progress-bar-info { + 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: 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-warning { + background-color: #cd8737; +} +.progress-striped .progress-bar-warning { + 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: 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-danger { + background-color: #da2828; +} +.progress-striped .progress-bar-danger { + 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: 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); +} +@-webkit-keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +@keyframes progress-bar-stripes { + from { + background-position: 40px 0; + } + to { + background-position: 0 0; + } +} +.media { + margin-top: 15px; +} +.media:first-child { + margin-top: 0; +} +.media, +.media-body { + zoom: 1; + overflow: hidden; +} +.media-body { + width: 10000px; +} +.media-object { + display: block; +} +.media-right, +.media > .pull-right { + padding-left: 10px; +} +.media-left, +.media > .pull-left { + padding-right: 10px; +} +.media-left, +.media-right, +.media-body { + display: table-cell; + vertical-align: top; +} +.media-middle { + vertical-align: middle; +} +.media-bottom { + vertical-align: bottom; +} +.media-heading { + margin-top: 0; + margin-bottom: 5px; +} +.media-list { + padding-left: 0; + list-style: none; +} +.list-group { + margin-bottom: 20px; + padding-left: 0; +} +.list-group-item { + position: relative; + display: block; + padding: 10px 15px; + margin-bottom: -1px; + background-color: #fff; + border: 1px solid #ddd; +} +.list-group-item:first-child { + border-top-right-radius: 4px; + border-top-left-radius: 4px; +} +.list-group-item:last-child { + margin-bottom: 0; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px; +} +a.list-group-item { + color: #555; +} +a.list-group-item .list-group-item-heading { + color: #333; +} +a.list-group-item:hover, +a.list-group-item:focus { + text-decoration: none; + color: #555; + background-color: #f5f5f5; +} +.list-group-item.disabled, +.list-group-item.disabled:hover, +.list-group-item.disabled:focus { + background-color: #eee; + color: #777; + cursor: not-allowed; +} +.list-group-item.disabled .list-group-item-heading, +.list-group-item.disabled:hover .list-group-item-heading, +.list-group-item.disabled:focus .list-group-item-heading { + color: inherit; +} +.list-group-item.disabled .list-group-item-text, +.list-group-item.disabled:hover .list-group-item-text, +.list-group-item.disabled:focus .list-group-item-text { + color: #777; +} +.list-group-item.active, +.list-group-item.active:hover, +.list-group-item.active:focus { + z-index: 2; + color: #fff; + background-color: #088cff; + border-color: #088cff; +} +.list-group-item.active .list-group-item-heading, +.list-group-item.active:hover .list-group-item-heading, +.list-group-item.active:focus .list-group-item-heading, +.list-group-item.active .list-group-item-heading > small, +.list-group-item.active:hover .list-group-item-heading > small, +.list-group-item.active:focus .list-group-item-heading > small, +.list-group-item.active .list-group-item-heading > .small, +.list-group-item.active:hover .list-group-item-heading > .small, +.list-group-item.active:focus .list-group-item-heading > .small { + color: inherit; +} +.list-group-item.active .list-group-item-text, +.list-group-item.active:hover .list-group-item-text, +.list-group-item.active:focus .list-group-item-text { + color: #6bbaff; +} +.list-group-item-success { + color: #3c763d; + background-color: #dff0d8; +} +a.list-group-item-success { + color: #3c763d; +} +a.list-group-item-success .list-group-item-heading { + color: inherit; +} +a.list-group-item-success:hover, +a.list-group-item-success:focus { + color: #3c763d; + background-color: #d1eac8; +} +a.list-group-item-success.active, +a.list-group-item-success.active:hover, +a.list-group-item-success.active:focus { + color: #fff; + background-color: #3c763d; + border-color: #3c763d; +} +.list-group-item-info { + color: #31708f; + background-color: #d9edf7; +} +a.list-group-item-info { + color: #31708f; +} +a.list-group-item-info .list-group-item-heading { + color: inherit; +} +a.list-group-item-info:hover, +a.list-group-item-info:focus { + color: #31708f; + background-color: #c6e4f3; +} +a.list-group-item-info.active, +a.list-group-item-info.active:hover, +a.list-group-item-info.active:focus { + color: #fff; + background-color: #31708f; + border-color: #31708f; +} +.list-group-item-warning { + color: #8a6d3b; + background-color: #fcf8e3; +} +a.list-group-item-warning { + color: #8a6d3b; +} +a.list-group-item-warning .list-group-item-heading { + color: inherit; +} +a.list-group-item-warning:hover, +a.list-group-item-warning:focus { + color: #8a6d3b; + background-color: #faf3cd; +} +a.list-group-item-warning.active, +a.list-group-item-warning.active:hover, +a.list-group-item-warning.active:focus { + color: #fff; + background-color: #8a6d3b; + border-color: #8a6d3b; +} +.list-group-item-danger { + color: #a94442; + background-color: #f2dede; +} +a.list-group-item-danger { + color: #a94442; +} +a.list-group-item-danger .list-group-item-heading { + color: inherit; +} +a.list-group-item-danger:hover, +a.list-group-item-danger:focus { + color: #a94442; + background-color: #ebcdcd; +} +a.list-group-item-danger.active, +a.list-group-item-danger.active:hover, +a.list-group-item-danger.active:focus { + color: #fff; + background-color: #a94442; + border-color: #a94442; +} +.list-group-item-heading { + margin-top: 0; + margin-bottom: 5px; +} +.list-group-item-text { + margin-bottom: 0; + line-height: 1.3; +} +.panel { + margin-bottom: 20px; + background-color: #002b36; + border: 1px solid transparent; + border-radius: 4px; + box-shadow: 0 1px 1px rgba(0,0,0,0.05); +} +.panel-body { + padding: 15px; +} +.panel-heading { + padding: 10px 15px; + border-bottom: 1px solid transparent; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel-heading > .dropdown .dropdown-toggle { + color: inherit; +} +.panel-title { + margin-top: 0; + margin-bottom: 0; + font-size: 16px; + color: inherit; +} +.panel-title > a, +.panel-title > small, +.panel-title > .small, +.panel-title > small > a, +.panel-title > .small > a { + color: inherit; +} +.panel-footer { + padding: 10px 15px; + background-color: #f5f5f5; + border-top: 1px solid #ddd; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .list-group, +.panel > .panel-collapse > .list-group { + margin-bottom: 0; +} +.panel > .list-group .list-group-item, +.panel > .panel-collapse > .list-group .list-group-item { + border-width: 1px 0; + border-radius: 0; +} +.panel > .list-group:first-child .list-group-item:first-child, +.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { + border-top: 0; + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .list-group:last-child .list-group-item:last-child, +.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { + border-bottom: 0; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel-heading + .list-group .list-group-item:first-child { + border-top-width: 0; +} +.list-group + .panel-footer { + border-top-width: 0; +} +.panel > .table, +.panel > .table-responsive > .table, +.panel > .panel-collapse > .table { + margin-bottom: 0; +} +.panel > .table caption, +.panel > .table-responsive > .table caption, +.panel > .panel-collapse > .table caption { + padding-left: 15px; + padding-right: 15px; +} +.panel > .table:first-child, +.panel > .table-responsive:first-child > .table:first-child { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { + border-top-left-radius: 3px; + border-top-right-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { + border-top-left-radius: 3px; +} +.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, +.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, +.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, +.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { + border-top-right-radius: 3px; +} +.panel > .table:last-child, +.panel > .table-responsive:last-child > .table:last-child { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { + border-bottom-left-radius: 3px; + border-bottom-right-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { + border-bottom-left-radius: 3px; +} +.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, +.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, +.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, +.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { + border-bottom-right-radius: 3px; +} +.panel > .panel-body + .table, +.panel > .panel-body + .table-responsive, +.panel > .table + .panel-body, +.panel > .table-responsive + .panel-body { + border-top: 1px solid #ddd; +} +.panel > .table > tbody:first-child > tr:first-child th, +.panel > .table > tbody:first-child > tr:first-child td { + border-top: 0; +} +.panel > .table-bordered, +.panel > .table-responsive > .table-bordered { + border: 0; +} +.panel > .table-bordered > thead > tr > th:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, +.panel > .table-bordered > tbody > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, +.panel > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, +.panel > .table-bordered > thead > tr > td:first-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, +.panel > .table-bordered > tbody > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, +.panel > .table-bordered > tfoot > tr > td:first-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} +.panel > .table-bordered > thead > tr > th:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, +.panel > .table-bordered > tbody > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, +.panel > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, +.panel > .table-bordered > thead > tr > td:last-child, +.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, +.panel > .table-bordered > tbody > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, +.panel > .table-bordered > tfoot > tr > td:last-child, +.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} +.panel > .table-bordered > thead > tr:first-child > td, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, +.panel > .table-bordered > tbody > tr:first-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, +.panel > .table-bordered > thead > tr:first-child > th, +.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, +.panel > .table-bordered > tbody > tr:first-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { + border-bottom: 0; +} +.panel > .table-bordered > tbody > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, +.panel > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, +.panel > .table-bordered > tbody > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, +.panel > .table-bordered > tfoot > tr:last-child > th, +.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { + border-bottom: 0; +} +.panel > .table-responsive { + border: 0; + margin-bottom: 0; +} +.panel-group { + margin-bottom: 20px; +} +.panel-group .panel { + margin-bottom: 0; + border-radius: 4px; +} +.panel-group .panel + .panel { + margin-top: 5px; +} +.panel-group .panel-heading { + border-bottom: 0; +} +.panel-group .panel-heading + .panel-collapse > .panel-body, +.panel-group .panel-heading + .panel-collapse > .list-group { + border-top: 1px solid #ddd; +} +.panel-group .panel-footer { + border-top: 0; +} +.panel-group .panel-footer + .panel-collapse .panel-body { + border-bottom: 1px solid #ddd; +} +.panel-default { + border-color: #001a20; +} +.panel-default > .panel-heading { + color: #333; + background-color: #f5f5f5; + border-color: #001a20; +} +.panel-default > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #001a20; +} +.panel-default > .panel-heading .badge { + color: #f5f5f5; + background-color: #333; +} +.panel-default > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #001a20; +} +.panel-primary { + border-color: #088cff; +} +.panel-primary > .panel-heading { + color: #fff; + background-color: #088cff; + border-color: #088cff; +} +.panel-primary > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #088cff; +} +.panel-primary > .panel-heading .badge { + color: #088cff; + background-color: #fff; +} +.panel-primary > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #088cff; +} +.panel-success { + border-color: #d7eac8; +} +.panel-success > .panel-heading { + color: #3c763d; + background-color: #dff0d8; + border-color: #d7eac8; +} +.panel-success > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #d7eac8; +} +.panel-success > .panel-heading .badge { + color: #dff0d8; + background-color: #3c763d; +} +.panel-success > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #d7eac8; +} +.panel-info { + border-color: #bee9f1; +} +.panel-info > .panel-heading { + color: #31708f; + background-color: #d9edf7; + border-color: #bee9f1; +} +.panel-info > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #bee9f1; +} +.panel-info > .panel-heading .badge { + color: #d9edf7; + background-color: #31708f; +} +.panel-info > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #bee9f1; +} +.panel-warning { + border-color: #faeccd; +} +.panel-warning > .panel-heading { + color: #8a6d3b; + background-color: #fcf8e3; + border-color: #faeccd; +} +.panel-warning > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #faeccd; +} +.panel-warning > .panel-heading .badge { + color: #fcf8e3; + background-color: #8a6d3b; +} +.panel-warning > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #faeccd; +} +.panel-danger { + border-color: #ebcdd2; +} +.panel-danger > .panel-heading { + color: #a94442; + background-color: #f2dede; + border-color: #ebcdd2; +} +.panel-danger > .panel-heading + .panel-collapse > .panel-body { + border-top-color: #ebcdd2; +} +.panel-danger > .panel-heading .badge { + color: #f2dede; + background-color: #a94442; +} +.panel-danger > .panel-footer + .panel-collapse > .panel-body { + border-bottom-color: #ebcdd2; +} +.embed-responsive { + position: relative; + display: block; + height: 0; + padding: 0; + overflow: hidden; +} +.embed-responsive .embed-responsive-item, +.embed-responsive iframe, +.embed-responsive embed, +.embed-responsive object, +.embed-responsive video { + position: absolute; + top: 0; + left: 0; + bottom: 0; + height: 100%; + width: 100%; + border: 0; +} +.embed-responsive-16by9 { + padding-bottom: 56.25%; +} +.embed-responsive-4by3 { + padding-bottom: 75%; +} +.well { + min-height: 20px; + padding: 19px; + margin-bottom: 20px; + background-color: #f5f5f5; + border: 1px solid #e4e4e4; + border-radius: 4px; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); +} +.well blockquote { + border-color: #ddd; + border-color: rgba(0,0,0,0.15); +} +.well-lg { + padding: 24px; + border-radius: 6px; +} +.well-sm { + padding: 9px; + border-radius: 3px; +} +.close { + float: right; + font-size: 21px; + font-weight: bold; + line-height: 1; + color: #000; + text-shadow: 0 1px 0 #fff; + opacity: 0.2; + filter: alpha(opacity=20); +} +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); +} +button.close { + padding: 0; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; +} +.modal-open { + overflow: hidden; +} +.modal { + display: none; + overflow: hidden; + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1050; + -webkit-overflow-scrolling: touch; + outline: 0; +} +.modal.fade .modal-dialog { + -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); + transform: translate(0, -25%); + -webkit-transition: -webkit-transform 0.3s ease-out; + transition: transform 0.3s ease-out; +} +.modal.in .modal-dialog { + -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); + transform: translate(0, 0); +} +.modal-open .modal { + overflow-x: hidden; + overflow-y: auto; +} +.modal-dialog { + position: relative; + width: auto; + margin: 10px; +} +.modal-content { + position: relative; + background-color: #002b36; + border: 1px solid #999; + border: 1px solid #001a20; + border-radius: 6px; + box-shadow: 0 3px 9px rgba(0,0,0,0.5); + background-clip: padding-box; + outline: 0; +} +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; + background-color: #000; +} +.modal-backdrop.fade { + opacity: 0; + filter: alpha(opacity=0); +} +.modal-backdrop.in { + opacity: 0.5; + filter: alpha(opacity=50); +} +.modal-header { + padding: 15px; + border-bottom: 1px solid #001a20; + min-height: 16.428571429px; +} +.modal-header .close { + margin-top: -2px; +} +.modal-title { + margin: 0; + line-height: 1.428571429; +} +.modal-body { + position: relative; + padding: 15px; +} +.modal-footer { + padding: 15px; + text-align: right; + border-top: 1px solid #001a20; +} +.modal-footer .btn + .btn { + margin-left: 5px; + margin-bottom: 0; +} +.modal-footer .btn-group .btn + .btn { + margin-left: -1px; +} +.modal-footer .btn-block + .btn-block { + margin-left: 0; +} +.modal-scrollbar-measure { + position: absolute; + top: -9999px; + width: 50px; + height: 50px; + overflow: scroll; +} +@media (min-width: 768px) { + .modal-dialog { + width: 600px; + margin: 30px auto; + } + .modal-content { + box-shadow: 0 5px 15px rgba(0,0,0,0.5); + } + .modal-sm { + width: 300px; + } +} +@media (min-width: 992px) { + .modal-lg { + width: 900px; + } +} +.tooltip { + position: absolute; + z-index: 1070; + display: block; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 12px; + font-weight: normal; + line-height: 1.4; + opacity: 0; + filter: alpha(opacity=0); +} +.tooltip.in { + opacity: 0.9; + filter: alpha(opacity=90); +} +.tooltip.top { + margin-top: -3px; + padding: 5px 0; +} +.tooltip.right { + margin-left: 3px; + padding: 0 5px; +} +.tooltip.bottom { + margin-top: 3px; + padding: 5px 0; +} +.tooltip.left { + margin-left: -3px; + padding: 0 5px; +} +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + text-decoration: none; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.tooltip.top .tooltip-arrow { + bottom: 0; + left: 50%; + margin-left: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-left .tooltip-arrow { + bottom: 0; + right: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.top-right .tooltip-arrow { + bottom: 0; + left: 5px; + margin-bottom: -5px; + border-width: 5px 5px 0; + border-top-color: #000; +} +.tooltip.right .tooltip-arrow { + top: 50%; + left: 0; + margin-top: -5px; + border-width: 5px 5px 5px 0; + border-right-color: #000; +} +.tooltip.left .tooltip-arrow { + top: 50%; + right: 0; + margin-top: -5px; + border-width: 5px 0 5px 5px; + border-left-color: #000; +} +.tooltip.bottom .tooltip-arrow { + top: 0; + left: 50%; + margin-left: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-left .tooltip-arrow { + top: 0; + right: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.tooltip.bottom-right .tooltip-arrow { + top: 0; + left: 5px; + margin-top: -5px; + border-width: 0 5px 5px; + border-bottom-color: #000; +} +.popover { + position: absolute; + top: 0; + left: 0; + z-index: 1060; + display: none; + max-width: 276px; + padding: 1px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: left; + background-color: #fff; + background-clip: padding-box; + border: 1px solid #ccc; + border: 1px solid rgba(0,0,0,0.2); + border-radius: 6px; + box-shadow: 0 5px 10px rgba(0,0,0,0.2); + white-space: normal; +} +.popover.top { + margin-top: -10px; +} +.popover.right { + margin-left: 10px; +} +.popover.bottom { + margin-top: 10px; +} +.popover.left { + margin-left: -10px; +} +.popover-title { + margin: 0; + padding: 8px 14px; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; +} +.popover > .arrow, +.popover > .arrow:after { + position: absolute; + display: block; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} +.popover > .arrow { + border-width: 11px; +} +.popover > .arrow:after { + border-width: 10px; + content: ""; +} +.popover.top > .arrow { + left: 50%; + margin-left: -11px; + border-bottom-width: 0; + border-top-color: #a3a3a3; + border-top-color: rgba(0,0,0,0.25); + bottom: -11px; +} +.popover.top > .arrow:after { + content: " "; + bottom: 1px; + margin-left: -10px; + border-bottom-width: 0; + border-top-color: #fff; +} +.popover.right > .arrow { + top: 50%; + left: -11px; + margin-top: -11px; + border-left-width: 0; + border-right-color: #a3a3a3; + border-right-color: rgba(0,0,0,0.25); +} +.popover.right > .arrow:after { + content: " "; + left: 1px; + bottom: -10px; + border-left-width: 0; + border-right-color: #fff; +} +.popover.bottom > .arrow { + left: 50%; + margin-left: -11px; + border-top-width: 0; + border-bottom-color: #a3a3a3; + border-bottom-color: rgba(0,0,0,0.25); + top: -11px; +} +.popover.bottom > .arrow:after { + content: " "; + top: 1px; + margin-left: -10px; + border-top-width: 0; + border-bottom-color: #fff; +} +.popover.left > .arrow { + top: 50%; + right: -11px; + margin-top: -11px; + border-right-width: 0; + border-left-color: #a3a3a3; + border-left-color: rgba(0,0,0,0.25); +} +.popover.left > .arrow:after { + content: " "; + right: 1px; + border-right-width: 0; + border-left-color: #fff; + bottom: -10px; +} +.alert { + margin: 5px 0; +} +input.form-control::-webkit-input-placeholder, +textarea.form-control::-webkit-input-placeholder, +input.inline-form-control::-webkit-input-placeholder { + color: #99b2b8; +} +input.form-control:-moz-placeholder, +textarea.form-control:-moz-placeholder, +input.inline-form-control:-moz-placeholder { + color: #99b2b8; +} +input.form-control::-moz-placeholder, +textarea.form-control::-moz-placeholder, +input.inline-form-control::-moz-placeholder { + color: #99b2b8; +} +input.form-control:-ms-input-placeholder, +textarea.form-control:-ms-input-placeholder, +input.inline-form-control:-ms-input-placeholder { + color: #99b2b8; +} +.inline-form-control { + width: auto; + display: inline-block; +} +.btn.btn-default { + border-style: solid; + border-width: 1px; + color: #99b2b8; + background-color: #004355; + border-color: #001a20; +} +.btn.btn-default:hover, +.btn.btn-default:focus, +.btn.btn-default.focus, +.btn.btn-default:active, +.btn.btn-default.active, +.open > .dropdown-toggle.btn.btn-default { + color: #a3babf; + background-color: #006480; + border-color: #004959; +} +.btn.btn-default:active, +.btn.btn-default.active, +.open > .dropdown-toggle.btn.btn-default { + background-image: none; +} +.btn.btn-default.disabled, +.btn.btn-default[disabled], +fieldset[disabled] .btn.btn-default, +.btn.btn-default.disabled:hover, +.btn.btn-default[disabled]:hover, +fieldset[disabled] .btn.btn-default:hover, +.btn.btn-default.disabled:focus, +.btn.btn-default[disabled]:focus, +fieldset[disabled] .btn.btn-default:focus, +.btn.btn-default.disabled.focus, +.btn.btn-default[disabled].focus, +fieldset[disabled] .btn.btn-default.focus, +.btn.btn-default.disabled:active, +.btn.btn-default[disabled]:active, +fieldset[disabled] .btn.btn-default:active, +.btn.btn-default.disabled.active, +.btn.btn-default[disabled].active, +fieldset[disabled] .btn.btn-default.active { + background-color: #004355; + border-color: #001a20; +} +.btn.btn-default .badge { + color: #004355; + background-color: #99b2b8; +} +.btn.btn-primary { + color: #fff; + background-color: #088cff; + border-color: #0086fa; +} +.btn.btn-primary:hover, +.btn.btn-primary:focus, +.btn.btn-primary.focus, +.btn.btn-primary:active, +.btn.btn-primary.active, +.open > .dropdown-toggle.btn.btn-primary { + color: #e6e6e6; + background-color: #007eed; + border-color: #1a95ff; +} +.btn.btn-primary:active, +.btn.btn-primary.active, +.open > .dropdown-toggle.btn.btn-primary { + background-image: none; +} +.btn.btn-primary.disabled, +.btn.btn-primary[disabled], +fieldset[disabled] .btn.btn-primary, +.btn.btn-primary.disabled:hover, +.btn.btn-primary[disabled]:hover, +fieldset[disabled] .btn.btn-primary:hover, +.btn.btn-primary.disabled:focus, +.btn.btn-primary[disabled]:focus, +fieldset[disabled] .btn.btn-primary:focus, +.btn.btn-primary.disabled.focus, +.btn.btn-primary[disabled].focus, +fieldset[disabled] .btn.btn-primary.focus, +.btn.btn-primary.disabled:active, +.btn.btn-primary[disabled]:active, +fieldset[disabled] .btn.btn-primary:active, +.btn.btn-primary.disabled.active, +.btn.btn-primary[disabled].active, +fieldset[disabled] .btn.btn-primary.active { + background-color: #088cff; + border-color: #0086fa; +} +.btn.btn-primary .badge { + color: #088cff; + background-color: #fff; +} +.btn.btn-info { + color: #fff; + background-color: #5bdeff; + border-color: #4adbff; +} +.btn.btn-info:hover, +.btn.btn-info:focus, +.btn.btn-info.focus, +.btn.btn-info:active, +.btn.btn-info.active, +.open > .dropdown-toggle.btn.btn-info { + color: #e6e6e6; + background-color: #38d7ff; + border-color: #23d3ff; +} +.btn.btn-info:active, +.btn.btn-info.active, +.open > .dropdown-toggle.btn.btn-info { + background-image: none; +} +.btn.btn-info.disabled, +.btn.btn-info[disabled], +fieldset[disabled] .btn.btn-info, +.btn.btn-info.disabled:hover, +.btn.btn-info[disabled]:hover, +fieldset[disabled] .btn.btn-info:hover, +.btn.btn-info.disabled:focus, +.btn.btn-info[disabled]:focus, +fieldset[disabled] .btn.btn-info:focus, +.btn.btn-info.disabled.focus, +.btn.btn-info[disabled].focus, +fieldset[disabled] .btn.btn-info.focus, +.btn.btn-info.disabled:active, +.btn.btn-info[disabled]:active, +fieldset[disabled] .btn.btn-info:active, +.btn.btn-info.disabled.active, +.btn.btn-info[disabled].active, +fieldset[disabled] .btn.btn-info.active { + background-color: #5bdeff; + border-color: #4adbff; +} +.btn.btn-info .badge { + color: #5bdeff; + background-color: #fff; +} +.btn.btn-success { + color: #fff; + background-color: #22bd89; + border-color: #20b482; +} +.btn.btn-success:hover, +.btn.btn-success:focus, +.btn.btn-success.focus, +.btn.btn-success:active, +.btn.btn-success.active, +.open > .dropdown-toggle.btn.btn-success { + color: #fff; + background-color: #26d59b; + border-color: #25d298; +} +.btn.btn-success:active, +.btn.btn-success.active, +.open > .dropdown-toggle.btn.btn-success { + background-image: none; +} +.btn.btn-success.disabled, +.btn.btn-success[disabled], +fieldset[disabled] .btn.btn-success, +.btn.btn-success.disabled:hover, +.btn.btn-success[disabled]:hover, +fieldset[disabled] .btn.btn-success:hover, +.btn.btn-success.disabled:focus, +.btn.btn-success[disabled]:focus, +fieldset[disabled] .btn.btn-success:focus, +.btn.btn-success.disabled.focus, +.btn.btn-success[disabled].focus, +fieldset[disabled] .btn.btn-success.focus, +.btn.btn-success.disabled:active, +.btn.btn-success[disabled]:active, +fieldset[disabled] .btn.btn-success:active, +.btn.btn-success.disabled.active, +.btn.btn-success[disabled].active, +fieldset[disabled] .btn.btn-success.active { + background-color: #22bd89; + border-color: #20b482; +} +.btn.btn-success .badge { + color: #22bd89; + background-color: #fff; +} +.btn.btn-danger { + color: #fff; + background-color: #da2828; + border-color: #d12424; +} +.btn.btn-danger:hover, +.btn.btn-danger:focus, +.btn.btn-danger.focus, +.btn.btn-danger:active, +.btn.btn-danger.active, +.open > .dropdown-toggle.btn.btn-danger { + color: #e6e6e6; + background-color: #c62222; + border-color: #dd3838; +} +.btn.btn-danger:active, +.btn.btn-danger.active, +.open > .dropdown-toggle.btn.btn-danger { + background-image: none; +} +.btn.btn-danger.disabled, +.btn.btn-danger[disabled], +fieldset[disabled] .btn.btn-danger, +.btn.btn-danger.disabled:hover, +.btn.btn-danger[disabled]:hover, +fieldset[disabled] .btn.btn-danger:hover, +.btn.btn-danger.disabled:focus, +.btn.btn-danger[disabled]:focus, +fieldset[disabled] .btn.btn-danger:focus, +.btn.btn-danger.disabled.focus, +.btn.btn-danger[disabled].focus, +fieldset[disabled] .btn.btn-danger.focus, +.btn.btn-danger.disabled:active, +.btn.btn-danger[disabled]:active, +fieldset[disabled] .btn.btn-danger:active, +.btn.btn-danger.disabled.active, +.btn.btn-danger[disabled].active, +fieldset[disabled] .btn.btn-danger.active { + background-color: #da2828; + border-color: #d12424; +} +.btn.btn-danger .badge { + color: #da2828; + background-color: #fff; +} +.btn.btn-warning { + color: #fff; + background-color: #cd8737; + border-color: #c68031; +} +.btn.btn-warning:hover, +.btn.btn-warning:focus, +.btn.btn-warning.focus, +.btn.btn-warning:active, +.btn.btn-warning.active, +.open > .dropdown-toggle.btn.btn-warning { + color: #e6e6e6; + background-color: #bb7a2f; + border-color: #d18f45; +} +.btn.btn-warning:active, +.btn.btn-warning.active, +.open > .dropdown-toggle.btn.btn-warning { + background-image: none; +} +.btn.btn-warning.disabled, +.btn.btn-warning[disabled], +fieldset[disabled] .btn.btn-warning, +.btn.btn-warning.disabled:hover, +.btn.btn-warning[disabled]:hover, +fieldset[disabled] .btn.btn-warning:hover, +.btn.btn-warning.disabled:focus, +.btn.btn-warning[disabled]:focus, +fieldset[disabled] .btn.btn-warning:focus, +.btn.btn-warning.disabled.focus, +.btn.btn-warning[disabled].focus, +fieldset[disabled] .btn.btn-warning.focus, +.btn.btn-warning.disabled:active, +.btn.btn-warning[disabled]:active, +fieldset[disabled] .btn.btn-warning:active, +.btn.btn-warning.disabled.active, +.btn.btn-warning[disabled].active, +fieldset[disabled] .btn.btn-warning.active { + background-color: #cd8737; + border-color: #c68031; +} +.btn.btn-warning .badge { + color: #cd8737; + background-color: #fff; +} +textarea.form-control, +.ace_editor { + border-radius: 4px; +} +.ace_editor { + border: solid 1px #001a20; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); + font-family: 'Lucida Grande'; +} +.ace_editor.ace_focus { + border-color: #52dcff; + outline: 0; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(82,220,255,0.6); +} +.modal-content { + background-color: $bg; +} +.jumbotron { + padding: 48px 10px; +} +html { + overflow: hidden; + height: 100%; +} +body { + height: 100%; + overflow: auto; + font-family: "Lato", sans-serif; + color: #99b2b8; + background-color: #001f27; +} +label { + font-family: "Lato", sans-serif; + color: #99b2b8; +} +h1, +h2, +h3, +h4, +h5 { + color: #d5dfe2; + margin: 0; +} +textarea { + resize: vertical; +} +hr { + border-color: #001a20; +} diff --git a/src/browser/shared/styles/bootstrap.styl b/src/browser/shared/styles/bootstrap.styl new file mode 100644 index 00000000..9ae767fb --- /dev/null +++ b/src/browser/shared/styles/bootstrap.styl @@ -0,0 +1,57 @@ +// Override vars and mixins +@import '_vars' +@import 'mixins/*' + +// Core variables and mixins +@import '../../../../node_modules/bootstrap-styl/bootstrap/variables' +@import '../../../../node_modules/bootstrap-styl/bootstrap/mixins' + +// Utilities +@import '../../../../node_modules/bootstrap-styl/bootstrap/utilities' +@import '../../../../node_modules/bootstrap-styl/bootstrap/responsive-utilities' + +// Reset and dependencies +@import '../../../../node_modules/bootstrap-styl/bootstrap/normalize' +@import '../../../../node_modules/bootstrap-styl/bootstrap/print' + +// Core CSS +@import '../../../../node_modules/bootstrap-styl/bootstrap/scaffolding' +@import '../../../../node_modules/bootstrap-styl/bootstrap/type' +// @import '../../../../node_modules/bootstrap-styl/bootstrap/code' +@import '../../../../node_modules/bootstrap-styl/bootstrap/grid' +@import '../../../../node_modules/bootstrap-styl/bootstrap/tables' +@import '../../../../node_modules/bootstrap-styl/bootstrap/forms' +@import '../../../../node_modules/bootstrap-styl/bootstrap/buttons' + +// Components +@import '../../../../node_modules/bootstrap-styl/bootstrap/component-animations' +@import '../../../../node_modules/bootstrap-styl/bootstrap/dropdowns' +@import '../../../../node_modules/bootstrap-styl/bootstrap/button-groups' +@import '../../../../node_modules/bootstrap-styl/bootstrap/input-groups' +@import '../../../../node_modules/bootstrap-styl/bootstrap/navs' +@import '../../../../node_modules/bootstrap-styl/bootstrap/navbar' +// @import '../../../../node_modules/bootstrap-styl/bootstrap/breadcrumbs' +// @import '../../../../node_modules/bootstrap-styl/bootstrap/pagination' +// @import '../../../../node_modules/bootstrap-styl/bootstrap/pager' +@import '../../../../node_modules/bootstrap-styl/bootstrap/labels' +@import '../../../../node_modules/bootstrap-styl/bootstrap/badges' +@import '../../../../node_modules/bootstrap-styl/bootstrap/jumbotron' +@import '../../../../node_modules/bootstrap-styl/bootstrap/thumbnails' +@import '../../../../node_modules/bootstrap-styl/bootstrap/alerts' +@import '../../../../node_modules/bootstrap-styl/bootstrap/progress-bars' +@import '../../../../node_modules/bootstrap-styl/bootstrap/media' +@import '../../../../node_modules/bootstrap-styl/bootstrap/list-group' +@import '../../../../node_modules/bootstrap-styl/bootstrap/panels' +@import '../../../../node_modules/bootstrap-styl/bootstrap/responsive-embed' +@import '../../../../node_modules/bootstrap-styl/bootstrap/wells' +@import '../../../../node_modules/bootstrap-styl/bootstrap/close' + +// Components w/ JavaScript +@import '../../../../node_modules/bootstrap-styl/bootstrap/modals' +@import '../../../../node_modules/bootstrap-styl/bootstrap/tooltip' +@import '../../../../node_modules/bootstrap-styl/bootstrap/popovers' +// @import '../../../../node_modules/bootstrap-styl/bootstrap/carousel' + +// Overrides +@import '_shared' +@import '_index' diff --git a/src/styles/mixins/btn-color.styl b/src/browser/shared/styles/mixins/btn-color.styl similarity index 100% rename from src/styles/mixins/btn-color.styl rename to src/browser/shared/styles/mixins/btn-color.styl diff --git a/src/styles/mixins/control-glow.styl b/src/browser/shared/styles/mixins/control-glow.styl similarity index 100% rename from src/styles/mixins/control-glow.styl rename to src/browser/shared/styles/mixins/control-glow.styl diff --git a/src/index.html b/src/index.html deleted file mode 100644 index 55b10205..00000000 --- a/src/index.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - CodeXen App - - - - - - - - Codexen! - - - <% if(env === 'dist') { %> - - <% } %> - - <% if(env === 'build') { %> - - <% } %> - - <% styles.forEach(function(style){ %> - - <% }) %> - - - - -
-
- - <% if(env === 'dist') { %> - - - - - - - - - - <% } %> - - <% if(env === 'build') { %> - - - - - - - - - - <% } %> - - - <% scripts.forEach(function(script){ %> - - <% }) %> - - diff --git a/main.js b/src/main.js similarity index 96% rename from main.js rename to src/main.js index 1f7fccbf..91b4f428 100644 --- a/main.js +++ b/src/main.js @@ -19,7 +19,7 @@ var notifier = require('node-notifier') var appIcon = null app.on('ready', function () { - appIcon = new Tray('./icon.png') + appIcon = new Tray(__dirname + '/tray-icon.png') appIcon.setToolTip('This is my application.') appIcon.on('clicked', function () { if (mainWindow == null) { @@ -43,7 +43,7 @@ app.on('ready', function () { } }) - popUpWindow.loadUrl('file://' + __dirname + '/electron_build/electron/popup/index.html') + popUpWindow.loadUrl('file://' + __dirname + '/browser/popup/index.html') app.on('activate-with-no-open-windows', function () { if (mainWindow == null) { @@ -237,7 +237,7 @@ app.on('ready', function () { } }) - mainWindow.loadUrl('file://' + __dirname + '/electron_build/index.html') + mainWindow.loadUrl('file://' + __dirname + '/browser/main/index.html') mainWindow.on('closed', function () { console.log('main closed') diff --git a/src/package.json b/src/package.json new file mode 100644 index 00000000..da0dd095 --- /dev/null +++ b/src/package.json @@ -0,0 +1,32 @@ +{ + "name": "codexen-app", + "version": "0.2.0", + "description": "CodeXen App", + "main": "main.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [ + "codexen", + "snippet", + "template", + "task", + "runner", + "remote", + "automator", + "code", + "storage", + "short code" + ], + "author": "Dick Choi (http://kazup.co)", + "license": "No License", + "bugs": { + "url": "https://github.com/Rokt33r/codexen-app/issues" + }, + "homepage": "https://codexen.github.io", + "dependencies": { + "dotenv": "^1.1.0", + "robotjs": "^0.1.2", + "node-notifier": "^4.2.1" + }, +} diff --git a/src/styles/_bootstrap.styl b/src/styles/_bootstrap.styl deleted file mode 100644 index 4e47dd8d..00000000 --- a/src/styles/_bootstrap.styl +++ /dev/null @@ -1,49 +0,0 @@ -// Core variables and mixins -@import '../../node_modules/bootstrap-styl/bootstrap/variables' -@import '../../node_modules/bootstrap-styl/bootstrap/mixins' - -// Utilities -@import '../../node_modules/bootstrap-styl/bootstrap/utilities' -@import '../../node_modules/bootstrap-styl/bootstrap/responsive-utilities' - -// Reset and dependencies -@import '../../node_modules/bootstrap-styl/bootstrap/normalize' -@import '../../node_modules/bootstrap-styl/bootstrap/print' - -// Core CSS -@import '../../node_modules/bootstrap-styl/bootstrap/scaffolding' -@import '../../node_modules/bootstrap-styl/bootstrap/type' -// @import '../../node_modules/bootstrap-styl/bootstrap/code' -@import '../../node_modules/bootstrap-styl/bootstrap/grid' -@import '../../node_modules/bootstrap-styl/bootstrap/tables' -@import '../../node_modules/bootstrap-styl/bootstrap/forms' -@import '../../node_modules/bootstrap-styl/bootstrap/buttons' - -// Components -@import '../../node_modules/bootstrap-styl/bootstrap/component-animations' -@import '../../node_modules/bootstrap-styl/bootstrap/dropdowns' -@import '../../node_modules/bootstrap-styl/bootstrap/button-groups' -@import '../../node_modules/bootstrap-styl/bootstrap/input-groups' -@import '../../node_modules/bootstrap-styl/bootstrap/navs' -@import '../../node_modules/bootstrap-styl/bootstrap/navbar' -// @import '../../node_modules/bootstrap-styl/bootstrap/breadcrumbs' -// @import '../../node_modules/bootstrap-styl/bootstrap/pagination' -// @import '../../node_modules/bootstrap-styl/bootstrap/pager' -@import '../../node_modules/bootstrap-styl/bootstrap/labels' -@import '../../node_modules/bootstrap-styl/bootstrap/badges' -@import '../../node_modules/bootstrap-styl/bootstrap/jumbotron' -@import '../../node_modules/bootstrap-styl/bootstrap/thumbnails' -@import '../../node_modules/bootstrap-styl/bootstrap/alerts' -@import '../../node_modules/bootstrap-styl/bootstrap/progress-bars' -@import '../../node_modules/bootstrap-styl/bootstrap/media' -@import '../../node_modules/bootstrap-styl/bootstrap/list-group' -@import '../../node_modules/bootstrap-styl/bootstrap/panels' -@import '../../node_modules/bootstrap-styl/bootstrap/responsive-embed' -@import '../../node_modules/bootstrap-styl/bootstrap/wells' -@import '../../node_modules/bootstrap-styl/bootstrap/close' - -// Components w/ JavaScript -@import '../../node_modules/bootstrap-styl/bootstrap/modals' -@import '../../node_modules/bootstrap-styl/bootstrap/tooltip' -@import '../../node_modules/bootstrap-styl/bootstrap/popovers' -// @import '../../node_modules/bootstrap-styl/bootstrap/carousel' diff --git a/src/styles/main.styl b/src/styles/main.styl deleted file mode 100644 index 8fdbb0b6..00000000 --- a/src/styles/main.styl +++ /dev/null @@ -1,11 +0,0 @@ -@import '_vars' -@import 'mixins/*' - -@import '_bootstrap' - -@import '_index' -@import '_shared' - -@import 'modals/*' -@import 'directives/*' -@import 'states/*' diff --git a/src/tray-icon.png b/src/tray-icon.png new file mode 100644 index 00000000..c615b960 Binary files /dev/null and b/src/tray-icon.png differ diff --git a/tpls/env.js b/tpls/env.js deleted file mode 100644 index d9a7a894..00000000 --- a/tpls/env.js +++ /dev/null @@ -1,3 +0,0 @@ -/* global angular */ -angular.module('codexen') - .constant('apiUrl', '<%= apiUrl %>')