From 47068b4f9e802e3e0bf3b6b4475709123f22e03c Mon Sep 17 00:00:00 2001 From: Max Guglielmi Date: Wed, 5 Aug 2015 17:10:53 +1000 Subject: [PATCH] Converted themes css --- .gitignore | 1 - Gruntfile.js | 28 +- dist/tablefilter/style/colsVisibility.css | 56 +- dist/tablefilter/style/filtersVisibility.css | 19 +- dist/tablefilter/style/tablefilter.css | 588 +----------------- .../style/themes/default/default.css | 103 +-- .../style/themes/mytheme/mytheme.css | 124 +--- .../style/themes/skyblue/skyblue.css | 150 +---- static/style/themes/Default/default.css | 97 --- static/style/themes/Default/default.styl | 141 +++++ static/style/themes/MyTheme/MyTheme.css | 118 ---- static/style/themes/MyTheme/mytheme.styl | 176 ++++++ static/style/themes/SkyBlue/skyblue.css | 144 ----- static/style/themes/SkyBlue/skyblue.styl | 233 +++++++ 14 files changed, 622 insertions(+), 1356 deletions(-) delete mode 100644 static/style/themes/Default/default.css create mode 100644 static/style/themes/Default/default.styl delete mode 100644 static/style/themes/MyTheme/MyTheme.css create mode 100644 static/style/themes/MyTheme/mytheme.styl delete mode 100644 static/style/themes/SkyBlue/skyblue.css create mode 100644 static/style/themes/SkyBlue/skyblue.styl diff --git a/.gitignore b/.gitignore index 7077ec49..87a06a05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules npm-debug.log -build *.js.map .codio .settings diff --git a/Gruntfile.js b/Gruntfile.js index 80a9fe84..f99065b3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -48,7 +48,8 @@ module.exports = function (grunt) { src: [ '**', '!*.styl', - '!**/extensions/**' + '!**/extensions/**', + '!**/*.styl' ], cwd: 'static/style', dest: 'dist/tablefilter/style', @@ -172,13 +173,14 @@ module.exports = function (grunt) { stylus: { compile: { options: { - // relativeDest: 'dist/tablefilter/style' - compress: false + compress: true, + banner: '/** \n' + + ' *\t '+ pkg.name +' v'+ pkg.version + + ' by Max Guglielmi \n' + + ' *\t build date: '+ new Date().toISOString() +' \n' + + ' *\t MIT License \n' + + ' */ \n' }, - // files: [{ - // src: ['static/style/*/*.styl'], - // ext: '.css' - // }] files: [ { src: ['static/style/*.styl'], @@ -189,6 +191,18 @@ module.exports = function (grunt) { },{ src: ['static/style/extensions/filtersVisibility.styl'], dest: 'dist/tablefilter/style/filtersVisibility.css' + },{ + src: ['static/style/themes/default/*.styl'], + dest: + 'dist/tablefilter/style/themes/default/default.css' + },{ + src: ['static/style/themes/mytheme/*.styl'], + dest: + 'dist/tablefilter/style/themes/mytheme/mytheme.css' + },{ + src: ['static/style/themes/skyblue/*.styl'], + dest: + 'dist/tablefilter/style/themes/skyblue/skyblue.css' } ] } diff --git a/dist/tablefilter/style/colsVisibility.css b/dist/tablefilter/style/colsVisibility.css index af057e22..5cea890c 100644 --- a/dist/tablefilter/style/colsVisibility.css +++ b/dist/tablefilter/style/colsVisibility.css @@ -1,50 +1,6 @@ -/** - * ColsVisibility extension default style - */ -span.colVisSpan { - text-align: left; -} -span.colVisSpan a.colVis { - margin: 0 5px 0 5px; -} -div.colVisCont { - position: absolute; - display: none; - border: 1px solid #ccc; - height: auto; - width: 250px; - background-color: #fff; - margin: 18px 0 0 0; - z-index: 10000; - padding: 10px 10px 10px 10px; - text-align: left; - font-size: 12px; - box-shadow: 3px 3px 2px #888; -} -div.colVisCont p { - margin: 6px auto 6px auto; -} -ul.cols_checklist { - padding: 0; - margin: 0; - list-style: none; -} -ul.cols_checklist label { - display: block; -} -ul.cols_checklist input { - vertical-align: middle; - margin: 2px 5px 2px 1px; -} -li.cols_checklist_item { - padding: 4px; - margin: 0; -} -li.cols_checklist_item :hover { - background-color: #335ea8; - color: #fff; -} -.cols_checklist_slc_item { - background-color: #335ea8; - color: #fff; -} +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +span.colVisSpan{text-align:left;}span.colVisSpan a.colVis{margin:0 5px 0 5px}div.colVisCont{position:absolute;display:none;border:1px solid #ccc;height:auto;width:250px;background-color:#fff;margin:18px 0 0 0;z-index:10000;padding:10px 10px 10px 10px;text-align:left;font-size:12px;box-shadow:3px 3px 2px #888;}div.colVisCont p{margin:6px auto 6px auto}ul.cols_checklist{padding:0;margin:0;list-style:none;}ul.cols_checklist label{display:block}ul.cols_checklist input{vertical-align:middle;margin:2px 5px 2px 1px}li.cols_checklist_item{padding:4px;margin:0;}li.cols_checklist_item :hover{background-color:#335ea8;color:#fff}.cols_checklist_slc_item{background-color:#335ea8;color:#fff} \ No newline at end of file diff --git a/dist/tablefilter/style/filtersVisibility.css b/dist/tablefilter/style/filtersVisibility.css index eba9d7aa..bb500770 100644 --- a/dist/tablefilter/style/filtersVisibility.css +++ b/dist/tablefilter/style/filtersVisibility.css @@ -1,13 +1,6 @@ -/** - * Filters visibility extension default style - */ -span.expClpFlt, -span.expClpFlt img { - vertical-align: middle; - border: 0; - padding: 1px 1px 1px 1px; - margin: 1px 1px 1px 1px; -} -.btnExpClpFlt { - margin: 0 5px 0 5px; -} +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +span.expClpFlt,span.expClpFlt img{vertical-align:middle;border:0;padding:1px 1px 1px 1px;margin:1px 1px 1px 1px}.btnExpClpFlt{margin:0 5px 0 5px} \ No newline at end of file diff --git a/dist/tablefilter/style/tablefilter.css b/dist/tablefilter/style/tablefilter.css index 116a6fdf..31b40ee2 100644 --- a/dist/tablefilter/style/tablefilter.css +++ b/dist/tablefilter/style/tablefilter.css @@ -1,568 +1,22 @@ -/** - * Filtered column marker default style - */ -.activeHeader { - background: #004080 !important; - color: #fff !important; -} +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +.activeHeader{background:#004080 !important;color:#fff !important} +.even{background-color:#fff}.odd{background-color:#e5e5e5} -/** - * Alternating rows default style - */ -.even { - background-color: #fff; -} -.odd { - background-color: #e5e5e5; -} - -/** - * Global variables - */ - -/** - * ezEditTable integration default overrides - */ -.ezActiveRow { - background-color: #2852a8 !important; - color: #fff; -} -.ezSelectedRow { - background-color: #316ac5 !important; - color: #fff; -} -.ezActiveCell { - background-color: #d9e8fb !important; - color: #000 !important; - font-weight: bold; -} -.ezETSelectedCell { - background-color: #ffdc61 !important; - font-weight: bold; - color: #000 !important; -} -.ezUnselectable { - -moz-user-select: -moz-none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; - user-select: none; -} -.ezInputEditor { - width: 95%; - height: auto; - font-size: inherit; - border: 1px solid #aaccf6; -} -.ezTextareaEditor { - width: 95%; - height: 35px; - font-size: inherit; - border: 1px solid #aaccf6; -} -.ezSelectEditor { - width: 100%; - font-size: inherit; - border: 1px solid #aaccf6; -} -.ezModifiedCell { - background: transparent url("themes/bg_mod_cell.png") 0 0 no-repeat; -} -select[multiple="multiple"].ezSelectEditor { - height: 35px; -} -/* Command type editor */ -.ezCommandEditor { - margin: 2px; -} -.ezCommandEditor button, -.ezCommandEditor input[type="button"] { - min-height: 22px; - margin: 1px; - padding: 3px; - border: 1px solid #ccc; - background: #fff; - border-radius: 4px 4px 4px 4px; - -moz-border-radius: 4px 4px 4px 4px; -} -.ezCommandEditor button :hover, -.ezCommandEditor input[type="button"] :hover { - border: 1px solid #999; -} -.ezCommandEditor img { - border: 0; - vertical-align: middle; - margin: 2px; -} -.ezOpacity { - opacity: 0.6 /* CSS3 standard */; -} -.alignLeft { - text-align: left; -} -.alignCenter { - text-align: center; -} -.alignRight { - text-align: right; -} - -/** - * Checklist filters default style - */ -.div_checklist { - width: 100%; - height: 100px; - border: 1px solid #ccc; - overflow: auto; - text-align: left; - background-color: #fff; - color: #333 !important; -} -.div_checklist ul.flt_checklist { - padding: 0 !important; - margin: 0 !important; - list-style: none !important; -} -.div_checklist li.flt_checklist_item { - padding: 1px !important; - margin: 0 !important; - font-size: 10px !important; - border-bottom: 1px solid #ccc !important; -} -.div_checklist li.flt_checklist_item :hover { - background-color: #335ea8 !important; - color: #fff !important; -} -.div_checklist label { - display: block !important; -} -.div_checklist input { - vertical-align: middle !important; - margin: 2px 5px 2px 1px !important; -} -.flt_checklist_item_disabled { - background-color: #e5e5e5; -} -.flt_checklist_slc_item { - background-color: #335ea8 !important; - color: #fff !important; -} - -/** - * Filters' default style - */ -.fltrow { - height: 20px; - background-color: #f4f4f4; -} -.fltrow td, -.fltrow th { - padding: 2px !important; -} -.btnflt { - font-size: 11px; - vertical-align: middle; - margin: 0 2px 0 2px; - padding: 0 1px 0 1px; -} -.btnflt_icon { - width: 19px; - height: 19px; - cursor: pointer !important; - border: 0 !important; - vertical-align: middle; - background: transparent url("themes/btn_filter.png") center center no-repeat !important; -} -.flt { - background-color: #fff; - border: 1px solid #ccc; - margin: 0; - width: 97%; - vertical-align: middle; -} -select.flt { - background-color: #fff; - border: 1px solid #ccc; - margin: 0 1px 1px 0; - width: 99%; - vertical-align: middle; -} -select.flt_multi { - background-color: #fff; - border: 1px solid #ccc; - margin: 0 1px 1px 0; - width: 99%; - height: 100px; - vertical-align: middle; -} -.flt_s { - background-color: #fff; - border: 1px solid #ccc; - margin: 0; - width: 80%; - vertical-align: middle; -} -.single_flt { - background-color: #fff; - border-left: 1px solid #999; - border-right: 1px solid #ccc; - border-top: 1px solid #ccc; - border-bottom: 1px solid #999; - margin: 0; - width: 120px; - vertical-align: middle; -} -div.popUpFilter { - position: absolute; - display: none; - width: 100px; - background-color: #c8e0fb; - border: 1px solid #e4e4e4; - padding: 1px 3px 1px 1px; - margin: 20px auto 0 0px; -} - -/** - * Grid layout default style - */ -div.grd_Cont { - width: 800px; - height: auto; - overflow: hidden; - padding: 3px 3px 3px 3px; - background-color: #c8e0fb; - border: 1px solid #99bbe8; -} -div.grd_Cont .fltrow { - background-color: transparent; -} -div.grd_Cont .flt { - border: 1px solid #99bbe8; - width: 97%; -} -div.grd_Cont .flt :focus { - border: 1px solid #558dd9; -} -div.grd_Cont .even { - background-color: #fff; -} -div.grd_Cont .odd { - background-color: #dfe8f6; -} -div.grd_tblCont { - height: 400px; - width: 800px; - background: #fff; - overflow-x: auto; - overflow-y: scroll; -} -div.grd_headTblCont { - height: auto; - width: 800px; - overflow: hidden; - border-bottom: 1px solid #99bbe8; - background-color: #c8e0fb; -} -div.grd_tblCont table, -div.grd_headTblCont table { - font-size: 12px; - border-collapse: collapse; - table-layout: fixed; -} -div.grd_tblCont table { - border-right: 1px solid #99bbe8; -} -div.grd_tblCont table th, -div.grd_headTblCont table th, -div.grd_headTblCont table td { - background-color: #c8e0fb; - padding: 2px 2px 2px 2px !important; - color: #333; - border-right: 1px solid #99bbe8 !important; - overflow: hidden; - text-overflow: ellipsis; -} -div.grd_tblCont table td { - padding: 2px 2px 2px 2px !important; - border-bottom: 1px solid #ccc !important; - overflow: hidden; - text-overflow: ellipsis; -} -.grd_inf { - clear: both; - width: auto; - height: 25px; - background-color: #c8e0fb; - font-size: 11px; - margin: 0; - padding: 1px 3px 1px 3px; - border-top: 1px solid #99bbe8; -} - -/** - * Help box default style - */ -.helpBtn { - margin: 0 5px 0 5px; - padding: 2px 4px 2px 4px; - border-left: 1px solid #ccc; - border-right: 1px solid #ccc; -} -div.helpCont { - position: absolute; - display: none; - max-width: 300px; - overflow: auto; - padding: 10px; - margin: 15px 0; - border: 1px solid #ccc; - line-height: 20px; - font-size: 12px; - color: #333; - background: #fff; - text-align: left; - box-shadow: 3px 3px 2px #888; -} -div.helpCont a { - color: #c00; - text-decoration: underline; - font-weight: normal; -} -div.helpCont a.close { - color: #333; - text-decoration: none; - font-weight: bold; -} -div.helpCont :hover { - text-decoration: none; -} -div.helpCont hr { - border: 1px solid #ccc; -} -div.helpFooter { - margin: 10px 0 0 0; -} -div.helpFooter h4 { - margin: 2px 2px 2px 2px; - font-size: 13px; - color: #333; -} - -/** - * Keyword highlighting default style - */ -span.keyword { - background-color: #fc0; -} - -/** - * Loading message default style - */ -.loader { - position: absolute; - padding: 5px 10px 5px 10px; - margin: 20px 0 0 20px; - width: auto; - z-index: 1000; - font-size: 12px; - font-weight: bold; - border: 1px solid #666; - background-color: #f4f4f4; - vertical-align: middle; -} - -/** - * Paging default style - */ -select.pgSlc { - height: 20px; - vertical-align: middle; -} -input.pgNbInp { - width: 25px; - height: 16px; - margin: 1px; - vertical-align: middle; -} -input.pgInp, -.nextPage, -.previousPage, -.firstPage, -.lastPage { - vertical-align: middle; - width: 19px; - height: 19px; - cursor: pointer !important; - border: 0 !important; - font-weight: bold; -} -.nextPage { - background: transparent url("themes/btn_next_page.gif") center center no-repeat !important; -} -.nextPage :hover { - background-color: #cad1d6 !important; -} -.previousPage { - background: transparent url("themes/btn_previous_page.gif") center center no-repeat !important; -} -.previousPage :hover { - background-color: #cad1d6 !important; -} -.firstPage { - background: transparent url("themes/btn_first_page.gif") center center no-repeat !important; -} -.firstPage :hover { - background-color: #cad1d6 !important; -} -.lastPage { - background: transparent url("themes/btn_last_page.gif") center center no-repeat !important; -} -.lastPage :hover { - background-color: #cad1d6 !important; -} -span.nbpg { - padding: 0 5px 0 0; -} -select.rspg { - width: 50px; - margin: 1px 5px 0 5px; - vertical-align: middle; -} -span.rspgSpan { - font-size: 11px; -} - -/** - * Reset button default style - */ -input.reset { - width: 19px; - height: 19px; - cursor: pointer !important; - border: 0 !important; - vertical-align: middle; - background: transparent url("themes/btn_clear_filters.png") center center no-repeat !important; -} -input.reset :hover { - background: #cad1d6 url("themes/btn_clear_filters.png") center center no-repeat !important; -} - -/** - * Rows counter default style - */ -div.tot { - float: left; - overflow: hidden; - width: 150px; - height: 15px; - border-right: 1px solid #ccc; - margin: 0 5px 0 2px; - padding: 0 2px 0 2px; -} -div.tot span { - font-weight: bold; -} - -/** - * Sorting elements default style - */ -.sort-arrow { - width: 11px; - height: 11px; - margin: 0 2px; - background-position: center center; - background-repeat: no-repeat; -} -.descending { - background-image: url("themes/downsimple.png"); -} -.ascending { - background-image: url("themes/upsimple.png"); -} - -/** - * Status bar default style - */ -div.status { - float: left; - overflow: hidden; - width: 150px; - height: 15px; - border-right: 1px solid #ccc; - margin: 0 5px 0 2px; - padding: 0 2px 0 2px; -} -div.status span { - font-weight: bold; - font-size: 11px; -} - -/** - * Table's default style - */ -table.TF { - border-spacing: 0; - border-top: 1px solid #d0d0d0; - border-left: 1px solid #d0d0d0; - border-bottom: 1px solid #ccc; - border-right: 1px solid #ccc; -} -table.TF th { - margin: 0; - background-color: #ebecee; - border-bottom: 1px solid #d0d0d0; - border-right: 1px solid #d0d0d0; - border-left: 1px solid #fff; - border-top: 1px solid #fff; - padding: 5px; - color: #333; -} -table.TF td { - margin: 0; - padding: 5px; - border-bottom: 1px solid #d0d0d0; - border-right: 1px solid #d0d0d0; -} - -/** - * Toolbar default style - */ -.inf { - clear: both; - width: auto; - height: 25px; - background-color: #f4f4f4; - font-size: 12px; - margin: 0; - padding: 1px 3px 1px 3px; - border: 1px solid #ccc; - overflow: hidden; -} -.inf a { - color: #333; - text-decoration: none; - font-weight: bold; -} -.inf a :hover { - text-decoration: underline; -} -.ldiv { - float: left; - width: 30%; - position: inherit; - text-align: left; -} -.mdiv { - float: left; - width: 38%; - position: inherit; - text-align: center; - padding: 1px 0; -} -.rdiv { - float: right; - width: 30%; - position: inherit; - text-align: right; -} +.ezActiveRow{background-color:#2852a8 !important;color:#fff}.ezSelectedRow{background-color:#316ac5 !important;color:#fff}.ezActiveCell{background-color:#d9e8fb !important;color:#000 !important;font-weight:bold}.ezETSelectedCell{background-color:#ffdc61 !important;font-weight:bold;color:#000 !important}.ezUnselectable{-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none}.ezInputEditor{width:95%;height:auto;font-size:inherit;border:1px solid #aaccf6}.ezTextareaEditor{width:95%;height:35px;font-size:inherit;border:1px solid #aaccf6}.ezSelectEditor{width:100%;font-size:inherit;border:1px solid #aaccf6}.ezModifiedCell{background:transparent url("themes/bg_mod_cell.png") 0 0 no-repeat}select[multiple="multiple"].ezSelectEditor{height:35px}.ezCommandEditor{margin:2px;}.ezCommandEditor button,.ezCommandEditor input[type="button"]{min-height:22px;margin:1px;padding:3px;border:1px solid #ccc;background:#fff;border-radius:4px 4px 4px 4px;-moz-border-radius:4px 4px 4px 4px;}.ezCommandEditor button :hover,.ezCommandEditor input[type="button"] :hover{border:1px solid #999}.ezCommandEditor img{border:0;vertical-align:middle;margin:2px}.ezOpacity{opacity:.6}.alignLeft{text-align:left}.alignCenter{text-align:center}.alignRight{text-align:right} +.div_checklist{width:100%;height:100px;border:1px solid #ccc;overflow:auto;text-align:left;background-color:#fff;color:#333 !important;}.div_checklist ul.flt_checklist{padding:0 !important;margin:0 !important;list-style:none !important}.div_checklist li.flt_checklist_item{padding:1px !important;margin:0 !important;font-size:10px !important;border-bottom:1px solid #ccc !important;}.div_checklist li.flt_checklist_item :hover{background-color:#335ea8 !important;color:#fff !important}.div_checklist label{display:block !important}.div_checklist input{vertical-align:middle !important;margin:2px 5px 2px 1px !important}.flt_checklist_item_disabled{background-color:#e5e5e5}.flt_checklist_slc_item{background-color:#335ea8 !important;color:#fff !important} +.fltrow{height:20px;background-color:#f4f4f4;}.fltrow td,.fltrow th{padding:2px !important}.btnflt{font-size:11px;vertical-align:middle;margin:0 2px 0 2px;padding:0 1px 0 1px}.btnflt_icon{width:19px;height:19px;cursor:pointer !important;border:0 !important;vertical-align:middle;background:transparent url("themes/btn_filter.png") center center no-repeat !important}.flt{background-color:#fff;border:1px solid #ccc;margin:0;width:97%;vertical-align:middle}select.flt{background-color:#fff;border:1px solid #ccc;margin:0 1px 1px 0;width:99%;vertical-align:middle}select.flt_multi{background-color:#fff;border:1px solid #ccc;margin:0 1px 1px 0;width:99%;height:100px;vertical-align:middle}.flt_s{background-color:#fff;border:1px solid #ccc;margin:0;width:80%;vertical-align:middle}.single_flt{background-color:#fff;border-left:1px solid #999;border-right:1px solid #ccc;border-top:1px solid #ccc;border-bottom:1px solid #999;margin:0;width:120px;vertical-align:middle}div.popUpFilter{position:absolute;display:none;width:100px;background-color:#c8e0fb;border:1px solid #e4e4e4;padding:1px 3px 1px 1px;margin:20px auto 0 0} +div.grd_Cont{width:800px;height:auto;overflow:hidden;padding:3px 3px 3px 3px;background-color:#c8e0fb;border:1px solid #99bbe8;}div.grd_Cont .fltrow{background-color:transparent}div.grd_Cont .flt{border:1px solid #99bbe8;width:97%;}div.grd_Cont .flt :focus{border:1px solid #558dd9}div.grd_Cont .even{background-color:#fff}div.grd_Cont .odd{background-color:#dfe8f6}div.grd_tblCont{height:400px;width:800px;background:#fff;overflow-x:auto;overflow-y:scroll}div.grd_headTblCont{height:auto;width:800px;overflow:hidden;border-bottom:1px solid #99bbe8;background-color:#c8e0fb}div.grd_tblCont table,div.grd_headTblCont table{font-size:12px;border-collapse:collapse;table-layout:fixed}div.grd_tblCont table{border-right:1px solid #99bbe8}div.grd_tblCont table th,div.grd_headTblCont table th,div.grd_headTblCont table td{background-color:#c8e0fb;padding:2px 2px 2px 2px !important;color:#333;border-right:1px solid #99bbe8 !important;overflow:hidden;text-overflow:ellipsis}div.grd_tblCont table td{padding:2px 2px 2px 2px !important;border-bottom:1px solid #ccc !important;overflow:hidden;text-overflow:ellipsis}.grd_inf{clear:both;width:auto;height:25px;background-color:#c8e0fb;font-size:11px;margin:0;padding:1px 3px 1px 3px;border-top:1px solid #99bbe8} +.helpBtn{margin:0 5px 0 5px;padding:2px 4px 2px 4px;border-left:1px solid #ccc;border-right:1px solid #ccc}div.helpCont{position:absolute;display:none;max-width:300px;overflow:auto;padding:10px;margin:15px 0;border:1px solid #ccc;line-height:20px;font-size:12px;color:#333;background:#fff;text-align:left;box-shadow:3px 3px 2px #888;}div.helpCont a{color:#c00;text-decoration:underline;font-weight:normal}div.helpCont a.close{color:#333;text-decoration:none;font-weight:bold}div.helpCont :hover{text-decoration:none}div.helpCont hr{border:1px solid #ccc}div.helpFooter{margin:10px 0 0 0;}div.helpFooter h4{margin:2px 2px 2px 2px;font-size:13px;color:#333} +span.keyword{background-color:#fc0} +.loader{position:absolute;padding:5px 10px 5px 10px;margin:20px 0 0 20px;width:auto;z-index:1000;font-size:12px;font-weight:bold;border:1px solid #666;background-color:#f4f4f4;vertical-align:middle} +select.pgSlc{height:20px;vertical-align:middle}input.pgNbInp{width:25px;height:16px;margin:1px;vertical-align:middle}input.pgInp,.nextPage,.previousPage,.firstPage,.lastPage{vertical-align:middle;width:19px;height:19px;cursor:pointer !important;border:0 !important;font-weight:bold}.nextPage{background:transparent url("themes/btn_next_page.gif") center center no-repeat !important;}.nextPage :hover{background-color:#cad1d6 !important}.previousPage{background:transparent url("themes/btn_previous_page.gif") center center no-repeat !important;}.previousPage :hover{background-color:#cad1d6 !important}.firstPage{background:transparent url("themes/btn_first_page.gif") center center no-repeat !important;}.firstPage :hover{background-color:#cad1d6 !important}.lastPage{background:transparent url("themes/btn_last_page.gif") center center no-repeat !important;}.lastPage :hover{background-color:#cad1d6 !important}span.nbpg{padding:0 5px 0 0}select.rspg{width:50px;margin:1px 5px 0 5px;vertical-align:middle}span.rspgSpan{font-size:11px} +input.reset{width:19px;height:19px;cursor:pointer !important;border:0 !important;vertical-align:middle;background:transparent url("themes/btn_clear_filters.png") center center no-repeat !important;}input.reset :hover{background:#cad1d6 url("themes/btn_clear_filters.png") center center no-repeat !important} +div.tot{float:left;overflow:hidden;width:150px;height:15px;border-right:1px solid #ccc;margin:0 5px 0 2px;padding:0 2px 0 2px;}div.tot span{font-weight:bold} +.sort-arrow{width:11px;height:11px;margin:0 2px;background-position:center center;background-repeat:no-repeat}.descending{background-image:url("themes/downsimple.png")}.ascending{background-image:url("themes/upsimple.png")} +div.status{float:left;overflow:hidden;width:150px;height:15px;border-right:1px solid #ccc;margin:0 5px 0 2px;padding:0 2px 0 2px;}div.status span{font-weight:bold;font-size:11px} +table.TF{border-spacing:0;border-top:1px solid #d0d0d0;border-left:1px solid #d0d0d0;border-bottom:1px solid #ccc;border-right:1px solid #ccc;}table.TF th{margin:0;background-color:#ebecee;border-bottom:1px solid #d0d0d0;border-right:1px solid #d0d0d0;border-left:1px solid #fff;border-top:1px solid #fff;padding:5px;color:#333}table.TF td{margin:0;padding:5px;border-bottom:1px solid #d0d0d0;border-right:1px solid #d0d0d0} +.inf{clear:both;width:auto;height:25px;background-color:#f4f4f4;font-size:12px;margin:0;padding:1px 3px 1px 3px;border:1px solid #ccc;overflow:hidden;}.inf a{color:#333;text-decoration:none;font-weight:bold;}.inf a :hover{text-decoration:underline}.ldiv{float:left;width:30%;position:inherit;text-align:left}.mdiv{float:left;width:38%;position:inherit;text-align:center;padding:1px 0}.rdiv{float:right;width:30%;position:inherit;text-align:right} \ No newline at end of file diff --git a/dist/tablefilter/style/themes/default/default.css b/dist/tablefilter/style/themes/default/default.css index 4b2c8448..2faf46b4 100644 --- a/dist/tablefilter/style/themes/default/default.css +++ b/dist/tablefilter/style/themes/default/default.css @@ -1,97 +1,6 @@ -/*==================================================== - - Table Filter Default Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - border-left:1px solid #ccc !important; border-top:none !important; - border-right:none !important; border-bottom:none !important; -} -table.TF th{ - background:#EBECEE url(images/bg_th.jpg) left top repeat-x !important; - border-bottom:1px solid #D0D0D0 !important; border-right:1px solid #D0D0D0 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; - padding:2px !important; color:#333 !important; height:25px !important; -} - -table.TF td{ border-bottom:1px dotted #999 !important; padding:5px !important; } - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#EBECEE !important; } -.fltrow th, .fltrow td{ border-bottom:1px dotted #666 !important; padding:1px 3px 1px 3px !important; } - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #999 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ background:#f4f4f4 url(images/bg_infDiv.jpg) 0 0 repeat-x !important; } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; vertical-align:middle; - background:transparent url(images/btn_eraser.gif) center center no-repeat !important; -} -input.reset:hover{ background:transparent url(images/btn_over_eraser.gif) center center no-repeat !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage{ background:transparent url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; } -.nextPage:hover{ background:transparent url(images/btn_over_next_page.gif) center center no-repeat !important; } -.previousPage:hover{ background:transparent url(images/btn_over_previous_page.gif) center center no-repeat !important; } -.firstPage:hover{ background:transparent url(images/btn_over_first_page.gif) center center no-repeat !important; } -.lastPage:hover{ background:transparent url(images/btn_over_last_page.gif) center center no-repeat !important; } -select.rspg{ font-size:10px; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background-color:#EBECEE !important; border:1px solid #ccc !important; padding:0 !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#EBECEE !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{ - background:#EBECEE url(images/bg_th.jpg) left top repeat-x !important; - border-bottom:1px solid #D0D0D0 !important; border-right:1px solid #D0D0D0 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; -} -/* div containing left, middle and right divs */ -.grd_inf{ - background:#D7D7D7 url(images/bg_infDiv.jpg) 0 0 repeat-x !important; - border-top:1px solid #D0D0D0 !important; height:29px !important; -} -/*row bg alternating color*/ -div.grd_Cont .even{ background-color:#fff; } -div.grd_Cont .odd{ background-color:#D5D5D5; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:1px solid #999; background:#fff; } -.defaultLoader{ width:32px; height:32px; background:transparent url(images/img_loading.gif) 0 0 no-repeat !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#fff; }/*row bg alternating color*/ -.odd{ background-color:#D5D5D5; }/*row bg alternating color*/ \ No newline at end of file +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +table.TF{border-left:1px solid #ccc !important;border-top:none !important;border-right:none !important;border-bottom:none !important;}table.TF th{background:#ebecee url("images/bg_th.jpg") left top repeat-x !important;border-bottom:1px solid #d0d0d0 !important;border-right:1px solid #d0d0d0 !important;border-left:1px solid #fff !important;border-top:1px solid #fff !important;padding:2px !important;color:#333 !important;height:25px !important}table.TF td{border-bottom:1px dotted #999 !important;padding:5px !important}.fltrow{background-color:#ebecee !important;}.fltrow th,.fltrow td{border-bottom:1px dotted #666 !important;padding:1px 3px 1px 3px !important}.flt,select.flt,select.flt_multi,.flt_s,.single_flt,.div_checklist{border:1px solid #999 !important}input.flt{width:99% !important}.inf{background:#f4f4f4 url("images/bg_infDiv.jpg") 0 0 repeat-x !important}input.reset{width:19px;height:19px;cursor:pointer !important;border:0 !important;vertical-align:middle;background:transparent url("images/btn_eraser.gif") center center no-repeat !important;}input.reset :hover{background:transparent url("images/btn_over_eraser.gif") center center no-repeat !important}input.pgInp{width:19px;height:19px;cursor:pointer !important;border:0 !important}.nextPage{background:transparent url("images/btn_next_page.gif") center center no-repeat !important;}.nextPage :hover{background:transparent url("images/btn_over_next_page.gif") center center no-repeat !important}.previousPage{background:transparent url("images/btn_previous_page.gif") center center no-repeat !important;}.previousPage :hover{background:transparent url("images/btn_over_previous_page.gif") center center no-repeat !important}.firstPage{background:transparent url("images/btn_first_page.gif") center center no-repeat !important;}.firstPage :hover{background:transparent url("images/btn_over_first_page.gif") center center no-repeat !important}.lastPage{background:transparent url("images/btn_last_page.gif") center center no-repeat !important;}.lastPage :hover{background:transparent url("images/btn_over_last_page.gif") center center no-repeat !important}select.rspg{font-size:10px}div.grd_Cont{background-color:#ebecee !important;border:1px solid #ccc !important;padding:0 !important;}div.grd_Cont .even{background-color:#fff}div.grd_Cont .odd{background-color:#d5d5d5}div.grd_headTblCont{background-color:#ebecee !important;border-bottom:none !important;}div.grd_headTblCont table{border-right:none !important}div.grd_tblCont table th,div.grd_headTblCont table th,div.grd_headTblCont table td{background:#ebecee url("images/bg_th.jpg") left top repeat-x !important;border-bottom:1px solid #d0d0d0 !important;border-right:1px solid #d0d0d0 !important;border-left:1px solid #fff !important;border-top:1px solid #fff !important}.grd_inf{background:#d7d7d7 url("images/bg_infDiv.jpg") 0 0 repeat-x !important;border-top:1px solid #d0d0d0 !important;height:29px !important}.loader{border:1px solid #999;background:#fff}.defaultLoader{width:32px;height:32px;background:transparent url("images/img_loading.gif") 0 0 no-repeat !important}.even{background-color:#fff}.odd{background-color:#d5d5d5} \ No newline at end of file diff --git a/dist/tablefilter/style/themes/mytheme/mytheme.css b/dist/tablefilter/style/themes/mytheme/mytheme.css index a7d323c1..808aa3b3 100644 --- a/dist/tablefilter/style/themes/mytheme/mytheme.css +++ b/dist/tablefilter/style/themes/mytheme/mytheme.css @@ -1,118 +1,6 @@ -/*==================================================== - - Table Filter MyTheme Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - border-left:1px dotted #81963B !important; border-top:none !important; - border-right:0 !important; border-bottom:none !important; -} -table.TF th{ - background:#39424B url(images/bg_headers.jpg) left top repeat-x !important;; - border-bottom:0 !important; border-right:1px dotted #D0D0D0 !important; - border-left:0 !important; border-top:0 !important; - padding:0 4px 0 4px !important; color:#fff !important; height:35px !important; -} - -table.TF td{ border-bottom:1px dotted #81963B; border-right:1px dotted #81963B; padding:5px !important; } - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#81963B !important; } -.fltrow th, .fltrow td{ - border-bottom:1px dotted #39424B !important; border-right:1px dotted #fff !important; - border-left:0 !important; border-top:0 !important; - padding:1px 3px 1px 3px !important; -} - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #687830 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ background:#f4f4f4 url(images/bg_infDiv.jpg) left bottom repeat-x !important; } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:53px; height:19px; cursor:pointer !important; - border:0 !important; vertical-align:middle; - background:transparent url(images/btn_filter.png) center center no-repeat !important; -} -input.reset:hover{ background:#CAD1D6 url(images/btn_filter.png) center center no-repeat !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ - -/* left div */ -.ldiv{ width:40% !important; } -/* middle div */ -.mdiv{ width:34% !important; text-align:left !important; } -/* right div */ -.rdiv{ width:20% !important; } - -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage{ background:transparent url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; } -.nextPage:hover{ background:#CAD1D6 url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage:hover{ background:#CAD1D6 url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage:hover{ background:#CAD1D6 url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage:hover{ background:#CAD1D6 url(images/btn_last_page.gif) center center no-repeat !important; } -select.rspg{ font-size:10px; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background:#81963B url(images/bg_headers.jpg) left top repeat-x !important; border:1px solid #ccc !important; padding:0 1px 1px 1px !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#EBECEE !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th{ - background:transparent url(images/bg_headers.jpg) 0 0 repeat-x !important;; - border-bottom:0 !important; border-right:1px dotted #D0D0D0 !important; - border-left:0 !important; border-top:0 !important; - padding:0 4px 0 4px !important; color:#fff !important; height:35px !important; -} -/* filters cells */ -div.grd_headTblCont table td{ - border-bottom:1px dotted #39424B !important; border-right:1px dotted #fff !important; - border-left:0 !important; border-top:0 !important; - background-color:#81963B !important; - padding:1px 3px 1px 3px !important; -} - -/* div containing left, middle and right divs */ -.grd_inf{ - background:#f4f4f4 url(images/bg_infDiv.jpg) center bottom repeat-x !important; - border-top:1px solid #D0D0D0 !important; height:29px !important; padding-top:2px !important; -} -/*row bg alternating color*/ -div.grd_Cont .even{ background-color:#BCCD83; } -div.grd_Cont .odd{ background-color:#fff; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:0 !important; background:transparent !important; margin:185px auto !important; } -.defaultLoader{ width:32px; height:32px; background:transparent url(images/img_loading.gif) 0 0 no-repeat !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#BCCD83; }/*row bg alternating color*/ -.odd{ background-color:#fff; }/*row bg alternating color*/ \ No newline at end of file +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +table.TF{border-left:1px dotted #81963b !important;border-top:none !important;border-right:0 !important;border-bottom:none !important;}table.TF th{background:#39424b url("images/bg_headers.jpg") left top repeat-x !important;border-bottom:0 !important;border-right:1px dotted #d0d0d0 !important;border-left:0 !important;border-top:0 !important;padding:0 4px 0 4px !important;color:#fff !important;height:35px !important}table.TF td{border-bottom:1px dotted #81963b;border-right:1px dotted #81963b;padding:5px !important}.fltrow{background-color:#81963b !important;}.fltrow th,.fltrow td{border-bottom:1px dotted #39424b !important;border-right:1px dotted #fff !important;border-left:0 !important;border-top:0 !important;padding:1px 3px 1px 3px !important}.flt,select.flt,select.flt_multi,.flt_s,.single_flt,.div_checklist{border:1px solid #687830 !important}input.flt{width:99% !important}.inf{background:#f4f4f4 url("images/bg_infDiv.jpg") left bottom repeat-x !important}input.reset{width:53px;height:19px;cursor:pointer !important;border:0 !important;vertical-align:middle;background:transparent url("images/btn_filter.png") center center no-repeat !important;}input.reset :hover{background:#cad1d6 url("images/btn_filter.png") center center no-repeat !important}.ldiv{width:40% !important}.mdiv{width:34% !important;text-align:left !important}.rdiv{width:20% !important}input.pgInp{width:19px;height:19px;cursor:pointer !important;border:0 !important}.nextPage{background:transparent url("images/btn_next_page.gif") center center no-repeat !important;}.nextPage :hover{background:#cad1d6 url("images/btn_next_page.gif") center center no-repeat !important}.previousPage{background:transparent url("images/btn_previous_page.gif") center center no-repeat !important;}.previousPage :hover{background:#cad1d6 url("images/btn_previous_page.gif") center center no-repeat !important}.firstPage{background:transparent url("images/btn_first_page.gif") center center no-repeat !important;}.firstPage :hover{background:#cad1d6 url("images/btn_first_page.gif") center center no-repeat !important}.lastPage{background:transparent url("images/btn_last_page.gif") center center no-repeat !important;}.lastPage :hover{background:#cad1d6 url("images/btn_last_page.gif") center center no-repeat !important}select.rspg{font-size:10px}div.grd_Cont{background:#81963b url("images/bg_headers.jpg") left top repeat-x !important;border:1px solid #ccc !important;padding:0 1px 1px 1px !important;}div.grd_Cont .even{background-color:#bccd83}div.grd_Cont .odd{background-color:#fff}div.grd_headTblCont{background-color:#ebecee !important;border-bottom:none !important}div.grd_tblCont table{border-right:none !important}div.grd_tblCont table th,div.grd_headTblCont table th{background:transparent url("images/bg_headers.jpg") 0 0 repeat-x !important;border-bottom:0 !important;border-right:1px dotted #d0d0d0 !important;border-left:0 !important;border-top:0 !important;padding:0 4px 0 4px !important;color:#fff !important;height:35px !important}div.grd_headTblCont table td{border-bottom:1px dotted #39424b !important;border-right:1px dotted #fff !important;border-left:0 !important;border-top:0 !important;background-color:#81963b !important;padding:1px 3px 1px 3px !important}.grd_inf{background:#f4f4f4 url("images/bg_infDiv.jpg") center bottom repeat-x !important;border-top:1px solid #d0d0d0 !important;height:29px !important;padding-top:2px !important}.loader{border:0 !important;background:transparent !important;margin:185px auto !important}.defaultLoader{width:32px;height:32px;background:transparent url("images/img_loading.gif") 0 0 no-repeat !important}.even{background-color:#bccd83}.odd{background-color:#fff} \ No newline at end of file diff --git a/dist/tablefilter/style/themes/skyblue/skyblue.css b/dist/tablefilter/style/themes/skyblue/skyblue.css index b320ad71..83e0c3b7 100644 --- a/dist/tablefilter/style/themes/skyblue/skyblue.css +++ b/dist/tablefilter/style/themes/skyblue/skyblue.css @@ -1,144 +1,6 @@ -/*==================================================== - - Table Filter SkyBlue Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - padding:0; color:#000; - border-right:1px solid #A4BED4; - border-top:1px solid #A4BED4; - border-left:1px solid #A4BED4; - border-bottom:0; -} -table.TF th{ - margin:0; padding:5px; color:inherit; - background:#D1E5FE url("images/bg_skyblue.gif") 0 0 repeat-x; - border-color:#FDFDFD #A4BED4 #A4BED4 #FDFDFD; - border-width:1px; border-style:solid; -} - -table.TF td{ - margin:0; padding:5px; color:inherit; - border-bottom:1px solid #A4BED4; - border-left:0; border-top:0; border-right:0; -} - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#D1E5FE !important; } -.fltrow th, .fltrow td{ border-top:1px dotted #666 !important; border-bottom:1px dotted #666 !important; padding:1px 3px 1px 3px !important; } - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #A4BED4 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ - background:#E3EFFF !important; - border:1px solid #A4BED4; - height:25px; color:#004A6F; -} -div.tot, div.status{ border-right:0 !important; } - -.helpBtn{ - margin:0 5px 0 5px; padding: 2px 4px 2px 4px; - color:#004A6F !important; font-size:13px; - border:1px solid transparent !important; -} /* help button */ -.helpBtn:hover{ background-color:#FFE4AB; border:1px solid #FFB552 !important; text-decoration:none; } -div.helpCont{ color:inherit !important: } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:19px; height:19px; cursor:pointer !important; - border:1px solid transparent !important; vertical-align:middle; - background:transparent url(images/icn_clear_filters.png) center center no-repeat !important; -} -input.reset:hover{ background:#FFE4AB url(images/icn_clear_filters.png) center center no-repeat !important; border:1px solid #FFB552 !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.previousPage{ background:transparent url(images/btn_prev_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.nextPage:hover{ background:#FFE4AB url(images/btn_next_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.previousPage:hover{ background:#FFE4AB url(images/btn_prev_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.firstPage:hover{ background:#FFE4AB url(images/btn_first_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.lastPage:hover{ background:#FFE4AB url(images/btn_last_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -select.rspg{ font-size:10px; } - -/* ACTIVE COLUMN HEADER -=====================================================*/ -.activeHeader{ background:#FFE4AB !important; border:1px solid #FFB552 !important; color:inherit !important; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background-color:#D9EAED !important; border:1px solid #99CCCC !important; padding:0 !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#D9EAED !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; font:12px/13px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{ - background:#D9EAED url(images/bg_skyblue.gif) left top repeat-x; - border-bottom:1px solid #A4BED4; border-right:1px solid #A4BED4 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; - padding:5px 2px 5px 2px !important; -} -div.grd_tblCont table td{ - border-bottom:1px solid #A4BED4 !important; border-right:0 !important; - border-left:0 !important; border-top:0 !important; padding:5px 2px 5px 2px !important; -} - -/* div containing left, middle and right divs */ -.grd_inf{ - background:#D9EAED !important; - height:25px; color:#004A6F; - border-top:1px solid #99CCCC !important; -} -.grd_inf .rdiv{ height:28px; } -.grd_inf a{ text-decoration:none; font-weight:bold; } /* help */ - - /* help button */ -.grd_inf a.helpBtn{ vertical-align:middle; margin-top:2px !important; padding-top:1px !important; } -/* row bg alternating color */ -div.grd_Cont .even{ background-color:#fff; } -div.grd_Cont .odd{ background-color:#E3EFFF; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:0 !important; background:transparent !important; margin-top:40px; margin-left:0 !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#fff; }/*row bg alternating color*/ -.odd{ background-color:#E3EFFF; }/*row bg alternating color*/ - -/* ezEditTable -=====================================================*/ - -/* Selection */ -.ezActiveRow{ background-color:#FFDC61 !important; color:inherit; } -.ezSelectedRow{ background-color:#FFE4AB !important; color:inherit; } -.ezActiveCell{ - background-color:#fff !important; - color:#000 !important; font-weight:bold; -} -.ezETSelectedCell{ background-color:#FFF !important; font-weight:bold; color:rgb(0,0,0)!important; } \ No newline at end of file +/** + * TableFilter v0.0.0 by Max Guglielmi + * build date: 2015-08-05T07:03:54.101Z + * MIT License + */ +table.TF{padding:0;color:#000;border-right:1px solid #a4bed4;border-top:1px solid #a4bed4;border-left:1px solid #a4bed4;border-bottom:0;}table.TF th{margin:0;padding:5px;color:inherit;background:#d1e5fe url("images/bg_skyblue.gif") 0 0 repeat-x;border-color:#fdfdfd #a4bed4 #a4bed4 #fdfdfd;border-width:1px;border-style:solid}table.TF td{margin:0;padding:5px;color:inherit;border-bottom:1px solid #a4bed4;border-left:0;border-top:0;border-right:0}.fltrow{background-color:#d1e5fe !important;}.fltrow th,.fltrow td{border-top:1px dotted #666 !important;border-bottom:1px dotted #666 !important;padding:1px 3px 1px 3px !important}.flt,select.flt,select.flt_multi,.flt_s,.single_flt,.div_checklist{border:1px solid #a4bed4 !important}input.flt{width:99% !important}.inf{background-color:#e3efff !important;border:1px solid #a4bed4;height:25px;color:#004a6f}div.tot,div.status{border-right:0 !important}.helpBtn{margin:0 5px 0 5px;padding:2px 4px 2px 4px;color:#004a6f !important;font-size:13px;border:1px solid transparent !important;}.helpBtn :hover{background-color:#ffe4ab;border:1px solid #ffb552 !important;text-decoration:none}input.reset{width:19px;height:19px;cursor:pointer !important;border:1px solid transparent !important;vertical-align:middle;background:transparent url("images/icn_clear_filters.png") center center no-repeat !important;}input.reset :hover{background:#ffe4ab url("images/icn_clear_filters.png") center center no-repeat !important;border:1px solid #ffb552 !important}input.pgInp{width:19px;height:19px;cursor:pointer !important;border:0 !important}.nextPage{background:transparent url("images/btn_next_page.gif") center center no-repeat !important;border:1px solid transparent !important;}.nextPage :hover{background:#ffe4ab url("images/btn_next_page.gif") center center no-repeat !important;border:1px solid #ffb552 !important}.previousPage{background:transparent url("images/btn_prev_page.gif") center center no-repeat !important;border:1px solid transparent !important;}.previousPage :hover{background:#ffe4ab url("images/btn_prev_page.gif") center center no-repeat !important;border:1px solid #ffb552 !important}.firstPage{background:transparent url("images/btn_first_page.gif") center center no-repeat !important;border:1px solid transparent !important;}.firstPage :hover{background:#ffe4ab url("images/btn_first_page.gif") center center no-repeat !important;border:1px solid #ffb552 !important}.lastPage{background:transparent url("images/btn_last_page.gif") center center no-repeat !important;border:1px solid transparent !important;}.lastPage :hover{background:#ffe4ab url("images/btn_last_page.gif") center center no-repeat !important;border:1px solid #ffb552 !important}select.rspg{font-size:10px}.activeHeader{background:#ffe4ab !important;border:1px solid #ffb552 !important;color:inherit !important}div.grd_Cont{background-color:#d9eaed !important;border:1px solid #9cc !important;padding:0 !important;}div.grd_Cont .even{background-color:#fff}div.grd_Cont .odd{background-color:#e3efff}div.grd_headTblCont{background-color:#d9eaed !important;border-bottom:none !important}div.grd_tblCont table{border-right:none !important;font:12px/13px "Trebuchet MS",Verdana,Helvetica,Arial,sans-serif !important}div.grd_tblCont table th,div.grd_headTblCont table th,div.grd_headTblCont table td{background:#d9eaed url("images/bg_skyblue.gif") left top repeat-x;border-bottom:1px solid #a4bed4;border-right:1px solid #a4bed4 !important;border-left:1px solid #fff !important;border-top:1px solid #fff !important;padding:5px 2px 5px 2px !important}div.grd_tblCont table td{border-bottom:1px solid #a4bed4 !important;border-right:0 !important;border-left:0 !important;border-top:0 !important;padding:5px 2px 5px 2px !important}.grd_inf{background-color:#d9eaed !important;height:25px;color:#004a6f;border-top:1px solid #9cc !important;}.grd_inf .rdiv{height:28px}.grd_inf a{text-decoration:none;font-weight:bold}.grd_inf a.helpBtn{vertical-align:middle;margin-top:2px !important;padding-top:1px !important}.loader{border:0 !important;background:transparent !important;margin-top:40px;margin-left:0 !important}.even{background-color:#fff}.odd{background-color:#e3efff}.ezActiveRow{background-color:#ffdc61 !important;color:inherit}.ezSelectedRow{background-color:#ffe4ab !important;color:inherit}.ezActiveCell{background-color:#fff !important;color:#000 !important;font-weight:bold}.ezETSelectedCell{background-color:#fff !important;font-weight:bold;color:#000 !important} \ No newline at end of file diff --git a/static/style/themes/Default/default.css b/static/style/themes/Default/default.css deleted file mode 100644 index 4b2c8448..00000000 --- a/static/style/themes/Default/default.css +++ /dev/null @@ -1,97 +0,0 @@ -/*==================================================== - - Table Filter Default Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - border-left:1px solid #ccc !important; border-top:none !important; - border-right:none !important; border-bottom:none !important; -} -table.TF th{ - background:#EBECEE url(images/bg_th.jpg) left top repeat-x !important; - border-bottom:1px solid #D0D0D0 !important; border-right:1px solid #D0D0D0 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; - padding:2px !important; color:#333 !important; height:25px !important; -} - -table.TF td{ border-bottom:1px dotted #999 !important; padding:5px !important; } - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#EBECEE !important; } -.fltrow th, .fltrow td{ border-bottom:1px dotted #666 !important; padding:1px 3px 1px 3px !important; } - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #999 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ background:#f4f4f4 url(images/bg_infDiv.jpg) 0 0 repeat-x !important; } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; vertical-align:middle; - background:transparent url(images/btn_eraser.gif) center center no-repeat !important; -} -input.reset:hover{ background:transparent url(images/btn_over_eraser.gif) center center no-repeat !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage{ background:transparent url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; } -.nextPage:hover{ background:transparent url(images/btn_over_next_page.gif) center center no-repeat !important; } -.previousPage:hover{ background:transparent url(images/btn_over_previous_page.gif) center center no-repeat !important; } -.firstPage:hover{ background:transparent url(images/btn_over_first_page.gif) center center no-repeat !important; } -.lastPage:hover{ background:transparent url(images/btn_over_last_page.gif) center center no-repeat !important; } -select.rspg{ font-size:10px; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background-color:#EBECEE !important; border:1px solid #ccc !important; padding:0 !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#EBECEE !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{ - background:#EBECEE url(images/bg_th.jpg) left top repeat-x !important; - border-bottom:1px solid #D0D0D0 !important; border-right:1px solid #D0D0D0 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; -} -/* div containing left, middle and right divs */ -.grd_inf{ - background:#D7D7D7 url(images/bg_infDiv.jpg) 0 0 repeat-x !important; - border-top:1px solid #D0D0D0 !important; height:29px !important; -} -/*row bg alternating color*/ -div.grd_Cont .even{ background-color:#fff; } -div.grd_Cont .odd{ background-color:#D5D5D5; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:1px solid #999; background:#fff; } -.defaultLoader{ width:32px; height:32px; background:transparent url(images/img_loading.gif) 0 0 no-repeat !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#fff; }/*row bg alternating color*/ -.odd{ background-color:#D5D5D5; }/*row bg alternating color*/ \ No newline at end of file diff --git a/static/style/themes/Default/default.styl b/static/style/themes/Default/default.styl new file mode 100644 index 00000000..318dbd1b --- /dev/null +++ b/static/style/themes/Default/default.styl @@ -0,0 +1,141 @@ +/** + * Default theme overrides + */ + +// table +table.TF + border-left 1px solid #ccc !important + border-top none !important + border-right none !important + border-bottom none !important + + th + background #EBECEE url(images/bg_th.jpg) left top repeat-x !important + border-bottom 1px solid #D0D0D0 !important + border-right 1px solid #D0D0D0 !important + border-left 1px solid #fff !important + border-top 1px solid #fff !important + padding 2px !important + color #333 !important + height 25px !important + + td + border-bottom 1px dotted #999 !important + padding 5px !important + +// filters +.fltrow + background-color #EBECEE !important + th, td + border-bottom 1px dotted #666 !important + padding 1px 3px 1px 3px !important + +.flt, +select.flt, +select.flt_multi, +.flt_s, +.single_flt, +.div_checklist + border 1px solid #999 !important + +input.flt + width 99% !important + +// toolbar +.inf + background #f4f4f4 url(images/bg_infDiv.jpg) 0 0 repeat-x !important + +// reset button +input.reset + width 19px + height 19px + cursor pointer !important + border 0 !important + vertical-align middle + background transparent url(images/btn_eraser.gif) center center no-repeat !important + + :hover + background transparent url(images/btn_over_eraser.gif) center center no-repeat !important + +// paging +input.pgInp + width 19px + height 19px + cursor pointer !important + border 0 !important + +.nextPage + background transparent url(images/btn_next_page.gif) center center no-repeat !important + :hover + background transparent url(images/btn_over_next_page.gif) center center no-repeat !important + +.previousPage + background transparent url(images/btn_previous_page.gif) center center no-repeat !important + :hover + background transparent url(images/btn_over_previous_page.gif) center center no-repeat !important + +.firstPage + background transparent url(images/btn_first_page.gif) center center no-repeat !important + :hover + background transparent url(images/btn_over_first_page.gif) center center no-repeat !important + +.lastPage + background transparent url(images/btn_last_page.gif) center center no-repeat !important + :hover + background transparent url(images/btn_over_last_page.gif) center center no-repeat !important + +select.rspg + font-size 10px + +// grid-layout + +// main container +div.grd_Cont + background-color #EBECEE !important + border 1px solid #ccc !important + padding 0 !important + + // bg alternating rows + .even + background-color #fff + .odd + background-color #D5D5D5 + +//headers' table container +div.grd_headTblCont + background-color #EBECEE !important + border-bottom none !important + + table + border-right none !important + +// headers +div.grd_tblCont table th, +div.grd_headTblCont table th, +div.grd_headTblCont table td + background #EBECEE url(images/bg_th.jpg) left top repeat-x !important + border-bottom 1px solid #D0D0D0 !important + border-right 1px solid #D0D0D0 !important + border-left 1px solid #fff !important + border-top 1px solid #fff !important + +// toolbar containing left, middle and right divs +.grd_inf + background #D7D7D7 url(images/bg_infDiv.jpg) 0 0 repeat-x !important + border-top 1px solid #D0D0D0 !important + height 29px !important + +// loader +.loader + border 1px solid #999; background:#fff +.defaultLoader + width 32px + height 32px + background transparent url(images/img_loading.gif) 0 0 no-repeat !important + +// alternating background rowa +.even + background-color #fff +.odd + background-color #D5D5D5 + diff --git a/static/style/themes/MyTheme/MyTheme.css b/static/style/themes/MyTheme/MyTheme.css deleted file mode 100644 index a7d323c1..00000000 --- a/static/style/themes/MyTheme/MyTheme.css +++ /dev/null @@ -1,118 +0,0 @@ -/*==================================================== - - Table Filter MyTheme Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - border-left:1px dotted #81963B !important; border-top:none !important; - border-right:0 !important; border-bottom:none !important; -} -table.TF th{ - background:#39424B url(images/bg_headers.jpg) left top repeat-x !important;; - border-bottom:0 !important; border-right:1px dotted #D0D0D0 !important; - border-left:0 !important; border-top:0 !important; - padding:0 4px 0 4px !important; color:#fff !important; height:35px !important; -} - -table.TF td{ border-bottom:1px dotted #81963B; border-right:1px dotted #81963B; padding:5px !important; } - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#81963B !important; } -.fltrow th, .fltrow td{ - border-bottom:1px dotted #39424B !important; border-right:1px dotted #fff !important; - border-left:0 !important; border-top:0 !important; - padding:1px 3px 1px 3px !important; -} - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #687830 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ background:#f4f4f4 url(images/bg_infDiv.jpg) left bottom repeat-x !important; } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:53px; height:19px; cursor:pointer !important; - border:0 !important; vertical-align:middle; - background:transparent url(images/btn_filter.png) center center no-repeat !important; -} -input.reset:hover{ background:#CAD1D6 url(images/btn_filter.png) center center no-repeat !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ - -/* left div */ -.ldiv{ width:40% !important; } -/* middle div */ -.mdiv{ width:34% !important; text-align:left !important; } -/* right div */ -.rdiv{ width:20% !important; } - -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage{ background:transparent url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; } -.nextPage:hover{ background:#CAD1D6 url(images/btn_next_page.gif) center center no-repeat !important; } -.previousPage:hover{ background:#CAD1D6 url(images/btn_previous_page.gif) center center no-repeat !important; } -.firstPage:hover{ background:#CAD1D6 url(images/btn_first_page.gif) center center no-repeat !important; } -.lastPage:hover{ background:#CAD1D6 url(images/btn_last_page.gif) center center no-repeat !important; } -select.rspg{ font-size:10px; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background:#81963B url(images/bg_headers.jpg) left top repeat-x !important; border:1px solid #ccc !important; padding:0 1px 1px 1px !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#EBECEE !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th{ - background:transparent url(images/bg_headers.jpg) 0 0 repeat-x !important;; - border-bottom:0 !important; border-right:1px dotted #D0D0D0 !important; - border-left:0 !important; border-top:0 !important; - padding:0 4px 0 4px !important; color:#fff !important; height:35px !important; -} -/* filters cells */ -div.grd_headTblCont table td{ - border-bottom:1px dotted #39424B !important; border-right:1px dotted #fff !important; - border-left:0 !important; border-top:0 !important; - background-color:#81963B !important; - padding:1px 3px 1px 3px !important; -} - -/* div containing left, middle and right divs */ -.grd_inf{ - background:#f4f4f4 url(images/bg_infDiv.jpg) center bottom repeat-x !important; - border-top:1px solid #D0D0D0 !important; height:29px !important; padding-top:2px !important; -} -/*row bg alternating color*/ -div.grd_Cont .even{ background-color:#BCCD83; } -div.grd_Cont .odd{ background-color:#fff; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:0 !important; background:transparent !important; margin:185px auto !important; } -.defaultLoader{ width:32px; height:32px; background:transparent url(images/img_loading.gif) 0 0 no-repeat !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#BCCD83; }/*row bg alternating color*/ -.odd{ background-color:#fff; }/*row bg alternating color*/ \ No newline at end of file diff --git a/static/style/themes/MyTheme/mytheme.styl b/static/style/themes/MyTheme/mytheme.styl new file mode 100644 index 00000000..de755f14 --- /dev/null +++ b/static/style/themes/MyTheme/mytheme.styl @@ -0,0 +1,176 @@ +/** + * mytheme theme overrides + */ + +// table +table.TF + border-left 1px dotted #81963B !important + border-top none !important + border-right 0 !important + border-bottom none !important + + th + background #39424B url(images/bg_headers.jpg) left top repeat-x !important + border-bottom 0 !important + border-right 1px dotted #D0D0D0 !important + border-left 0 !important + border-top 0 !important + padding 0 4px 0 4px !important + color #fff !important + height 35px !important + + td + border-bottom 1px dotted #81963B + border-right 1px dotted #81963B + padding 5px !important + +// filters +.fltrow + background-color #81963B !important + + th, td + border-bottom 1px dotted #39424B !important + border-right 1px dotted #fff !important + border-left 0 !important + border-top 0 !important + padding 1px 3px 1px 3px !important + +.flt, +select.flt, +select.flt_multi, +.flt_s, .single_flt, +.div_checklist + border 1px solid #687830 !important + +input.flt + width 99% !important + +// toolbar +.inf + background #f4f4f4 url(images/bg_infDiv.jpg) left bottom repeat-x !important + +// reset button +input.reset + width 53px + height 19px + cursor pointer !important + border 0 !important + vertical-align middle + background transparent url(images/btn_filter.png) center center no-repeat !important; + + :hover + background #CAD1D6 url(images/btn_filter.png) center center no-repeat !important + +// paging + +// left div +.ldiv + width 40% !important + +// middle div */ +.mdiv + width 34% !important + text-align left !important + +// right div +.rdiv + width 20% !important + +input.pgInp + width 19px + height 19px + cursor pointer !important + border 0 !important + +.nextPage + background transparent url(images/btn_next_page.gif) center center no-repeat !important + :hover + background #CAD1D6 url(images/btn_next_page.gif) center center no-repeat !important + +.previousPage + background transparent url(images/btn_previous_page.gif) center center no-repeat !important + :hover + background #CAD1D6 url(images/btn_previous_page.gif) center center no-repeat !important + +.firstPage + background transparent url(images/btn_first_page.gif) center center no-repeat !important + :hover + background #CAD1D6 url(images/btn_first_page.gif) center center no-repeat !important + +.lastPage + background transparent url(images/btn_last_page.gif) center center no-repeat !important + :hover + background #CAD1D6 url(images/btn_last_page.gif) center center no-repeat !important + +select.rspg + font-size 10px + +// grid-layout + +// main container +div.grd_Cont + background #81963B url(images/bg_headers.jpg) left top repeat-x !important + border 1px solid #ccc !important + padding 0 1px 1px 1px !important + + // alternating background color rows + .even + background-color #BCCD83 + + .odd + background-color #fff + +// headers' table container +div.grd_headTblCont + background-color #EBECEE !important + border-bottom none !important + +div.grd_tblCont table + border-right none !important + +// headers +div.grd_tblCont table th, +div.grd_headTblCont table th + background transparent url(images/bg_headers.jpg) 0 0 repeat-x !important + border-bottom 0 !important; + border-right 1px dotted #D0D0D0 !important + border-left 0 !important + border-top 0 !important + padding 0 4px 0 4px !important + color #fff !important + height 35px !important + + +/* filters cells */ +div.grd_headTblCont table td + border-bottom 1px dotted #39424B !important + border-right 1px dotted #fff !important + border-left 0 !important + border-top 0 !important + background-color #81963B !important + padding 1px 3px 1px 3px !important + +// div containing left, middle and right divs +.grd_inf + background #f4f4f4 url(images/bg_infDiv.jpg) center bottom repeat-x !important + border-top 1px solid #D0D0D0 !important + height 29px !important + padding-top 2px !important + +// loader +.loader + border 0 !important + background transparent !important + margin 185px auto !important + +.defaultLoader + width 32px + height 32px + background transparent url(images/img_loading.gif) 0 0 no-repeat !important + +// alternating backgrounds +.even + background-color #BCCD83 + +.odd + background-color #fff diff --git a/static/style/themes/SkyBlue/skyblue.css b/static/style/themes/SkyBlue/skyblue.css deleted file mode 100644 index b320ad71..00000000 --- a/static/style/themes/SkyBlue/skyblue.css +++ /dev/null @@ -1,144 +0,0 @@ -/*==================================================== - - Table Filter SkyBlue Theme - - Do not hesitate to edit classes below to - change theme appearance -=====================================================*/ - -/* TABLE LAYOUT -=====================================================*/ -table.TF{ - padding:0; color:#000; - border-right:1px solid #A4BED4; - border-top:1px solid #A4BED4; - border-left:1px solid #A4BED4; - border-bottom:0; -} -table.TF th{ - margin:0; padding:5px; color:inherit; - background:#D1E5FE url("images/bg_skyblue.gif") 0 0 repeat-x; - border-color:#FDFDFD #A4BED4 #A4BED4 #FDFDFD; - border-width:1px; border-style:solid; -} - -table.TF td{ - margin:0; padding:5px; color:inherit; - border-bottom:1px solid #A4BED4; - border-left:0; border-top:0; border-right:0; -} - -/* FILTERS -=====================================================*/ -/* filter grid row appearance */ -.fltrow{ background-color:#D1E5FE !important; } -.fltrow th, .fltrow td{ border-top:1px dotted #666 !important; border-bottom:1px dotted #666 !important; padding:1px 3px 1px 3px !important; } - -/* filter (input) appearance */ -.flt, select.flt, select.flt_multi, .flt_s, .single_flt, .div_checklist{ border:1px solid #A4BED4 !important; } -input.flt{ width:99% !important; } - -/* TOP BAR -=====================================================*/ -/* div containing left, middle and right divs */ -.inf{ - background:#E3EFFF !important; - border:1px solid #A4BED4; - height:25px; color:#004A6F; -} -div.tot, div.status{ border-right:0 !important; } - -.helpBtn{ - margin:0 5px 0 5px; padding: 2px 4px 2px 4px; - color:#004A6F !important; font-size:13px; - border:1px solid transparent !important; -} /* help button */ -.helpBtn:hover{ background-color:#FFE4AB; border:1px solid #FFB552 !important; text-decoration:none; } -div.helpCont{ color:inherit !important: } - -/* RESET BUTTON -=====================================================*/ -/* Reset button */ -input.reset{ - width:19px; height:19px; cursor:pointer !important; - border:1px solid transparent !important; vertical-align:middle; - background:transparent url(images/icn_clear_filters.png) center center no-repeat !important; -} -input.reset:hover{ background:#FFE4AB url(images/icn_clear_filters.png) center center no-repeat !important; border:1px solid #FFB552 !important; } - -/* PAGING -=====================================================*/ -/* Paging elements */ -input.pgInp{ - width:19px; height:19px; cursor:pointer !important; - border:0 !important; -} -.nextPage{ background:transparent url(images/btn_next_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.previousPage{ background:transparent url(images/btn_prev_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.firstPage{ background:transparent url(images/btn_first_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.lastPage{ background:transparent url(images/btn_last_page.gif) center center no-repeat !important; border:1px solid transparent !important; } -.nextPage:hover{ background:#FFE4AB url(images/btn_next_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.previousPage:hover{ background:#FFE4AB url(images/btn_prev_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.firstPage:hover{ background:#FFE4AB url(images/btn_first_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -.lastPage:hover{ background:#FFE4AB url(images/btn_last_page.gif) center center no-repeat !important; border:1px solid #FFB552 !important; } -select.rspg{ font-size:10px; } - -/* ACTIVE COLUMN HEADER -=====================================================*/ -.activeHeader{ background:#FFE4AB !important; border:1px solid #FFB552 !important; color:inherit !important; } - -/* GRID LAYOUT -=====================================================*/ -/*Main container*/ -div.grd_Cont{ background-color:#D9EAED !important; border:1px solid #99CCCC !important; padding:0 !important; } -/*headers' table container*/ -div.grd_headTblCont{ background-color:#D9EAED !important; border-bottom:none !important; } -/*div.grd_tblCont{ overflow-y:auto !important; }*/ -div.grd_tblCont table{ border-right:none !important; font:12px/13px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif !important; } -/* Headers */ -div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{ - background:#D9EAED url(images/bg_skyblue.gif) left top repeat-x; - border-bottom:1px solid #A4BED4; border-right:1px solid #A4BED4 !important; - border-left:1px solid #fff !important; border-top:1px solid #fff !important; - padding:5px 2px 5px 2px !important; -} -div.grd_tblCont table td{ - border-bottom:1px solid #A4BED4 !important; border-right:0 !important; - border-left:0 !important; border-top:0 !important; padding:5px 2px 5px 2px !important; -} - -/* div containing left, middle and right divs */ -.grd_inf{ - background:#D9EAED !important; - height:25px; color:#004A6F; - border-top:1px solid #99CCCC !important; -} -.grd_inf .rdiv{ height:28px; } -.grd_inf a{ text-decoration:none; font-weight:bold; } /* help */ - - /* help button */ -.grd_inf a.helpBtn{ vertical-align:middle; margin-top:2px !important; padding-top:1px !important; } -/* row bg alternating color */ -div.grd_Cont .even{ background-color:#fff; } -div.grd_Cont .odd{ background-color:#E3EFFF; } - -/* LOADER -=====================================================*/ -/* Loader */ -.loader{ border:0 !important; background:transparent !important; margin-top:40px; margin-left:0 !important; } - -/* ALTERNATING ROW BACKGROUNDS -=====================================================*/ -/* Alternating backgrounds */ -.even{ background-color:#fff; }/*row bg alternating color*/ -.odd{ background-color:#E3EFFF; }/*row bg alternating color*/ - -/* ezEditTable -=====================================================*/ - -/* Selection */ -.ezActiveRow{ background-color:#FFDC61 !important; color:inherit; } -.ezSelectedRow{ background-color:#FFE4AB !important; color:inherit; } -.ezActiveCell{ - background-color:#fff !important; - color:#000 !important; font-weight:bold; -} -.ezETSelectedCell{ background-color:#FFF !important; font-weight:bold; color:rgb(0,0,0)!important; } \ No newline at end of file diff --git a/static/style/themes/SkyBlue/skyblue.styl b/static/style/themes/SkyBlue/skyblue.styl new file mode 100644 index 00000000..4d53cdfe --- /dev/null +++ b/static/style/themes/SkyBlue/skyblue.styl @@ -0,0 +1,233 @@ +/** + * skyblue theme overrides + */ + +// table +table.TF + padding 0 + color #000 + border-right 1px solid #A4BED4 + border-top 1px solid #A4BED4 + border-left 1px solid #A4BED4 + border-bottom 0 + + th + margin 0 + padding 5px + color inherit + background #D1E5FE url("images/bg_skyblue.gif") 0 0 repeat-x + border-color #FDFDFD #A4BED4 #A4BED4 #FDFDFD + border-width 1px + border-style solid + + td + margin 0 + padding 5px + color inherit + border-bottom 1px solid #A4BED4 + border-left 0 + border-top 0 + border-right 0 + +// filters +.fltrow + background-color #D1E5FE !important + + th, td + border-top 1px dotted #666 !important + border-bottom 1px dotted #666 !important + padding 1px 3px 1px 3px !important + +.flt, +select.flt, +select.flt_multi, +.flt_s, +.single_flt, +.div_checklist + border 1px solid #A4BED4 !important + +input.flt + width 99% !important + +// toolbar +.inf + background-color #E3EFFF !important + border 1px solid #A4BED4 + height 25px + color #004A6F + +div.tot, +div.status + border-right 0 !important + +// help +.helpBtn + margin 0 5px 0 5px + padding 2px 4px 2px 4px + color #004A6F !important + font-size 13px + border 1px solid transparent !important + + :hover + background-color #FFE4AB + border 1px solid #FFB552 !important + text-decoration none + +// reset button +input.reset + width 19px + height 19px + cursor pointer !important + border 1px solid transparent !important + vertical-align middle + background transparent url(images/icn_clear_filters.png) center center no-repeat !important + + :hover + background #FFE4AB url(images/icn_clear_filters.png) center center no-repeat !important + border 1px solid #FFB552 !important + +// paging +input.pgInp + width 19px + height 19px + cursor pointer !important + border 0 !important + +.nextPage + background transparent url(images/btn_next_page.gif) center center no-repeat !important + border 1px solid transparent !important + + :hover + background #FFE4AB url(images/btn_next_page.gif) center center no-repeat !important + border 1px solid #FFB552 !important + +.previousPage + background transparent url(images/btn_prev_page.gif) center center no-repeat !important + border 1px solid transparent !important + + :hover + background #FFE4AB url(images/btn_prev_page.gif) center center no-repeat !important + border 1px solid #FFB552 !important + +.firstPage + background transparent url(images/btn_first_page.gif) center center no-repeat !important + border 1px solid transparent !important + + :hover + background #FFE4AB url(images/btn_first_page.gif) center center no-repeat !important + border 1px solid #FFB552 !important + +.lastPage + background transparent url(images/btn_last_page.gif) center center no-repeat !important + border 1px solid transparent !important + + :hover + background #FFE4AB url(images/btn_last_page.gif) center center no-repeat !important + border 1px solid #FFB552 !important + +select.rspg + font-size 10px + +// active header +.activeHeader + background #FFE4AB !important + border 1px solid #FFB552 !important + color inherit !important + +// grid-layout + +// main container +div.grd_Cont + background-color #D9EAED !important + border 1px solid #99CCCC !important + padding 0 !important + + // alternating background colors + .even + background-color #fff + + .odd + background-color #E3EFFF + +// headers' table container +div.grd_headTblCont + background-color #D9EAED !important + border-bottom none !important + + +div.grd_tblCont table + border-right none !important + font 12px/13px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif !important + +// headers +div.grd_tblCont table th, +div.grd_headTblCont table th, +div.grd_headTblCont table td + background #D9EAED url(images/bg_skyblue.gif) left top repeat-x + border-bottom 1px solid #A4BED4 + border-right 1px solid #A4BED4 !important + border-left 1px solid #fff !important + border-top 1px solid #fff !important + padding 5px 2px 5px 2px !important + +div.grd_tblCont table td + border-bottom 1px solid #A4BED4 !important + border-right 0 !important + border-left 0 !important + border-top 0 !important + padding 5px 2px 5px 2px !important + +// toolbar containing left, middle and right divs +.grd_inf + background-color #D9EAED !important + height 25px + color #004A6F + border-top 1px solid #99CCCC !important + + .rdiv + height 28px + + a + text-decoration none + font-weight bold + + // help button + a.helpBtn + vertical-align middle + margin-top 2px !important + padding-top 1px !important + +// loader +.loader + border 0 !important + background transparent !important + margin-top 40px + margin-left 0 !important + +// alternating background colors +.even + background-color #fff + +.odd + background-color #E3EFFF + +// ezedittable + +// selection +.ezActiveRow + background-color #FFDC61 !important + color inherit + +.ezSelectedRow + background-color #FFE4AB !important + color inherit + +.ezActiveCell + background-color #fff !important + color #000 !important + font-weight bold + +.ezETSelectedCell + background-color #FFF !important + font-weight bold + color rgb(0,0,0) !important