Skip to content

Instantly share code, notes, and snippets.

@0xWDG
Last active June 26, 2020 19:41
Show Gist options
  • Select an option

  • Save 0xWDG/03a91a91396e47fd61ec2426023ce7da to your computer and use it in GitHub Desktop.

Select an option

Save 0xWDG/03a91a91396e47fd61ec2426023ce7da to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>TEST</title>
<style type="text/css">
html {
height: 100%;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-size: 21px;
/*line-height: 30px;*/
-ms-overflow-style: none; // IE 10+
overflow: -moz-scrollbars-none; // Firefox
}
body {
height: 100%;
background: purple;
overflow: hidden;
}
.row {
min-height: 45px;
}
.row::after {
content: "";
clear: both;
display: table;
}
[class*="col-"] {
float: left;
/*text-align: center;*/
/*vertical-align: middle;*/
/*border: 1px solid #a3c3db;*/
}
.col-10 {width: 10%;height: 100%;}
.col-15 {width: 15%;height: 100%;}
.col-20 {width: 20%;height: 100%;}
.col-25 {width: 25%;height: 100%;}
.col-50 {width: 50%;height: 100%;}
.col-70 {width: 70%;height: 100%;}
.col-80 {width: 80%;height: 100%;}
.blueText {
color: #167efb;
}
.blueBorder {
border-color: #167efb;
}
.bgDarkGray {
background: #e4e6e8;
}
.bgDarkGray:hover:not(.noEffect) {
background: #d6d8db;
}
.section {
line-height: 25px;
height: 25px;
background: #ececec;
}
.bgGray {
background: #f9f9f9;
}
.bgGray:hover:not(.noEffect) {
background: #d8eefa;
}
.bgWhite {
background: #fff;
}
.hidden {
visibility: hidden;
}
.brdrT {
border-top: 1px solid #a3c3db;
}
.brdrB {
border-bottom: 1px solid #a3c3db;
}
.brdrR {
border-right: 1px solid rgb(194, 196, 197);
}
.brdrL {
border-left: 1px solid rgb(194, 196, 197);
}
ul {
list-style: none;
}
li {
display: block;
border-bottom: 1px solid #d4d4d4;
box-shadow: 0px 1px 0px #ebecee;
height: 51px;
line-height: 51px;
padding-left: 10px;
}
.scrollable {
/* -ms-overflow-style: none;
overflow-y: -moz-scrollbars-none; */
overflow-y: scroll;
}
.scrollable::-webkit-scrollbar {
display: none; // Safari and Chrome
}
.search {
height: 100%;
width: 100%;
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIzMnB4IiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c2tldGNoPSJodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2gvbnMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGUvPjxkZXNjLz48ZGVmcy8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSI+PGcgZmlsbD0iIzkyOTI5MiIgaWQ9Imljb24tMTExLXNlYXJjaCI+PHBhdGggZD0iTTE5LjQyNzExNjQsMjEuNDI3MTE2NCBDMTguMDM3MjQ5NSwyMi40MTc0ODAzIDE2LjMzNjY1MjIsMjMgMTQuNSwyMyBDOS44MDU1NzkzOSwyMyA2LDE5LjE5NDQyMDYgNiwxNC41IEM2LDkuODA1NTc5MzkgOS44MDU1NzkzOSw2IDE0LjUsNiBDMTkuMTk0NDIwNiw2IDIzLDkuODA1NTc5MzkgMjMsMTQuNSBDMjMsMTYuMzM2NjUyMiAyMi40MTc0ODAzLDE4LjAzNzI0OTUgMjEuNDI3MTE2NCwxOS40MjcxMTY0IEwyNy4wMTE5MTc2LDI1LjAxMTkxNzYgQzI3LjU2MjExODYsMjUuNTYyMTE4NiAyNy41NTc1MzEzLDI2LjQ0MjQ2ODcgMjcuMDExNzE4NSwyNi45ODgyODE1IEwyNi45ODgyODE1LDI3LjAxMTcxODUgQzI2LjQ0Mzg2NDgsMjcuNTU2MTM1MiAyNS41NTc2MjA0LDI3LjU1NzYyMDQgMjUuMDExOTE3NiwyNy4wMTE5MTc2IEwxOS40MjcxMTY0LDIxLjQyNzExNjQgTDE5LjQyNzExNjQsMjEuNDI3MTE2NCBaIE0xNC41LDIxIEMxOC4wODk4NTExLDIxIDIxLDE4LjA4OTg1MTEgMjEsMTQuNSBDMjEsMTAuOTEwMTQ4OSAxOC4wODk4NTExLDggMTQuNSw4IEMxMC45MTAxNDg5LDggOCwxMC45MTAxNDg5IDgsMTQuNSBDOCwxOC4wODk4NTExIDEwLjkxMDE0ODksMjEgMTQuNSwyMSBMMTQuNSwyMSBaIiBpZD0ic2VhcmNoIi8+PC9nPjwvZz48L3N2Zz4=') no-repeat scroll 0px 2px;
padding-left: 32px;
background-color: transparent;
}
.left, .middle, .right, .vAlgin {
line-height:45px;
padding-left: 10px;
padding-right: 10px;
}
.left {
float: left;
height: 100%;
}
.middle {
position: absolute;
left: 60%;
margin: 0 auto;
height:100%;
}
.right {
float:right;
height:100%;
}
.content {
padding: 10px;
}
</style>
</head>
<body>
<div class='container' style='background: lightgrey; height: 100%;'>
<div class='row' style='height: 45px; background: yellow;'>
<div class='col-15 brdrB brdrR vAlgin noEffect bgDarkGray'>
<span style='font-weight: bold'>WDGWV</span> <span class='blueText'>Customer Panel</span>
</div>
<div class='col-15 brdrB noEffect bgGray'>
<input type='text' placeholder='search' class='search'>
</div>
<div class='col-70 brdrB brdrL noEffect bgWhite'>
<span class='left'>Header LEFT</span>
<span class='middle'>Header MIDDLE</span>
<span class='right'>Header RIGHT</span>
</div>
</div>
<div class='row' style='height: calc(100% - 90px);'>
<div class='col-15 bgDarkGray scrollable brdrR noEffect'>
<ul>
<li class='bgDarkGray'>Item 1</li>
<li class='bgDarkGray'>Item 2</li>
<li class='bgDarkGray'>Item 3</li>
<li class='bgDarkGray'>Item 4</li>
<li class='bgDarkGray'>Item 5</li>
<li class='bgDarkGray'>Item 6</li>
<li class='bgDarkGray'>Item 7</li>
<li class='bgDarkGray'>Item 8</li>
<li class='bgDarkGray'>Item 9</li>
<li class='bgDarkGray'>Item 10</li>
<li class='bgDarkGray'>Item 11</li>
<li class='bgDarkGray'>Item 12</li>
<li class='bgDarkGray'>Item 13</li>
<li class='bgDarkGray'>Item 14</li>
<li class='bgDarkGray'>Item 15</li>
<li class='bgDarkGray'>Item 16</li>
<li class='bgDarkGray'>Item 17</li>
<li class='bgDarkGray'>Item 18</li>
<li class='bgDarkGray'>Item 19</li>
<li class='bgDarkGray'>Item 20</li>
<li class='bgDarkGray'>Item 21</li>
<li class='bgDarkGray'>Item 22</li>
<li class='bgDarkGray'>Item 23</li>
<li class='bgDarkGray'>Item 24</li>
<li class='bgDarkGray'>Item 25</li>
<li class='bgDarkGray'>Item 26</li>
<li class='bgDarkGray'>Item 27</li>
<li class='bgDarkGray'>Item 28</li>
<li class='bgDarkGray'>Item 29</li>
<li class='bgDarkGray'>Item 30</li>
</ul>
</div>
<div class='col-15 bgGray scrollable noEffect'>
<ul>
<li class='section'>test</li>
<li class='bgGray'>Subitem 1</li>
<li class='bgGray'>Subitem 2</li>
<li class='bgGray'>Subitem 3</li>
<li class='bgGray'>Subitem 4</li>
<li class='bgGray'>Subitem 5</li>
<li class='bgGray'>Subitem 6</li>
<li class='section'>test</li>
<li class='bgGray'>Subitem 1</li>
<li class='bgGray'>Subitem 2</li>
<li class='bgGray'>Subitem 3</li>
<li class='bgGray'>Subitem 4</li>
<li class='bgGray'>Subitem 5</li>
<li class='bgGray'>Subitem 6</li>
<li class='section'>test</li>
<li class='bgGray'>Subitem 1</li>
<li class='bgGray'>Subitem 2</li>
<li class='bgGray'>Subitem 3</li>
<li class='bgGray'>Subitem 4</li>
<li class='bgGray'>Subitem 5</li>
<li class='bgGray'>Subitem 6</li>
<li class='section'>test</li>
<li class='bgGray'>Subitem 1</li>
<li class='bgGray'>Subitem 2</li>
<li class='bgGray'>Subitem 3</li>
<li class='bgGray'>Subitem 4</li>
<li class='bgGray'>Subitem 5</li>
<li class='bgGray'>Subitem 6</li>
</ul>
</div>
<div class='col-70 bgWhite content scrollable brdrL noEffect'>
<pre style='white-space: pre-wrap;'>"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
Sectie 1.10.32 van "de Finibus Bonorum et Malorum", geschreven door Cicero in 45 v.Chr.
"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"
1914 vertaling door H. Rackham
"But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?"
Sectie 1.10.33 van "de Finibus Bonorum et Malorum", geschreven door Cicero in 45 v.Chr.
"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat."
1914 vertaling door H. Rackham
"On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains."</pre>
</div>
</div>
<div class='row' style='height: 45px;'>
<div class='col-15 borderTop brdrR brdrT vAlgin noEffect bgDarkGray'>
&copy; WDGWV 2018.
</div>
<div class='col-15 bgGray noEffect'>
&nbsp;
</div>
<div class='col-70 bgWhite brdrL brdrT noEffect'>
<span class='left'>Footer LEFT</span>
<span class='middle'>Footer MIDDLE</span>
<span class='right'>Footer RIGHT</span>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment