From 3c435bec9f934b81c51fa831d86f96c309092847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 25 Mar 2011 14:26:00 +0000 Subject: [PATCH] Added content of phpgwapi/js/egw_action/test/grid.css to traditional.css - styling of tables has to be actiated by giving the table containing the data rows the class 'egwGridView_grid' --- .../default/images/egw_action/ajax-loader.gif | Bin 0 -> 1683 bytes .../default/images/egw_action/arrows.png | Bin 0 -> 393 bytes .../default/images/egw_action/arrows.svg | 74 +++++ .../images/egw_action/focused_hatching.png | Bin 0 -> 202 bytes .../images/egw_action/focused_hatching.svg | 169 ++++++++++++ .../images/egw_action/header_overlay.png | Bin 0 -> 431 bytes .../images/egw_action/header_overlay.svg | 97 +++++++ .../images/egw_action/non_loaded_bg.png | Bin 0 -> 408 bytes .../images/egw_action/non_loaded_bg.svg | 147 ++++++++++ .../default/images/egw_action/selectcols.png | Bin 0 -> 215 bytes phpgwapi/templates/idots/css/traditional.css | 253 ++++++++++++++++-- 11 files changed, 724 insertions(+), 16 deletions(-) create mode 100644 phpgwapi/templates/default/images/egw_action/ajax-loader.gif create mode 100644 phpgwapi/templates/default/images/egw_action/arrows.png create mode 100644 phpgwapi/templates/default/images/egw_action/arrows.svg create mode 100644 phpgwapi/templates/default/images/egw_action/focused_hatching.png create mode 100644 phpgwapi/templates/default/images/egw_action/focused_hatching.svg create mode 100644 phpgwapi/templates/default/images/egw_action/header_overlay.png create mode 100644 phpgwapi/templates/default/images/egw_action/header_overlay.svg create mode 100644 phpgwapi/templates/default/images/egw_action/non_loaded_bg.png create mode 100644 phpgwapi/templates/default/images/egw_action/non_loaded_bg.svg create mode 100644 phpgwapi/templates/default/images/egw_action/selectcols.png diff --git a/phpgwapi/templates/default/images/egw_action/ajax-loader.gif b/phpgwapi/templates/default/images/egw_action/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..9ef515f1e3e696287044739512d372b680994cf8 GIT binary patch literal 1683 zcmaJ>eOwcD7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4lV^Ya?d3mFJ^LZ4OEGoW}CT||J+Xg?6-HBKHS^xvL*Fd zMo*(5+Zmb8jMsbfuWIsLG6_wMytl^j+|Fu-glEg%|MqlIPD7J7U)PI_wGxu0w&tU@}hO+6~5}u_=wB0SzuVZr9wQlzM-W`4q=UA^1`pcBm lv;P0y!nKw2%%9)mf6=|@QOy4Pp1@#Z@O1TaS?83{1OPB}pl<*G literal 0 HcmV?d00001 diff --git a/phpgwapi/templates/default/images/egw_action/arrows.svg b/phpgwapi/templates/default/images/egw_action/arrows.svg new file mode 100644 index 0000000000..e9f5e45595 --- /dev/null +++ b/phpgwapi/templates/default/images/egw_action/arrows.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/phpgwapi/templates/default/images/egw_action/focused_hatching.png b/phpgwapi/templates/default/images/egw_action/focused_hatching.png new file mode 100644 index 0000000000000000000000000000000000000000..3c352a4a443479d3a3e788a986038db455fa1a70 GIT binary patch literal 202 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@;M7UB8!3Q zuY)k7lg8`{prB-lYeY$Kep*R+Vo@qXd3m{BW?pu2a$-TMUVc&f>~}U&Kt=AJE{-7) zt#2@rCV%~(r&&Ms7Bqg6Hd(;P mo8iDLb)kU`%v_NDfT=CXR&V{2gt + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/phpgwapi/templates/default/images/egw_action/header_overlay.png b/phpgwapi/templates/default/images/egw_action/header_overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..9ce3828a50c4d440512927af1e6fd577de647d15 GIT binary patch literal 431 zcmeAS@N?(olHy`uVBq!ia0vp^4nW+%!3HFEH|A#nDVAa<&kznEsNqQI0P;BtJR*yM z>aT+^qm#z$3ZS55iEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$QVa}?I-V|$ zAr*7p-Z_}d>?m;Lz_h}j?m0hY+-%!=8Wfg&-#Pz#?S0v2?%Ww%3s_B9FEGtw%3$>gV+TT2dvVcbADeInv{M!+}mSb?*1sJORQ@cd>{N_ox^{DWlPHv z25pD@13$Sf$)M|#%t{g<_I`vBR4=h%O+&vXx($;TY{9vHX`p00i_>zopr06CqKR{#J2 literal 0 HcmV?d00001 diff --git a/phpgwapi/templates/default/images/egw_action/header_overlay.svg b/phpgwapi/templates/default/images/egw_action/header_overlay.svg new file mode 100644 index 0000000000..6891af3654 --- /dev/null +++ b/phpgwapi/templates/default/images/egw_action/header_overlay.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/phpgwapi/templates/default/images/egw_action/non_loaded_bg.png b/phpgwapi/templates/default/images/egw_action/non_loaded_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..bb87fe5a5f5aeab499bf3765deb9366436c9707c GIT binary patch literal 408 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I1|(Ny7TyC=EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4?fA{-R!+K2ld%EoDlwV zok6X#sb2bkn*WFMj6FcPw92OZ%{B+~lY3@|&U + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/phpgwapi/templates/default/images/egw_action/selectcols.png b/phpgwapi/templates/default/images/egw_action/selectcols.png new file mode 100644 index 0000000000000000000000000000000000000000..57bd26f88e28b948c7dbe03b2dd753fc15a4aabe GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^AT}ol8<6B)wpSQPF%}28J29*~C-V}>VN3FMcVYMs zf(!O8pA1r4;1O92R18$gEzHO;YmNj^kiEpy*OmP?Gc&)Mis;VGyMRKnC9V-A&iT2y zsd*&~&PAz-C8;S2<(VZJ3LzP(3hti10q;{(^MDHVJY5_^BrYeXBqaPe?;v4dln~f4 z^}I)^@JtC0h9ePY4>+w!%bAyWWYLU?8R?7+QG0nAg_Mn2fjSvHUHx3vIVCg!09&Oz A`~Uy| literal 0 HcmV?d00001 diff --git a/phpgwapi/templates/idots/css/traditional.css b/phpgwapi/templates/idots/css/traditional.css index 0d25ff109a..933075de52 100755 --- a/phpgwapi/templates/idots/css/traditional.css +++ b/phpgwapi/templates/idots/css/traditional.css @@ -388,22 +388,6 @@ body { width:99%; } -/* - Table formatting -*/ -.th { - color: black; background-color: #D3DCE3; -} -.row_on { - color: black; - background-color: #F1F1F1; -} -.row_off { - color: black; - background-color: #ffffff; -} -.narrow_column { width: 1%; white-space: nowrap; } - /* Printing */ @@ -534,3 +518,240 @@ Preferences tabs /* new dialog style */ .prompt {background:#fff url(../../default/images/prompt_bg.jpg) bottom right no-repeat; border:1px solid #4f6d81;} .promptheader {background:url(../../default/images/prompt_header.gif) repeat-x; color:#355468; border:1px solid #4f6d81; border-bottom:none; height:24px} + + + +/* TABLE STYLE */ + +/* + Table formatting +*/ + + +.th { + color: black; background-color: #D3DCE3; +} + + +.row_on { + color: black; + background-color: #F1F1F1; +} + +.row_off { + color: black; + background-color: #ffffff; +} + +.egwGridView_grid tr.row_on { + background-color: transparent; +} + +.egwGridView_grid tr.row_off { + background-color: transparent; +} + +.narrow_column { width: 1%; white-space: nowrap; } + +.egwGridView_outer table.egwGridView_grid { + table-layout: fixed; +} + +.egwGridView_grid { + border-spacing: 0; + border-collapse: collapse; +} + +.egwGridView_outer div.innerContainer.queued { + background-image: url(../../default/images/egw_action/ajax-loader.gif); + background-position: center; + background-repeat: no-repeat; + height: 19px; +} + +.egwGridView_grid > tbody > tr.focused > td { + background-image: url(../../default/images/egw_action/focused_hatching.png); + background-repeat: repeat; +} + +.egwGridView_grid > tbody > tr.selected > td { + background-color: #b7c3ff; +} + +.egwGridView_grid tr.draggedOver td { + background-color: #ffd09c !important; +} + +.egwGridView_scrollarea { + width: 100%; + overflow: auto; +} + +.egwGridView_spacer { + background-image: url(../../default/images/egw_action/non_loaded_bg.png); + background-position: top left; +} + +.egwGridView_outer { + table-layout: fixed; + border-spacing: 0; + border-collapse: collapse; + padding: 0; + margin: 5px; +} + +.egwGridView_outer td, .egwGridView_outer tr { + padding: 0; + margin: 0; +} + +.egwGridView_grid > tbody > tr > td { + border-right: 1px solid silver; + border-bottom: 1px solid #e0e0e0; + padding: 2px 3px 2px 4px; + margin: 0; +} + +.egwGridView_outer th div.innerContainer, +.egwGridView_grid td div.innerContainer { + margin: 0; + padding: 0; + display: block; + overflow: hidden; +} + +.egwGridView_grid tr.fullRow { + font-style: italic; +} + +.egwGridView_grid tr.row_on:hover, +.egwGridView_grid tr.row_off:hover, +.egwGridView_grid tr.row:hover { + background-color: #f0f0ff; +} + +.egwGridView_grid tr { + padding: 2px 3px 2px 4px; + margin: 0; +} + +.egwGridView_grid tr.hidden { + display: none; +} + +.egwGridView_grid span.indentation { + display: inline-block; +} + +.egwGridView_grid span { + vertical-align: middle; +} + +.egwGridView_grid img.icon { + vertical-align: middle; + margin: 2px 5px 2px 2px; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + +.egwGridView_grid span.arrow { + display: inline-block; + vertical-align: middle; + width: 8px; + height: 8px; + background-repeat: no-repeat; + margin-right: 2px; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + +.egwGridView_grid span.arrow.opened { + cursor: pointer; + background-image: url(../../default/images/egw_action/arrows.png); + background-position: -8px 0; +} + +.egwGridView_grid span.arrow.closed { + cursor: pointer; + background-image: url(../../default/images/egw_action/arrows.png); + background-position: 0 0; +} + +.egwGridView_grid span.arrow.loading { + cursor: pointer; + background-image: url(../../default/images/egw_action/ajax-loader.gif); + background-position: 0 0; +} + +.egwGridView_grid span.iconContainer { + display: inline-block; + padding: 0; + margin: 0; + text-align: center; +} + +.egwGridView_grid span.caption { + cursor: default; + -moz-user-select: none; + -khtml-user-select: none; + user-select: none; +} + +.egwGridView_grid tr.th > td, /*legacy*/ +.egwGridView_outer thead th { + background-color: #E0E0E0; + font-weight: normal; + padding: 5px; + text-align: left; + border-left: 1px solid silver; + border-top: 1px solid silver; + border-right: 1px solid gray; + border-bottom: 1px solid gray; + background-image: url(../../default/images/egw_action/header_overlay.png); + background-position: center; + background-repeat: repeat-x; +} + +.egwGridView_grid tr.th > td:hover, /*legacy*/ +.egwGridView_outer thead th:hover { + background-color: #F0F0F0; +} + +.egwGridView_grid tr.th > td:active, /*legacy*/ +.egwGridView_outer thead th:active { + background-color: #D0D0D0; + border-left: 1px solid gray; + border-top: 1px solid gray; + border-right: 1px solid silver; + border-bottom: 1px solid silver; +} + + +.egwGridView_outer thead th.optcol { + padding: 0; + text-align: center; +} + +.selectcols { + display: inline-block; + width: 10px; + height: 9px; + margin: 0; + padding: 0; + vertical-align: middle; + background-image: url(../../default/images/egw_action/selectcols.png); + background-position: center; + background-repeat: no-repeat; +} + +.egwGridView_grid td.frame, +.egwGridView_outer td.frame, +.egwGridView_grid td.egwGridView_spacer { + padding: 0 !important; + border-right: 0 none silver !important; + border-bottom: 0 none silver !important; +} + +