2011-04-15 01:27:23 +02:00
|
|
|
/**
|
|
|
|
* This file defines the jstree base styling (see http://jstree.com), as well as any
|
|
|
|
* customizations (see bottom of file).
|
|
|
|
*
|
|
|
|
* The styles are usually added through jstree.js on DOM load,
|
|
|
|
* but we need it earlier in order to correctly display the uninitialized tree.
|
|
|
|
*/
|
2011-03-31 06:43:20 +02:00
|
|
|
|
2012-02-17 05:00:29 +01:00
|
|
|
.cms, .TreeDropdownField .treedropdownfield-panel {
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree {
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
display: block;
|
|
|
|
min-height: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
white-space: nowrap;
|
2012-03-28 01:43:16 +02:00
|
|
|
margin-left: 18px;
|
2011-08-09 07:52:13 +02:00
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
ins {
|
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
margin: 0 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 16px;
|
|
|
|
height: 16px;
|
|
|
|
color: black;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 1px 2px;
|
|
|
|
margin: 0;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&:hover {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
> {
|
|
|
|
ins {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
.jstree-icon {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
&.jstree-open > ul {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
&.jstree-closed > ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
li.disabled a {
|
|
|
|
color: #aaaaaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.jstree-rtl {
|
|
|
|
a > .jstree-icon {
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.jstree-rtl > ul > li {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jstree > ul > li {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#vakata-dragged {
|
2011-03-31 06:43:20 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0 0 0 0;
|
2011-08-09 07:52:13 +02:00
|
|
|
padding: 4px 4px 4px 24px;
|
|
|
|
position: absolute;
|
|
|
|
top: -2000px;
|
|
|
|
line-height: 16px;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
#vakata-contextmenu {
|
|
|
|
display: block;
|
|
|
|
visibility: hidden;
|
|
|
|
left: 0;
|
|
|
|
top: -200px;
|
|
|
|
position: absolute;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
min-width: 180px;
|
2012-03-28 01:43:16 +02:00
|
|
|
background: #FFF;
|
2011-08-09 07:52:13 +02:00
|
|
|
border: 1px solid silver;
|
|
|
|
z-index: 10000; *width:180px;
|
2012-03-28 01:43:16 +02:00
|
|
|
@include box-shadow(0 0 10px #CCC);
|
|
|
|
&::before {
|
|
|
|
content:"";
|
|
|
|
display:block; /* reduce the damage in FF3.0 */
|
|
|
|
position:absolute;
|
|
|
|
top: -10px;
|
|
|
|
left: 24px;
|
|
|
|
width:0;
|
|
|
|
border-width: 0 6px 10px 6px ;
|
|
|
|
border-color: #FFF transparent;
|
|
|
|
border-style: solid;
|
|
|
|
z-index: 10000;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content:"";
|
|
|
|
display:block; /* reduce the damage in FF3.0 */
|
|
|
|
position:absolute;
|
|
|
|
top: -11px;
|
|
|
|
left: 23px;
|
|
|
|
width:0;
|
|
|
|
border-width: 0 7px 11px 7px ;
|
|
|
|
border-color: #CCC transparent;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
#vakata-contextmenu ul {
|
|
|
|
min-width: 180px; *width:180px;
|
|
|
|
}
|
|
|
|
#vakata-contextmenu ul, #vakata-contextmenu li {
|
|
|
|
margin: 0;
|
2012-03-28 01:43:16 +02:00
|
|
|
padding: 0 ;
|
2011-04-15 01:15:15 +02:00
|
|
|
list-style-type: none;
|
2011-08-09 07:52:13 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#vakata-contextmenu li {
|
|
|
|
line-height: 20px;
|
2012-03-28 01:43:16 +02:00
|
|
|
min-height: 23px;
|
2011-08-09 07:52:13 +02:00
|
|
|
position: relative;
|
|
|
|
padding: 0px;
|
2012-03-28 01:43:16 +02:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
#vakata-contextmenu li a {
|
2012-03-28 01:43:16 +02:00
|
|
|
padding: 1px 10px;
|
|
|
|
line-height: 23px;
|
2011-08-09 07:52:13 +02:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
margin: 1px 1px 0 1px;
|
2012-03-28 01:43:16 +02:00
|
|
|
border: 0;
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
#vakata-contextmenu li ins {
|
|
|
|
float: left;
|
2012-03-28 01:43:16 +02:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2011-08-09 07:52:13 +02:00
|
|
|
text-decoration: none;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2012-03-28 01:43:16 +02:00
|
|
|
#vakata-contextmenu li .jstree-pageicon {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
#vakata-contextmenu li a:hover, #vakata-contextmenu li.vakata-hover > a {
|
2012-03-28 01:43:16 +02:00
|
|
|
padding: 1px 10px;
|
|
|
|
background: #3875d7;
|
|
|
|
@include background-image(linear-gradient(top, #3875d7 20%, #2a62bc 90%));
|
|
|
|
color: #FFF;
|
|
|
|
border: none;
|
2011-04-15 01:15:15 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
#vakata-contextmenu li ul {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: -2px;
|
|
|
|
left: 100%;
|
2012-03-28 01:43:16 +02:00
|
|
|
background: #FFF;
|
|
|
|
border: 1px solid silver;
|
|
|
|
@include box-shadow(0 0 10px #CCC);
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
#vakata-contextmenu .right {
|
|
|
|
right: 100%;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
#vakata-contextmenu .bottom {
|
|
|
|
bottom: -1px;
|
|
|
|
top: auto;
|
|
|
|
}
|
|
|
|
#vakata-contextmenu li.vakata-separator {
|
|
|
|
min-height: 0;
|
|
|
|
height: 1px;
|
|
|
|
line-height: 1px;
|
|
|
|
font-size: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0 2px;
|
|
|
|
background: silver; /* border-top:1px solid #fefefe; */ padding:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jstree ul, .jstree li {
|
2011-03-31 06:43:20 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0 0 0 0;
|
|
|
|
padding: 0 0 0 0;
|
|
|
|
list-style-type: none;
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
.jstree li {
|
2011-03-31 06:43:20 +02:00
|
|
|
display: block;
|
|
|
|
min-height: 18px;
|
|
|
|
line-height: 18px;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-left: 18px;
|
2011-04-15 01:15:15 +02:00
|
|
|
min-width: 18px;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree-rtl li {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 18px;
|
|
|
|
}
|
|
|
|
.jstree > ul > li {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
.jstree-rtl > ul > li {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
.jstree ins {
|
2011-03-31 06:43:20 +02:00
|
|
|
display: inline-block;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
margin: 0 0 0 0;
|
2011-04-15 01:15:15 +02:00
|
|
|
padding: 0;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree a {
|
2011-03-31 06:43:20 +02:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 16px;
|
|
|
|
height: 16px;
|
|
|
|
color: black;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-decoration: none;
|
|
|
|
padding: 1px 2px;
|
|
|
|
margin: 0;
|
2011-04-15 01:15:15 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree a:focus {
|
|
|
|
outline: none;
|
2011-04-15 01:15:15 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree a > ins {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2011-04-15 01:15:15 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree a > .jstree-icon {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
.jstree-rtl a > .jstree-icon {
|
2011-03-31 06:43:20 +02:00
|
|
|
margin-left: 3px;
|
2011-04-15 01:15:15 +02:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
li.jstree-open > ul {
|
|
|
|
display: block;
|
2012-03-28 01:43:16 +02:00
|
|
|
margin-left:-13px;
|
2012-02-07 23:24:42 +01:00
|
|
|
li ul {
|
|
|
|
margin-left:2px;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
li.jstree-closed > ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#vakata-dragged ins {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 0 0 0;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
}
|
|
|
|
#vakata-dragged .jstree-ok {
|
|
|
|
background: green;
|
|
|
|
}
|
|
|
|
#vakata-dragged .jstree-invalid {
|
|
|
|
background: red;
|
|
|
|
}
|
|
|
|
#jstree-marker {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 12px;
|
|
|
|
width: 8px;
|
|
|
|
position: absolute;
|
|
|
|
top: -30px;
|
|
|
|
z-index: 10001;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
display: none;
|
|
|
|
background-color: transparent;
|
|
|
|
text-shadow: 1px 1px 1px white;
|
|
|
|
color: black;
|
|
|
|
line-height: 10px;
|
|
|
|
}
|
|
|
|
#jstree-marker-line {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 0%;
|
|
|
|
font-size: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 1px;
|
|
|
|
width: 100px;
|
|
|
|
position: absolute;
|
|
|
|
top: -30px;
|
|
|
|
z-index: 10000;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
display: none;
|
|
|
|
background-color: #456c43;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid #eeeeee;
|
|
|
|
border-left: 0;
|
|
|
|
-moz-box-shadow: 0px 0px 2px #666;
|
|
|
|
-webkit-box-shadow: 0px 0px 2px #666;
|
|
|
|
box-shadow: 0px 0px 2px #666;
|
|
|
|
-moz-border-radius: 1px;
|
|
|
|
border-radius: 1px;
|
|
|
|
-webkit-border-radius: 1px;
|
|
|
|
}
|
|
|
|
.jstree .jstree-real-checkbox {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.jstree-themeroller .ui-icon {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
.jstree-themeroller a {
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
.jstree-themeroller .jstree-no-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow-real {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow-real li {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow-real a {
|
|
|
|
border-left-color: transparent !important;
|
|
|
|
border-right-color: transparent !important;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow {
|
|
|
|
position: relative;
|
|
|
|
z-index: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow ul, .jstree .jstree-wholerow li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow, .jstree .jstree-wholerow ul, .jstree .jstree-wholerow li, .jstree .jstree-wholerow a {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow, .jstree .jstree-wholerow ul, .jstree .jstree-wholerow li {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow ins, .jstree .jstree-wholerow span, .jstree .jstree-wholerow input {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow a, .jstree .jstree-wholerow a:hover {
|
|
|
|
text-indent: -9999px !important;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 !important;
|
|
|
|
border-right-width: 0px !important;
|
|
|
|
border-left-width: 0px !important;
|
|
|
|
}
|
|
|
|
.jstree .jstree-wholerow-span {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0;
|
|
|
|
height: 18px;
|
|
|
|
border-width: 0;
|
|
|
|
padding: 0;
|
|
|
|
z-index: 0;
|
2011-04-15 01:15:15 +02:00
|
|
|
}
|
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
// Custom styles
|
2011-04-15 01:27:23 +02:00
|
|
|
.jstree-apple.jstree-focused {
|
|
|
|
background: none;
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
.jstree-apple > ul {
|
|
|
|
background: none;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-06-25 07:52:33 +02:00
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
.jstree li {
|
|
|
|
line-height: 25px;
|
|
|
|
}
|
2012-03-08 01:27:04 +01:00
|
|
|
|
|
|
|
// Hide drag icons by default. Actual page icons
|
|
|
|
// are in nested <span>, not handled directly through jstree lib
|
|
|
|
a > .jstree-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Show drag icons when draggable class is applied
|
|
|
|
.draggable a > .jstree-icon {
|
|
|
|
display: block;
|
|
|
|
}
|
2011-06-25 07:52:33 +02:00
|
|
|
}
|
|
|
|
|
2012-02-07 23:24:42 +01:00
|
|
|
.jstree-apple {
|
|
|
|
li, .jstree-apple ins {
|
|
|
|
background:none;
|
|
|
|
}
|
|
|
|
.jstree-unchecked > a > .jstree-checkbox {
|
|
|
|
margin-right:3px;
|
|
|
|
}
|
|
|
|
.jstree-checked > a > .jstree-checkbox {
|
|
|
|
margin-right:3px;
|
|
|
|
}
|
|
|
|
.jstree-undetermined > a > .jstree-checkbox {
|
|
|
|
margin-right:3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-17 05:00:29 +01:00
|
|
|
.tree-holder.jstree-apple, .cms-tree.jstree-apple {
|
2011-06-25 07:52:33 +02:00
|
|
|
|
|
|
|
& li.Root {
|
|
|
|
& strong {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-left: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > a .jstree-icon {
|
|
|
|
background-position: -56px -36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& a, a:link {
|
|
|
|
color: $color-text-blue-link;
|
|
|
|
padding: 3px 6px 3px 3px;
|
|
|
|
border: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2011-12-29 09:55:25 +01:00
|
|
|
}
|
2012-06-12 15:53:38 +02:00
|
|
|
|
|
|
|
li.deletedonlive {
|
|
|
|
.text {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-12-29 09:55:25 +01:00
|
|
|
span.badge {
|
|
|
|
clear: both;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0px 3px;
|
|
|
|
font-size: 0.75em;
|
|
|
|
line-height: 1em;
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 6px;
|
|
|
|
margin-top: -1px;
|
|
|
|
@include border-radius(2px, 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge.modified {
|
|
|
|
color: #7E7470;
|
|
|
|
border: 1px solid #C9B800;
|
|
|
|
background-color: #FFF0BC;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge.addedtodraft {
|
|
|
|
color: #7E7470;
|
|
|
|
border: 1px solid #C9B800;
|
|
|
|
background-color: #FFF0BC;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge.deletedonlive {
|
|
|
|
color: #636363;
|
|
|
|
border: 1px solid #E49393;
|
|
|
|
background-color: #F2DADB;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge.removedfromdraft {
|
|
|
|
color: #636363;
|
|
|
|
border: 1px solid #E49393;
|
|
|
|
background-color: #F2DADB;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.badge.workflow-approval {
|
|
|
|
color: #56660C;
|
|
|
|
border: 1px solid #7C8816;
|
|
|
|
background-color: #DAE79A;
|
2011-06-25 07:52:33 +02:00
|
|
|
}
|
2012-03-28 01:43:16 +02:00
|
|
|
|
2011-12-29 09:55:25 +01:00
|
|
|
/* comment speech bubble - ccs3 only - source: http://nicolasgallagher.com/pure-css-speech-bubbles/demo/ */
|
|
|
|
& span.comment-count {
|
|
|
|
clear: both;
|
|
|
|
position: relative;
|
|
|
|
text-transform: uppercase;
|
|
|
|
display: inline-block;
|
|
|
|
overflow: visible;
|
|
|
|
padding: 0px 3px;
|
|
|
|
font-size: 0.75em;
|
|
|
|
line-height: 1em;
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 6px;
|
|
|
|
@include border-radius(2px, 2px);
|
|
|
|
color: #7E7470;
|
|
|
|
border: 1px solid #C9B800;
|
|
|
|
background-color: #FFF0BC;
|
|
|
|
}
|
|
|
|
|
|
|
|
& span.comment-count:before {
|
|
|
|
content:"";
|
|
|
|
position:absolute;
|
|
|
|
bottom:-4px; /* value = - border-top-width - border-bottom-width */
|
|
|
|
left:3px; /* controls horizontal position */
|
|
|
|
border-width:4px 4px 0;
|
|
|
|
border-style:solid;
|
|
|
|
border-color:#C9B800 transparent;
|
|
|
|
/* reduce the damage in FF3.0 */
|
|
|
|
display:block;
|
|
|
|
width:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& span.comment-count:after {
|
|
|
|
content:"";
|
|
|
|
position:absolute;
|
|
|
|
bottom:-3px; /* value = - border-top-width - border-bottom-width */
|
|
|
|
left:4px; /* value = (:before left) + (:before border-left) - (:after border-left) */
|
|
|
|
border-width:3px 3px 0;
|
|
|
|
border-style:solid;
|
|
|
|
border-color:#FFF0BC transparent;
|
|
|
|
/* reduce the damage in FF3.0 */
|
|
|
|
display:block;
|
|
|
|
width:0;
|
|
|
|
}
|
2011-06-25 07:52:33 +02:00
|
|
|
|
|
|
|
.jstree-hovered {
|
|
|
|
text-shadow: none;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
& li {
|
|
|
|
padding: 0px;
|
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
|
2011-10-29 02:36:03 +02:00
|
|
|
& ins {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-color: transparent;
|
|
|
|
background-image: url(../images/sitetree_ss_default_icons.png);
|
|
|
|
}
|
2012-02-07 23:24:42 +01:00
|
|
|
|
2012-03-06 20:16:24 +01:00
|
|
|
& li.jstree-checked > a, li.jstree-checked > a:link {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-color: $color-cms-batchactions-menu-selected-background;
|
|
|
|
}
|
2012-02-07 23:24:42 +01:00
|
|
|
|
|
|
|
& .jstree-closed > ins {
|
2012-03-28 01:43:16 +02:00
|
|
|
background-position:0 0;
|
2012-02-07 23:24:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
& .jstree-open > ins {
|
2012-03-28 01:43:16 +02:00
|
|
|
background-position:-20px 0;
|
2012-02-07 23:24:42 +01:00
|
|
|
}
|
2011-06-25 07:52:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a .jstree-pageicon {
|
2012-06-13 09:46:22 +02:00
|
|
|
float: left;
|
2011-06-25 07:52:33 +02:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
li.class-HomePage > a .jstree-pageicon {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-position: 0 -48px;
|
|
|
|
}
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
li.class-RedirectorPage > a .jstree-pageicon {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-position: 0 -16px;
|
|
|
|
}
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
li.class-VirtualPage > a .jstree-pageicon {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-position: 0 -32px;
|
|
|
|
}
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
li.class-ErrorPage > a .jstree-pageicon {
|
2011-06-25 07:52:33 +02:00
|
|
|
background-position: 0 -112px;
|
2011-12-14 16:54:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-tree {
|
|
|
|
visibility: hidden; // enabled by JS to avoid layout glitches
|
2012-03-08 01:27:04 +01:00
|
|
|
|
|
|
|
&.multiple {
|
2012-04-18 18:22:54 +02:00
|
|
|
li > a {
|
|
|
|
// Hide draggable icon when multiselect is enabled
|
|
|
|
& > .jstree-icon {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// But show the checkbox
|
|
|
|
& > .jstree-icon.jstree-checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2012-03-08 01:27:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
li#record-0 {
|
|
|
|
// Hide checkbox on root node (shouldn't be selectable to avoid weird states when trying to e.g. remove it)
|
|
|
|
&> a .jstree-checkbox {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-06-03 23:30:56 +02:00
|
|
|
|
|
|
|
// Show the loading indicator on the page icon rather than the default
|
|
|
|
// jstree icon (which is only used for its dragging handles)
|
|
|
|
a.jstree-loading .jstree-icon {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
a.jstree-loading .jstree-pageicon {
|
|
|
|
background: url(../images/throbber.gif) top left no-repeat;
|
|
|
|
}
|
2012-03-28 01:43:16 +02:00
|
|
|
}
|