221 lines
5.4 KiB
CSS
221 lines
5.4 KiB
CSS
/* add CSS for bootstrap dropdown multi level */
|
|
.dropdown-submenu{position:relative; z-index: 1000}
|
|
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
|
|
.dropdown-submenu:hover>.dropdown-menu{display:block;}
|
|
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
|
|
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
|
|
.dropdown-submenu.pull-left{float:none;}
|
|
.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
|
|
|
|
|
|
/*
|
|
.oe_snippet_demo .oe_page{
|
|
margin-top: 50px;
|
|
margin-bottom: 300px;
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
.oe_snippet_demo .oe_page .oe_container{
|
|
min-height: 200px;
|
|
}
|
|
.oe_snippet_demo .oe_page *{
|
|
outline: 1px solid transparent;
|
|
-webkit-transiton: all 150ms linear;
|
|
}
|
|
.oe_snippet_demo .oe_page .oe_selected{
|
|
position: relative;
|
|
outline: 2px dashed rgba(151, 137, 255,0.5) !important;
|
|
cursor: pointer;
|
|
}
|
|
.oe_snippet_demo .oe_page .oe_selected:after{
|
|
content:'Insert Snippet Here';
|
|
position: absolute;
|
|
height:20px; left:-2px; right:-2px; bottom:-10px;
|
|
background: rgba(151, 137, 255, 1);
|
|
border-radius: 2px;
|
|
z-index: 800;
|
|
pointer-events :none;
|
|
color: white;
|
|
text-shadow: none;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
}
|
|
.oe_snippet_demo.oe_new .oe_page .oe_selected:after{
|
|
content:'';
|
|
height:100%;
|
|
top:0px; left:0px; right:0px; bottom:0px;
|
|
background: rgba(151, 137, 255, 0.2);
|
|
}
|
|
*/
|
|
|
|
.oe_snippet_editor{
|
|
position: fixed;
|
|
z-index: 1000;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 214px;
|
|
background: rgb(160,160,160);
|
|
box-shadow: 0 1px 3px rgb(100,100,100) inset;
|
|
}
|
|
|
|
.oe_snippet_list{
|
|
width: auto;
|
|
white-space: nowrap;
|
|
margin-left: 20px;
|
|
}
|
|
.oe_snippet_editor .oe_snippet{
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
width: 220px;
|
|
height: 160px;
|
|
border-radius: 3px;
|
|
background: white;
|
|
margin: 20px 20px 20px 0;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
box-shadow: 0 1px 3px rgb(100,100,100);
|
|
position: relative;
|
|
top: 0;
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
user-select: none;
|
|
white-space: normal;
|
|
}
|
|
|
|
|
|
|
|
.oe_snippet_editor .oe_snippet:after{
|
|
content: attr(name);
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
background: rgba(255,255,255,0.8);
|
|
text-align: center;
|
|
color: black;
|
|
padding: 8px;
|
|
|
|
}
|
|
.oe_snippet_editor .oe_snippet.oe_selected, .oe_snippet_editor .oe_snippet.oe_active{
|
|
border: 2px solid rgb(151, 137, 255);
|
|
box-shadow: 0px 3px 17px rgba(99, 53, 150, 0.59);
|
|
|
|
}
|
|
.oe_snippet_editor .oe_snippet > *{
|
|
pointer-events: none;
|
|
margin-top: 16px;
|
|
line-height: 1em;
|
|
zoom: 0.6;
|
|
}
|
|
.oe_snippet_editor .oe_snippet > .container{
|
|
margin-top: 15px;
|
|
zoom: 0.17;
|
|
line-height: 0.999em;
|
|
line-height: 1em;
|
|
}
|
|
.oe_snippet_editor .oe_snippet > .row{
|
|
margin-top: 0px;
|
|
zoom: 0.23;
|
|
line-height: 0.999em;
|
|
}
|
|
.oe_snippet_editor .oe_snippet > .span6{
|
|
margin-top: 18px;
|
|
zoom: 0.34;
|
|
}
|
|
.oe_snippet_editor .oe_snippet > .span12{
|
|
margin-top: 16px;
|
|
zoom: 0.23;
|
|
}
|
|
.oe_snippet_editor .oe_snippet > p{
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
font-size: 20px;
|
|
padding: 16px;
|
|
zoom: 1;
|
|
margin: 0px;
|
|
}
|
|
.oe_snippet_editor .oe_snippet.oe_new{
|
|
background: gray;
|
|
box-shadow: 0px 1px 3px rgb(90,90,90) inset;
|
|
border: 0px;
|
|
}
|
|
.oe_snippet_editor .oe_snippet.oe_new.oe_selected, .oe_snippet_editor .oe_snippet.oe_new.oe_active{
|
|
box-shadow: 0px 2px 0px 0px rgb(151,137,255) inset, 0px 3px 17px rgba(99, 53, 150, 0.59) inset;
|
|
}
|
|
.oe_snippet_editor .oe_snippet.oe_new > *{
|
|
zoom:1;
|
|
margin: 0;
|
|
line-height: 160px;
|
|
text-align: center;
|
|
color: white;
|
|
font-size: 48px;
|
|
}
|
|
.oe_snippet_editor .oe_snippet.oe_new:after{
|
|
position: absolute;
|
|
left: 0px;
|
|
right: 0px;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
background: transparent;
|
|
color: white;
|
|
text-shadow: 0px 1px 3px black;
|
|
line-height: 160px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.oe_snippet_drop {
|
|
position: relative;
|
|
border: 2px dashed rgb(174, 52, 255);
|
|
background: rgba(147, 52, 255, 0.1);
|
|
min-height: 28px;
|
|
margin: -16px auto;
|
|
border-radius: 5px;
|
|
max-width: 50%;
|
|
}
|
|
.oe_snippet_drop.oe_accepting {
|
|
border: 2px dashed rgb(52, 255, 166);
|
|
background: rgba(52, 255, 190, 0.1);
|
|
}
|
|
/*
|
|
[class*="span"]{
|
|
margin-left: 0px !important;
|
|
}
|
|
*/
|
|
|
|
#website-top-edit li.oe_snippet_editorbar {
|
|
padding: 1px 8px 2px;
|
|
font: normal normal normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
|
|
float: left;
|
|
margin-top: 6px;
|
|
border: 1px solid #a6a6a6;
|
|
border-bottom-color: #979797;
|
|
background: #eeeeee;
|
|
border-radius: 3px;
|
|
}
|
|
#website-top-edit li.oe_snippet_editorbar > * {
|
|
display: inline-block;
|
|
height: 22px;
|
|
padding: 4px 6px;
|
|
outline: 0;
|
|
border: 0;
|
|
}
|
|
#website-top-edit li.oe_snippet_editorbar a.button .icon {
|
|
cursor: inherit;
|
|
background-repeat: no-repeat;
|
|
margin-top: 1px;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: inline-block;
|
|
}
|
|
|
|
[data-snippet-id] {
|
|
min-height: 10px;
|
|
min-width: 10px;
|
|
}
|
|
|