Browse Source

버그수정

master
장선근 5 years ago
parent
commit
0cd5bace37
  1. 218
      _src/admin/scss/common/_layout.scss
  2. 16
      public_html/assets/css/admin.min.css
  3. 2
      public_html/assets/css/admin.min.css.map
  4. 2
      wheeparam/views/themes/admin/board/posts.php
  5. 2
      wheeparam/views/themes/admin/board/read.php

218
_src/admin/scss/common/_layout.scss

@ -10,213 +10,6 @@ body {
}
$header-height : 0px;
$nav-height : 44px;
/*
#header {
position:relative;
@include display-flex();
height:$header-height;
background:#282828;
padding:0 30px;
z-index:101;
align-items: center;
.logo {
display:block;
color:#fff;
font-size:19px;
}
.top-navs {
-ms-flex:1;
-webkit-flex:1;
flex:1;
}
.btn-top-action {
padding:14px;
cursor:pointer;
background:transparent;
position:relative;
color:#fff;
border:0 none;
outline:none !important;
font-size:13px;
i {
font-size:20px;
vertical-align: middle;
}
}
.btn-user {
display:inline-block;
.btn-top-action {
&:after {
content:"\f107";
font-family:'Font Awesome 5 Pro';
position:absolute;
right:0px;
top:50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
}
}
}
#nav {
position:relative;
z-index: 100;
width: 100%;
height: $nav-height;
background-color: #ffffff;
border-bottom: 1px solid #e6e6e6;
padding:0 30px;
.main-navigation {
@include display-flex();
height:$nav-height;
padding:0;
margin:0;
list-style:none;
flex-wrap:wrap;
> li {
display:block;
position:relative;
margin-right:30px;
> a {
@include display-flex();
height:$nav-height;
justify-content: center;
align-items: center;
color:#979797;
font-size:0;
font-weight:500;
padding-left:0;
padding-right:45px;
position:relative;
font-family: NanumSquare;
&:after {
content:"\f107";
font-family:'Font Awesome 5 Pro';
position:absolute;
font-size:15px;
right:15px;
top:50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
i, span {
font-size:14px;
}
i + span {
margin-left:6px;
}
}
&.active {
> a {
color:#282828;
}
}
> ul {
height:0;
visibility: hidden;
opacity:0;
z-index:101;
position:absolute;
top:100%;
left:0;
width:150px;
background:#fff;
list-style:none;
padding:0;
margin:0;
border:1px solid #767676;
li {
display:block;
a {
display:block;
padding:6px 15px;
font-size:12px;
color:#282828;
cursor:pointer;
position:relative;
&:hover {
background-color:#f4f8f9;
}
.badge {
position:absolute;
right:5px;
top:50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
font-size:10px;
background-color:#ff2222;
color:#fff;
padding:3px 5px;
line-height:10px;
}
}
&.divider {
height: 1px;
margin: 4px 0;
overflow: hidden;
background-color: #e5e5e5;
}
&.active {
a {
background-color:#f4f8f9;
color:$color-primary;
}
}
}
}
&:hover {
> a {
color:#282828;
}
> ul {
height:auto;
visibility: visible;
opacity:1;
-webkit-transition: visibility .3s, opacity .3s;
-moz-transition: visibility .3s, opacity .3s;
-ms-transition: visibility .3s, opacity .3s;
-o-transition: visibility .3s, opacity .3s;
transition: visibility .3s, opacity .3s;
}
}
}
}
}
*/
#nav {
.nav-menu {
@ -328,6 +121,17 @@ $nav-height : 44px;
span {
padding:6px 10px;
color:#282828;
position:relative;
.badge {
position:absolute;
top:50%;
transform:translateY(-50%);
right:5px;
background-color: #c7163a;
color: #fff;
padding: 2px 5px;
}
&:hover {
background-color:#354D91;

16
public_html/assets/css/admin.min.css
File diff suppressed because it is too large
View File

2
public_html/assets/css/admin.min.css.map
File diff suppressed because it is too large
View File

2
wheeparam/views/themes/admin/board/posts.php

@ -61,7 +61,7 @@
<span style="display:inline-block;width:<?=((strlen($row['post_reply'])-1) * 16)?>px"></span>
<img src="<?=base_url('assets/images/common/icon_reply.gif')?>">
<?php endif;?>
<a href="<?=base_url("admin/board/read/{$board['brd_key']}/{$row['post_idx']}/?").http_build_query($this->input->get()) ?>"><?=$row['post_title']?></a>
<a href="<?=base_url("admin/board/read/{$board['brd_key']}/{$row['post_idx']}/?").http_build_query($this->input->get()) ?>"><?=html_escape($row['post_title'])?></a>
<?php if($row['is_new']) :?><label class="label label-warning ML10">NEW</label><?php endif;?>
<?php if($row['is_hot']) :?><label class="label label-danger ML10">HIT</label><?php endif;?>
<?php if($row['post_count_comment']>0) :?><small>(<?=$row['post_count_comment']?>)</small><?php endif;?>

2
wheeparam/views/themes/admin/board/read.php

@ -8,7 +8,7 @@
<div data-ax-tr>
<div data-ax-td class="width-100">
<div data-ax-td-label>제목</div>
<div data-ax-td-wrap><p class="form-control-static"><?=$view['post_title']?></p></div>
<div data-ax-td-wrap><p class="form-control-static"><?=html_escape($view['post_title'])?></p></div>
</div>
</div>
<div data-ax-tr>

Loading…
Cancel
Save