client_management/app/assets/stylesheets/client_management/dashboard.scss

279 lines
4.8 KiB
SCSS

.dashboard-wrapper {
margin: 25px;
.left-side{
display: inline-block;
width: 65%;
}
.right-side{
display: inline-block;
width: 32%;
margin-left: 30px;
position: sticky;
position: -webkit-sticky;
vertical-align: top;
top: 100px;
}
#url-box {
border: 1px solid #ddd;
background: #fff;
height: 45px;
width: auto;
padding:20px 50px 0 50px;
.site-title{
color: #337ab7;
font-size: 22px;
&:after{
margin-left: 30px;
content: "|";
color: #ddd;
}
}
.site-url{
margin-left: 40px;
font-style: italic;
font-size: 18px;
#site-url-edit-box{
display: inline-block;
button{
border: none;
background-color: #fff;
color: #337ab7;
font-size: 18px;
margin-bottom: 4px;
}
}
#edit-url-btn{
margin-left: 5px;
text-decoration: none;
font-size: 14px;
}
}
.request-type{
background-color: #09a231;
padding: 5px;
border-radius: 5px;
color: #fff;
font-size: 15px;
a{
color: #fff;
text-decoration: none;
}
}
}
#dashboard{
margin-top: 30px;
border: 1px solid #ddd;
background: #fff;
// width: calc(100% + 50px);
width: auto;
min-height: 545px;
padding:20px 25px 0 25px;
.conversations{
margin: 15px;
height: 70%;
width: 100%;
h3{
text-align: center;
color: #8a8a8a;
font-style: italic;
}
.conversation{
margin-bottom: 25px;
.avatar{
height: 50px;
width: 50px;
margin-right: 15px;
display: inline-block;
vertical-align: top;
.avatar-name{
text-align: center;
font-style: italic;
line-height: 14px;
}
.avatar-pic{
border-radius: 50px;
height: 50px;
width: 50px;
}
}
.message{
display: inline-block;
background-color: #e7ffc6;
border-radius: 20px;
padding: 20px;
width: calc(100% - 120px);
.date{
position: relative;
float: right;
vertical-align: top;
margin-right: 20px;
color: #838383;
font-style: italic;
.tagged-user{
text-align: right;
a{
text-decoration: none;
.tag-avatar-pic{
border-radius: 25px;
width: 20px;
height: 20px;
}
}
}
}
.content{
min-height: 50px;
font-size: 14px;
}
}
&.my{
.avatar{
margin-left: 15px;
margin-right: 0px;
}
.message {
text-align: right;
background-color: #ceecff;
.date {
float: left;
margin-left: 20px;
margin-right: 0px;
.tagged-user{
text-align: left;
}
}
}
}
}
}
.editor-wrapper{
margin-top: 35px;
padding-top: 20px;
border-top: 1px solid #cecece;
#post-loader{
text-align: center;
}
.ticket-internal-response-wrap{
margin-top: 20px;
.ticket-internal-response{
display: inline-block;
vertical-align: top;
margin: 0 5px 10px 0;
height: 44px;
line-height: 44px;
background: #888888;
color: white;
padding: 0 0.625rem;
font-family: "Roboto", sans-serif;
font-size: 14px;
border-radius: 0.125rem;
}
.ticket-tag-member{
margin-left: 35px;
display: inline-block;
.select2-container{
height: 44px;
min-width: 200px;
li.select2-search-choice{
// height: 40px;
div{
line-height: 30px;
font-size: 14px;
}
}
}
}
.submit-form-btn{
display: inline-block;
width: 100%;
input{
float: right;
}
}
}
}
}
}
#progress-tracker{
background-color: #fff;
height: 600px;
border: 1px solid #ddd;
h3{
text-align: center;
color: #8a8a8a;
border-bottom: 1px solid #ddd;
margin: 0 15px;
padding: 10px 0;
}
.departments{
margin: 15px;
.department{
margin: 15px 0;
h4{
font-size: 18px;
}
ul{
list-style: none;
input{
display: inline-block;
margin-top: 0;
// vertical-align: top;
}
label{
font-size: 16px;
display: inline-block;
margin-left: 10px;
}
.strikethrough{
text-decoration: line-through;
}
span.time{
margin-left: 20px;
font-size: 16px;
font-style: italic;
&.deadline{
color: red;
}
&.completed{
color: green;
}
}
}
}
}
}
.select2-result{
img {
width: 50px;
}
}
#timeline-box{
border: 1px solid #ddd;
background: #fff;
width: auto;
min-height: 350px;
padding: 10px 50px 0 50px;
margin-top: 20px;
transition: 0.3s;
&.collapsed{
min-height: 45px !important;
h3.sub-title{
border-bottom: none;
}
}
h3.sub-title{
color: #337ab7;
font-size: 18px;
border-bottom: 1px solid #ddd;
a{
text-decoration: none;
outline: none;
}
}
#timeline-chart{
transition: 0.3s;
}
}