refactor(mail,feed,todo): mail-navigation text left
parent
bd2ae2d1e5
commit
63e73a5dd3
|
@ -26,7 +26,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr ng-repeat="m in listCtrl.messages track by m.id | orderBy:'-date'"
|
<tr ng-repeat="m in listCtrl.messages track by m.id | orderBy:'-date'"
|
||||||
class="side-message-navigation-item little-human shineHover {{m.tag}}">
|
class="side-message-navigation-item little-human shineHover {{m.tag}}">
|
||||||
<td>
|
<td class="check-td">
|
||||||
<div class="mail-checkbox">
|
<div class="mail-checkbox">
|
||||||
<label class="checkbox-inline custom-checkbox nowrap">
|
<label class="checkbox-inline custom-checkbox nowrap">
|
||||||
<input type="checkbox">
|
<input type="checkbox">
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><img ng-src="{{m.name.split(' ')[0] | profilePicture}}" class="little-human-picture"></td>
|
<td class="photo-td" ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><img ng-src="{{m.name.split(' ')[0] | profilePicture}}" class="little-human-picture"></td>
|
||||||
<td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})">
|
<td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})">
|
||||||
<div class="name-container">
|
<div class="name-container">
|
||||||
<div><span class="name">{{m.name}}</span></div>
|
<div><span class="name">{{m.name}}</span></div>
|
||||||
|
|
|
@ -15,9 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="labels">
|
<div class="labels">
|
||||||
<div class="labels-title">
|
<div class="labels-title">
|
||||||
<h5 class="label-header">
|
|
||||||
Labels
|
|
||||||
</h5>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="labels-container">
|
<div class="labels-container">
|
||||||
<div class="label-item">
|
<div class="label-item">
|
||||||
|
|
|
@ -13,23 +13,26 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mail-navigation-container {
|
.mail-navigation-container {
|
||||||
width: 300px;
|
width: 200px;
|
||||||
.mail-navigation {
|
.mail-navigation {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-weight: $font-light;
|
font-weight: $font-light;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
padding: 10px;
|
text-align: left;
|
||||||
margin-left: 22px;
|
padding: 10px 10px 10px 30px;
|
||||||
|
transition: 0.8s padding ease;
|
||||||
.new-mails {
|
.new-mails {
|
||||||
display: inline-block;
|
position: absolute;
|
||||||
float: right;
|
left: 150px;
|
||||||
|
padding: 1px 6px;
|
||||||
|
border: 1px solid;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: $primary-light;
|
background-color: $primary-light;
|
||||||
padding: 1px 6px;
|
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
transition: 0.8s left ease;
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
background-color: $primary-light;
|
background-color: $primary-light;
|
||||||
|
@ -41,7 +44,7 @@
|
||||||
color: $primary-light;
|
color: $primary-light;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
transition: background-color .2s ease;
|
transition: background-color .2s ease, 0.8s padding ease;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $border-light;
|
background-color: $border-light;
|
||||||
|
@ -63,6 +66,15 @@
|
||||||
margin-left: 22px;
|
margin-left: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.labels-container {
|
||||||
|
text-align: center;
|
||||||
|
padding-right: 28px;
|
||||||
|
padding-left: 20px;
|
||||||
|
.label-item {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.labels-title {
|
.labels-title {
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
border-bottom: 1px solid $border-light;
|
border-bottom: 1px solid $border-light;
|
||||||
|
@ -80,6 +92,7 @@
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: $font-light;
|
font-weight: $font-light;
|
||||||
.label-input-stub {
|
.label-input-stub {
|
||||||
|
font-size: 14px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
i {
|
i {
|
||||||
|
@ -125,7 +138,7 @@
|
||||||
|
|
||||||
.side-message-navigation {
|
.side-message-navigation {
|
||||||
padding: 10px 0 0 0;
|
padding: 10px 0 0 0;
|
||||||
width: calc(100% - 300px);
|
width: calc(100% - 200px);
|
||||||
box-shadow: -4px 0 7px -2px $input-border;
|
box-shadow: -4px 0 7px -2px $input-border;
|
||||||
.side-message-navigation-item {
|
.side-message-navigation-item {
|
||||||
border-bottom: 1px solid $input-border;
|
border-bottom: 1px solid $input-border;
|
||||||
|
@ -183,7 +196,7 @@
|
||||||
width: 45px;
|
width: 45px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
border-radius: 23px;
|
border-radius: 23px;
|
||||||
margin: 7px 0 7px 7px;
|
margin: 7px 0px 7px 7px;
|
||||||
transition: all .2s ease-in-out;
|
transition: all .2s ease-in-out;
|
||||||
}
|
}
|
||||||
.name {
|
.name {
|
||||||
|
@ -265,6 +278,14 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media screen and (min-width: 1199px) {
|
||||||
|
.photo-td {
|
||||||
|
width: 55px;
|
||||||
|
}
|
||||||
|
.check-td{
|
||||||
|
width: 35px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.important {
|
.important {
|
||||||
color: $warning;
|
color: $warning;
|
||||||
|
@ -454,21 +475,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1300px) {
|
|
||||||
|
|
||||||
.mail-navigation-container {
|
|
||||||
width: 260px
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-message-navigation {
|
|
||||||
width: calc(100% - 260px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container {
|
|
||||||
width: calc(100% - 260px);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 1199px) {
|
@media screen and (max-width: 1199px) {
|
||||||
.name-h {
|
.name-h {
|
||||||
|
@ -483,17 +489,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 990px) {
|
@media screen and (max-width: 990px) {
|
||||||
.mail-navigation-container {
|
|
||||||
width: 200px
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-message-navigation {
|
|
||||||
width: calc(100% - 200px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container {
|
|
||||||
width: calc(100% - 200px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.person-info .human-picture {
|
.person-info .human-picture {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
|
@ -533,7 +528,13 @@
|
||||||
@media screen and (max-width: 760px) {
|
@media screen and (max-width: 760px) {
|
||||||
|
|
||||||
.mail-navigation-container {
|
.mail-navigation-container {
|
||||||
width: 175px
|
width: 175px;
|
||||||
|
.mail-navigation{
|
||||||
|
padding-left: 19px;
|
||||||
|
.new-mails {
|
||||||
|
left: 137px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.side-message-navigation {
|
.side-message-navigation {
|
||||||
|
@ -565,8 +566,9 @@
|
||||||
}
|
}
|
||||||
.mail-navigation {
|
.mail-navigation {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
padding-left: 23px;
|
||||||
.new-mails {
|
.new-mails {
|
||||||
left: 82%;
|
left: 116px;
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -755,16 +757,11 @@
|
||||||
body.badmin-transparent {
|
body.badmin-transparent {
|
||||||
.mail-navigation-container {
|
.mail-navigation-container {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 250px;
|
width: 200px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
.mail-navigation {
|
.mail-navigation {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
text-align: center;
|
|
||||||
.new-mails {
|
.new-mails {
|
||||||
position: absolute;
|
|
||||||
left: 85%;
|
|
||||||
padding: 1px 6px;
|
|
||||||
border: 1px solid;
|
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -786,7 +783,7 @@ body.badmin-transparent {
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-container, .side-message-navigation{
|
.message-container, .side-message-navigation{
|
||||||
width: calc(100% - 250px);
|
width: calc(100% - 200px);
|
||||||
border-bottom-right-radius: 5px;
|
border-bottom-right-radius: 5px;
|
||||||
border-top-right-radius: 5px;
|
border-top-right-radius: 5px;
|
||||||
border-left: 1px solid rgba(0, 0, 0, 0.12);
|
border-left: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
|
@ -798,14 +795,6 @@ body.badmin-transparent {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.labels-container {
|
|
||||||
text-align: center;
|
|
||||||
padding-right: 8px;
|
|
||||||
.label-item {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.labels, .add-label-container {
|
.labels, .add-label-container {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
@ -937,17 +926,6 @@ body.badmin-transparent {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mail-navigation-container {
|
|
||||||
width: 200px
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-message-navigation {
|
|
||||||
width: calc(100% - 200px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container {
|
|
||||||
width: calc(100% - 200px);
|
|
||||||
}
|
|
||||||
.back-button {
|
.back-button {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
|
@ -990,9 +968,8 @@ body.badmin-transparent {
|
||||||
.mail-navigation {
|
.mail-navigation {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
.new-mails {
|
.new-mails {
|
||||||
left: 82%;
|
padding: 0 5px;
|
||||||
padding: 0px 5px;
|
margin-top: 0;
|
||||||
margin-top: 0px;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.labels {
|
.labels {
|
||||||
|
|
|
@ -146,6 +146,7 @@
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
color: $help-text;
|
color: $help-text;
|
||||||
|
margin-bottom: 5px;
|
||||||
.post-time {
|
.post-time {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
input.task-todo {
|
input.task-todo {
|
||||||
margin-bottom: 14px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.todo-list {
|
ul.todo-list {
|
||||||
|
@ -126,7 +126,7 @@ body.badmin-transparent {
|
||||||
input.task-todo {
|
input.task-todo {
|
||||||
color: white;
|
color: white;
|
||||||
width: calc(100% - 25px);
|
width: calc(100% - 25px);
|
||||||
opacity: 0.9;
|
border-radius: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|
Loading…
Reference in New Issue