UNPKG

hw-server

Version:
279 lines (252 loc) 4.96 kB
.bootstrap-switch { height: 2.5em } .hw-margin { max-width: 90% } .hw-frame { -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75); -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75); box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75); padding: 0.8em; margin: 0.5em; background-color: #ffffff } .hw-spacer { margin-bottom: 1em } .hw-expand-horizontal { width: 100%; } .hw-big { font-size: 2em; } .hw-blur { -webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); filter: blur(5px); } .hw-modifyrule { background: rgba(75, 75, 75, 1) } @media (max-width:767px) { .hw-slider-width { min-width: 100px; } } @media (min-width:768px) { .hw-slider-width { min-width: 350px; } } .hw-pad { padding: 0.5em; } .hw-pad-1 { padding: 1em; } .hw-clear { clear: both; } .hw-col { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; float: left; } .hw-col-3 { width: 25%; } .hw-col-4 { width: 33.33333333%; } .hw-col-6 { width: 50%; } .hw-col-12 { width: 100%; } .hw-pointer { cursor: pointer; } .hw-vcenter { display: flex; align-items: center; } div.hw-alternate > div:nth-child(even){ background-color: #cccccc; } div.hw-alternate > div:nth-child(odd){ background-color: #eeeeee; } [ng-drop].drag-enter{ background-color: #88cc88; } [ng-drag].dragging{ opacity: 0.5; } @media screen and (min-width: 768px) { .hw-dialog { width: 70%; /* either % (e.g. 60%) or px (400px) */ } } /* adjust body when menu is open */ body.slide-active { overflow-x: hidden } /*first child of #page-content so it doesn't shift around*/ .no-margin-top { margin-top: 0px!important } /*wrap the entire page content but not nav inside this div if not a fixed top, don't add any top padding */ #page-content { position: relative; padding-top: 70px; left: 0; } #page-content.slide-active { padding-top: 0 } #slide-nav { max-height: 50px; } /* put toggle bars on the left :: not using button */ #slide-nav .navbar-toggle { cursor: pointer; position: relative; line-height: 0; float: left; margin: 0; width: 30px; height: 40px; padding: 10px 0 0 0; border: 0; background: transparent; } /* icon bar prettyup - optional */ #slide-nav .navbar-toggle > .icon-bar { width: 100%; display: block; height: 3px; margin: 5px 0 0 0; } #slide-nav .navbar-toggle.slide-active .icon-bar { background: orange } .navbar-header { position: relative } /* un fix the navbar when active so that all the menu items are accessible */ .navbar.navbar-fixed-top.slide-active { position: relative } /* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */ @media (max-width:767px) { #slide-nav .container { margin: 0!important; padding: 0!important; height:100%; } #slide-nav .navbar-header { margin: 0 auto; padding: 0 15px; } #slide-nav .navbar.slide-active { position: absolute; width: 80%; top: -1px; z-index: 1000; } #slide-nav #slidemenu { background: #f7f7f7; left: -100%; width: 80%; min-width: 0; position: absolute; padding-left: 0; z-index: 2; top: -8px; margin: 0; } #slide-nav #slidemenu .navbar-nav { min-width: 0; width: 100%; margin: 0; } #slide-nav #slidemenu .navbar-nav .dropdown-menu li a { min-width: 0; width: 80%; white-space: normal; } #slide-nav { border-top: 0 } #slide-nav.navbar-inverse #slidemenu { background: #333 } /* this is behind the navigation but the navigation is not inside it so that the navigation is accessible and scrolls*/ #navbar-height-col { position: fixed; top: 0; height: 100%; bottom:0; width: 80%; left: -80%; background: #f7f7f7; } #navbar-height-col.inverse { background: #333; z-index: 1; border: 0; } #slide-nav .navbar-form { width: 100%; margin: 8px 0; text-align: center; overflow: hidden; /*fast clearfixer*/ } #slide-nav .navbar-form .form-control { text-align: center } #slide-nav .navbar-form .btn { width: 100% } } @media (min-width:768px) { #page-content { left: 0!important } .navbar.navbar-fixed-top.slide-active { position: fixed } .navbar-header { left: 0!important } } .btn-outline { background-color: transparent; color: inherit; transition: all .5s; } .btn-primary.btn-outline { color: #428bca; } .btn-success.btn-outline { color: #5cb85c; } .btn-info.btn-outline { color: #5bc0de; } .btn-warning.btn-outline { color: #f0ad4e; } .btn-danger.btn-outline { color: #d9534f; } .btn-primary.btn-outline:hover, .btn-success.btn-outline:hover, .btn-info.btn-outline:hover, .btn-warning.btn-outline:hover, .btn-danger.btn-outline:hover { color: #fff; }