mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 09:03:21 +00:00 
			
		
		
		
	GUAC-1120: Use flex layout for headers containing the user menu.
This commit is contained in:
		| @@ -51,12 +51,15 @@ h1 { | ||||
| } | ||||
|  | ||||
| h2 { | ||||
|  | ||||
|     font-size: 1.25em; | ||||
|     font-weight: bold; | ||||
|     padding: 0.75em 0.5em; | ||||
|  | ||||
|     text-transform: uppercase; | ||||
|     padding: 0.75em 0.5em; | ||||
|     margin: 0; | ||||
| } | ||||
|  | ||||
| .header { | ||||
|  | ||||
|     border-bottom: 1px solid rgba(0, 0, 0, 0.125); | ||||
|     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125); | ||||
|     background: rgba(0, 0, 0, 0.04); | ||||
| @@ -64,13 +67,47 @@ h2 { | ||||
|     margin-bottom: 1em; | ||||
|     margin-top: 0; | ||||
|     border-top: none; | ||||
|  | ||||
|     /* IE10 */ | ||||
|     display: -ms-flexbox; | ||||
|     -ms-flex-align: stretch; | ||||
|     -ms-flex-direction: row; | ||||
|  | ||||
|     /* Ancient Mozilla */ | ||||
|     display: -moz-box; | ||||
|     -moz-box-align: stretch; | ||||
|     -moz-box-orient: horizontal; | ||||
|      | ||||
|     /* Ancient WebKit */ | ||||
|     display: -webkit-box; | ||||
|     -webkit-box-align: stretch; | ||||
|     -webkit-box-orient: horizontal; | ||||
|  | ||||
|     /* Old WebKit */ | ||||
|     display: -webkit-flex; | ||||
|     -webkit-align-items: stretch; | ||||
|     -webkit-flex-direction: row; | ||||
|  | ||||
|     /* W3C */ | ||||
|     display: flex; | ||||
|     align-items: stretch; | ||||
|     flex-direction: row; | ||||
|  | ||||
| } | ||||
|  | ||||
| h2 ~ h2 { | ||||
| .header ~ .header { | ||||
|     margin-top: 1em; | ||||
|     border-top: 1px solid rgba(0, 0, 0, 0.125); | ||||
| } | ||||
|  | ||||
| .header h2 { | ||||
|     -ms-flex: 1 1 auto; | ||||
|     -moz-box-flex: 1; | ||||
|     -webkit-box-flex: 1; | ||||
|     -webkit-flex: 1 1 auto; | ||||
|     flex: 1 1 auto; | ||||
| } | ||||
|  | ||||
| div.section { | ||||
|     margin: 1em; | ||||
|     padding: 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user