Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions css/footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

.mail-footer {
position: absolute;
bottom: 0;
width: 100%;
overflow: hidden;
height: 40px;
border-top: 1px solid #e2e2e2;;
font-family: HelveticaNeueLight, serif;
font-size: 11px;
color: #9b9b9b;
line-height: 15px;
text-align: right;
vertical-align: bottom;
}

.mail-footer__item {
margin-left: 20px;
}

.mail-footer__body {
display: inline-block;
padding: 10px 20px;
}
57 changes: 57 additions & 0 deletions css/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
.menu-hamburger {
display: inline-block;
width: 16px;
height: 16px;
padding-bottom: 5px;
margin-right: 6px;
}

.menu-hamburger__plank {
width: 22px;
height: 2px;
margin: 5px;
background: #000;
}

.search__input {
display: inline-block;
padding-left: 16px;
opacity: 0.5;
background-color: #fff;
font-family: YandexSansRegular, serif;
font-size: 15px;
line-height: 2.13;
color: #000;
width: 80%;
border: 1px solid #ccc;
outline: 0;
padding-right: 24px;
}

.search {
margin-left: 130px;
display: inline-block;
position: relative;
width: 300px;
height: 32px;
}

.sidebar__logo {
display: inline-block;
vertical-align: middle;
margin-left: 11px;
font-weight: 100;
}
.search__cross-button {
position: absolute;
right: 20px;
top: 4px;
width: 12px;
height: 12px;
padding: 0 8px;
font-style: normal;
font-size: 1.5em;
user-select: none;
cursor: pointer;
opacity: 0.15;
}
171 changes: 171 additions & 0 deletions css/letter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
.letter_unread span:not(.letter__receive-time) {
font-family: HelveticaNeue, serif;
font-weight: bold;
}

.latter {
white-space: nowrap;
padding: 2px 20px;
vertical-align: middle;

line-height: normal;
font-family: HelveticaNeueLight, serif;
font-size: 0;
color: #000;
background-color: white;
border-bottom: 1px solid #e2e2e2;
}

.letter__read-mark {
vertical-align: middle;
display: inline-block;
border-radius: 50%;
width: 10px;
height: 10px;
background-color: #fff;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
}

.letter__sender-ico {
margin: 5px 10px;
box-sizing: border-box;
padding: 4px 8px;
width: 30px;
font-size: 20px;
height: 30px;
display: inline-block;
vertical-align: middle;
color: #fff;
background: #f22;
align-content: center;
border-radius: 50%;
font-weight: bold;
font-family: HelveticaNeue, serif;
}

.letter__read-mark:checked {
background-color: #6287bd;
}

.letter__read-mark:hover {
background-color: #e5eaf0;
}

.letter__receive-time {
overflow: hidden;
max-width: 40px;
font-size: 13px;
display: inline-block;
vertical-align: middle;
float: right;
color: #9b9b9b;
line-height: 40px;
font-weight: normal;
}

.letter__message-title {
font-size: 13px;
display: inline-block;
max-width: calc(80% - 200px);
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
}

.letter__mail-user-avatar {
margin: 5px;
vertical-align: middle;
width: 30px;
height: 30px;
border-radius: 15px;
padding-right: 5px;
padding-left: 5px;
}

.letter__mail-sender {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
width: 185px;
max-height: 16px;
font-size: 13px;
vertical-align: middle;
}

.letter__opener {
display: none;
}

.letter__opener:checked ~ .letter__message {
display: block;
z-index: 6;
}

.letter__message {
font-family: HelveticaNeueLight, serif;
vertical-align: middle;
display: none;
padding: 15px;
font-size: 16px;

position: absolute;
left: 0;
right: 0;
top: 43px;
height: calc(100% - 84px - 20px);
background-color: white;
overflow-x: hidden;
overflow-y: hidden;
z-index: -1;
}

.letter__message-close {
float: right;
width: 15px;
height: 15px;
font-weight: 100;
text-align: center;
vertical-align: middle;
}

.letter__message-text {
word-wrap: break-word;
white-space: initial;
vertical-align: middle;
}

.letter__img {
width: 140px;
height: 140px;
float: left;
border-radius: 50%;
shape-outside: circle();
}

.letter_new {

opacity: 0;
}

.letter_showed {
transition: all 1000ms;

opacity: 1;
}


.letter_removed {
opacity: 0;
transition: opacity 400ms;

}







104 changes: 104 additions & 0 deletions css/mail.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
@font-face {
font-family: YandexSansBold;
src: url("../fonts/YandexSansDisplay-Bold.ttf");
}

@font-face {
font-family: YandexSansThin;
src: url("../fonts/YandexSansDisplay-Thin.ttf");
}

@font-face {
font-family: YandexSansLight;
src: url("../fonts/YandexSansDisplay-Light.ttf");
}

@font-face {
font-family: YandexSansRegular;
src: url("../fonts/YandexSansDisplay-Regular.ttf");
}

@font-face {
font-family: HelveticaNeue;
src: url("../fonts/HelveticaNeueCyr-Medium.otf");
}

@font-face {
font-family: HelveticaNeueLight;
src: url("../fonts/HelveticaNeueCyr-Light.otf");
}

body {
background-color: #e5eaf0;
height: 100%;
min-width: 900px;
padding-left: 20px;
padding-right: 14px;

}

html {
height: 100%;
}


.mail__link {
color: unset;
text-decoration: none;
}

.mail__body {
display: inline-block;
position: relative;
width: 80%;
min-height: 500px;
border-radius: 3px;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.34);
background-color: #fff;
margin-bottom: 30px;
padding-bottom: 40px;
}

.mail__action {
vertical-align: middle;
display: inline-block;
margin-right: 26px;
}

.mails__actions {
padding: 10px 20px;
font-family: HelveticaNeue, serif;
font-size: 13px;
color: #ccc;
border-bottom: 1px solid #e2e2e2;;
}

.letters {
height: calc(100% - 71px);
overflow: auto;
}

.mail__checkbox {
display: inline-block;
vertical-align: middle;
filter: brightness(1.2);
width: 16px;
height: 16px;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 50%;
cursor: pointer;
}

#checkbox-that-rules {
margin-right: 20px;
}

.mail__main-container {
height: 100%;
}





Loading