123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- @font-face {
- font-family: 'Open Sans';
- src: url('OpenSans-Regular.ttf') format('truetype') /* Safari, Android, iOS */
- }
- body,html {
- position:relative;
- width:100%;
- height:100%;
- margin:0px;
- padding:0px;
-
- }
- * {
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- }
- .layout-container {
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
-
-
-
- padding:5px;
- position:absolute;
- top:0px;
- bottom:0px;
- left:0px;
- right:0px;
-
-
-
- display:flex;
- background: #333;
-
- }
- section {
-
- display:flex;
- flex:1 0 auto;
- background:transparent;
-
- }
- section.vertical {
- flex-direction: row;
- }
- section.horizontal {
- flex-direction: column;
- }
- section.horizontal > .splitter {
- cursor:s-resize;
- }
- section.vertical > .splitter {
- cursor:e-resize;
- }
- .splitter {
- background: transparent;
- flex-basis:6px;
- flex-grow: 0;
- min-width:6px;
- min-height:6px;
- }
- /* AKA PAne */
- .hpane {
- /*box-shadow: 0px 0px 10px #000;*/
- position:relative;
- overflow:hidden;
- flex: 1 1 auto;
- flex-direction: column;
- /* Theme part */
-
- background: #EEE;
- color: #333;
-
- transition: border 1s ease;
- opacity:1;
- }
- .hpane.discover {
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
-
- gborder: solid 40px #999;
- transition: border 1s ease;
- }
- .hpane.detached {
- position:Fixed;
- /*width:20%;*/
- /*height:50%;*/
- z-index:99;
-
- box-shadow: 0px 0px 10px #000;
-
-
- }
- .hpane.detached.moving {
- opacity: 0.5;
- pointer-events: none;
-
- }
- .hpane.preview {
- background: #555;
- border: dashed 1px #FFF;
- }
- .hpane >header {
-
- padding:10px;
- background: #555;
- color:#FFF;
- font-family: 'Open Sans';
- text-transform:uppercase;
- font-weight: 700;
-
- -webkit-touch-callout: none; /* iOS Safari */
- -webkit-user-select: none; /* Chrome/Safari/Opera */
- -khtml-user-select: none; /* Konqueror */
- -moz-user-select: none; /* Firefox */
- -ms-user-select: none; /* IE/Edge */
- user-select: none;
-
- }
- .hpane .hcontent {
- overflow:auto;
- position:absolute;
- top:40px;
- bottom:0px;
- left:0px;
- right:0px;
-
- background: #EEE;
- color:#333;
- font-family: 'Open Sans';
- -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
- -moz-box-sizing: border-box; /* Firefox, other Gecko */
- box-sizing: border-box; /* Opera/IE 8+ */
- }
- .attach-preview {
- position:fixed;
- background: rgba(0,0,0,0.2);
- border: dashed 1px #777;
- z-index:90;
- pointer-events:none;
- transition: all 0.2s;
- }
- section.horizontal {
- cursor:s-resize;
- }
- section.vertical {
- cursor:e-resize;
- }
- section.horizontal > *:first-child {
- rborder: solid 1px #F00;
- margin-bottom:7px;
- }
- section.vertical > *:first-child {
- rborder: solid 1px #F00;
- margin-right:7px;
- }
- section > * {
- cursor:initial;
- }
|