Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2832 from mkoistinen/gray_unpublished_indicators

Instead of a bright red for unpublished, use a light gray
  • Loading branch information...
commit fdbccf10863924ad426021cd48b4bd4588ee5d9b 2 parents a9622fd + ae9c32b
Patrick Lauber digi604 authored
2  cms/static/cms/css/cms.pagetree.css
View
@@ -1,3 +1,3 @@
@charset "utf-8";/*!
* @copyright: https://github.com/divio/django-cms
- */#sitemap{padding:0;margin:0;margin:0;background:#fefefe}#sitemap a{text-decoration:none;outline:none;border:none}#sitemap a:hover{text-decoration:underline}#sitemap li,#sitemap ul{list-style-type:none}#sitemap li input.hidden{position:absolute;left:-9999em}#sitemap li a.icon,#sitemap li span.icon,#sitemap li a.move,#sitemap li a.copy,#sitemap li a.edit,#sitemap li a.advanced-settings,#sitemap li span.info{display:inline-block;width:18px;height:18px;margin-top:5px;background:url("../img/pagetree/sprite.png") no-repeat 0 0}#sitemap li a.move{background-position:-20px -20px;margin-top:0}#sitemap li a.copy{background-position:-40px -60px;margin-top:0}#sitemap li a.edit{background-position:-40px -20px;margin-top:0}#sitemap li a.advanced-settings{background-position:-60px -60px;margin-top:0}#sitemap li span.info{background-position:-81px -20px;margin-top:-1px;cursor:pointer}#sitemap li a.selector-add{background-position:-20px 0;margin-left:4px;margin-top:-1px}#sitemap li a.addlink,#sitemap li a.deletelink{display:inline-block;width:10px;height:10px;padding:0;margin:0 0 0 4px;background-position:0 0}#sitemap li .col-softroot span.icon{background-position:-80px 0;margin-top:0}#sitemap li .col-apphook span.icon{background-position:-40px -80px;margin-top:0}#sitemap li a.move span,#sitemap li a.copy span,#sitemap li a.selector-add span,#sitemap li a.addlink span,#sitemap li a.deletelink span,#sitemap li a.edit span,#sitemap li a.advanced-settings span,#sitemap li span.info span,#sitemap .col-navigation input,#sitemap .col-published input{display:none}#sitemap ul.header{position:relative;top:1px}#sitemap ul.header,#sitemap ul.header li{padding:0;margin:0;border:none;background:none}#sitemap ul.header li{color:#666;font-size:11px;font-weight:400;height:16px;padding:5px 0 4px 5px;border-bottom:1px solid #dededc;background:#fefefe}#sitemap ul.header li .cont{height:15px;border:none !important;background:none !important}#sitemap ul.header li .col1{font-size:10px}#sitemap ul.header li .col2>div{font-size:10px;line-height:14px;border:none;background:none}#sitemap li .cont{display:block;border-top:1px solid #dededc !important}#sitemap li.open>.cont{border-bottom:1px solid #dededc !important}#sitemap li.open ul .cont{border-top:none !important;border-bottom:1px solid #dededc !important}#sitemap li.moveable>div{border-bottom:none !important}#sitemap li.last.leaf .cont,#sitemap li.last.closed .cont{border-bottom:none !important}#sitemap .tree-default .col-navigation,#sitemap .tree-default .col-published{line-height:30px}#sitemap li.open ul{margin-left:0;border-bottom:1px solid #dededc !important}#sitemap li.open.last ul{border-bottom:none !important}#sitemap li.open ul.last{border-bottom:none !important}#sitemap § li .col1>div{text-align:center}#sitemap li .col1 .title{background:none}#sitemap li .col1 .success{color:#666;padding-left:10px}#sitemap li .col1 a.changelink{display:none;line-height:27px;margin:6px 0 0 10px !important}#sitemap li .col1 .title,#sitemap li .col1 .success{float:left;line-height:29px;height:28px;padding-left:20px}#sitemap li .move-target-container{display:none;float:left;font-size:14px;line-height:27px;margin-right:10px}#sitemap li .move-target-container a:hover{text-decoration:none}#sitemap li .move-target{display:inline-block;padding:2px 8px;border-left:1px solid #ddd}#sitemap li .move-target:first-child{border-left:none}#sitemap li .col2>div{float:left;line-height:28px;white-space:nowrap;text-align:center;width:auto;height:28px;padding:0 5px;border-left:1px solid #ddd}#sitemap li .col2>div a,#sitemap li .col2>div span{vertical-align:middle}#sitemap li .cont:hover{background:#fafafa}#sitemap li.moveable .col1 .title{background:url("../img/pagetree/tree-li-drag.gif") no-repeat 0 0}#sitemap li .col-language a{text-transform:uppercase}#sitemap .cont:hover .col1 a.changelink{display:block}#sitemap .cont-active{background:#ffc}#sitemap li#dragged{min-width:500px}#sitemap li#dragged .col2{display:none}#sitemap .info-details{display:none}#sitemap li .info:hover{position:relative}#sitemap li .info:hover .info-details{display:block}#sitemap .info-details{cursor:default;position:absolute;right:-6px;top:-6px;z-index:100;text-align:left;line-height:18px;padding:5px 10px;background:white;border:1px solid #ccc;-webkit-border-radius:3px 0 3px 3px;-moz-border-radius:3px 0 3px 3px;-ms-border-radius:3px 0 3px 3px;-o-border-radius:3px 0 3px 3px;border-radius:3px 0 3px 3px}#sitemap .info-details mark{font-weight:bold;background:none;font-style:normal;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;min-width:100px}#sitemap .info-details span{display:inline !important}#changelist-filter-button{line-height:30px;display:block;position:absolute;right:0;top:0;z-index:1000;width:150px;height:auto;padding:0 0 0 10px;margin:0;border:1px solid #ddd;border-right:none;border-top:none;background:#fafafa}#changelist-filter{top:30px}#changelist-filter h2{display:none}.change-list .filtered{min-height:auto;background:white !important}#site-selector{float:left;margin:9px 18px 0 8px}#loader-message{position:fixed;top:0;right:0;padding:4px 8px;background:white;display:none}#sitemap{border:1px solid #dededc}#sitemap ul.header li .col2>div{padding:0 5.5px}#sitemap li .col-softroot span.icon{width:18px !important;height:18px !important;margin:0 !important;background:url("../img/pagetree/sprite.png") -80px 0 no-repeat !important}#sitemap li .col-apphook span.icon{width:18px !important;height:18px !important;margin:0 !important;background:url("../img/pagetree/sprite.png") -40px -80px no-repeat !important}#sitemap li .col-language span{width:14px !important;height:14px !important;margin:-3px 0 0 !important;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;-webkit-border-radius:7px;-moz-border-radius:7px;-ms-border-radius:7px;-o-border-radius:7px;border-radius:7px;color:transparent}#sitemap li .col-language span.dirty{background-color:#6ba6ff;-webkit-animation:pulsate 2.5s ease-out infinite;-moz-animation:pulsate 2.5s ease-out infinite;animation:pulsate 2.5s ease-out infinite}#sitemap li .col-language span.empty{background-color:#e8e9e5}#sitemap li .col-language span.unpublished{background-color:#ff2942}#sitemap li .col-language span.unpublishedparent{background-color:#ff7787}#sitemap li .col-language span.published{background-color:#65b417}#sitemap li .cont{overflow:visible !important}.col-language{position:relative}#sitemap .tree li .col-language .language-tooltip{display:none;position:absolute;right:20px;top:4px;z-index:9999;line-height:1;padding:4px 6px;font-size:11px;color:#ccc;background-color:black;background:rgba(0,0,0,0.8);border:none;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}#sitemap .tree li .col-language .language-tooltip a{color:#ddd}#sitemap .tree li .col-language .language-tooltip a:hover{color:white;text-decoration:none}#sitemap .tree li .col-language .language-tooltip:before{display:block;width:0;height:0;position:absolute;top:50%;right:-5px;margin-top:-4px;content:" ";border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:5px solid rgba(0,0,0,0.8)}#sitemap .tree li .col-language .language-tooltip.language-tooltip-multiple a:first-child:after{content:" - "}@-webkit-keyframes pulsate{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}
+ */#sitemap{padding:0;margin:0;margin:0;background:#fefefe}#sitemap a{text-decoration:none;outline:none;border:none}#sitemap a:hover{text-decoration:underline}#sitemap li,#sitemap ul{list-style-type:none}#sitemap li input.hidden{position:absolute;left:-9999em}#sitemap li a.icon,#sitemap li span.icon,#sitemap li a.move,#sitemap li a.copy,#sitemap li a.edit,#sitemap li a.advanced-settings,#sitemap li span.info{display:inline-block;width:18px;height:18px;margin-top:5px;background:url("../img/pagetree/sprite.png") no-repeat 0 0}#sitemap li a.move{background-position:-20px -20px;margin-top:0}#sitemap li a.copy{background-position:-40px -60px;margin-top:0}#sitemap li a.edit{background-position:-40px -20px;margin-top:0}#sitemap li a.advanced-settings{background-position:-60px -60px;margin-top:0}#sitemap li span.info{background-position:-81px -20px;margin-top:-1px;cursor:pointer}#sitemap li a.selector-add{background-position:-20px 0;margin-left:4px;margin-top:-1px}#sitemap li a.addlink,#sitemap li a.deletelink{display:inline-block;width:10px;height:10px;padding:0;margin:0 0 0 4px;background-position:0 0}#sitemap li .col-softroot span.icon{background-position:-80px 0;margin-top:0}#sitemap li .col-apphook span.icon{background-position:-40px -80px;margin-top:0}#sitemap li a.move span,#sitemap li a.copy span,#sitemap li a.selector-add span,#sitemap li a.addlink span,#sitemap li a.deletelink span,#sitemap li a.edit span,#sitemap li a.advanced-settings span,#sitemap li span.info span,#sitemap .col-navigation input,#sitemap .col-published input{display:none}#sitemap ul.header{position:relative;top:1px}#sitemap ul.header,#sitemap ul.header li{padding:0;margin:0;border:none;background:none}#sitemap ul.header li{color:#666;font-size:11px;font-weight:400;height:16px;padding:5px 0 4px 5px;border-bottom:1px solid #dededc;background:#fefefe}#sitemap ul.header li .cont{height:15px;border:none !important;background:none !important}#sitemap ul.header li .col1{font-size:10px}#sitemap ul.header li .col2>div{font-size:10px;line-height:14px;border:none;background:none}#sitemap li .cont{display:block;border-top:1px solid #dededc !important}#sitemap li.open>.cont{border-bottom:1px solid #dededc !important}#sitemap li.open ul .cont{border-top:none !important;border-bottom:1px solid #dededc !important}#sitemap li.moveable>div{border-bottom:none !important}#sitemap li.last.leaf .cont,#sitemap li.last.closed .cont{border-bottom:none !important}#sitemap .tree-default .col-navigation,#sitemap .tree-default .col-published{line-height:30px}#sitemap li.open ul{margin-left:0;border-bottom:1px solid #dededc !important}#sitemap li.open.last ul{border-bottom:none !important}#sitemap li.open ul.last{border-bottom:none !important}#sitemap § li .col1>div{text-align:center}#sitemap li .col1 .title{background:none}#sitemap li .col1 .success{color:#666;padding-left:10px}#sitemap li .col1 a.changelink{display:none;line-height:27px;margin:6px 0 0 10px !important}#sitemap li .col1 .title,#sitemap li .col1 .success{float:left;line-height:29px;height:28px;padding-left:20px}#sitemap li .move-target-container{display:none;float:left;font-size:14px;line-height:27px;margin-right:10px}#sitemap li .move-target-container a:hover{text-decoration:none}#sitemap li .move-target{display:inline-block;padding:2px 8px;border-left:1px solid #ddd}#sitemap li .move-target:first-child{border-left:none}#sitemap li .col2>div{float:left;line-height:28px;white-space:nowrap;text-align:center;width:auto;height:28px;padding:0 5px;border-left:1px solid #ddd}#sitemap li .col2>div a,#sitemap li .col2>div span{vertical-align:middle}#sitemap li .cont:hover{background:#fafafa}#sitemap li.moveable .col1 .title{background:url("../img/pagetree/tree-li-drag.gif") no-repeat 0 0}#sitemap li .col-language a{text-transform:uppercase}#sitemap .cont:hover .col1 a.changelink{display:block}#sitemap .cont-active{background:#ffc}#sitemap li#dragged{min-width:500px}#sitemap li#dragged .col2{display:none}#sitemap .info-details{display:none}#sitemap li .info:hover{position:relative}#sitemap li .info:hover .info-details{display:block}#sitemap .info-details{cursor:default;position:absolute;right:-6px;top:-6px;z-index:100;text-align:left;line-height:18px;padding:5px 10px;background:white;border:1px solid #ccc;-webkit-border-radius:3px 0 3px 3px;-moz-border-radius:3px 0 3px 3px;-ms-border-radius:3px 0 3px 3px;-o-border-radius:3px 0 3px 3px;border-radius:3px 0 3px 3px}#sitemap .info-details mark{font-weight:bold;background:none;font-style:normal;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;min-width:100px}#sitemap .info-details span{display:inline !important}#changelist-filter-button{line-height:30px;display:block;position:absolute;right:0;top:0;z-index:1000;width:150px;height:auto;padding:0 0 0 10px;margin:0;border:1px solid #ddd;border-right:none;border-top:none;background:#fafafa}#changelist-filter{top:30px}#changelist-filter h2{display:none}.change-list .filtered{min-height:auto;background:white !important}#site-selector{float:left;margin:9px 18px 0 8px}#loader-message{position:fixed;top:0;right:0;padding:4px 8px;background:white;display:none}#sitemap{border:1px solid #dededc}#sitemap ul.header li .col2>div{padding:0 5.5px}#sitemap li .col-softroot span.icon{width:18px !important;height:18px !important;margin:0 !important;background:url("../img/pagetree/sprite.png") -80px 0 no-repeat !important}#sitemap li .col-apphook span.icon{width:18px !important;height:18px !important;margin:0 !important;background:url("../img/pagetree/sprite.png") -40px -80px no-repeat !important}#sitemap li .col-language span{border: 1px solid transparent; width:12px !important;height:12px !important;margin:-3px 0 0 !important;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;-webkit-border-radius:7px;-moz-border-radius:7px;-ms-border-radius:7px;-o-border-radius:7px;border-radius:7px;color:transparent}#sitemap li .col-language span.dirty{background-color:#6ba6ff;-webkit-animation:pulsate 2.5s ease-out infinite;-moz-animation:pulsate 2.5s ease-out infinite;animation:pulsate 2.5s ease-out infinite}#sitemap li .col-language span.empty{background-color:transparent;border:1px dashed #808080;}#sitemap li .col-language span.unpublished{background-color:#b3b3b3;}#sitemap li .col-language span.unpublishedparent{background-color:#b3b3b3}#sitemap li .col-language span.published{background-color:#65b417}#sitemap li .cont{overflow:visible !important}.col-language{position:relative}#sitemap .tree li .col-language .language-tooltip{display:none;position:absolute;right:20px;top:4px;z-index:9999;line-height:1;padding:4px 6px;font-size:11px;color:#ccc;background-color:black;background:rgba(0,0,0,0.8);border:none;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}#sitemap .tree li .col-language .language-tooltip a{color:#ddd}#sitemap .tree li .col-language .language-tooltip a:hover{color:white;text-decoration:none}#sitemap .tree li .col-language .language-tooltip:before{display:block;width:0;height:0;position:absolute;top:50%;right:-5px;margin-top:-4px;content:" ";border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:5px solid rgba(0,0,0,0.8)}#sitemap .tree li .col-language .language-tooltip.language-tooltip-multiple a:first-child:after{content:" - "}@-webkit-keyframes pulsate{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}
9 cms/static/cms/sass/cms.pagetree.scss
View
@@ -154,7 +154,8 @@ $color-background-blue-hover: #e6f6fd;
width: 18px !important; height: 18px !important; margin:0 !important;
background: url('../img/pagetree/sprite.png') -40px -80px no-repeat !important; }
li .col-language span {
- width:14px !important; height:14px !important; margin:-3px 0 0 !important;
+ border: 1px solid transparent;
+ width:12px !important; height:12px !important; margin:-3px 0 0 !important;
@include inline-block();
@include border-radius(7px);
color: transparent;
@@ -164,9 +165,9 @@ $color-background-blue-hover: #e6f6fd;
-moz-animation:pulsate 2.5s ease-out infinite;
animation:pulsate 2.5s ease-out infinite;
}
- &.empty { background-color:#e8e9e5; }
- &.unpublished { background-color:#ff2942; }
- &.unpublishedparent { background-color:#ff7787; }
+ &.empty { border: 1px dashed #808080; background-color:transparent; }
+ &.unpublished { background-color:#b3b3b3; }
+ &.unpublishedparent { background-color:#b3b3b3; }
&.published { background-color:#65b417; }
}
li .cont { overflow:visible !important; }
Please sign in to comment.
Something went wrong with that request. Please try again.