Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- NestedFor
- 정수형타입
- Java
- exception
- 오라클
- 다형성
- 환경설정
- 컬렉션프레임워크
- EnhancedFor
- 추상메서드
- oracle
- 메소드오버로딩
- 예외처리
- 대덕인재개발원
- 자동차수리시스템
- 자바
- 객체 비교
- 제네릭
- 컬렉션 타입
- 집합_SET
- abstract
- GRANT VIEW
- 참조형변수
- 어윈 사용법
- 생성자오버로드
- 사용자예외클래스생성
- cursor문
- 한국건설관리시스템
- 인터페이스
- 예외미루기
Archives
- Today
- Total
거니의 velog
(6) common.css 본문
- 직접 짠 css 코드입니다.
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;500;700&display=swap');
/* css reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* 공통 스타일 */
body {
color: #333!important;
font-family: 'Noto Sans KR', sans-serif!important;
}
a {
text-decoration: none!important;
color: #333!important;
}
nav ol,
nav ul {
list-style: none;
padding-left: 0!important;
margin-bottom: 0!important;
}
/* 로그인 화면 */
#loginContainer {
position: relative;
}
.blur {
filter: blur(4px);
width: 100vw;
height: 100vh;
position: relative;
}
.loginBgColor {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 10;
background-color: #343434;
opacity: 0.7;
transition: all 0.4s;
}
.blur img {
width: 100%;
height: 100%;
}
.loginContentBox {
width: 500px;
height: 600px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, 0.6);
border-radius: 70px;
}
.loginContentBox>form {
padding: 40px;
}
.loginContentBox div:first-of-type {
padding: 40px 0px;
text-align: center;
}
.loginContentBox div:first-of-type div {
display: inline-block;
padding: 0px;
width: 150px;
height: 150px;
border-radius: 50%;
overflow: hidden;
position: relative;
}
.loginContentBox div:first-of-type img {
opacity: 0.7;
/* width: 150px;*/
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.loginContentBox input:not([type='checkbox']) {
background-color: rgba(255, 255, 255, 0);
border: none;
width: calc(100% - 50px);
outline: none;
color: white;
}
.loginContentBox input::placeholder {
color: white;
font-size: 1.07em;
vertical-align: middle;
}
.loginContentBox div:nth-of-type(2),
.loginContentBox div:nth-of-type(3) {
padding: 12px;
border-bottom: 1px solid white;
}
.loginContentBox i {
color: white;
margin-right: 20px;
font-size: 1.3em;
vertical-align: middle;
}
.loginContentBox div:nth-of-type(2) {
margin-bottom: 20px;
}
.loginContentBox div:nth-of-type(3) {
margin-bottom: 30px;
}
.loginContentBox div:nth-of-type(4) {
color: white;
margin-bottom: 25px;
position: relative;
}
.loginContentBox label[for='rememId'] {
margin-left: 10px;
}
.loginContentBox div:nth-of-type(4) a {
color: white!important;
position: absolute;
right: 0;
}
.btn_submit {
width: 100%;
opacity: 0.8;
}
.loginContentBox div:last-of-type button {
padding: 10px 0px;
}
/*************************************/
/*메인페이지*/
/*************************************/
#mainPageContainerBox {
position: relative;
width: 100vw;
height: 100vh;
}
header {
height: 60px;
background-color: #0070BC;
border-top-left-radius: 20px;
}
header {
overflow: auto;
}
header>a {
float: left;
display: inline-block;
background-color: #2BC3F2;
border-radius: 50%;
margin-left: 8px;
margin-top: 8px;
}
header>a>img {
width: 50px;
}
header>div {
float: right;
overflow: auto;
margin-top: 5px;
}
.empWel,
.logoutCont {
float: left;
}
.empWel {
overflow: auto;
position: relative;
margin-right: 20px;
}
.empWel div,
.empWel p {
float: left;
}
.empWel div {
border-radius: 50%;
overflow: hidden;
width: 50px;
height: 50px;
position: relative;
margin-right: 20px;
}
.empWel img {
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.empWel p {
color: white;
height: 50px;
line-height: 50px;
font-size: 1.1em;
margin-bottom: 0px!important;
}
.logoutCont {
height: 50px;
position: relative;
margin-right: 20px;
padding-top: 10px;
}
.mainNav {
padding-top: 10px;
float: left;
width: 60px;
height: calc(100% - 60px);
background-color: #0070BC;
position: relative;
z-index: 100;
}
.mainIcon {
text-align: center;
color: white;
transition: all 0.4s;
padding: 10px 0px;
position: relative;
cursor: pointer;
}
.mainIcon:hover {
background-color: white;
color: #0070BC;
}
.mainIcon i {
font-size: 1.7em;
}
.mainIcon span {
display: block;
font-size: 0.76em;
margin-top: 5px;
}
.subNav {
color: #333;
width: 200px;
height: calc(100% - 60px);
border-right: 1px solid #0070BC;
background-color: white;
position: absolute;
/* left: 60px;*/
left: -140px;
z-index: 10;
}
.subNav li:first-of-type {
padding: 20px 15px;
font-size: 1.3em;
font-weight: bold;
}
.subNav a {
display: block;
padding: 15px 30px;
transition: all 0.4s;
font-size: 1.1em;
}
.subNav a:hover {
background-color: #0070BC;
color: white!important;
}
section {
float: left;
width: calc(100% - 60px);
height: calc(100% - 60px);
}
/*************************************/
/*사원 등록 페이지*/
/*************************************/
.perColPri {
background-color: #007bff;
color: white;
}
.perColGray {
background-color: #6c757d;
color: white;
}
.perColSuc {
background-color: #28a745;
color: white;
}
.perColWarn {
background-color: #ffc107;
color: #212529;
}
.perColDan {
background-color: #dc3545;
color: white;
}
.perColBasic {
background-color: #f8f9fa;
color: #212529;
}
.empRegi {
overflow: auto;
}
.empInfo,
.empPreview {
float: left;
}
.empInfo {
width: 50%;
height: 100%;
padding: 30px 15px 30px 30px;
position: relative;
}
.empPreview {
width: 50%;
height: 100%;
padding: 30px 30px 30px 15px;
border-radius: 40px;
position: relative;
}
.empPreview>div {
background-color: rgba(0,0,0,0.2);
width: 100%;
height: 100%;
border-radius: 15px;
}
#empRegiForm,
.empPrevCont,
#empUpdForm {
padding: 20px 25px;
border-radius: 15px;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: calc(100% - 50px);
}
#empRegiForm label,
#empUpdForm label {
display: block;
padding: 12px 0px;
}
#empRegiForm label>span,
#empUpdForm label>span {
display: inline-block;
width: 175px;
}
#empRegiForm label>input,
#empUpdForm label>input {
display: inline-block;
width: calc(100% - 190px);
}
#empRegiForm label>select,
#empUpdForm label>select {
display: inline-block;
width: calc(100% - 190px);
}
#emphp1,
#emphp2,
#emphp3 {
width: calc((100% / 3) - 72px)!important;
}
#empRegiForm>div:last-of-type,
#empUpdForm>div:last-of-type {
margin-top: 25px;
text-align: center;
}
#empRegiSubmit,
#empUpdateSubmit {
margin-right: 20px;
}
#colorSel {
background-color: rgba(200, 200, 200, 0.6);
height: 80px;
position: relative;
margin: 10px 0px;
border-radius: 4px;
width: calc(100% - 10px);
}
#colorSel>div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.changeColor {
width: 30px;
height: 30px;
float: left;
border-radius: 4px;
margin: 0px 10px;
cursor: pointer;
transition: all 0.4s;
}
.changeColor:hover {
transform: scale(1.2);
}
.empPrevCont {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
height: auto;
padding: 30px;
width: 500px;
}
.empPrevCont>div:first-of-type {
padding: 10px;
}
.empPrevCont>div:first-of-type div {
position: relative;
overflow: hidden;
border-radius: 50%;
width: 200px;
height: 200px;
margin: auto;
}
.empPrevCont>div:first-of-type img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.empPreAuto {
margin: 10px 0px;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 4px;
padding: 10px;
}
.empPreAuto>span:first-of-type {
display: inline-block;
width: 75px;
background-color: rgba(200, 200, 200, 0.4);
padding: 5px 7px;
border-radius: 4px;
vertical-align: -webkit-baseline-middle;
}
.empPreAuto>span:last-of-type {
display: inline-block;
width: calc(100% - 80px);
text-indent: 20px;
vertical-align: -webkit-baseline-middle;
}
.empPreAuto:nth-of-type(7)>span:last-of-type {
display: inline-block;
overflow: auto;
}
.empPreAuto:nth-of-type(7)>span:last-of-type span:first-of-type{
display: block;
float: left;
text-indent: 20px;
}
.empPreAuto:nth-of-type(7)>span:last-of-type span{
display: block;
float: left;
text-indent: 0px;
}
/*************************************/
/*사원 목록 페이지*/
/*************************************/
.empList {
padding: 40px;
}
.empList .bgContainer {
width: 100%;
height: 100%;
border-radius: 20px;
padding: 40px;
}
.empList .slickSlide {
height: 100%;
padding: 40px;
border-radius: 20px;
/* background-color: #333;*/
background-color: rgba(100, 100, 100, 0.6);
position: relative;
}
.empList .slideEl {
border-radius: 20px;
overflow: auto;
outline: none;
}
.empList .slick-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
border: none;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 50%;
font-weight: bold;
font-size: 1.1em;
opacity: 0.7;
background-color: white;
color: #aaa;
}
.empList .slick-dots {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
overflow: auto;
list-style: none;
}
.empList li[role=presentation] {
float: left;
}
.empList li[role=presentation] {
margin-right: 10px;
}
.empList li[role=presentation]:last-of-type {
margin-right: 0px;
}
.empList .slick-next {
right: 40px;
}
.empList li[role=presentation] button {
border: none;
background-color: #eee;
opacity: 0.6;
border-radius: 50%;
padding: 7px;
}
.empList .empCard {
width: calc(100% / 3);
float: left;
height: 50%;
position: relative;
padding: 40px;
}
.empList .empCard>div {
width: 100%;
height: 100%;
border-radius: 20px;
}
.slick-active button {
background-color: orange!important;
}
.empCard>div {
overflow: auto;
transition: all 0.4s;
cursor: pointer;
}
.empCard>div:hover {
box-shadow: 0px 0px 50px #eee;
transform: scale(1.02);
}
.cardLeft,
.cardRight {
float: left;
width: 50%;
height: 100%;
}
.cardLeft {
position: relative;
}
.cardLeft>div {
overflow: hidden;
border-radius: 50%;
width: 150px;
height: 150px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: all 0.4s;
}
.empCard>div:hover .cardLeft>div {
box-shadow: 0px 0px 20px #eee;
}
.cardLeft>div>img {
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.cardRight {
padding: 25px;
}
.cardRight>div:first-of-type {
height: 50%;
padding-top: 20px;
position: relative;
text-indent: -10px;
font-size: 1.02em;
}
.cardRight>div:first-of-type::after {
content: "";
display: block;
width: 160px;
height: 2px;
background-color: #eee;
position: absolute;
top: 50%;
transform: translateY(-50%);
margin-top: 9px;
}
.cardRight>div:last-of-type {
height: 50%;
padding-top: 20px;
text-indent: -10px;
font-size: 1.02em;
}
.cardRight>div:last-of-type::after {
content: "";
display: block;
width: 160px;
height: 2px;
background-color: #eee;
position: absolute;
top: 50%;
transform: translateY(-50%);
margin-top: 55px;
}
#empCardModal {
position: absolute;
background-color: rgba(0,0,0,0.6);
top: 0;
bottom: 0;
left: 0;
right: 0;
margin-left: 60px;
margin-top: 60px;
z-index: 5;
display: none;
}
#empCardModal .empPreview {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
#empCardModal .empPreview>div {
background-color: rgba(255,255,255,0);
}
#empCardModal .closeBtn {
width: 50px;
height: 50px;
position: absolute;
top: 30px;
right: 30px;
background-color: black;
cursor: pointer;
opacity: 0.8;
border-radius: 4px;
transition: all 0.4s;
}
#empCardModal .closeBtn:hover {
transform: scale(1.12);
box-shadow: 0px 0px 10px #eee;
}
#empCardModal .closeBtn div:first-of-type {
background-color: white;
width: 30px;
height: 3px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
}
#empCardModal .closeBtn div:last-of-type {
background-color: white;
width: 30px;
height: 3px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(-45deg);
}
#empCardModal .empPrevCont {
opacity: 0;
margin-top: 30px;
transition: all 0.4s;
}
#empCardModal .empPrevCont:hover {
box-shadow: 0px 0px 50px #eee;
}
/*************************************/
/*사원 탈퇴 페이지*/
/*************************************/
.empResign {
position: relative;
}
.empResign>div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 40px;
width: 70vw;
border-radius: 4px;
border: 1px dashed #0070BC;
}
.empResign>div>div:first-of-type {
padding-bottom: 10px;
}
.empResign>div>div:nth-of-type(2) {
padding-bottom: 10px;
}
.empResign h2 {
font-size: 1.5em;
color: #6021D0;
}
.empResign>div>div:nth-of-type(2) p {
color: #989898;
}
.empResign>div>div:nth-of-type(2) article {
background-color: #EEE8F2;
padding: 10px;
padding-top: 20px;
border-radius: 4px;
}
.empResign>div>div:nth-of-type(3) {
padding-bottom: 10px;
}
.empResign>div>div:nth-of-type(3) article {
background-color: #F3F3F3;
padding: 10px;
padding-top: 20px;
border-radius: 4px;
}
.empResign>div>div:nth-of-type(3)>div {
margin-top: 10px;
}
.empResign>div>div:last-of-type {
margin-top: 20px;
text-align: center;
}
.empResign>div>div:last-of-type button {
background-color: transparent;
border: none;
padding: 10px 15px;
border-radius: 4px;
}
#goToHome {
border: 1px solid #5B18FD;
margin-right: 20px;
transition: all 0.4s;
}
#goToHome:hover {
transform: scale(1.1);
}
#empExit {
border: 1px solid #5B18FD;
background-color: #5B18FD;
color: white;
transition: all 0.4s;
}
#empExit:hover {
transform: scale(1.1);
}
/*************************************/
/*전자 결재 페이지 > 인감 등록 토스트*/
/*************************************/
#sealRegi {
position: relative;
}
#sealRegi>div {
position: absolute;
width: 300px;
height: 150px;
top: 0;
left: 199px;
padding: 20px;
border: 1px solid #5B18FD;
border-left: none;
box-shadow: 2px 3px 5px #aaa;
border-radius: 4px;
display: none;
background-color: white;
}
#sealimg {
margin-top: 15px;
}
.sealPreview {
overflow: auto;
}
.sealPreview>div {
width: 50%;
height: 12vh;
float: left;
text-align: center;
}
#sealDel {
margin-top: 30px;
}
/*************************************/
/*전자 결재 페이지 > 결제 라인 설정 토스트*/
/*************************************/
#signLine {
position: relative;
}
/* 원래 height : 370px; */
#signLine>div {
position: absolute;
width: 300px;
height: 245px;
top: 0;
left: 199px;
padding: 20px;
border: 1px solid #5B18FD;
border-left: none;
box-shadow: 2px 3px 5px #aaa;
border-radius: 4px;
display: none;
background-color: white;
}
#signLineForm label {
display: block;
margin-bottom: 15px;
}
#signlinejob {
margin-bottom: 15px;
}
#signLineForm label:first-of-type {
margin-bottom: 0;
}
/*************************************/
/*전자 결재 페이지 > 품의서 작성*/
/*************************************/
.signAccept {
overflow: auto;
}
.signAccept>article {
float: left;
width: 50%;
height: 100%;
}
.signAccept>article:first-of-type {
padding: 40px;
}
#signAcceptForm {
padding: 40px;
border-radius: 4px;
}
#signAcceptForm label {
display: block;
margin-bottom: 20px;
}
#signAcceptForm label>span {
display: inline-block;
width: 130px;
}
#signAcceptForm label:last-of-type>span {
margin-bottom: 20px;
}
#signAcceptForm label:last-of-type>textarea {
height: 214px;
}
#signAcceptForm label>input {
display: inline-block;
width: calc(100% - 135px);
}
.signAccept>article:last-of-type {
padding: 40px;
}
.signAcceptTbl {
border-collapse: collapse;
border: 2px solid black;
width: 100%;
}
.signAcceptTbl tr {
border-bottom: 1px solid black;
}
.signAcceptTbl tr:last-of-type {
border-bottom: none;
}
.signAcceptTbl td {
border-right: 1px solid black;
padding: 10px;
width: calc(100% / 8);
}
.signAcceptTbl td:last-of-type {
border-right: none;
padding: 0px 20px;
}
.signAcceptTbl tr:first-of-type td:first-of-type {
text-align: center;
font-weight: bold;
font-size: 1.7rem;
height: 90px;
}
.signAcceptTbl tr:first-of-type td:nth-of-type(2) {
text-align: center;
font-weight: bold;
font-size: 1.2rem;
}
.signAcceptTbl tr:first-of-type td {
padding: 0;
}
.signAcceptTbl tr:first-of-type td div:first-of-type {
text-align: center;
height: 30px;
line-height: 30px;
border-bottom: 1px solid black;
font-weight: bold;
}
.signAcceptTbl tr:first-of-type td div:last-of-type {
text-align: center;
height: 60px;
line-height: 60px;
}
.signAcceptTbl tr:nth-of-type(2) {
overflow: auto;
}
.signAcceptTbl tr:nth-of-type(2) div {
width: calc(100% / 3);
float: left;
}
.signAcceptTbl tr:nth-of-type(2) td {
padding: 0;
}
.signAcceptTbl tr:nth-of-type(2) div>span:first-of-type {
display: inline-block;
width: 106px;
height: 50px;
text-align: center;
line-height: 50px;
border-left: 1px solid black;
border-right: 1px solid black;
font-weight: bold;
}
.signAcceptTbl tr:nth-of-type(2) div:first-of-type>span:first-of-type {
border-left: 0;
}
.signAcceptTbl tr:nth-of-type(2) div>span:last-of-type {
display: inline-block;
width: calc(100% - 112px);
text-align: center;
}
.signAcceptTbl tr:nth-of-type(3) {
text-align: center;
height: 50px;
}
.signAcceptTbl tr:nth-of-type(3) td:first-of-type {
font-weight: bold;
}
.signAcceptTbl tr:nth-of-type(4) {
text-align: center;
font-weight: bold;
height: 50px;
}
.signAcceptTbl tr:nth-of-type(5) {
height: 340px;
}
.signAcceptTbl tr:nth-of-type(5) div {
text-indent: 10px;
}
.signAcceptTbl tr:last-of-type td {
padding: 20px;
}
.signAcceptTbl tr:last-of-type p {
text-align: center;
margin-top: 10px;
}
.signAcceptTbl tr:last-of-type p:first-of-type {
font-size: 1.15rem;
font-weight: bold;
}
.signAcceptTbl tr:last-of-type p:last-of-type {
font-size: 1.18rem;
}
.signAcceptTbl tr:last-of-type div {
font-size: 1.2rem;
}
.signAcceptTbl tr:last-of-type div>span:nth-of-type(2) {
display: inline-block;
width: 130px;
text-align: left;
margin-left: 10px;
margin-right: 10px;
}
'대덕인재개발원_2nd project' 카테고리의 다른 글
(8) CommonDAO, CommonService 세팅 (0) | 2023.10.20 |
---|---|
(7) MyBatis 세팅 (0) | 2023.10.20 |
(5) 회원 삭제 페이지 (0) | 2023.10.20 |
(4) 회원 수정 페이지 (0) | 2023.10.20 |
(3) 회원 조회 페이지 (0) | 2023.10.20 |