kisa 퍼블리싱 스타일가이드 - 다크, 라이트모드 (html, scss)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

860 lines
20 KiB

/*가이드에서만 쓰이는 레이아웃 스타일*/
@charset "utf-8";
@import '_mixin.scss';
:root{
--bg_02: #04091A;
--bg_02_template: #050A1F;
--bg_01:#0A0F24;
--background-bg_01:#0A0F24;
--bg_01_40: #{$bg_default04};
--bg_02_60: rgba(4, 9, 26, 0.60);
--primary-pri_6: rgba(39, 212, 255, 0.06);
--white-w_100: #{$fc_white};
--white-w_100-sec: #{$fc_white};
--white-w_87: #{$bg_grey87};
--white-w_87-sec: #{$bg_grey87};
--white-w_60: #{$bg_grey60};
--white-w_40: #{$bg_grey40};
--white-w_40-sec: #{$bg_grey40};
--white-w_30: #{$bg_grey30};
--white-w_20: #{$bg_grey20};
--white-w_16: #{$bg_grey16};
--white-w_12: #{$bg_grey12};
--box1_border:rgba(39, 212, 255, 0.4);
--bg_01_80: rgba(11, 17, 41, 0.8);
--line-wh_12-to-40: #{$bg_grey12};
--line-wh_20-to-100: #{$bg_grey20};
--line-wh_30-to-60: #{$bg_grey30};
--line-wh_12-to-100: #{$bg_grey12};
--line-pri_40-to-wh_40: rgba(39, 212, 255, 0.40);
--line-pri_40-to-bk_40: rgba(39, 212, 255, 0.40);
--icon-pri_20-to-100: rgba(34, 212, 255, 0.20);
--more-bright-wh_6-to-60: #{$bg_grey06};
--white-w_6: #{$bg_grey06};
--line-pri_40-to-wh_100: rgba(39, 212, 255, 0.40);
--etc-bg: #04091A;
--etc-popup_tit: rgba(39, 212, 255, 0.60);
--background-blur_0260: rgba(56, 61, 82, 0.60);
--point-error: #D60000;
--point-error-10: rgba(219, 0, 0, 0.08);
--blur_02_60: rgba(55, 61, 82, 0.60);
--bg-blur_02_60: rgba(55, 61, 82, 0.60);
--radio-default: #{$bg_grey60};
--control-disabled: #{bg_grey10};
--background-legend: rgba(74, 78, 102, 0.8);
--icon-icon-selected: rgba(39, 212, 255, 0.40);
--group-icon-selected: rgba(39, 212, 255, 0.40);
--map-ver2-hover: rgba(39, 212, 255, 0.40);
--background-blur_02_60: rgba(55, 61, 82, 0.60);
--background-blur_01_20: rgba(162, 164, 184, 0.20);
--navigation-bg: #1F2333;
--etc-FNB: rgba(39, 212, 255, 0.12);
--black-bk_100: #{$bg_black00};
--etc-b_text: #338FFF;
--etc-b_text2: #338FFF;
// KISA
--PRI: #84C01D;
--bg_body: #030914;
--alpha-bk-to-whbk-20: rgba(255, 255, 255, 0.20);
--alpha-wh-to-bkwh-60: rgba(0, 0, 0, 0.60);
--alpha-wh-to-bkwh-100: #000;
--alpha-white-w_100: ;
--wh-12: rgba(255, 255, 255, 0.12);
--alpha-bk-to-whbk-10: rgba(255, 255, 255, 0.10);
--alpha-bk-to-whbk-87: rgba(255, 255, 255, 0.87);
--alpha-bk-to-whbk-100: rgba(255, 255, 255, 0.87);
--alpha-bk-to-whbk-60: rgba(255, 255, 255, 0.60);
--alpha-bk-to-whbk-40: rgba(255, 255, 255, 0.40);
}
:root[data-theme=light] {
--bg_02: #{$fc_white};
--bg_02_template: #DCDDE0;
--bg_01: #F5F6FA;
--background-bg_01: #{$fc_white};
--bg_01_40: #F3F5FD;
--bg_02_60: rgba(245, 247, 255, 0.90);
--primary-pri_12-to-bk: #{$bg_black00};
--primary-pri_6: rgba(0, 104, 230, 0.06);
--white-w_100: #{$fc_white};
--white-w_100-sec: #{$bg_black00};
--white-w_87: #{$bg_black87};
--white-w_87-sec: #{$bg_black00};
--white-w_60: #{$bg_black60};
--white-w_40: #{$bg_black40};
--white-w_40-sec: #{$bg_grey40};
--white-w_30: #{$bg_black30};
--white-w_20: #{$bg_black20};
--white-w_16: #{$bg_black16};
--white-w_12: #{$bg_black12};
--box1_border: #{$fc_white};
--bg_01_80: rgba(245, 246, 250, 0.90);
--icon-pri_20-to-100 : #0067E6;
--white-w_6: #{$bg_black06};
--line-pri_40-to-wh_100: #{$fc_white};
--etc-bg: #{$fc_white};
--etc-popup_tit: rgba(0, 104, 230, 0.80);
--background-blur_0260: rgba(56, 61, 82, 0.60);
--point-error: #D60000;
--point-error-10: rgba(219, 0, 0, 0.08);
--blur_02_60: #{$bg_grey90};
--bg-blur_02_60: rgba(55, 61, 82, 0.60);
--grade-chart-gco-01: #FC5C34;
--radio-default: #{$bg_black60};
--control-disabled: #{bg_grey10};
--icon-icon-selected: #{$fc_white};
--group-icon-selected: rgba(51, 143, 255, 0.40);
--navigation-bg: #E1E2E5;
--etc-FNB:rgba(245, 246, 250, 0.90);
--black-bk_100: #{$fc_white};
--etc-b_text: #139DF2;
// KISA
--PRI: #87C718;
--bg_body: #030914;
--alpha-bk-to-whbk-20: rgba(0, 0, 0, 0.20);
--alpha-wh-to-bkwh-60: rgba(255, 255, 255, 0.20);
--alpha-wh-to-bkwh-100: ;
--alpha-white-w_100: #FFF;
--wh-12: ;
--alpha-bk-to-whbk-10: rgba(0, 0, 0, 0.10);
--alpha-bk-to-whbk-87: rgba(0, 0, 0, 0.87);
--alpha-bk-to-whbk-100: #000;
--alpha-bk-to-whbk-60: rgba(0, 0, 0, 0.60);
--alpha-bk-to-whbk-40: rgba(0, 0, 0, 0.40);
}
/*mode button*/
.lightmode > .inner{
position: relative;
display: inline-flex;
padding: 0.313rem;
border-radius: 1.5em;
background-color: rgb(237,237,237, 0.3);
&.template {
// padding: unset;
}
}
html[data-theme=light] .lightmode > .inner{
&.ver1 {
background-color: var(--PRI);
}
&.ver2 {
}
}
.outer {
padding: 4px;
border-radius: 50px;
background-color: var(--wh-12);
display: flex;
gap: 12px;
width: 100%;
}
.lightmode label {
cursor: pointer;
}
.lightmode label:first-of-type{
padding: 2px;
border-radius: 50px;
}
.lightmode label:last-of-type{
padding: 2px;
border-radius: 50px;
}
.lightmode i{
font-size: 1.2em;
color: #aaa;
}
.lightmode input[type=radio]{
display: none;
}
.lightmode input[type=radio]:checked + label > i {
color: rgba(135, 199, 24, 1);
transition: all 0.35s ease-in-out;
&.ver1 {
}
&.ver2 {
}
}
.circle_dark {
// border-radius: 50%;
background: var(--alpha-wh-to-bkwh-100);
display: flex;
align-items: center;
justify-content: center;
height: 30px;
width: 30px;
padding: 2px;
}
.circle_light {
// border-radius: 50%;
background: var(--alpha-white-w_100);
display: flex;
align-items: center;
justify-content: center;
height: 30px;
width: 30px;
padding: 2px;
}
/**/
/*Contents*/
.guide_back {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 0;
}
.guide_wrap {
background: var(--etc-bg);
color: var(--white-w_87);
position: relative;
width: 100%;
min-height: 100%;
overflow: hidden;
padding: 1.875rem 0;
&.grey{
background-color: #1A1D29;
}
&.two_line{
padding: 3.75rem 0;
}
}
.guide_center{
width: 77.5rem;
margin: 0 auto;
padding: 1.25rem;
&.width1720 {
width: 107.5rem;
}
}
.guide_top{
@include dflx_ae_jbet;
column-gap: 1rem;
width: 100%;
height: 4.75rem;
padding: 0 0 1rem;
border-bottom: 0.063rem solid var(--white-w_30);
h1{
@include fs_40_bold;
color: #fff;
}
}
html[data-theme=light] .guide_top{
h1{
color: #000;
}
}
.Gr_contents{
width: 100%;
margin: 2.5rem 0 4.375rem;
}
.comp_top{
@include dflx_ae_jbet;
column-gap: 1rem;
width: 100%;
padding: 0 0 1.875rem;
h2{
@include fs_24_bold;
color: var(--white-w_87);
}
}
.comp_dl{
width: 100%;
display: flex;
column-gap: 0.75rem;
margin: 0 0 1.5rem;
}
.comp_dt{
@include fs_16_medium;
width: 6.25rem;
padding: 1.25rem 0 0 0;
}
.comp_dd{
flex: 1;
}
.compline{
@include dflx_ac;
flex-wrap: wrap;
margin: 0.75rem 0;
column-gap: 0.5rem;
&.box{
background: var(--white-w_6);
}
}
.comp_size{
@include fs_12_regular;
color: $bg_grey60;
width: 2.5rem;
text-align: center;
}
.components{
@include dflx_ac;
flex: 1;
gap: 0.75rem;
}
.flex_wrap {flex-wrap: wrap !important}
.flex_one{flex:1 !important}
/*template*/
footer {
position: fixed;
width: 100%;
bottom: 0;
z-index: 200;
}
.main_back {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.main_wrap {
position: relative;
width: 100%;
height: 100%;
background: var(--bg_02_template);
}
.main_contents {
width: 100%;
height: 100%;
position: relative;
background: url("../images/background_img.png");
background-repeat: no-repeat;
background-size : cover !important;
}
.marker_wrap {
position: absolute;
}
.board_line {
&.signal {
&.right {
position: absolute;
display: flex;
top: 3.5rem;
right: 1.25rem;
z-index: 100;
}
}
}
// scroll
.scroll {
&.sc_y {
&.table {
height: 8.25rem;
padding: 0;
}
&.signal {
padding: 0;
margin-right: 0.5rem;
}
}
}
.footer_in {
@include dflx_as_jbet;
width: 100%;
padding-left: 1.25rem;
padding-right: 1.25rem;
padding-bottom: 1.25rem;
}
// table
.table_box {
&.signal {
tr {
&.selected, &:focus, &.hover {
background: var(--primary-pri_12);
}
}
th {
position: static;
//height: 2.25rem;
height: 2rem;
}
th, td:not(.disable), td:not(.disabled) {
border-right: 0.063rem solid rgba(255, 255, 255, 0.12);
&:last-child {border-right: 0;}
}
td {
height: 1.75rem;
//height: 2.25rem;
//border-top: 0.188rem solid $bg_default !important;
border-top: 0.125rem solid var(--etc-bg) !important;
p {
text-align: center !important;
cursor: pointer;
}
}
}
}
.user_table {
@include fs_13_regular;
color: var(--white-w_87-sec);
width: 100%;
border-collapse:separate;
border-spacing: 0 0.125rem;
tr {
//background: var(--more-visible-wh_16-to-6);
&.selected,
&:hover, &:focus, &.hover {
//background: rgba(39, 212, 255, 0.2);
background: var(--primary-pri_12);
}
}
th {
position: relative;
z-index: 1;
top: 0;
height: 2.25rem;
background: $bg_grey16;
background: var(--more-visible-wh_6-to-100);
background: var(--more-visible-wh_16-to-6);
//background: #2c313f;
font-weight: 500;
}
th, td {
border-right: 0.063rem solid var(--white-w_12);
&:last-child {border-right: 0;}
}
td {
height: 2.25rem;
border-top: 0.188rem solid transparent !important;
}
td.on {
background: rgba(39, 212, 255, 0.2);
}
.row_type1 {
background: $bg_grey16;
}
// 표 색상
.row_type2 {
background: var(--more-visible-wh_6-to-100);
}
.row_error {
background: rgba(219, 0, 0, 0.08);
color: #FF1F55;
}
}
.arrow {
&.left {transform: rotate(180deg);}
&.up {transform: rotate(270deg);}
&.down {transform: rotate(90deg);}
}
.grey_box {
@include dflx;
@include backFilter;
top: 33%;
left: 30%;
&.login {
z-index: 0;
width: 44.563rem;
padding: 3rem;
border-radius: 0.125rem;
border: 0.063rem solid $bg_grey12;
background: rgba(162, 164, 184, 0.20);
backdrop-filter: blur(3.75rem);
p {
position: relative;
z-index: 200;
width: 0.063rem;
background: rgba(255, 255, 255, 0.20);
align-self: stretch;
}
}
&.error {
display: block;
z-index: 0;
width: 44.563rem;
padding: 5rem;
border-radius: 0.125rem;
border: 0.063rem solid rgba(255, 255, 255, 0.30);
//background: var(--bg_01_80);
background: var(--background-blur_01_20);
backdrop-filter: blur(3.75rem);
opacity: 1;
}
}
.marker_main {
position: absolute;
bottom: 40%;
left: 50%;
}
// 프로필
.hd_profile{
position: relative;
width: 1.875rem;
height: 1.25rem;
.member_popover{
display: none;
}
&.profile_open{
.member_popover, .member_toggle{
display: block;
}
.btn_profile .comma_under8 {
opacity: 1;
transform: rotate(180deg);
}
.profile20{
opacity: 1;
}
}
}
// 범례
.popover_box {
&.main {
position: absolute;
display: none;
bottom: 3rem;
left: -2.5rem;
z-index: 100;
&.legend {
display: block;
}
&.pop {
display: block;
}
&.pop_hide {
display: none;
}
}
}
.case_wrap {
@include dflx;
column-gap: 0.5rem;
width: 100%;
height: calc(100% - 1.125rem);
}
.case_box {
padding: 0.25rem;
border-radius: 0.125rem;
background: var(--white-w_6);
width: 100%;
.case_number {
@include dflx_ac_jcent;
font-weight: 700;
width: 100%;
height: calc(100% - 0.875rem);
color: var(--white-w_87);
}
}
.case_grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: 0.5rem;
row-gap: 0.5rem;
}
.chart_box {
@include dflx_ac_jcent;
height: calc(100% - 0.875rem);
column-gap: 2.5rem;
}
.rate_content {
display: grid;
row-gap: 1rem;
height: calc(100% - 3.25rem);
}
.rate_box {
width: 100%;
height: 100%;
padding: 0.75rem;
border-radius: 0.125rem;
background: var(--more-visible-wh_6-to-100);
}
.ch_label{
@include dflx_ac;
.word{
@include fs_11_regular;
color: var(--white-w_87-sec);
margin: 0.25rem 0 0.25rem 0.25rem;
line-height: 1.1;
word-break: keep-all
}
}
.chart_cont{
@include dflx_ac_jcent;
position: relative;
width: 9rem;
height: 4.891rem;
padding: 0.5rem;
overflow: hidden;
background: url(../images/bg_tract.svg) no-repeat left top;
background-size: 100% 100%;
.chart_tlt {
position: absolute;
left: 1.25rem;
top: 1.25rem;
margin-bottom: 0.5rem;
}
.chart_result{
padding: 1rem 0 0;
}
}
.chart_result {
@include dflx_ae;
font-size: 1.5rem;
font-weight: 700;
column-gap: 0.375rem;
.unit{
@include fs_14_regular;
line-height: 1.7;
}
}
// 사용자 관리 user
.user_wrap {
width: 100%;
height: 100%;
padding-top: 2.5rem;
}
.user_content {
display: flex;
column-gap: 1rem;
width: 100%;
height: 100%;
padding: 1.25rem;
}
.personal_box, .system_box {
@include backFilter;
width: 100%;
height: 100%;
border: 0.063rem solid var(--line-pri_40-to-wh_40);
background: var(--bg_01_80);
box-shadow: 0.25rem 0.25rem 1rem 1rem rgba(4, 9, 26, 0.16);
width: 28.625rem;
}
.user_box {
@include backFilter;
width: 100%;
height: 100%;
padding: 1.25rem;
border: 0.063rem solid var(--line-pri_40-to-wh_40);
background: var(--bg_01_80);
box-shadow: 0.25rem 0.25rem 1rem 1rem rgba(4, 9, 26, 0.16);
flex: 1;
}
.table_inner {
margin-top: 0.75rem;
width: 100%;
height: calc(100% - 2.625rem);
}
.title_box {
@include dflx_ac_jbet;
flex-wrap: wrap;
}
.user_title {
@include fs_16_bold;
color: var(--primary-to-grayscale-to-bk);
height: 1.5rem;
}
.user_btn {
height: 1.75rem;
padding: 0.5rem 0;
word-break: keep-all;
}
// error
.error_logo {
position: absolute;
top: -10%;
left: 50%;
transform: translate(-50%, 0);
z-index: 1;
}
// logo
.logo_login {
width: 12.5rem;
}
// 프로필
.hd_profile {
position: relative;
width: 1.875rem;
height: 1.25rem;
.member_popover {
display: none;
}
&.profile_open {
.member_popover, .member_toggle {
display: block;
}
.btn_profile .comma_under8 {
opacity: 1;
transform: rotate(180deg);
}
.profile20{
opacity: 1;
}
}
}
// login
.login_title {
color: var(--white-w_100-sec);
}
/* html data-theme */
html[data-theme=light] {
header{
// background: #F3F5FD;
// border-bottom: 0.063rem solid $bg_grey20;
}
.sp_logo_uniplus{
background: url('../images/logo_uniplus_light.svg') no-repeat left center;
background-size: cover;
}
.gnb {
ul li a {
color: var(--more-visible-wh_60-to-100);
&.on, &:hover, &:focus {
// color: $ui_blue_more;
}
}
}
.guide_top h1{color: #000;}
//img filter
button{
&.mode{
img {@include filter_black}
.img_on {@include filter_blue}
}
&:hover:not(.hover):not(.legend):not(.selected):not(.disabled), &:active ,&.selected {
.circle_grey28.popover {
img {@include filter_white}
.img_on {@include filter_white}
}
}
}
.btn_srch28{
span img:not(.on){@include filter_black}
&.mode{
&:active{
img{filter: none;}
}
}
&:active:not(.selected) {
span img:not(.on){@include filter_white}
}
}
.btn_srch28.on{
span img {@include filter_white}
}
.arrow_box {
img {@include filter_black;}
}
.btn_secondary {
img {
@include filter_black;
}
}
.btn_primary.disabled {
img {
@include filter_black;
opacity: 0.6;
}
}
.btn_file, .preview_box {
img{@include filter_black}
}
.arr_up, .arr_right {
img {@include filter_black}
}
.datepicker {
background-image: url(../images/calendar_gray_24.svg);
&:focus, &.on {
background-image: url(../images/calendar_blue_24.svg);
}
}
//date picker
.action_prev, .action_next {
@include filter_black
}
.stepper_arrow{
img{@include filter_black}
}
.play_circle{
img{
content: url("../images/play_circle_light_20.svg");
}
}
// select arrow
.selectbox_arrow, .selectbox, .selectboxSample {
img {@include filter_black}
}
//table
.bt_srch{
@include filter_black
}
.selector {
background-image: url("../images/arrow_down_gray_16.svg");
&.sm {
&.color{
background-image: url(../images/arrow_down_light_16.svg);
background-repeat: no-repeat;
background-position: 93% 42%;
background-size: 1rem 1rem;
}
}
}
.lnb_box{
img{@include filter_black}
}
// template
.main_contents {
width: 100%;
height: 100%;
background-size : cover;
background: url("../images/background_light_img.png") no-repeat center center;
&.login_ver1 {
background: url("../images/login_light_ver1.png") no-repeat;
}
&.error {
background: url("../images/error_background_light.png") no-repeat center center;
}
&.error2 {
background: url("../images/error2_background_light.svg") no-repeat center bottom;
background-size: contain;
}
}
.login_logo {
content: url("../images/logo_light_big.svg");
}
// main
.hamberger_btn {
content: url("../images/hamburger_bk_24.svg");
}
.logo_hd_kisa{
content: url("../images/logo_light.svg");
}
.bell{
img {
content: url("../images/bell_bk_20.svg");
}
}
.user{
img {
content: url("../images/user_bk_20.svg");
}
}
// light모드 display none
.light_none {
display: none;
}
.light_hidden {
visibility: hidden;
}
.grey_box.login{
border: 0.063rem solid $bg_grey30;
background: var(--bg_01_80);
p{
background: $bg_black20;
}
}
.indicator {box-shadow: 0.25rem 0.25rem 1rem 0 rgba(4, 9, 26, 0.16);}
}
/* html data-theme End */