1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-14 12:27:05 +02:00

Continued converting css to stylus

This commit is contained in:
Max Guglielmi 2015-08-04 18:38:40 +10:00
parent a6014e8519
commit 63b5957219
28 changed files with 10414 additions and 813 deletions

View file

@ -45,7 +45,11 @@ module.exports = function (grunt) {
copy: {
dist: {
src: ['**'],
src: [
'**',
'!*.styl',
'!**/extensions/**'
],
cwd: 'static/style',
dest: 'dist/tablefilter/style',
expand: true
@ -175,11 +179,18 @@ module.exports = function (grunt) {
// src: ['static/style/*/*.styl'],
// ext: '.css'
// }]
files: {
'dist/tablefilter/style/tablefilter_.css': [
'static/style/*.styl'
]
}
files: [
{
src: ['static/style/*.styl'],
dest: 'dist/tablefilter/style/tablefilter.css'
},{
src: ['static/style/extensions/colsVisibility.styl'],
dest: 'dist/tablefilter/style/colsVisibility.css'
},{
src: ['static/style/extensions/filtersVisibility.styl'],
dest: 'dist/tablefilter/style/filtersVisibility.css'
}
]
}
}
@ -204,10 +215,11 @@ module.exports = function (grunt) {
// Dev dev/build/watch cycle
grunt.registerTask('dev',
['jshint', 'webpack:dev', 'copy:dist', 'watch:app']);
['jshint', 'webpack:dev', 'copy:dist', 'stylus:compile', 'watch:app']);
// Production build
grunt.registerTask('build', ['jshint', 'webpack:build', 'copy:dist']);
grunt.registerTask('build',
['jshint', 'webpack:build', 'copy:dist', 'stylus:compile']);
// Build demos
grunt.registerTask('dev-demos', ['build-demos', 'watch:templates']);

View file

@ -1,42 +1,50 @@
/*====================================================
- HTML Table Filter Generator
- Columns Visibility Manager Extension
- do not hesitate to edit classes below to
change extension appearance
=====================================================*/
span.colVisSpan{ text-align:left; }
span.colVisSpan a.colVis{
/* Link */
margin:0 5px 0 5px;
/**
* ColsVisibility extension default style
*/
span.colVisSpan {
text-align: left;
}
div.colVisCont{
/* Container div */
position:absolute;
display:none;
border:1px solid #ccc;
height:auto; width:250px;
background:#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;
span.colVisSpan a.colVis {
margin: 0 5px 0 5px;
}
div.colVisCont p{ margin:6px auto 6px auto; }
ul.cols_checklist{ padding:0; margin:0; list-style: none; }
li.cols_checklist_item{ /*check list item*/
padding:4px;
margin:0;
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;
}
li.cols_checklist_item:hover{
background-color:#335EA8;
color:#fff;
div.colVisCont p {
margin: 6px auto 6px auto;
}
.cols_checklist_slc_item{ /*selected check list item*/
background-color:#335EA8;
color:#fff;
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;
}
ul.cols_checklist label{ display:block; }
ul.cols_checklist input{ vertical-align:middle; margin:2px 5px 2px 1px; }

View file

@ -1,23 +1,13 @@
/*====================================================
- HTML Table Filter Generator
- Filters Row Visibility Manager Extension v1.1
- do not hesitate to edit classes below to
change extension appearance
=====================================================*/
/* container */
span.expClpFlt{ }
/* icon */
span.expClpFlt img{
vertical-align:middle;
border:0;
/*border:1px solid #ccc;*/
padding:1px 1px 1px 1px;
margin:1px 1px 1px 1px;
/*background:#f4f4f4;*/
/**
* 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;
}
span.expClpFlt img:hover{}
/* button */
.btnExpClpFlt{ margin:0 5px 0 5px; }

View file

@ -1,337 +1,568 @@
/*====================================================
- HTML Table Filter Generator stylesheet
- do not hesitate to edit classes below to
change filter grid appearance
=====================================================*/
/* TABLE LAYOUT
=====================================================*/
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 5px 5px 5px; color:#333;
/**
* Filtered column marker default style
*/
.activeHeader {
background: #004080 !important;
color: #fff !important;
}
table.TF td{
margin: 0;
padding:5px 5px 5px 5px;
border-bottom:1px solid #D0D0D0; border-right:1px solid #D0D0D0;
/**
* Alternating rows default style
*/
.even {
background-color: #fff;
}
.odd {
background-color: #e5e5e5;
}
/* FILTERS BAR
=====================================================*/
.fltrow{ /* filter grid row appearance */
height:20px;
background-color:#f4f4f4;
}
.fltrow td, .fltrow th{ padding:2px !important; }
.btnflt{ /* button appearance */
font-size:11px; vertical-align:middle;
margin:0 2px 0 2px; padding:0 1px 0 1px;
}
.btnflt_icon{ /* button appearance when displayIcons is true */
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{ /* filter (input) appearance */
background-color:#fff;
border:1px solid #ccc;
margin:0; width:97%; vertical-align:middle;
}
select.flt{ /* select filter */
background-color:#fff; border:1px solid #ccc;
margin:0 1px 1px 0; width:99%; vertical-align:middle;
}
select.flt_multi{ /* multiple select filter */
background-color:#fff; border:1px solid #ccc;
margin:0 1px 1px 0; width:99%; height:100px;
vertical-align:middle;
}
.flt_s{ /* small filter (input) appearance */
background-color:#fff;
border:1px solid #ccc;
margin:0; width:80%; vertical-align:middle;
}
.single_flt{ /* single filter appearance (input) */
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;
}
/*.fltWatermark{ watermark input
color:#999;
}*/
.div_checklist{ /* div containing checklist */
width:100%; height:100px;
border:1px solid #ccc;
overflow:auto; text-align:left;
background-color:#fff;
color:#333 !important;
}
/**
* Global variables
*/
.div_checklist ul.flt_checklist{ padding:0 !important; margin:0 !important; list-style: none !important; }
.div_checklist li.flt_checklist_item{ /*check list item*/
padding:1px !important; margin:0 !important; font-size:10px !important;
border-bottom:1px solid #ccc !important;
/**
* ezEditTable integration default overrides
*/
.ezActiveRow {
background-color: #2852a8 !important;
color: #fff;
}
.div_checklist li.flt_checklist_item:hover{
background-color:#335EA8 !important;
color:#fff !important;
.ezSelectedRow {
background-color: #316ac5 !important;
color: #fff;
}
.flt_checklist_item_disabled{ background-color:#E5E5E5; }
.flt_checklist_slc_item{ /*selected check list item*/
background-color:#335EA8 !important;
color:#fff !important;
.ezActiveCell {
background-color: #d9e8fb !important;
color: #000 !important;
font-weight: bold;
}
.div_checklist label{ display:block !important; }
.div_checklist input{ vertical-align:middle !important; margin:2px 5px 2px 1px !important; }
/* RESET BUTTON
=====================================================*/
/* Reset button */
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;
.ezETSelectedCell {
background-color: #ffdc61 !important;
font-weight: bold;
color: #000 !important;
}
input.reset:hover{ background:#CAD1D6 url(themes/btn_clear_filters.png) center center no-repeat !important; }
/* PAGING ELEMENTS
=====================================================*/
.inf{ /* div containing left, middle and right divs */
clear:both; width:auto; height:25px;
background:#f4f4f4; font-size:12px;
margin:0; padding:1px 3px 1px 3px;
border:1px solid #ccc; overflow:hidden;
.ezUnselectable {
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
.ldiv{ /* left div */
float:left;
width:30%;
position:inherit;
text-align:left;
.ezInputEditor {
width: 95%;
height: auto;
font-size: inherit;
border: 1px solid #aaccf6;
}
.mdiv{ /* middle div */
float:left; width:38%; position:inherit; text-align:center;
padding:1px 0;
.ezTextareaEditor {
width: 95%;
height: 35px;
font-size: inherit;
border: 1px solid #aaccf6;
}
.rdiv{ /* right div */
float:right; width:30%; position:inherit; text-align:right;
.ezSelectEditor {
width: 100%;
font-size: inherit;
border: 1px solid #aaccf6;
}
select.pgSlc{ height:20px; vertical-align:middle; font-size:10px; }/*paging drop-down list*/
input.pgNbInp{/*paging text-box*/
width:25px; height:16px; margin:1px;
font-size:11px; vertical-align:middle;
.ezModifiedCell {
background: transparent url("themes/bg_mod_cell.png") 0 0 no-repeat;
}
input.pgInp{ /*paging buttons (Next/Previous)*/
vertical-align: middle;
width:19px; height:19px; cursor:pointer !important;
border:0 !important; font-weight:bold; font-size:11px;
select[multiple="multiple"].ezSelectEditor {
height: 35px;
}
.nextPage{ background:transparent url(themes/btn_next_page.gif) center center no-repeat !important; }
.previousPage{ background:transparent url(themes/btn_previous_page.gif) center center no-repeat !important; }
.firstPage{ background:transparent url(themes/btn_first_page.gif) center center no-repeat !important; }
.lastPage{ background:transparent url(themes/btn_last_page.gif) center center no-repeat !important; }
.nextPage:hover, .previousPage:hover, .firstPage:hover, .lastPage:hover{ background-color:#CAD1D6 !important; }
span.nbpg{ padding:0 5px 0 0; }/*paging nb pages*/
div.inf a{ color:#333; text-decoration:none; font-weight:bold; }/*link appearence in .inf div*/
div.inf a:hover{ text-decoration:underline; }/*link appearence in .inf div*/
div.tot{ /* rows counter appearance */
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; font-size:11px; }
select.rspg{ width:50px; margin:1px 5px 0 5px; vertical-align:middle; }/*results per page select*/
span.rspgSpan{ font-size:11px; } /*results per page select label*/
/* BEHAVIOURS
=====================================================*/
span.keyword{ background-color: #ffcc00;}/*highlighted word*/
.even{ background-color:#fff; }/*row bg alternating color*/
.odd{ background-color:#E5E5E5; }/*row bg alternating color*/
.loader{ /* loader appearance */
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:#f4f4f4;
vertical-align:middle;
}
div.status{ /* status bar appearance */
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; }
div.cont{ /*table container div*/
height:200px; overflow: auto;
}
div.head{ width:auto; overflow:hidden; }
/* Help elements */
.helpBtn{
margin:0 5px 0 5px;
padding: 2px 4px 2px 4px;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
} /* help button */
div.helpCont{ /* help container */
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:#cc0000; text-decoration:underline; font-weight:normal; }
div.helpCont a.close{ color:#333; text-decoration:none; font-weight:bold; }
div.helpCont a: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; }
/* Pop-up filters elements */
div.popUpFilter{
position:absolute; display:none; width:100px;
background:#C8E0FB; border:1px solid #e4e4e4;
padding:1px 3px 1px 1px;
margin:20px auto 0 0px;
}
/* Active column header */
.activeHeader{ background:#004080 !important; color:#fff !important; }
/* GRID LAYOUT
=====================================================*/
div.grd_Cont{ /*Main container*/
width:800px; height:auto;
overflow:hidden;
padding:3px 3px 3px 3px;
background:#C8E0FB;
border:1px solid #99BBE8;
}
div.grd_tblCont{ /*Content table container*/
height:400px; width:800px;
background:#fff;
overflow-x:auto;
overflow-y:scroll;
}
div.grd_headTblCont{ /*headers' table container*/
height:auto; width:800px; overflow:hidden;
border-bottom:1px solid #99BBE8;
background-color:#C8E0FB;
}
div.grd_tblCont table, div.grd_headTblCont table{ /*Tables*/
font-size:12px; border-collapse:collapse;
table-layout:fixed;
}
div.grd_tblCont table{ border-right:1px solid #99BBE8; }
/* Filters */
div.grd_Cont .fltrow{ background-color:transparent; } /*Filters' row*/
div.grd_Cont .flt{ border:1px solid #99BBE8; width:97%; }
div.grd_Cont .flt:focus{ border:1px solid #558DD9; }
/* Headers */
div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{
background:#C8E0FB;
padding:2px 2px 2px 2px !important; color:#333;
border-right:1px solid #99BBE8 !important;
overflow:hidden;
/*white-space:nowrap;*/
text-overflow:ellipsis;
}
div.grd_tblCont table td{
padding:2px 2px 2px 2px !important;
border-bottom:1px solid #ccc !important;
overflow:hidden;
/*white-space:nowrap;*/
text-overflow:ellipsis;
}
.grd_inf{ /* div containing left, middle and right divs */
clear:both; width:auto; height:25px;
background:#C8E0FB; font-size:11px;
margin:0; padding:1px 3px 1px 3px;
border-top:1px solid #99BBE8;
}
div.grd_Cont .even{ background-color:#fff; }/*row bg alternating color*/
div.grd_Cont .odd{ background-color:#DFE8F6; }/*row bg alternating color*/
/* ezEditTable
=====================================================*/
/* Selection */
.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:rgb(0,0,0)!important; }
.ezUnselectable{
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
/* Cell editors */
.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"] {
font-size:11px; 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 {
margin: 2px;
}
.ezCommandEditor button:hover, .ezCommandEditor input[type="button"]:hover { border:1px solid #999; }
.ezCommandEditor img{ border:0; vertical-align:middle; margin:2px; }
/* Utils */
.ezOpacity{
filter:alpha(opacity=60); /* for IE */
opacity:0.6; /* CSS3 standard */
.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;
}
.alignLeft{ text-align:left; }
.alignCenter{ text-align:center; }
.alignRight{ text-align:right; }
/* WEB FX Sortable table
/* Change images paths if you don't use same folder
/* Remove safely if not used
=====================================================*/
/**
* 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;
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;
}
.sort-arrow.descending{ background-image:url("themes/downsimple.png"); }
.sort-arrow.ascending{ background-image:url("themes/upsimple.png"); }

File diff suppressed because one or more lines are too long

2228
dist/tablefilter/tf-1.js vendored

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,7 @@
/**
* Filtered column marker default style
*/
.activeHeader
background #004080 !important
color #fff !important

View file

@ -0,0 +1,8 @@
/**
* Alternating rows default style
*/
.even
background-color #fff
.odd
background-color #E5E5E5

View file

@ -1,42 +0,0 @@
/*====================================================
- HTML Table Filter Generator
- Columns Visibility Manager Extension
- do not hesitate to edit classes below to
change extension appearance
=====================================================*/
span.colVisSpan{ text-align:left; }
span.colVisSpan a.colVis{
/* Link */
margin:0 5px 0 5px;
}
div.colVisCont{
/* Container div */
position:absolute;
display:none;
border:1px solid #ccc;
height:auto; width:250px;
background:#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; }
li.cols_checklist_item{ /*check list item*/
padding:4px;
margin:0;
}
li.cols_checklist_item:hover{
background-color:#335EA8;
color:#fff;
}
.cols_checklist_slc_item{ /*selected check list item*/
background-color:#335EA8;
color:#fff;
}
ul.cols_checklist label{ display:block; }
ul.cols_checklist input{ vertical-align:middle; margin:2px 5px 2px 1px; }

View file

@ -2,14 +2,29 @@
* Global variables
*/
$border-color-0 = #FFF
$border-color-1 = #CCC
$border-color-2 = #D0D0D0
$padding = 5px
// table
$border-color-0 = #FFF
$border-color-1 = #CCC
$border-color-2 = #D0D0D0
$padding = 5px
$th-bg-color = #EBECEE
$th-padding = 5px
$th-font-color = #333
// header cell
$th-bg-color = #EBECEE
$th-padding = 5px
$th-font-color = #333
$filter-bg-color = #fff
$filter-border-color = #ccc
// filter
$filter-bg-color = #fff
$filter-border-color = #ccc
// toolbar container (.inf)
$toolbar-bg-color = #f4f4f4
$toolbar-font-size = 12px
$toolbar-border-color = #ccc
// paging
$paging-nav-button-bg-color-hover = #CAD1D6
// grid layout
$grid-layout-bg-color = #C8E0FB
$grid-layout-border-color = #99BBE8

View file

@ -0,0 +1,58 @@
/**
* ColsVisibility extension default style
*/
$item-bg-color = #335EA8
$item-font-color = #fff
span.colVisSpan
text-align left
// link
a.colVis
margin 0 5px 0 5px
// container element
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
p
margin 6px auto 6px auto
// checklist
ul.cols_checklist
padding 0
margin 0
list-style none
label
display block
input
vertical-align middle
margin 2px 5px 2px 1px
// check list item
li.cols_checklist_item
padding 4px
margin 0
:hover
background-color $item-bg-color
color $item-font-color
// selected check list item
.cols_checklist_slc_item
background-color $item-bg-color
color $item-font-color

View file

@ -0,0 +1,17 @@
/**
* Filters visibility extension default style
*/
// container
span.expClpFlt
// icon
span.expClpFlt img
vertical-align middle
border 0
padding 1px 1px 1px 1px
margin 1px 1px 1px 1px
// button
.btnExpClpFlt
margin 0 5px 0 5px

View file

@ -0,0 +1,93 @@
/**
* ezEditTable integration default overrides
*/
@import 'config'
$editor-border-color = #AACCF6
// selection
.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 rgb(0,0,0) !important
.ezUnselectable
-moz-user-select -moz-none
-khtml-user-select none
-webkit-user-select none
-o-user-select none
user-select none
// cell editors
.ezInputEditor
width 95%
height auto
font-size inherit
border 1px solid $editor-border-color
.ezTextareaEditor
width 95%
height 35px
font-size inherit
border 1px solid $editor-border-color
.ezSelectEditor
width 100%
font-size inherit
border 1px solid $editor-border-color
.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
button, 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
:hover
border 1px solid #999
img
border 0
vertical-align middle
margin 2px
// utils
.ezOpacity
//filter alpha(opacity=60) /* for legacy IE */
opacity 0.6 /* CSS3 standard */
.alignLeft
text-align left
.alignCenter
text-align center
.alignRight
text-align right

View file

@ -1,5 +1,5 @@
/**
* Checklist filters default styling
* Checklist filters default style
*/
@import 'config'

View file

@ -1,5 +1,5 @@
/**
* Filters' default styling
* Filters' default style
*/
@import 'config'
@ -72,3 +72,13 @@ select.flt_multi
margin 0
width 120px
vertical-align middle
// Pop-up filters elements
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

View file

@ -1,23 +0,0 @@
/*====================================================
- HTML Table Filter Generator
- Filters Row Visibility Manager Extension v1.1
- do not hesitate to edit classes below to
change extension appearance
=====================================================*/
/* container */
span.expClpFlt{ }
/* icon */
span.expClpFlt img{
vertical-align:middle;
border:0;
/*border:1px solid #ccc;*/
padding:1px 1px 1px 1px;
margin:1px 1px 1px 1px;
/*background:#f4f4f4;*/
}
span.expClpFlt img:hover{}
/* button */
.btnExpClpFlt{ margin:0 5px 0 5px; }

View file

@ -0,0 +1,87 @@
/**
* Grid layout default style
*/
@import 'config'
// main container
div.grd_Cont
width 800px
height auto
overflow hidden
padding 3px 3px 3px 3px
background-color $grid-layout-bg-color
border 1px solid $grid-layout-border-color
// filters' row
.fltrow
background-color transparent
// filters
.flt
border 1px solid $grid-layout-border-color
width 97%
:focus
border 1px solid #558DD9
// alternating background color
.even
background-color #fff
.odd
background-color #DFE8F6
// content table container
div.grd_tblCont
height 400px
width 800px
background #fff
overflow-x auto
overflow-y scroll
// headers' table container
div.grd_headTblCont
height auto
width 800px
overflow hidden
border-bottom 1px solid $grid-layout-border-color
background-color $grid-layout-bg-color
// tables
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 $grid-layout-border-color
// headers
div.grd_tblCont table th,
div.grd_headTblCont table th,
div.grd_headTblCont table td
background-color $grid-layout-bg-color
padding 2px 2px 2px 2px !important
color #333
border-right 1px solid $grid-layout-border-color !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
// toolbar container
.grd_inf
clear both
width auto
height 25px
background-color $grid-layout-bg-color
font-size 11px
margin 0
padding 1px 3px 1px 3px
border-top 1px solid $grid-layout-border-color

49
static/style/help.styl Normal file
View file

@ -0,0 +1,49 @@
/**
* Help box default style
*/
// help button
.helpBtn
margin 0 5px 0 5px
padding 2px 4px 2px 4px
border-left 1px solid #ccc
border-right 1px solid #ccc
// help container
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
a
color #cc0000
text-decoration underline;
font-weight normal
a.close
color #333
text-decoration none
font-weight bold
:hover
text-decoration none
hr
border 1px solid #ccc
div.helpFooter
margin 10px 0 0 0
h4
margin 2px 2px 2px 2px
font-size 13px
color #333

View file

@ -0,0 +1,6 @@
/**
* Keyword highlighting default style
*/
span.keyword
background-color #ffcc00

15
static/style/loader.styl Normal file
View file

@ -0,0 +1,15 @@
/**
* 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

64
static/style/paging.styl Normal file
View file

@ -0,0 +1,64 @@
/**
* Paging default style
*/
@import 'config'
// paging drop-down list
select.pgSlc
height 20px
vertical-align middle
// paging text-box
input.pgNbInp
width 25px
height 16px
margin 1px
vertical-align middle
// paging buttons (Next/Previous)
input.pgInp
vertical-align middle
width 19px
height 19px
cursor pointer !important
border 0 !important
font-weight bold
.nextPage
@extends input.pgInp
background transparent url(themes/btn_next_page.gif) center center no-repeat !important
:hover
background-color $paging-nav-button-bg-color-hover !important
.previousPage
@extends input.pgInp
background transparent url(themes/btn_previous_page.gif) center center no-repeat !important
:hover
background-color $paging-nav-button-bg-color-hover !important
.firstPage
@extends input.pgInp
background transparent url(themes/btn_first_page.gif) center center no-repeat !important
:hover
background-color $paging-nav-button-bg-color-hover !important
.lastPage
@extends input.pgInp
background transparent url(themes/btn_last_page.gif) center center no-repeat !important
:hover
background-color $paging-nav-button-bg-color-hover !important
// paging nb pages
span.nbpg
padding 0 5px 0 0
// results per page select
select.rspg
width 50px
margin 1px 5px 0 5px
vertical-align middle
// results per page select label
span.rspgSpan
font-size:11px;

View file

@ -0,0 +1,14 @@
/**
* 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
:hover
background #CAD1D6 url(themes/btn_clear_filters.png) center center no-repeat !important

View file

@ -0,0 +1,15 @@
/**
* 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
span
font-weight bold

16
static/style/sort.styl Normal file
View file

@ -0,0 +1,16 @@
/**
* 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")

View file

@ -0,0 +1,16 @@
/**
* 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
span
font-weight bold
font-size 11px

View file

@ -1,5 +1,5 @@
/**
* Table's default styling
* Table's default style
*/
@import 'config'

View file

@ -1,337 +0,0 @@
/*====================================================
- HTML Table Filter Generator stylesheet
- do not hesitate to edit classes below to
change filter grid appearance
=====================================================*/
/* TABLE LAYOUT
=====================================================*/
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 5px 5px 5px; color:#333;
}
table.TF td{
margin: 0;
padding:5px 5px 5px 5px;
border-bottom:1px solid #D0D0D0; border-right:1px solid #D0D0D0;
}
/* FILTERS BAR
=====================================================*/
.fltrow{ /* filter grid row appearance */
height:20px;
background-color:#f4f4f4;
}
.fltrow td, .fltrow th{ padding:2px !important; }
.btnflt{ /* button appearance */
font-size:11px; vertical-align:middle;
margin:0 2px 0 2px; padding:0 1px 0 1px;
}
.btnflt_icon{ /* button appearance when displayIcons is true */
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{ /* filter (input) appearance */
background-color:#fff;
border:1px solid #ccc;
margin:0; width:97%; vertical-align:middle;
}
select.flt{ /* select filter */
background-color:#fff; border:1px solid #ccc;
margin:0 1px 1px 0; width:99%; vertical-align:middle;
}
select.flt_multi{ /* multiple select filter */
background-color:#fff; border:1px solid #ccc;
margin:0 1px 1px 0; width:99%; height:100px;
vertical-align:middle;
}
.flt_s{ /* small filter (input) appearance */
background-color:#fff;
border:1px solid #ccc;
margin:0; width:80%; vertical-align:middle;
}
.single_flt{ /* single filter appearance (input) */
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;
}
/*.fltWatermark{ watermark input
color:#999;
}*/
.div_checklist{ /* div containing 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{ /*check list 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;
}
.flt_checklist_item_disabled{ background-color:#E5E5E5; }
.flt_checklist_slc_item{ /*selected check list item*/
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; }
/* RESET BUTTON
=====================================================*/
/* Reset button */
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; }
/* PAGING ELEMENTS
=====================================================*/
.inf{ /* div containing left, middle and right divs */
clear:both; width:auto; height:25px;
background:#f4f4f4; font-size:12px;
margin:0; padding:1px 3px 1px 3px;
border:1px solid #ccc; overflow:hidden;
}
.ldiv{ /* left div */
float:left;
width:30%;
position:inherit;
text-align:left;
}
.mdiv{ /* middle div */
float:left; width:38%; position:inherit; text-align:center;
padding:1px 0;
}
.rdiv{ /* right div */
float:right; width:30%; position:inherit; text-align:right;
}
select.pgSlc{ height:20px; vertical-align:middle; font-size:10px; }/*paging drop-down list*/
input.pgNbInp{/*paging text-box*/
width:25px; height:16px; margin:1px;
font-size:11px; vertical-align:middle;
}
input.pgInp{ /*paging buttons (Next/Previous)*/
vertical-align: middle;
width:19px; height:19px; cursor:pointer !important;
border:0 !important; font-weight:bold; font-size:11px;
}
.nextPage{ background:transparent url(themes/btn_next_page.gif) center center no-repeat !important; }
.previousPage{ background:transparent url(themes/btn_previous_page.gif) center center no-repeat !important; }
.firstPage{ background:transparent url(themes/btn_first_page.gif) center center no-repeat !important; }
.lastPage{ background:transparent url(themes/btn_last_page.gif) center center no-repeat !important; }
.nextPage:hover, .previousPage:hover, .firstPage:hover, .lastPage:hover{ background-color:#CAD1D6 !important; }
span.nbpg{ padding:0 5px 0 0; }/*paging nb pages*/
div.inf a{ color:#333; text-decoration:none; font-weight:bold; }/*link appearence in .inf div*/
div.inf a:hover{ text-decoration:underline; }/*link appearence in .inf div*/
div.tot{ /* rows counter appearance */
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; font-size:11px; }
select.rspg{ width:50px; margin:1px 5px 0 5px; vertical-align:middle; }/*results per page select*/
span.rspgSpan{ font-size:11px; } /*results per page select label*/
/* BEHAVIOURS
=====================================================*/
span.keyword{ background-color: #ffcc00;}/*highlighted word*/
.even{ background-color:#fff; }/*row bg alternating color*/
.odd{ background-color:#E5E5E5; }/*row bg alternating color*/
.loader{ /* loader appearance */
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:#f4f4f4;
vertical-align:middle;
}
div.status{ /* status bar appearance */
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; }
div.cont{ /*table container div*/
height:200px; overflow: auto;
}
div.head{ width:auto; overflow:hidden; }
/* Help elements */
.helpBtn{
margin:0 5px 0 5px;
padding: 2px 4px 2px 4px;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
} /* help button */
div.helpCont{ /* help container */
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:#cc0000; text-decoration:underline; font-weight:normal; }
div.helpCont a.close{ color:#333; text-decoration:none; font-weight:bold; }
div.helpCont a: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; }
/* Pop-up filters elements */
div.popUpFilter{
position:absolute; display:none; width:100px;
background:#C8E0FB; border:1px solid #e4e4e4;
padding:1px 3px 1px 1px;
margin:20px auto 0 0px;
}
/* Active column header */
.activeHeader{ background:#004080 !important; color:#fff !important; }
/* GRID LAYOUT
=====================================================*/
div.grd_Cont{ /*Main container*/
width:800px; height:auto;
overflow:hidden;
padding:3px 3px 3px 3px;
background:#C8E0FB;
border:1px solid #99BBE8;
}
div.grd_tblCont{ /*Content table container*/
height:400px; width:800px;
background:#fff;
overflow-x:auto;
overflow-y:scroll;
}
div.grd_headTblCont{ /*headers' table container*/
height:auto; width:800px; overflow:hidden;
border-bottom:1px solid #99BBE8;
background-color:#C8E0FB;
}
div.grd_tblCont table, div.grd_headTblCont table{ /*Tables*/
font-size:12px; border-collapse:collapse;
table-layout:fixed;
}
div.grd_tblCont table{ border-right:1px solid #99BBE8; }
/* Filters */
div.grd_Cont .fltrow{ background-color:transparent; } /*Filters' row*/
div.grd_Cont .flt{ border:1px solid #99BBE8; width:97%; }
div.grd_Cont .flt:focus{ border:1px solid #558DD9; }
/* Headers */
div.grd_tblCont table th, div.grd_headTblCont table th, div.grd_headTblCont table td{
background:#C8E0FB;
padding:2px 2px 2px 2px !important; color:#333;
border-right:1px solid #99BBE8 !important;
overflow:hidden;
/*white-space:nowrap;*/
text-overflow:ellipsis;
}
div.grd_tblCont table td{
padding:2px 2px 2px 2px !important;
border-bottom:1px solid #ccc !important;
overflow:hidden;
/*white-space:nowrap;*/
text-overflow:ellipsis;
}
.grd_inf{ /* div containing left, middle and right divs */
clear:both; width:auto; height:25px;
background:#C8E0FB; font-size:11px;
margin:0; padding:1px 3px 1px 3px;
border-top:1px solid #99BBE8;
}
div.grd_Cont .even{ background-color:#fff; }/*row bg alternating color*/
div.grd_Cont .odd{ background-color:#DFE8F6; }/*row bg alternating color*/
/* ezEditTable
=====================================================*/
/* Selection */
.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:rgb(0,0,0)!important; }
.ezUnselectable{
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
/* Cell editors */
.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"] {
font-size:11px; 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; }
/* Utils */
.ezOpacity{
filter:alpha(opacity=60); /* for IE */
opacity:0.6; /* CSS3 standard */
}
.alignLeft{ text-align:left; }
.alignCenter{ text-align:center; }
.alignRight{ text-align:right; }
/* WEB FX Sortable table
/* Change images paths if you don't use same folder
/* Remove safely if not used
=====================================================*/
.sort-arrow {
width:11px; height:11px; margin:0 2px;
background-position:center center;
background-repeat:no-repeat;
}
.sort-arrow.descending{ background-image:url("themes/downsimple.png"); }
.sort-arrow.ascending{ background-image:url("themes/upsimple.png"); }

47
static/style/toolbar.styl Normal file
View file

@ -0,0 +1,47 @@
/**
* Toolbar default style
*/
@import 'config'
// left, middle and right divs container (toolbar)
.inf
clear both
width auto
height 25px
background-color $toolbar-bg-color
font-size $toolbar-font-size
margin 0
padding 1px 3px 1px 3px
border 1px solid #ccc
overflow hidden
// link appearence
a
color #333
text-decoration none
font-weight bold
:hover
text-decoration underline
// left div
.ldiv
float left
width 30%
position inherit
text-align left
// middle div
.mdiv
float left
width: 38%
position inherit
text-align center
padding 1px 0
// right div
.rdiv
float right
width 30%
position inherit
text-align right