/* ::::: tree focusring ::::: */
/* deactivated, looks too bad for me in LCARStrek
-.focusring > .tree-rows > .tree-bodybox {
+.focusring > .tree-stack > .tree-rows > .tree-bodybox {
border: 1px solid transparent;
}
-.focusring:focus > .tree-rows > .tree-bodybox {
+.focusring:focus > .tree-stack > .tree-rows > .tree-bodybox {
border-color: #FFCF00;
}
*/
border: 1px dotted #FF9F00;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-row {
+tree[seltype="cell"] > treechildren::-moz-tree-row,
+tree[seltype="text"] > treechildren::-moz-tree-row {
border: none;
background-color: transparent;
}
padding: 0px 0px 1px 2px;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text,
+tree[seltype="cell"] > treechildren::-moz-tree-cell-text,
+tree[seltype="text"] > treechildren::-moz-tree-cell-text,
treechildren::-moz-tree-cell-text {
color: inherit;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) {
+tree[seltype="cell"] > treechildren::-moz-tree-cell {
+ border: 1px solid transparent;
+ padding: 0px 1px 0px 1px;
+}
+
+tree[seltype="text"] > treechildren::-moz-tree-cell-text {
border: 1px solid transparent;
padding: 0px 1px 1px 1px;
}
color: #FFCF00;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected) {
+tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) {
+ background-color: #008484;
+}
+tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected) {
+ color: #FFCF00;
+}
+
+tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected) {
background-color: #008484;
color: #FFCF00;
}
color: #FFCF00;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, focus) {
+tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, focus) {
background-color: #008484;
+}
+tree[seltype="cell"] > treechildren::-moz-tree-cell-text(active, selected, focus) {
color: #FFCF00;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, current, focus) {
+tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, focus) {
+ background-color: #008484;
+ color: #FFCF00;
+}
+
+tree[seltype="cell"] > treechildren::-moz-tree-cell(active, current, focus) {
border: 1px dotted #FF9F00;
}
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, current, focus) {
+tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, current, focus) {
+ border: 1px dotted #FF9F00;
+}
+
+tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected, current, focus) {
+ border: 1px dotted #FF9F00;
+}
+
+tree[seltype="text"] > treechildren::-moz-tree-cell-text(active, selected, current, focus) {
border: 1px dotted #FF9F00;
}
/* ::::: lines connecting cells ::::: */
-tree[selstyle="primary"] > treechildren::-moz-tree-line,
+tree[seltype="cell"] > treechildren::-moz-tree-line,
+tree[seltype="text"] > treechildren::-moz-tree-line,
treechildren::-moz-tree-line {
visibility: hidden;
}
/*
+tree[seltype="cell"] > treechildren::-moz-tree-line,
+tree[seltype="text"] > treechildren::-moz-tree-line,
treechildren::-moz-tree-line {
border: 1px dotted grey;
}
+tree[seltype="cell"] > treechildren::-moz-tree-line(active, selected, focus),
treechildren::-moz-tree-line(selected) {
border: 1px dotted black;
}
/* ::::: drop feedback ::::: */
-tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, dropOn),
+tree[seltype="cell"] > treechildren::-moz-tree-cell-text(primary, dropOn),
+tree[seltype="text"] > treechildren::-moz-tree-cell-text(primary, dropOn),
treechildren::-moz-tree-cell-text(dropOn) {
background-color: #008484;
color: #FFCF00;
/* ::::: alternating background ::::: */
treechildren[alternatingbackground="true"]::-moz-tree-row(odd) {
- background-color: #6000CF;
+ background-color: #404000;
}
treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected) {
background-color: #E7ADE7;
+ color: #000000;
}
treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus) {
background-color: #E7ADE7;
+ color: #000000;
+}
+
+/* ::::: editable tree ::::: */
+
+treechildren::-moz-tree-row(selected, editing) {
+ background-color: transparent;
+ border: none;
+}
+
+treechildren::-moz-tree-cell-text(selected, editing) {
+ color: inherit;
+}
+
+.tree-input {
+ -moz-appearance: none;
+ border: 1px solid #9C9CFF;
+ margin: 0 0 0 -4px;
+ padding: 1px;
}