summaryrefslogtreecommitdiffstats
path: root/lib/themes/basic/jtable_basic.less
diff options
context:
space:
mode:
authorHalil İbrahim Kalkan <hikalkan@gmail.com>2013-01-13 20:47:06 +0200
committerHalil İbrahim Kalkan <hikalkan@gmail.com>2013-01-13 20:47:06 +0200
commit714e396500d8ca31ccf5e0972c8a77b365365f4a (patch)
tree43cae707262293df88553dd6433863a42be04d2a /lib/themes/basic/jtable_basic.less
parenta08e406f31de23ff7fd8cb766fdd9f7f62fbd82d (diff)
downloadjtable-714e396500d8ca31ccf5e0972c8a77b365365f4a.zip
jtable-714e396500d8ca31ccf5e0972c8a77b365365f4a.tar.gz
jtable-714e396500d8ca31ccf5e0972c8a77b365365f4a.tar.bz2
jTable version 2.0.0
All codebase revised and refactored. All CSS re-written using less css. [#3] Added metro style theme with 10 color options. [#2] Added a basic theme that can be start point who want to create themes to jTable. Added methods: getRowByKey, selectRows. [#8] Added field option: ajaxSettings. Added feature: editing primary key's value. [#34] Added feature: Allow updating a record with server response after updateAction [#66] Added ready-to-use localization scripts. [#67] Fixed some issues. [#25, #29, #42, #46] Set default values for key field as "edit: false" and "create: false" Fixed some other minor bugs. Removed standard theme. Tested with latest jQuery libraries (jQuery v1.8.3 and jQuery UI v1.9.2).
Diffstat (limited to 'lib/themes/basic/jtable_basic.less')
-rw-r--r--lib/themes/basic/jtable_basic.less76
1 files changed, 76 insertions, 0 deletions
diff --git a/lib/themes/basic/jtable_basic.less b/lib/themes/basic/jtable_basic.less
new file mode 100644
index 0000000..c09c3cf
--- /dev/null
+++ b/lib/themes/basic/jtable_basic.less
@@ -0,0 +1,76 @@
+/* These file is a start point for who wants to create a fully custom
+ * theme for jTable. jtable_theme_base.less (or css) file is needed
+ * for functionality of jTable. This file does not add any color or shape
+ * modifications. It just shows how to set icons. You can change them too.
+ * Halil ibrahim Kalkan / http://www.jtable.org
+ */
+
+@import "../jtable_theme_base.less";
+
+.jtable_theme_base;
+
+div.jtable-main-container
+{
+ div.jtable-title
+ {
+ div.jtable-title-text
+ {
+ font-size: 16px;
+ font-weight: bold;
+ }
+
+ .jtable-close-button
+ {
+ background: url('close.png') no-repeat;
+ width: 16px;
+ height: 16px;
+ }
+ }
+
+ table.jtable
+ {
+ thead
+ {
+ th
+ {
+ &.jtable-column-header-sortable div.jtable-column-header-container
+ {
+ background: url('column-sortable.png') no-repeat right;
+ }
+
+ &.jtable-column-header-sorted-asc div.jtable-column-header-container
+ {
+ background: url('column-asc.png') no-repeat right;
+ }
+
+ &.jtable-column-header-sorted-desc div.jtable-column-header-container
+ {
+ background: url('column-desc.png') no-repeat right;
+ }
+ }
+ }
+
+ tbody
+ {
+ > tr
+ {
+ > td
+ {
+ .jtable-edit-command-button
+ {
+ background: url('edit.png') no-repeat;
+ width: 16px;
+ height: 16px;
+ }
+
+ .jtable-delete-command-button
+ {
+ background: url('delete.png') no-repeat;
+ width: 16px;
+ height: 16px;
+ }
+ }
+ }
+ }
+ }
+}