Skip to content

Instantly share code, notes, and snippets.

@jornh
Created March 8, 2014 15:10
Show Gist options
  • Save jornh/9431969 to your computer and use it in GitHub Desktop.
Save jornh/9431969 to your computer and use it in GitHub Desktop.
A Pen by Jørn.
<div class="polymer-architecture">
<div class="pica"></div>
<div class="elements">
<div class="polymer-ui-elements">CefSharp UI Wpf Elements</div>
<div class="polymer-elements">CefSharp Elements (C#)</div>
</div>
<div class="polymer-js"></div>
<div class="platform">
<div class="mo"><span>Language</span></div>
<div class="pe"><span>Base.32 libcef++</span></div>
<div class="sd"><span>(Shadow:) Dev</span></div>
<div class="ce"><span>Base.x64 libcef++</span></div>
<div class="hi"><span>HTML5 Goodies...</span></div>
<div class="tb"><span>..</span></div>
<div class="nb"><span>libcef_dll_ wrapper.lib</span></div>
<div class="wa"><span>...</span></div>
</div>
</div>
* {
font-family: arial;
}
.polymer-architecture {
position: relative;
width: 591px;
height: 418px;
}
.polymer-architecture:before {
position: absolute;
left: 0;
width: 40px;
height: 312px;
top:46px;
background: rgb(234, 230, 225);
content: '';
}
.polymer-architecture:after {
position: absolute;
content: "CEF Sharply Glued NuGets";
left: -75px;
top: 200px;
color: rgb(72, 43, 20);
-webkit-transform: rotate(-90deg);
}
.pica {
width: 46px;
height: 46px;
background: rgb(58, 121, 248);
position: relative;
margin-left: 150px;
}
.pica:after {
position: absolute;
content: "Pica...Example";
top: 15px;
left: 5px;
}
.pica:before {
position: absolute;
content: "Applications";
left:-150px;
width: 120px;
height: 31px;
color: rgb(30, 87, 202);
padding-left: 30px;
padding-top: 15px;
background: rgba(58, 121, 248, 0.5);
}
.elements {
position: relative;
margin-left: 150px;
height: 162px;
}
.elements:before {
position: absolute;
height: 82px;
width: 95px;
content: "Elements";
left: -110px;
padding-top: 80px;
padding-left: 15px;
color: rgb(43, 105, 18);
background: rgba(76, 146, 77, 0.5);
}
.polymer-ui-elements {
background: rgb(76, 146, 77);
width: 154px;
height: 52px;
top: -1px;
position: absolute;
padding-top: 50px;
border-bottom: 1px solid green;
}
.polymer-elements {
background: rgb(76, 146, 77);
width: 185px;
height: 40px;
top: 102px;
padding-top: 20px;
padding-left:60px;
position: absolute;
}
.polymer-js {
width: 290px;
height: 30px;
background: rgb(247, 197, 74);
position: relative;
margin-left: 150px;
}
.polymer-js:before {
position: absolute;
content: "Core";
width: 95px;
height: 22px;
padding-top: 8px;
padding-left: 15px;
background: rgba(247, 197, 74, 0.5);
left: -110px;
color: rgb(229, 165, 71);
}
.polymer-js:after {
position: absolute;
content: "CefSharp (C++)";
left: 40%;
top: 5px;
}
.platform {
height: 20px;
width: 441px;
background: rgb(173, 52, 46);
margin-left: 150px;
position: relative;
}
.platform:before {
width: 95px;
height: 70px;
left: -110px;
content: "Foundation";
padding-top: 50px;
padding-left: 15px;
position: absolute;
color: rgb(172, 53, 76);
background: rgba(215, 70, 62, 0.5);
}
.platform:after {
content: "cef-binary";
position: absolute;
left: 40%;
}
.mo, .pe, .sd, .ce,
.hi, .tb, .nb, .wa {
width: 55px;
height: 100px;
top: 20px;
background: rgb(215, 70, 62);
position: absolute;
border-left: 1px solid rgb(173, 52, 46);
}
.mo span, .pe span, .sd span, .ce span,
.hi span, .tb span, .nb span, .wa span {
-webkit-transform: rotate(-90deg) translateX(-50%) translateY(-20%);
display: inline-block;
text-align: center;
}
.mo {
left: 0;
}
.pe {
left: 55px;
height: 130px;
}
.sd {
left: 110px;
height: 160px;
}
.ce {
left: 165px;
height: 140px;
}
.hi {
left: 220px;
height: 130px;
}
.tb {
left: 275px;
height: 120px;
}
.nb {
left: 330px;
}
.wa {
left: 385px;
height: 120px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment