Sha256: af0f6f57e7a206c06e351ddf995830dcacf98212cfe13b87450339c265bcbfd9

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

/*
*= require_self
*/

ul.acl_tree label {
    cursor: pointer;
}

ul.acl_tree,
ul.acl_tree ul.acl_tree {
    margin:0 0 0 1em; /* indentation */
    padding:0;
    list-style:none;
    position:relative;
}

ul.acl_tree ul.acl_tree {margin-left:.5em} /* (indentation/2) */

ul.acl_tree:before,
ul.acl_tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left: 1px solid;
    color: #C5C5C5;
}

ul.acl_tree li.acl_tree_item {
    margin:0;
    padding:0 1.5em; /* indentation + .5em */
    line-height:2em; /* default list item's `line-height` */
    font-weight:bold;
    position:relative;
}

ul.acl_tree li.acl_tree_item:before {
    content:"";
    display:block;
    width:10px; /* same with indentation */
    height:0;
    border-top:1px solid;
    margin-top:-2px; /* border top width */
    position:absolute;
    top:1em; /* (line-height/2) */
    left:0;
    color: #C5C5C5;
}

ul.acl_tree li.acl_tree_item:last-child:before {
    background:white; /* same with body background */
    height:auto;
    top:1em; /* (line-height/2) */
    bottom:0;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple-navigation-acl-0.1.4 app/assets/stylesheets/simple_navigation_acl.css
simple-navigation-acl-0.1.3 app/assets/stylesheets/simple_navigation_acl.css
simple-navigation-acl-0.1.2 app/assets/stylesheets/simple_navigation_acl.css
simple-navigation-acl-0.1.0 app/assets/stylesheets/simple_navigation_acl.css