// main: ga-fabricfarm.less /* table basic */ .table > thead { border-top: 2px solid @table-thead-color; border-bottom: 0; } .table > thead > tr > th { border-bottom: 1px solid @table-thead-color; font-family: 'NanumBarunGothicBold'; } .table > tbody > tr.bg-notice { background: @table-over-color !important; } .table > thead > tr > th, .table > tbody > tr > td { padding: 12px 8px; text-align: center; vertical-align: middle; } .table > tbody > tr > td.title.notice { font-weight: bold; } .table > tbody > tr > td.title { text-align: left; padding-left: 20px; font-family: 'NanumBarunGothicBold'; font-weight: 700; } .table > tbody > tr > td.left { text-align: left; } .table > tbody > tr > td.right { text-align: right; } .table > tbody > tr > td { border-top: none; border-bottom: 1px solid @table-border-color; } /* board list */ .board-list { & .table-label { list-style: none; padding: 0; margin: 0; } & b.comment { color: @primary-color; } & span.reply { padding-left: 10px; color: @primary-color; } } .board-list-top { & .all-count { margin: 10px 0 10px 0; } } /* table pagination */ .pagination { border-radius: 0; } .pagination >.active > a, .pagination >.active > a:focus, .pagination >.active > a:hover, .pagination >.active > span, .pagination >.active > span:focus, .pagination >.active > span:hover { background-color: @pagination-active-color; border-color: @pagination-active-color; } .pagination > li > a, .pagination > li > span { position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: @font-color-base; text-decoration: none; background-color: #fff; border: 1px solid @table-border-color; } .pagination > li:first-child > a, .pagination > li:first-child > span { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; } .pagination > li:last-child > a, .pagination > li:last-child > span { border-top-right-radius: 0; border-bottom-right-radius: 0; } /* board view */ .board-view { border-top: 2px solid @board-top-color; & > hr { border-top: 1px solid @table-border-color; } & h4.post-title { font-size: 24px; padding: 10px 0; } & h4.post-title-reply { border-top: 2px solid @board-top-color; font-size: 24px; color: @primary-color; padding: 20px 0 10px 0; } .post-content { max-width: 100%; img { max-width: 100%; } & .recommend { text-align: center; margin: 50px 0; & .btn-circle.btn-xl { width: 80px; height: 80px; font-size: 24px; line-height: 18px; border-radius: 50%; text-align: center; padding-top: 16px; } & span { display: block; font-size: 16px; line-height: 24px; font-weight: 700; } .btn[disabled] { cursor: not-allowed; filter: alpha(opacity=100); -webkit-box-shadow: none; box-shadow: none; opacity: 1; background: #cccccc; border: 1px solid #cccccc; } } } span.writer { color: @primary-color; } & .post-data { & .data { line-height: 24px; & span { margin-right: 10px; } } & .post-count { margin: 0; text-align: right; & > li { list-style: none; display: inline-block; margin: 0 10px; } } & .post-state { margin: 0; padding: 0; & > li { list-style: none; display: inline-block; margin: 0; margin-right: 10px; } } } & hr { margin: 15px 0; border-top: 1px solid @table-border-color; } & .form-inline .w100 { width: 100%; margin-bottom: 10px; } & .form-group { margin: 10px 10px 10px 0; label { margin-right: 10px; } } & .board-view-file { & .view-attachments { list-style: none; margin: 0; padding: 0; padding: 5px 5px; & .view-attachment-info { background: #f4f4f4; padding: 10px 15px; border: 1px solid #dddddd; & .view-attachment-name { font-weight: bold; } & .view-attachment-size { color: #999; font-size: 12px; margin-left: 15px; } & .view-attachment-name, & .view-attachment-size { display: block; margin-top: 5px; } } } } .view-attachments-file { .title { font-weight: bold; } ul { margin: 0; padding: 0; li { list-style:none; display: inline; margin-right: 10px; .file-size { color: #999999; } } } } & .comment-wrap { position: relative; } & .comment-text { border-bottom: 1px solid @table-border-color; margin-top: 20px; & .media { padding-top: 15px; border-top: 1px solid @table-border-color; display: flex; align-items: flex-start; & .d-flex { display: flex !important; } & .media-body { flex: 1; & .media-title { font-weight: bold; font-size: 16px; margin-top: 0; display: inline-block; } & .media-data { color: @second-color; } & .media-textarea { padding-bottom: 15px; } } } } & .img-responsive { display: block; margin-left: auto; margin-right: auto; } ul.post-attachment { margin: 0; padding: 0; & li { list-style: none; font-size: 14px; } } } /* board paword */ .board-paword { margin: 60px 0; label { font-family: 'NanumBarunGothicBold'; } .help-block { padding: 0; margin: 10px 0 0 0; } } /* board write */ .board-write { border-top: 2px solid @board-top-color; padding-top: 20px; & hr { border-top: 1px solid @table-border-color; } & .input-form .form-group label { text-align: center; } & .btn-write { text-align: center; & a { margin:0 20px; } } .thumbnail { display: block; padding: 0; margin-bottom: 0; background-color: #fff; border: none; border-radius: 0; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-out; } .thumbnail img { border: 1px solid @img-border-color; } .product-pre-price { font-size: 10px; color: @second-color; text-decoration: line-through; } .product-price { font-size: 12px; color: @primary-color; font-weight: 700; } } /* board thumnail list */ .board-thumnail-list { .board-wrap { border-bottom: 1px solid @tab-border-color; margin-bottom: 20px; padding-bottom: 20px; } .thumbnail .inner { position: relative; overflow: hidden; } .thumbnail .hover-caption { position: absolute; bottom: -60px; width: 100%; padding: 15px 0; text-align: center; background: rgba(0, 0, 0, 0.2); } .thumbnail:hover .hover-caption { bottom: 0; background: rgba(0, 0, 0, 0.5); transition: all .5s ease-in-out; } .thumbnail { display: block; padding: 0; margin-bottom: 0; background-color: #fff; border: none; border-radius: 0; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-out; } .hover-caption .hover-data { span { margin: 0 10px; } b.num { color: #FFF; font-size: 14px; } } .thumbnail img { max-width: 100%; border: 1px solid @img-border-color; } .caption { h4 { display:block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: 'NanumBarunGothicBold'; line-height: 120%; } .text-muted { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* 라인수 */ -webkit-box-orient: vertical; word-wrap:break-word; height: 2.8em; } .data { margin: 0 0 20px 0; padding: 0; & .writer { color: @primary-color; } & li { color: #999999; list-style: none; display: inline-block; border-left: 1px solid @divi-border; margin-right: 5px; padding-left: 5px; } & li:first-child { border-left: none; padding-left: 0; } & li.pull-right { border-left: none; } } & .post-count { margin: 20px 0 0 0; padding: 0; & li { list-style: none; display: inline-block; margin-right: 20px; & span { margin-right: 5px; } } } } & hr { border-top: 1px solid @table-border-color; } & h4.event-title { font-size: 18px; font-weight: bold; text-align: center; } & ul.event-state { padding: 0; margin: 0; text-align: center; & li { list-style: none; } & li.state { font-size: 18px; margin-bottom: 10px; } & li.data { color: #666666; } } } /* board webzine list */ .board-webzine-list { .caption { .text-muted { @media (min-width: @screen-sm-min) { -webkit-line-clamp: 4; /* 라인수 */ -webkit-box-orient: vertical; word-wrap:break-word; height: 5.6em; } } } } /* review */ .board-review-list { .review-wrap { border-bottom: 1px solid @tab-border-color; margin-bottom: 20px; padding-bottom: 20px; } .product-info { border: 1px solid @divi-border; } .thumbnail { display: block; padding: 0; margin-bottom: 0; background-color: #fff; border: none; border-radius: 0; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-out; img { width: 100%; } } .product-deatil { margin: 0; padding: 0; padding: 10px; & li { list-style: none; h5 { font-weight: 600; margin: 0 0 5px 0; } .product-Category { font-size: 12px; color: @second-color; } .product-pre-price { font-size: 10px; color: @second-color; text-decoration: line-through; } .product-price { font-size: 12px; color: @primary-color; font-weight: 700; } } } .caption { margin-bottom: 20px; .data { margin: 0 0 10px 0; padding: 0; & .writer { color: @primary-color; } & li { color: #999999; list-style: none; display: inline-block; border-left: 1px solid @divi-border; margin-right: 5px; padding-left: 5px; } & li:first-child { border-left: none; padding-left: 0; } } .rating { & .text-rating { color: #f7702e; } & .text-nomal { color: #999999; } } } .review-content { margin-top: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* 라인수 */ -webkit-box-orient: vertical; word-wrap:break-word; height: 2.8em; @media (min-width: @screen-sm-min) { -webkit-line-clamp: 4; /* 라인수 */ -webkit-box-orient: vertical; word-wrap:break-word; height: 5.6em; } } .post-count { margin: 20px 0 0 0; padding: 0; & li { list-style: none; display: inline-block; margin-right: 20px; & span { margin-right: 5px; } } } & hr { border-top: 1px solid @table-border-color; } } /* review view */ .board-review-view { border-top: 2px solid @board-top-color; & > hr { border-top: 1px solid @table-border-color; } .review-wrap { margin: 20px 0 20px 0; padding-bottom: 20px; } .product-info { border: 1px solid @divi-border; img { width: 100%; } } .thumbnail { display: block; padding: 0; margin-bottom: 0; background-color: #fff; border: none; border-radius: 0; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-out; } .product-deatil { margin: 0; padding: 0; padding: 10px; & li { list-style: none; h5 { font-weight: 600; margin: 0 0 5px 0; } .product-Category { font-size: 12px; color: @second-color; } .product-pre-price { font-size: 10px; color: @second-color; text-decoration: line-through; } .product-price { font-size: 12px; color: @primary-color; font-weight: 700; } } } .caption { margin-bottom: 20px; .data { margin: 0 0 10px 0; padding: 0; & .writer { color: @primary-color; } & li { color: #999999; list-style: none; display: inline-block; border-left: 1px solid @divi-border; margin-right: 5px; padding-left: 5px; } & li:first-child { border-left: none; padding-left: 0; } } .rating { & .text-rating { color: #f7702e; } & .text-nomal { color: #999999; } } } .review-content { padding-top: 10px; & .recommend { text-align: center; margin: 50px 0; & .btn-circle.btn-xl { width: 80px; height: 80px; font-size: 24px; line-height: 18px; border-radius: 50%; text-align: center; padding-top: 16px; } & span { display: block; font-size: 16px; line-height: 24px; font-weight: 700; } .btn[disabled] { cursor: not-allowed; filter: alpha(opacity=100); -webkit-box-shadow: none; box-shadow: none; opacity: 1; background: #cccccc; border: 1px solid #cccccc; } } } & .comment-text { border-bottom: 1px solid @table-border-color; margin-top: 20px; & .media { padding-top: 15px; border-top: 1px solid @table-border-color; display: flex; align-items: flex-start; & .d-flex { display: flex !important; } & .media-body { flex: 1; & .media-title { font-weight: bold; font-size: 16px; margin-top: 0; display: inline-block; } & .media-data { color: @second-color; } & .media-textarea { padding-bottom: 15px; } } } } & .form-inline .w100 { width: 100%; margin-bottom: 10px; } & .form-group { margin: 10px 10px 10px 0; label { margin-right: 10px; } } & .comment-wrap { position: relative; } & .board-view-file { & .view-attachments { list-style: none; margin: 0; padding: 0; padding: 5px 5px; & .view-attachment-info { background: #f4f4f4; padding: 10px 15px; border: 1px solid #dddddd; & .view-attachment-name { font-weight: bold; } & .view-attachment-size { color: #999; font-size: 12px; margin-left: 15px; } & .view-attachment-name, & .view-attachment-size { display: block; margin-top: 5px; } } } } } /* new ico */ .ico-new { padding: 1px 5px; font-size: 12px; line-height: 1.5; background: #f7702e; color: #fff; font-weight: 700; border-radius: 3px; margin-left: 5px; } .board-list-search { margin: 10px 0; } /* board gallery .board-gallery-list { border-top: 2px solid @board-top-color; padding-top: 20px; .gallery { -webkit-column-count: 3; Chrome, Safari, Opera -moz-column-count: 3; Firefox column-count: 3; } .gallery img { width: 100%; padding: 0; border: 1px solid @img-border-color; } & hr { border-top: 1px solid @table-border-color; } & .thumbnail { position: relative; padding: 0; margin-bottom: 15px; line-height: inherit; background: none; border: none; border-radius: 0; -webkit-transition: inherit; -o-transition: inherit; transition: inherit; .overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; width: 100%; opacity: 0; transition: .5s ease; background: rgba(0, 0, 0, 0.70); .gallery-content { position: absolute; top: 50%; left: 50%; text-align: center; z-index: 100; h4.title { margin: 0; padding: 0; color: #ffffff; font-size: 18px; transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); } } } } & .thumbnail:hover .overlay { opacity: 1; } } */ @media (max-width: 767px) { .table-responsive > .table { margin-bottom: inherit; } /* btn-board */ .btn-board { text-align: center; a { margin:0 5px; } } .board-view { & .post-data { & .data { text-align: center; } & .post-count { text-align: center; margin-top: 10px; } } .form-group { margin-right: 0; } .view-attachments-file { .title { display: block; margin-bottom: 10px; } } } /* .board-gallery-list { .gallery { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; } } */ .board-review-list, .board-review-view { .caption { margin-bottom: 20px; .data { margin-top: 15px; } } .product-deatil { & li { .product-price { font-size: 14px; } } } } } @media (min-width: 768px) { /* btn-board */ .btn-board { text-align: right; overflow: hidden; span.left { text-align: left; float: left; } a { margin-left: 10px; } span.left > a { margin-left: 0; margin-right: 10px; } } .productList { & .caption { & .btn-wrap { top:60%; } } } .designerList { & .caption { margin: 10px 30px; & dl dt { text-align: center; } & .btn-wrap { position: inherit; text-align: center; a { padding:0 5px; } } } } } @media (min-width: 992px) { .productList { & .caption { & .btn-wrap { top:25%; } } } .designerList { & .caption { & dl dt { text-align: left; } & .btn-wrap { position: absolute; a { padding-left: 10px; } } } } }