webworld888/resources/markup/xe-ui-component/sample/css/layout.css
2021-10-26 19:14:12 +09:00

269 lines
6.0 KiB
CSS
Vendored

@charset "UTF-8";
/* LYG */
/*reset*/
header ul,
header h1,
.snb ul,
.ui-contents h2 {
margin: 0;
padding: 0; }
header ul,
.snb ul,
.ui-contents ul {
list-style: none; }
header a,
.snb ul a,
.ui-contents h3 a,
.ui-contents h2 a,
.ui-contents strong a,
.ui-contents h2 ~ ul a {
text-decoration: none; }
.transition {
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease; }
.dim {
display: none;
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 100;
background: #010101;
opacity: 0.5;
cursor: default; }
.no-padding div[class*="col-"] {
padding: 0; }
body, input, textarea, select, table, h1, h2, h3, h4, h5, h6, code {
font-family: '나눔바른고딕',NanumBarunGothic,'맑은 고딕','Malgun Gothic','돋움',Dotum,"애플 SD 산돌고딕 Neo","Apple SD Gothic Neo",AppleGothic,Helvetica,sans-serif;
font-size: 14px; }
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
background-color: #2c8beb;
z-index: 10; }
header h1 {
display: table;
float: left;
height: 60px;
padding-left: 24px; }
header h1 a {
display: table-cell;
color: #fff;
font-size: 24px;
vertical-align: middle; }
header h1 a i {
margin-right: 8px;
font-size: 38px;
vertical-align: middle; }
header h1 a span {
display: inline-block;
padding-top: 3px;
vertical-align: middle; }
header .nav {
height: 60px; }
header .nav > li {
display: inline-block;
margin-left: 60px; }
header .nav > li:first-child {
margin-left: 0; }
header .nav > li > a {
display: inline-block;
line-height: 60px;
font-size: 18px;
color: #accaf5; }
header .nav > li > a:hover {
color: #fff; }
header .nav > li.on a {
color: #fff;
border-bottom: 1px solid #fff; }
.snb {
position: fixed;
left: -260px;
top: 0;
bottom: 0;
width: 260px;
height: 100%;
min-height: 700px;
padding: 120px 0 0 30px;
background-color: #f1f6fb;
border-right: 1px solid #e9edf2;
box-sizing: border-box;
overflow: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch; }
.snb.open {
left: 0; }
.snb strong {
display: block;
margin-bottom: 20px;
font-size: 18px;
color: #656973; }
.snb li {
position: relative; }
.snb li a {
display: block;
line-height: 30px;
color: #656973;
font-size: 14px; }
.snb li a span {
display: inline-block;
position: relative;
padding-right: 5px;
background-color: #f1f6fb;
z-index: 5; }
.snb li a:hover {
color: #2c8beb; }
.snb li.on:after {
position: absolute;
top: 50%;
right: 0;
width: 100%;
height: 2px;
margin-top: -1px;
background-color: #2c8beb;
content: ""; }
.snb li.on a {
position: relative;
color: #2c8beb; }
.btn-slide {
position: absolute;
left: 0;
top: 0;
width: 48px;
height: 48px;
padding: 0 20px;
outline: none;
font-size: 26px;
color: #9D9DA1;
z-index: 999; }
.main-wrap {
position: relative;
margin-bottom: 100px; }
.main-wrap .sub-content {
margin-top: 120px;
padding-bottom: 100px; }
@media (min-width: 992px) {
.snb {
left: 0;
width: 150px;
overflow: visible; }
.snb.depth-fixed + .main-wrap {
margin-left: 300px; }
.main-skin .snb.depth-open + .main-wrap {
margin-left: 240px; }
.main-wrap,
.nav-wrap {
margin-left: 150px; } }
@media (min-width: 1068px) {
.snb {
width: 240px; }
.snb .nav-list > .sub-menu.open > .sub-wrap,
.snb .nav-list > .sub-menu.open-fixed > .sub-wrap {
left: 240px; }
.snb.depth-fixed + .main-wrap {
margin-left: 420px; }
.main-wrap,
.nav-wrap {
margin-left: 240px; } }
.ui-contents {
color: #2c2e37;
font-size: 14px; }
.ui-contents fieldset {
padding: 25px 5px; }
.ui-contents .xe-example .xe-toast-container {
position: relative;
display: block;
z-index: 0; }
.ui-contents .xe-example .xe-tooltip {
position: relative;
display: inline-block;
margin: 10px 20px;
opacity: 1; }
.ui-contents .xe-example .xe-modal {
display: block;
position: relative;
top: auto;
right: auto;
bottom: auto;
left: auto;
z-index: 1; }
.ui-contents .xe-example .xe-modal .xe-modal-dialog {
transform: none;
margin: 0; }
.ui-contents .example-label {
display: block;
max-width: 100%;
margin-bottom: 7px;
font-size: 18px; }
.ui-contents p {
line-height: 21px;
margin-top: 0; }
.ui-contents h2 {
font-size: 42px; }
.ui-contents h2 ~ ul {
margin: 0;
padding: 0; }
.ui-contents h2 ~ ul li {
margin-bottom: 5px; }
.ui-contents h2 ~ ul li:before {
content: "# ";
margin-right: 0.25em;
color: #2c8beb; }
.ui-contents h2 ~ ul li a {
color: #2c8beb; }
.ui-contents h2 + p {
margin: 10px 0 35px; }
.ui-contents h2 + p + strong {
display: inline-block;
margin-bottom: 10px;
font-size: 16px; }
.ui-contents h2 + p + strong:before {
content: "# ";
margin-right: 0.25em;
color: #2c8beb; }
.ui-contents h2 + p + strong a {
color: #2c8beb;
text-decoration: none; }
.ui-contents h2 + p + strong + ul {
margin-left: 30px; }
.ui-contents h3 {
margin: 0 0 30px 0;
border-bottom: 1px solid #e0e0e0;
font-size: 24px;
font-weight: normal; }
.ui-contents h3 a {
display: inline-block;
padding: 70px 0 15px;
color: #2c2e37;
outline: none; }
.ui-contents pre {
margin: 20px 0; }
.ui-contents .clip-board {
display: block;
position: relative; }
.ui-contents .clip-board .xe-btn {
position: absolute;
top: 27px;
right: 7px;
z-index: 10; }
/*# sourceMappingURL=layout.css.map */