You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			270 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			SCSS
		
	
			
		
		
	
	
			270 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			SCSS
		
	
| .message-detail-wrapper {
 | |
|   height: calc(100% - 48px);
 | |
|   width: 100%;
 | |
|   overflow-y: auto;
 | |
|   z-index: 2;
 | |
| }
 | |
| 
 | |
| .message-container {
 | |
|   list-style: none;
 | |
| 
 | |
|   li {
 | |
|     margin-bottom: 2px;
 | |
| 
 | |
|     &::after {
 | |
|       visibility: hidden;
 | |
|       display: block;
 | |
|       font-size: 0;
 | |
|       content: ' ';
 | |
|       clear: both;
 | |
|       height: 0;
 | |
|     }
 | |
|   }
 | |
| }
 | |
| 
 | |
| .module-message__check-box {
 | |
|   color: rgb(97, 97, 97);
 | |
|   font-size: 20px;
 | |
|   padding: 4px;
 | |
|   user-select: none;
 | |
|   display: inline;
 | |
| }
 | |
| 
 | |
| .check-box-container {
 | |
|   // background-color: blue;
 | |
|   align-items: center;
 | |
|   flex-direction: row;
 | |
|   display: inline-flex;
 | |
| }
 | |
| 
 | |
| .check-box-selected {
 | |
|   opacity: 1;
 | |
| }
 | |
| 
 | |
| .public-chat-message-wrapper {
 | |
|   padding-inline-start: 10px;
 | |
|   padding-inline-end: 10px;
 | |
| }
 | |
| 
 | |
| .group-invitation-container {
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
| }
 | |
| 
 | |
| .group-invitation {
 | |
|   background-color: #f4f4f0;
 | |
|   display: inline-block;
 | |
|   margin: 4px 16px;
 | |
|   padding: 4px;
 | |
| 
 | |
|   border: solid;
 | |
|   border-width: 0.5px;
 | |
|   border-radius: 4px;
 | |
|   border-color: #e0e0e0;
 | |
| 
 | |
|   align-self: flex-start;
 | |
| 
 | |
|   box-shadow: none;
 | |
| 
 | |
|   .title {
 | |
|     margin: 6px;
 | |
|     color: darkslategray;
 | |
|     font-variant-caps: all-small-caps;
 | |
|     user-select: none;
 | |
|   }
 | |
| 
 | |
|   .contents {
 | |
|     display: flex;
 | |
|     align-items: center;
 | |
|     margin: 6px;
 | |
| 
 | |
|     .invite-group-avatar {
 | |
|       height: 48px;
 | |
|       width: 48px;
 | |
|     }
 | |
| 
 | |
|     .group-details {
 | |
|       display: inline-flex;
 | |
|       flex-direction: column;
 | |
| 
 | |
|       padding: 8px;
 | |
| 
 | |
|       .group-name {
 | |
|         font-weight: lighter;
 | |
|         padding-bottom: 4px;
 | |
|       }
 | |
| 
 | |
|       .group-address {
 | |
|         color: grey;
 | |
|       }
 | |
|     }
 | |
| 
 | |
|     .join-btn {
 | |
|       background-color: #00f782;
 | |
|       color: white;
 | |
|       padding: 6px 10px;
 | |
|       margin-inline-start: 6px;
 | |
|       border-radius: 2px;
 | |
|       box-shadow: none;
 | |
|       user-select: none;
 | |
|       cursor: pointer;
 | |
|       transition: $session-transition-duration;
 | |
| 
 | |
|       &:hover {
 | |
|         background-color: #00d672;
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| }
 | |
| 
 | |
| .dark-theme {
 | |
|   .group-invitation {
 | |
|     background-color: #242424;
 | |
|     border-color: #303030;
 | |
|     box-shadow: none;
 | |
| 
 | |
|     .title {
 | |
|       color: lightgrey;
 | |
|     }
 | |
|   }
 | |
| }
 | |
| 
 | |
| .invitation-outgoing {
 | |
|   align-self: flex-end;
 | |
| }
 | |
| 
 | |
| .typing-bubble-wrapper {
 | |
|   margin-bottom: 20px;
 | |
| }
 | |
| 
 | |
| .contact-detail-pane {
 | |
|   overflow-y: scroll;
 | |
|   padding-top: 40px;
 | |
|   padding-bottom: 40px;
 | |
| }
 | |
| 
 | |
| // We need to use the wrapper because the conversation view calculates the height of all
 | |
| //   things in the composition area. A margin on an inner div won't be included in that
 | |
| //   height calculation.
 | |
| .bottom-bar .quote-wrapper {
 | |
|   margin-inline-start: 37px;
 | |
|   margin-inline-end: 73px;
 | |
|   margin-top: 3px;
 | |
|   margin-bottom: -5px;
 | |
| }
 | |
| 
 | |
| .bottom-bar .preview-wrapper {
 | |
|   margin-top: 3px;
 | |
|   margin-inline-start: 37px;
 | |
|   margin-inline-end: 73px;
 | |
|   margin-bottom: 2px;
 | |
| }
 | |
| 
 | |
| .bottom-bar {
 | |
|   box-sizing: content-box;
 | |
|   $button-width: 36px;
 | |
|   @include themify($themes) {
 | |
|     border-top: themed('sessionBorder');
 | |
|   }
 | |
| 
 | |
|   form.send {
 | |
|     margin-bottom: 0px;
 | |
|     background: $color-white;
 | |
| 
 | |
|     &.video-attachment {
 | |
|       .image-container {
 | |
|         position: relative;
 | |
|       }
 | |
| 
 | |
|       .outer {
 | |
|         position: absolute;
 | |
|         top: 0;
 | |
|         right: 0;
 | |
|         bottom: 0;
 | |
|         left: 0;
 | |
| 
 | |
|         text-align: center;
 | |
|         display: flex;
 | |
|         align-items: center;
 | |
|         justify-content: center;
 | |
| 
 | |
|         .play.icon {
 | |
|           height: 30px;
 | |
|           width: 30px;
 | |
| 
 | |
|           @include color-svg('../images/play.svg', white);
 | |
|         }
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   .attachment-previews {
 | |
|     padding: 0 36px;
 | |
|     margin-bottom: 3px;
 | |
| 
 | |
|     .attachment-preview {
 | |
|       padding: 13px 10px 0;
 | |
|     }
 | |
|     img {
 | |
|       border: 2px solid #ddd;
 | |
|       border-radius: $border-radius;
 | |
|       max-height: 100px;
 | |
|     }
 | |
| 
 | |
|     .close {
 | |
|       position: absolute;
 | |
|       top: 5px;
 | |
|       right: 2px;
 | |
|       background: #999;
 | |
| 
 | |
|       &:hover {
 | |
|         background: $grey;
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   .flex {
 | |
|     display: flex;
 | |
|     flex-direction: row;
 | |
|     align-items: center;
 | |
|     margin-bottom: 7px;
 | |
|     padding: 0px 15px;
 | |
| 
 | |
|     .send-message {
 | |
|       flex-grow: 1;
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   .choose-file {
 | |
|     float: left;
 | |
|     height: 36px;
 | |
|   }
 | |
|   .send-message {
 | |
|     display: block;
 | |
|     max-height: 100px;
 | |
|     padding: 10px;
 | |
|     border-radius: 4px;
 | |
|     margin-top: 3px;
 | |
|     margin-bottom: 6px;
 | |
|     color: $color-light-90;
 | |
|     border: 1px solid rgba(0, 0, 0, 0.2);
 | |
|     outline: 0;
 | |
|     z-index: 5;
 | |
|     resize: none;
 | |
|     font-size: 1em;
 | |
|     font-family: inherit;
 | |
| 
 | |
|     &[disabled='disabled'] {
 | |
|       cursor: not-allowed;
 | |
|     }
 | |
|   }
 | |
|   .capture-audio {
 | |
|     float: right;
 | |
|     height: 36px;
 | |
|   }
 | |
|   .android-length-warning {
 | |
|     padding: 10px;
 | |
|     max-width: 150px;
 | |
|   }
 | |
| }
 |