forked from mirrors/gecko-dev
		
	 097eb3703e
			
		
	
	
		097eb3703e
		
	
	
	
	
		
			
			Done mostly automatically via find/replace following the conversions specified here: https://groups.google.com/a/mozilla.org/g/firefox-dev/c/9sGpF1TNbLk/m/QpU3oTUuAgAJ For the most part I think the "flex: N N" usage could be simplified to just "flex: N", but I wanted to preserve behavior (-moz-box-flex sets both flex-grow and flex-shrink). I changed legacy layout to also look at the order property rather than -moz-box-ordinal-group because it made splitters and treecols easier (we don't need to deal with both orders). Differential Revision: https://phabricator.services.mozilla.com/D171715
		
			
				
	
	
		
			139 lines
		
	
	
	
		
			3.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			139 lines
		
	
	
	
		
			3.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| .identity-color-blue {
 | |
|   --identity-tab-color: #37adff;
 | |
|   --identity-icon-color: #37adff;
 | |
| }
 | |
| 
 | |
| .identity-color-turquoise {
 | |
|   --identity-tab-color: #00c79a;
 | |
|   --identity-icon-color: #00c79a;
 | |
| }
 | |
| 
 | |
| .identity-color-green {
 | |
|   --identity-tab-color: #51cd00;
 | |
|   --identity-icon-color: #51cd00;
 | |
| }
 | |
| 
 | |
| .identity-color-yellow {
 | |
|   --identity-tab-color: #ffcb00;
 | |
|   --identity-icon-color: #ffcb00;
 | |
| }
 | |
| 
 | |
| .identity-color-orange {
 | |
|   --identity-tab-color: #ff9f00;
 | |
|   --identity-icon-color: #ff9f00;
 | |
| }
 | |
| 
 | |
| .identity-color-red {
 | |
|   --identity-tab-color: #ff613d;
 | |
|   --identity-icon-color: #ff613d;
 | |
| }
 | |
| 
 | |
| .identity-color-pink {
 | |
|   --identity-tab-color: #ff4bda;
 | |
|   --identity-icon-color: #ff4bda;
 | |
| }
 | |
| 
 | |
| .identity-color-purple {
 | |
|   --identity-tab-color: #af51f5;
 | |
|   --identity-icon-color: #af51f5;
 | |
| }
 | |
| 
 | |
| .identity-color-toolbar {
 | |
|   --identity-tab-color: var(--toolbar-field-color);
 | |
|   --identity-icon-color: var(--toolbar-field-color);
 | |
| }
 | |
| 
 | |
| .identity-icon-fence {
 | |
|   --identity-icon: url("resource://usercontext-content/fence.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-fingerprint {
 | |
|   --identity-icon: url("resource://usercontext-content/fingerprint.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-briefcase {
 | |
|   --identity-icon: url("resource://usercontext-content/briefcase.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-dollar {
 | |
|   --identity-icon: url("resource://usercontext-content/dollar.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-cart {
 | |
|   --identity-icon: url("resource://usercontext-content/cart.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-circle {
 | |
|   --identity-icon: url("resource://usercontext-content/circle.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-vacation {
 | |
|   --identity-icon: url("resource://usercontext-content/vacation.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-gift {
 | |
|   --identity-icon: url("resource://usercontext-content/gift.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-food {
 | |
|   --identity-icon: url("resource://usercontext-content/food.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-fruit {
 | |
|   --identity-icon: url("resource://usercontext-content/fruit.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-pet {
 | |
|   --identity-icon: url("resource://usercontext-content/pet.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-tree {
 | |
|   --identity-icon: url("resource://usercontext-content/tree.svg");
 | |
| }
 | |
| 
 | |
| .identity-icon-chill {
 | |
|   --identity-icon: url("resource://usercontext-content/chill.svg");
 | |
| }
 | |
| 
 | |
| #userContext-indicator {
 | |
|   height: 16px;
 | |
|   width: 16px;
 | |
|   margin-inline-start: 3px;
 | |
| }
 | |
| 
 | |
| #userContext-label {
 | |
|   margin: 0;
 | |
|   color: var(--identity-tab-color);
 | |
| }
 | |
| 
 | |
| #userContext-icons {
 | |
|   align-items: center;
 | |
| }
 | |
| 
 | |
| .tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
 | |
|   background-color: var(--identity-icon-color);
 | |
|   height: 2px;
 | |
|   border-radius: 2px;
 | |
|   margin: -3px 2px 0;
 | |
| }
 | |
| 
 | |
| .userContext-icon,
 | |
| .subviewbutton[usercontextid] > .toolbarbutton-icon,
 | |
| #userContext-indicator {
 | |
|   background-image: var(--identity-icon);
 | |
|   -moz-context-properties: fill;
 | |
|   fill: var(--identity-icon-color);
 | |
|   background-size: contain;
 | |
|   background-repeat: no-repeat;
 | |
|   background-position: center center;
 | |
| }
 | |
| 
 | |
| .menuitem-iconic[data-usercontextid] {
 | |
|   list-style-image: var(--identity-icon);
 | |
|   -moz-context-properties: fill;
 | |
|   fill: var(--identity-icon-color);
 | |
| }
 |