mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	treewide: format css files (MR 19)
This commit is contained in:
		
							parent
							
								
									83017c32ba
								
							
						
					
					
						commit
						1143d383a3
					
				
					 15 changed files with 140 additions and 138 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,6 @@
 | 
			
		|||
/*                  _     _ _                             __ _
 | 
			
		||||
/* Copyright 2021 Oliver Smith, Arnaud Ferraris
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 *                  _     _ _                             __ _
 | 
			
		||||
 *  _ __ ___   ___ | |__ (_) | ___        ___ ___  _ __  / _(_) __ _
 | 
			
		||||
 * | '_ ` _ \ / _ \| '_ \| | |/ _ \_____ / __/ _ \| '_ \| |_| |/ _` |
 | 
			
		||||
 * | | | | | | (_) | |_) | | |  __/_____| (_| (_) | | | |  _| | (_| |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,48 +1,48 @@
 | 
			
		|||
/* Copyright 2021 Oliver Smith
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@media (max-width: 700px) {
 | 
			
		||||
	.subviewbutton,
 | 
			
		||||
	.toolbaritem-combined-buttons {
 | 
			
		||||
	  font-size: 8pt;
 | 
			
		||||
	}
 | 
			
		||||
    .subviewbutton,
 | 
			
		||||
    .toolbaritem-combined-buttons {
 | 
			
		||||
        font-size: 8pt;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	#appMenu-protection-report-button,
 | 
			
		||||
	#appMenuRestoreLastSession,
 | 
			
		||||
	#appMenu-customize-button,
 | 
			
		||||
	#appMenu-open-file-button,
 | 
			
		||||
	#appMenu-more-button,
 | 
			
		||||
	#appMenu-developer-button,
 | 
			
		||||
	#appMenu-whatsnew-button,
 | 
			
		||||
	#appMenu-help-button,
 | 
			
		||||
	#appMenu-quit-button {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    #appMenu-protection-report-button,
 | 
			
		||||
    #appMenuRestoreLastSession,
 | 
			
		||||
    #appMenu-customize-button,
 | 
			
		||||
    #appMenu-open-file-button,
 | 
			
		||||
    #appMenu-more-button,
 | 
			
		||||
    #appMenu-developer-button,
 | 
			
		||||
    #appMenu-whatsnew-button,
 | 
			
		||||
    #appMenu-help-button,
 | 
			
		||||
    #appMenu-quit-button {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	toolbarseparator {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    toolbarseparator {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* Zoom/edit: move controls to the left (so they are visible), hide
 | 
			
		||||
	 * label (it's obvious what they do) and spacer */
 | 
			
		||||
	#appMenu-zoom-controls spacer,
 | 
			
		||||
	#appMenu-zoom-controls label,
 | 
			
		||||
	#appMenu-edit-controls spacer,
 | 
			
		||||
	#appMenu-edit-controls label {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    /* Zoom/edit: move controls to the left (so they are visible), hide
 | 
			
		||||
     * label (it's obvious what they do) and spacer */
 | 
			
		||||
    #appMenu-zoom-controls spacer,
 | 
			
		||||
    #appMenu-zoom-controls label,
 | 
			
		||||
    #appMenu-edit-controls spacer,
 | 
			
		||||
    #appMenu-edit-controls label {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* Zoom/edit: center the controls somewhat */
 | 
			
		||||
	#appMenu-zoom-controls {
 | 
			
		||||
	  padding-left: 20px;
 | 
			
		||||
	}
 | 
			
		||||
	#appMenu-edit-controls {
 | 
			
		||||
	  padding-left: 15px;
 | 
			
		||||
	}
 | 
			
		||||
    /* Zoom/edit: center the controls somewhat */
 | 
			
		||||
    #appMenu-zoom-controls {
 | 
			
		||||
        padding-left: 20px;
 | 
			
		||||
    }
 | 
			
		||||
    #appMenu-edit-controls {
 | 
			
		||||
        padding-left: 15px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* Zoom: hide fullscreen button (not possible to exit fullscreen
 | 
			
		||||
	 * without keyboard) */
 | 
			
		||||
	#appMenu-fullscreen-button {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    /* Zoom: hide fullscreen button (not possible to exit fullscreen
 | 
			
		||||
     * without keyboard) */
 | 
			
		||||
    #appMenu-fullscreen-button {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,27 +1,27 @@
 | 
			
		|||
/* Copyright 2021 Oliver Smith
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@media (max-width: 700px) {
 | 
			
		||||
	/* Findbar */
 | 
			
		||||
	[anonid="findbar-textbox-wrapper"] {
 | 
			
		||||
	  min-width: 160px;
 | 
			
		||||
	  width: 160px;
 | 
			
		||||
	}
 | 
			
		||||
	[anonid="findbar-textbox"] {
 | 
			
		||||
	 max-width: 100px;
 | 
			
		||||
	 min-width: 100px;
 | 
			
		||||
	 width: 100px;
 | 
			
		||||
	}
 | 
			
		||||
	.findbar-button {
 | 
			
		||||
	  font-size: 6pt;
 | 
			
		||||
	}
 | 
			
		||||
	/* Save space */
 | 
			
		||||
	.findbar-match-diacritics,
 | 
			
		||||
	.findbar-entire-word,
 | 
			
		||||
	.found-matches,
 | 
			
		||||
	.findbar-find-status,
 | 
			
		||||
	.find-status-icon
 | 
			
		||||
	{
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    /* Findbar */
 | 
			
		||||
    [anonid="findbar-textbox-wrapper"] {
 | 
			
		||||
        min-width: 160px;
 | 
			
		||||
        width: 160px;
 | 
			
		||||
    }
 | 
			
		||||
    [anonid="findbar-textbox"] {
 | 
			
		||||
        max-width: 100px;
 | 
			
		||||
        min-width: 100px;
 | 
			
		||||
        width: 100px;
 | 
			
		||||
    }
 | 
			
		||||
    .findbar-button {
 | 
			
		||||
        font-size: 6pt;
 | 
			
		||||
    }
 | 
			
		||||
    /* Save space */
 | 
			
		||||
    .findbar-match-diacritics,
 | 
			
		||||
    .findbar-entire-word,
 | 
			
		||||
    .found-matches,
 | 
			
		||||
    .findbar-find-status,
 | 
			
		||||
    .find-status-icon
 | 
			
		||||
    {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,33 +1,33 @@
 | 
			
		|||
/* Copyright 2021 Oliver Smith
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@media (max-width: 700px) {
 | 
			
		||||
	/* Popup notifications (install add-on etc.): set max-width, remove icon and
 | 
			
		||||
	 * make font smaller so it fits the box */
 | 
			
		||||
	.popup-notification-body-container {
 | 
			
		||||
	  max-width: 170px;
 | 
			
		||||
	}
 | 
			
		||||
	.popup-notification-icon {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
	.popup-notification-body {
 | 
			
		||||
	  font-size: 4pt;
 | 
			
		||||
	}
 | 
			
		||||
    /* Popup notifications (install add-on etc.): set max-width, remove icon and
 | 
			
		||||
     * make font smaller so it fits the box */
 | 
			
		||||
    .popup-notification-body-container {
 | 
			
		||||
        max-width: 170px;
 | 
			
		||||
    }
 | 
			
		||||
    .popup-notification-icon {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
    .popup-notification-body {
 | 
			
		||||
        font-size: 4pt;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* "Site information" (displayed when clicking the lock icon)
 | 
			
		||||
	 * Making everything so small doesn't look terribly nice, but least it fits the
 | 
			
		||||
	 * popup and everything is clickable. */
 | 
			
		||||
	#identity-popup-multiView .panel-viewcontainer {
 | 
			
		||||
	  font-size: 4pt;
 | 
			
		||||
	}
 | 
			
		||||
	#identity-popup-clear-sitedata-footer,
 | 
			
		||||
	#identity-popup-more-info-footer {
 | 
			
		||||
	  font-size: 7pt;
 | 
			
		||||
	}
 | 
			
		||||
    /* "Site information" (displayed when clicking the lock icon)
 | 
			
		||||
     * Making everything so small doesn't look terribly nice, but least it fits the
 | 
			
		||||
     * popup and everything is clickable. */
 | 
			
		||||
    #identity-popup-multiView .panel-viewcontainer {
 | 
			
		||||
        font-size: 4pt;
 | 
			
		||||
    }
 | 
			
		||||
    #identity-popup-clear-sitedata-footer,
 | 
			
		||||
    #identity-popup-more-info-footer {
 | 
			
		||||
        font-size: 7pt;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* "Protections" (displayed when clicking the shield icon)
 | 
			
		||||
	 * Same reasoning for small font, as for identity-popup above. */
 | 
			
		||||
	#protections-popup-mainView {
 | 
			
		||||
	  font-size: 4pt;
 | 
			
		||||
	}
 | 
			
		||||
    /* "Protections" (displayed when clicking the shield icon)
 | 
			
		||||
     * Same reasoning for small font, as for identity-popup above. */
 | 
			
		||||
    #protections-popup-mainView {
 | 
			
		||||
        font-size: 4pt;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
/* Copyright 2021 Oliver Smith
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
/* Reduce minimum window width */
 | 
			
		||||
:root {
 | 
			
		||||
  min-width: 300px !important;
 | 
			
		||||
    min-width: 300px !important;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,46 +1,46 @@
 | 
			
		|||
/* Copyright 2021 Oliver Smith
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
/* Reduce minimum window width */
 | 
			
		||||
#urlbar-container {
 | 
			
		||||
  min-width: 150px !important;
 | 
			
		||||
    min-width: 150px !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (max-width: 700px) {
 | 
			
		||||
	/* Remove various buttons left and right of the URL bar:
 | 
			
		||||
	   - forward-button: also reachable via longpress of back button
 | 
			
		||||
	   - home-button: not important enough
 | 
			
		||||
	   - customizableui-special-spring: empty space
 | 
			
		||||
	   - library-button: also reachable via PanelUI-menu-button
 | 
			
		||||
	   - sidebar-button: not useful on mobile (we try to gain horizontal space)
 | 
			
		||||
	   - fxa-toolbar-menu-button: firefox cloud stuff, also reachable via
 | 
			
		||||
	     #PanelUI-menu-button
 | 
			
		||||
	*/
 | 
			
		||||
	/* #back-button */
 | 
			
		||||
	#forward-button,
 | 
			
		||||
	/* #reload-button */
 | 
			
		||||
	#home-button,
 | 
			
		||||
	#customizableui-special-spring1,
 | 
			
		||||
	/* (urlbar) */
 | 
			
		||||
	#customizableui-special-spring2,
 | 
			
		||||
	#library-button,
 | 
			
		||||
	#sidebar-button,
 | 
			
		||||
	#fxa-toolbar-menu-button
 | 
			
		||||
	/* #PanelUI-menu-button */ {
 | 
			
		||||
	  display: none !important;
 | 
			
		||||
	}
 | 
			
		||||
    /* Remove various buttons left and right of the URL bar:
 | 
			
		||||
       - forward-button: also reachable via longpress of back button
 | 
			
		||||
       - home-button: not important enough
 | 
			
		||||
       - customizableui-special-spring: empty space
 | 
			
		||||
       - library-button: also reachable via PanelUI-menu-button
 | 
			
		||||
       - sidebar-button: not useful on mobile (we try to gain horizontal space)
 | 
			
		||||
       - fxa-toolbar-menu-button: firefox cloud stuff, also reachable via
 | 
			
		||||
         #PanelUI-menu-button
 | 
			
		||||
    */
 | 
			
		||||
    /* #back-button */
 | 
			
		||||
    #forward-button,
 | 
			
		||||
    /* #reload-button */
 | 
			
		||||
    #home-button,
 | 
			
		||||
    #customizableui-special-spring1,
 | 
			
		||||
    /* (urlbar) */
 | 
			
		||||
    #customizableui-special-spring2,
 | 
			
		||||
    #library-button,
 | 
			
		||||
    #sidebar-button,
 | 
			
		||||
    #fxa-toolbar-menu-button
 | 
			
		||||
    /* #PanelUI-menu-button */ {
 | 
			
		||||
        display: none !important;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* Smaller font: show more of the URL */
 | 
			
		||||
	#urlbar-input {
 | 
			
		||||
	  font-size: 9pt !important;
 | 
			
		||||
	}
 | 
			
		||||
    /* Smaller font: show more of the URL */
 | 
			
		||||
    #urlbar-input {
 | 
			
		||||
        font-size: 9pt !important;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
	/* Focused urlbar: hide all icons around it, so we have more space to edit the URL */
 | 
			
		||||
	#urlbar[focused] #identity-box,
 | 
			
		||||
	#urlbar[focused] #tracking-protection-icon-container,
 | 
			
		||||
	/* #urlbar-input */
 | 
			
		||||
	#urlbar[focused] #reader-mode-button,
 | 
			
		||||
	#urlbar[focused] #pageActionButton {
 | 
			
		||||
	  display: none;
 | 
			
		||||
	}
 | 
			
		||||
    /* Focused urlbar: hide all icons around it, so we have more space to edit the URL */
 | 
			
		||||
    #urlbar[focused] #identity-box,
 | 
			
		||||
    #urlbar[focused] #tracking-protection-icon-container,
 | 
			
		||||
    /* #urlbar-input */
 | 
			
		||||
    #urlbar[focused] #reader-mode-button,
 | 
			
		||||
    #urlbar[focused] #pageActionButton {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:addons"), url-prefix("about:addons") {
 | 
			
		||||
    :root {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:config") {
 | 
			
		||||
    #search-container,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:license") {
 | 
			
		||||
    @media (max-width: 500px) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:logins") {
 | 
			
		||||
    .container {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:policies"), url-prefix("about:policies") {
 | 
			
		||||
    @media (max-width: 830px) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document regexp("about:preferences.*") {
 | 
			
		||||
    .sticky-container {
 | 
			
		||||
| 
						 | 
				
			
			@ -14,7 +14,7 @@
 | 
			
		|||
    .fxaMobilePromo {
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    @media (max-width: 700px) {
 | 
			
		||||
        .fxaSyncIllustration {
 | 
			
		||||
            display: none;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:protections") {
 | 
			
		||||
    #report-content {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document url("about:rights") {
 | 
			
		||||
    @media (max-width: 500px) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
/* Copyright 2021 plata, Anri Dellal
 | 
			
		||||
   SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 * SPDX-License-Identifier: GPL-3.0-or-later */
 | 
			
		||||
 | 
			
		||||
@-moz-document regexp("about:(preferences|addons|policies).*") {
 | 
			
		||||
    .category-icon {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue