polyglot/app/assets/stylesheets/pages/_messages.scss

127 lines
3.1 KiB
SCSS
Raw Permalink Normal View History

2018-09-06 00:59:16 +00:00
.messages-container-container {
2018-09-06 11:45:57 +00:00
background-color: $card-background;
2018-09-06 00:59:16 +00:00
width: 100%;
height: 100vh;
position: relative;
2018-09-06 11:45:57 +00:00
margin-left: 15px;
display: flex;
justify-content: center;
align-items: center;
2018-09-06 00:59:16 +00:00
.chat {
position: absolute;
2018-09-06 11:45:57 +00:00
bottom: 100px;
2018-09-06 14:39:50 +00:00
width: 75%;
2018-09-06 00:59:16 +00:00
}
}
2018-09-06 14:39:50 +00:00
.information-container {
2018-09-06 11:45:57 +00:00
height: 81%;
padding: 38px;
width: 90%;
border-radius: 15px;
background-color: $light-gray;
2018-09-06 00:59:16 +00:00
}
2018-09-06 14:39:50 +00:00
#messages-container {
overflow: scroll;
overflow-x: hidden;
2018-09-06 16:52:18 +00:00
height: 75%;
2018-09-06 14:39:50 +00:00
}
2018-09-06 00:59:16 +00:00
select:not([multiple]) {
-webkit-appearance: none;
-moz-appearance: none;
background-position: right 50%;
background-repeat: no-repeat;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
padding: .5em;
padding-right: 1.5em;
}
#language-1 {
2018-09-06 13:22:11 +00:00
border-radius: 12px;
2018-09-06 00:59:16 +00:00
}
.avatar-sm {
width: 35px;
height: 35px;
2018-09-06 11:45:57 +00:00
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5)
2018-09-06 00:59:16 +00:00
}
.messageDiv {
display: flex;
align-items: center;
padding-top: 10px;
padding-bottom: 10px;
p {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 8px;
padding-right: 8px;
2018-09-06 11:45:57 +00:00
background-color: #f9bab3;
2018-09-06 00:59:16 +00:00
color: $navbar-background;
2018-09-06 11:45:57 +00:00
border-radius: 10px;
2018-09-06 00:59:16 +00:00
}
&.right {
flex-direction: row-reverse;
p {
background-color: $primary;
color: white !important;
}
}
}
.margin-left {
margin-left: 10px;
}
2018-09-06 11:45:57 +00:00
.text-center {
text-align: center;
}
.hover-notice {
display: flex;
justify-content: center;
}
.input-transparent {
background-color: transparent;
border: none;
box-shadow: none;
&:focus {
box-shadow: none;
}
}
.send-button {
background: none;
border: none;
box-shadow: none;
color: gray;
&:focus {
box-shadow: none;
}
}
2018-09-06 13:17:24 +00:00
.chat-information {
display:flex;
justify-content: space-between;
align-items: center;
}
.input-group{
width: 100%;
}
.form-inline{
width: 100%;
}
.guyisbadass{
width: 85%;
}