Skip to content

Commit

Permalink
CSS μž‘μ—…
Browse files Browse the repository at this point in the history
  • Loading branch information
TIAHWANG committed Apr 26, 2020
1 parent 68ae124 commit 193170f
Show file tree
Hide file tree
Showing 11 changed files with 456 additions and 385 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added static/.DS_Store
Binary file not shown.
22 changes: 0 additions & 22 deletions static/css/calendar.css

This file was deleted.

117 changes: 117 additions & 0 deletions static/css/common.css
@@ -0,0 +1,117 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
min-width: 1300px;
}

/* λͺ¨λ‹¬μ°½ */
.modal {
display: none;
position: relative;
}
.content {
padding: 20px;
position: fixed;
left: 50%;
top: 50%;
z-index: 11;
background: #fff;
}
.row {
width: 100%;
font-size: 14px;
margin-top: 15px;
}
.row:last-child {
text-align: right;
}
label {
display: inline-block;
max-width: 100%;
}
label.label {
width: 30%;
}
input {
all: unset;
width: 60%;
padding: 5px;
margin-bottom: 15px;
border: 1px solid #fba09d;
}
input:focus {
outline: none;
}

/* buttons */
button {
display: inline-block;
padding: 6px 12px;
margin-bottom: 0;
font-size: 12px;
font-weight: 400;
line-height: 1.42857143;
text-align: center;
vertical-align: middle;
cursor: pointer;
border: 1px solid transparent;
border-radius: 4px;
}
button:focus {
outline: none;
}
button.openBtn {
margin-top: 10px;
}
button.default-btn {
color: #fba09d;
background-color: #fff;
border-color: #fba09d;
}
button.save-btn {
color: #93a7d2;
background-color: #fff;
border-color: #93a7d2;
}
button.delete-btn {
color: #af5166;
background-color: #fff;
border-color: #af5166;
}
.default-btn:hover {
background-color: #fba09d;
color: #fff;
transition: 0.5s;
}
.save-btn:hover {
background-color: #93a7d2;
color: #fff;
transition: 0.5s;
}
.delete-btn:hover {
background-color: #af5166;
color: #fff;
transition: 0.5s;
}

/* λͺ¨λ‹¬μ°½ μ—΄μ—ˆμ„λ•Œ λ°±κ·ΈλΌμš΄λ“œ */
.bgLayer {
display: none;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
opacity: 0.2;
filter: alpha(opacity=50);
z-index: 10;
}
95 changes: 95 additions & 0 deletions static/css/habit.css
@@ -0,0 +1,95 @@
.header {
width: 100%;
height: 100px;
background-color: #fba09d;
}
h1 {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
#external-events {
text-align: center;
position: fixed;
z-index: 2;
top: 150px;
left: 20px;
width: 150px;
padding: 10px;
border: 1px solid #fba09d;
background-color: #fff;
color: #fba09d;
}
#external-events div.fc-event {
margin: 10px 0;
cursor: pointer;
padding: 2px;
}
#calendar {
max-width: 900px;
margin: 40px auto;
}

/* λͺ¨λ‹¬μ°½λ“€ */
.addHabits__content,
.multiModal__content {
width: 450px;
height: 220px;
}
.chart__content {
width: 1000px;
height: 750px;
}
.addHabits__content .row:nth-child(2),
.multiModal__content .row:nth-child(2) {
border-top: 1px solid #fba09d;
padding-top: 20px;
}
.addHabits__content .row:last-child {
position: absolute;
bottom: 10px;
right: 10px;
}

/* habit color */
.fc-event.deep-blue {
border: 1px solid #4d638c;
background-color: #4d638c;
}

.fc-event.green {
border: 1px solid #83b799;
background-color: #83b799;
}

.fc-event.orange {
border: 1px solid #ffa94d;
background-color: #ffa94d;
}

.fc-event.yellow {
border: 1px solid #e2cd6d;
background-color: #e2cd6d;
}

.fc-event.beige {
border: 1px solid #c3b28f;
background-color: #c3b28f;
}

.fc-event.pink {
border: 1px solid #e86f68;
background-color: #e86f68;
}

.fc-event.burgendy {
border: 1px solid #881d1d;
background-color: #881d1d;
}

.fc-event.grey {
border: 1px solid #495057;
background-color: #495057;
}
39 changes: 0 additions & 39 deletions static/css/main.css

This file was deleted.

68 changes: 68 additions & 0 deletions static/css/mainPage.css
@@ -0,0 +1,68 @@
.wrap {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #fba09d;
color: #fff;
font-size: 18px;
}
.title {
width: 100%;
height: 100px;
background-color: #fff;
}
.title h1 {
font-size: 50px;
font-weight: 900;
color: #fba09d;
display: flex;
justify-content: center;
align-items: center;
height: 100px;
}
.container {
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.container i {
font-size: 200px;
margin: 35px;
}
.container button {
margin-top: 40px;
}
.mainBtn {
font-size: 18px;
padding: 10px 20px;
}
/* λͺ¨λ‹¬μ°½ */
.main__content {
width: 600px;
height: 300px;
color: #000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.main__content .row:nth-child(2) {
border-top: 1px solid #fba09d;
padding-top: 20px;
}
.main__content small {
display: block;
font-size: 12px;
}
.main__content small::before {
content: "πŸ‘‰πŸ»";
}
.main__content small span {
font-weight: 600;
}

0 comments on commit 193170f

Please sign in to comment.