48 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			SCSS
		
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			SCSS
		
	
	
/*
 | 
						|
Copyright 2015, 2016 OpenMarket Ltd
 | 
						|
 | 
						|
Licensed under the Apache License, Version 2.0 (the "License");
 | 
						|
you may not use this file except in compliance with the License.
 | 
						|
You may obtain a copy of the License at
 | 
						|
 | 
						|
    http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 | 
						|
Unless required by applicable law or agreed to in writing, software
 | 
						|
distributed under the License is distributed on an "AS IS" BASIS,
 | 
						|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
See the License for the specific language governing permissions and
 | 
						|
limitations under the License.
 | 
						|
*/
 | 
						|
 | 
						|
.mx_MFileBody_download {
 | 
						|
    color: $accent-color;
 | 
						|
}
 | 
						|
 | 
						|
.mx_MFileBody_download a {
 | 
						|
    color: $accent-color;
 | 
						|
    text-decoration: none;
 | 
						|
    cursor: pointer;
 | 
						|
}
 | 
						|
 | 
						|
.mx_MFileBody_download object {
 | 
						|
    margin-left: -16px;
 | 
						|
    padding-right: 4px;
 | 
						|
    margin-top: -4px;
 | 
						|
    vertical-align: middle;
 | 
						|
    pointer-events: none;
 | 
						|
}
 | 
						|
 | 
						|
/* Remove the border and padding for iframes for download links. */
 | 
						|
.mx_MFileBody_download iframe {
 | 
						|
    margin: 0px;
 | 
						|
    padding: 0px;
 | 
						|
    border: none;
 | 
						|
    width: 100%;
 | 
						|
    /* Set the height of the iframe to be 1 line of text.
 | 
						|
     * Iframes don't automatically size themselves to fit their content.
 | 
						|
     * So either we have to fix the height of the iframe using CSS or
 | 
						|
     * use javascript's cross-origin postMessage API to communicate how
 | 
						|
     * big the content of the iframe is. */
 | 
						|
    height: 1.5em;
 | 
						|
}
 |