Commit graph

722 commits

Author SHA1 Message Date
MrOtherGuy
b3730074ba create urlbar_container_color_border.css 2021-11-14 07:30:53 +02:00
MrOtherGuy
946668e9a1 Handle different bookmarks item heights better
Bookmark items in the toolbar may not be same height on all systems,
generally the text size on Linux is bigger than on Windows for example.
This patch changes the height to use min-height on bookmark items and
removes their individual block padding. Thus, thee effectively have
variable block-padding depending on the text size.

In addition this patch removes few pre-proton workarounds because those
don't need to be supported any more.
2021-11-13 09:26:18 +02:00
MrOtherGuy
2d7f31b766 make sure bookmarks toolbar isn't collapsed in fullscreen mode. fixes #154 2021-11-10 21:10:52 +02:00
MrOtherGuy
fe534d6224 make #tab-notification-deck always be closest "toolbar" to content 2021-11-06 22:23:29 +02:00
MrOtherGuy
1a9cbceb7c floating-findbar: make findbar-status able to be clipped
Before this change, the status would show fully, so on narrow windows
the input controls and close button would be pushed out of the window.
Now the status text will instead get clipped.
2021-11-06 12:10:00 +02:00
MrOtherGuy
357e5bc0b4 create selected_tab_gradient_border.css 2021-11-04 12:24:20 +02:00
MrOtherGuy
b6ae559352 multi-row-tabs: remove bottom-margin from tabs-newtab-button
The 1px bottom margin may have small visible effect for row-height computation
in which case the visible height may be thrown off by a little bit. This
patch fixes that issue.
2021-11-01 18:39:58 +02:00
MrOtherGuy
d0c5ac941c inline-audio-icons: add opacity:1 to throbber so it shows in compact mode 2021-11-01 06:58:42 +02:00
MrOtherGuy
1ae35459e1 Make developer-icon use new correct image path 2021-10-31 20:37:10 +02:00
MrOtherGuy
233d758f08 hide_tabs_toolbar: make the style work better with titlebar and menubar 2021-10-29 17:42:16 +03:00
MrOtherGuy
81a385bd63 window control button visibility changes 2021-10-16 08:51:07 +03:00
MrOtherGuy
f973f447a1 use absolute positioning for window controls in fullscreen 2021-10-16 08:47:27 +03:00
MrOtherGuy
b1125f81ff Show titlebar-buttonbox if it's last-child, and make it use --toolbar-color
Using --toolbar-color allow the icons to show up if the selected theme
has light tabs but dark toolbar, and vice versa. In 95 there is no
separate #window-controls for fullscreen, and thus the titlebar-buttonbox-container
becomes last-child which we don't want to hide.
2021-10-16 07:27:31 +03:00
MrOtherGuy
7801318d78 add -1px margin for multiselected tab-background
This makes the tabs to draw 1px on top of each other which should make
multiselected tabs look better with and without tab separators
2021-10-13 16:14:06 +03:00
MrOtherGuy
9ad96bb6f3 Set multiselected tabs to have tab hover background color. Fixes #150 2021-10-11 17:44:40 +03:00
MrOtherGuy
33a655de9e remove toolbox bottom border and improve compatibility with autohide_toolbox.css 2021-09-25 11:42:50 +03:00
MrOtherGuy
c50e8aa8aa remove max-height from panels so their content shows properly on linux 2021-09-23 23:31:21 +03:00
MrOtherGuy
6214f6e1e7 separate window-control-drag-space-width to -pre and -post
This way we can handle maximized windows not having the other drag space
like Firefox does normally. This patch additionally adds window control
width values for Win7 Win8 and linux
2021-09-19 20:31:30 +03:00
MrOtherGuy
a73238a267 fix tabs-newtab-button appearance 2021-09-19 20:15:26 +03:00
MrOtherGuy
96f2ba5977 add default disabled option to show bookmarks below tabs 2021-09-19 19:38:20 +03:00
Jan-T. Brinkmann
47111e79b5
fix window_control_placeholder_support showing buttons on fullscreen (#147) 2021-09-19 18:57:33 +03:00
MrOtherGuy
2a3c116fd1 improvements for bookmarks toolbar background image alignment 2021-09-17 20:33:22 +03:00
MrOtherGuy
bbcea9a26f make autohide_menubar and toolbars_below_content work together
This change adds a few variables to both styles that "communicate" with
each other. This autohide_menubar is pretty useful if toolbars are
below content so while this does introduce complexity, it's probably worth it.
2021-09-10 19:07:31 +03:00
MrOtherGuy
2cea8f0710 decrease the top margin specificity for menubar and browser 2021-09-10 17:21:49 +03:00
MrOtherGuy
23d779126c Make tabs use correct height 2021-09-09 16:19:46 +03:00
MrOtherGuy
50f77aea20 use correct path for private mode indicator 2021-09-09 05:25:27 +03:00
MrOtherGuy
e278651723 create menulike_bookmarks_folder_popups.css 2021-09-08 05:55:16 +03:00
MrOtherGuy
7037462678 use -webkit-box instead of flex for nav-bar so extension panels can work 2021-09-01 15:58:37 +03:00
MrOtherGuy
da2ee8b244 use display: -webkit-box instead of flex for nav-bar
display: flex breaks extension menus but -webkit-box doesn't, so lets
use that while it works.
2021-09-01 15:49:26 +03:00
MrOtherGuy
4f2cce8b10 chrome/urlbar_popup_full_width.css: fix incorrect header link 2021-08-27 23:22:44 +03:00
MrOtherGuy
bd53d19665 replace --lwt-toolbar-field-x variables with new versions
Firefox 91 still uses some old variants, so this style adds temporary
dummy variables to several styles to make <91 work.
2021-08-26 10:01:45 +03:00
MrOtherGuy
cea26c1564 replace --lwt-toolbar-field-border-color with --toolbar-field-border-color 2021-08-26 09:24:21 +03:00
MrOtherGuy
568c1cd86b create a few exceptions for default light theme colors
This lets default light theme to use toolbar-bgcolor for the selected
theme as well as make the line atop of selected tab (with default light theme) show as blue as per
Photon styling.
2021-08-26 08:59:45 +03:00
MrOtherGuy
e2a2974038 inline_tab_audio_icons: increase size of audio icon and move it closer to favicon
decreasing the padding allows icon to be bigger. Modifying inline-margin
moves it closer to favicon and also pushes label towards it. This allows
the style to work better with default tab min width (76px) which is not
wide enough to fit favicon, audio icon and close button.
2021-08-23 11:53:00 +03:00
MrOtherGuy
ebe138c7a0 autohide_toolbox: set top margin to 0 in fullscreen. Fixes #137 2021-08-22 09:50:08 +03:00
MrOtherGuy
3f19d7159c have urlbar-icons scale using transform instead of padding 2021-08-21 14:07:18 +03:00
MrOtherGuy
51ae368931 edit Windows window top padding values for the toolbox 2021-08-18 05:23:43 +03:00
MrOtherGuy
c39e2b1c47 create textual_searchbar_one-offs.css 2021-08-17 19:12:57 +03:00
MrOtherGuy
1e0b86cca4 remove pointer-events from titlebar if cursor is not over the toolbox
This allows the style to work with tabs_on_bottom.css without causing
tabs to appear when close to the top of the web-content, which would
make top ~36px inaccessible.
2021-08-14 14:57:25 +03:00
MrOtherGuy
2519e685aa add background to the toolbox if -lwtheme is not in use
Practically this means that if white variant of system theme is used
then tabs toolbar background is set to very light gray
2021-08-14 14:54:21 +03:00
MrOtherGuy
de04813ed2 make window controls visible when used with autohide_tabstoolbar.css 2021-08-14 12:09:26 +03:00
MrOtherGuy
79a02e1a2f use searc-clear.svg for app close button 2021-08-13 13:18:53 +03:00
MrOtherGuy
f3c29ec2a4 replace --lwt-toolbarbutton-icon-fill with --toolbarbutton-icon-fill 2021-08-07 15:17:42 +03:00
MrOtherGuy
e253f06703 don't set toolbarbutton-icon-fill in toolbars 2021-08-07 15:14:56 +03:00
MrOtherGuy
9373c52d63 exclude some input elements from background-color 2021-08-05 16:21:04 +03:00
MrOtherGuy
18377906d8 don't set left border to overflow-pinned tabs
This was perhaps once required, but nowadays the border just breaks
pinned tabs layout
2021-08-01 11:29:25 +03:00
MrOtherGuy
81a94ba8d4 Set custom backgrounds always rather than depending on lwtheme-image
:root[lwtheme-image] doesn't necessarily work with all themes
2021-07-31 00:21:22 +03:00
MrOtherGuy
04e15aba61 add multi-image background to bookmark toolbar if theme has header image
This is a workaround for an issue where the toolbar background may be
transparent if theme uses non-opaque toolbar background-color
2021-07-31 00:03:00 +03:00
MrOtherGuy
cdb336f35e fix some background-color and alignment problems of statusbar 2021-07-26 09:09:50 +03:00
MrOtherGuy
a279d575f9 replace the image source for fake dropdown arrow 2021-07-26 08:49:27 +03:00
MrOtherGuy
4171cf0332 set --tab-line-color override in tabbrowser-tabs 2021-07-18 20:47:20 +03:00
MrOtherGuy
0af7342d1b rewrite autohide_tabstoolbar.css 2021-07-17 14:12:40 +03:00
MrOtherGuy
1cbac45914 split up :hover and :focus-within so they cab be changed individually 2021-07-16 12:28:39 +03:00
MrOtherGuy
95456bc3bb add pointer-events to the whole .tab-icon-stack 2021-07-16 12:16:19 +03:00
MrOtherGuy
c7061ab793 make pointer-events apply to more elements 2021-07-16 11:51:09 +03:00
MrOtherGuy
dcdc03519c make some styles less dependent on color-mix pref 2021-07-15 13:55:03 +03:00
MrOtherGuy
1fcfc2eb20 update selectors to match fx92 2021-07-14 07:04:38 +03:00
MrOtherGuy
5919b68fb9 use built-in variable to better determine correct height for toolbar 2021-07-13 19:42:27 +03:00
MrOtherGuy
6750f88bb7 use the darker dark proton background color for additional windows 2021-07-07 16:51:10 +03:00
MrOtherGuy
aec5328ff0 use more proton-like color scheme 2021-07-07 16:45:15 +03:00
MrOtherGuy
df1d7fae32 create dark_date_picker_panel.css 2021-07-06 21:59:53 +03:00
MrOtherGuy
73a9bdd072 Define color variables for the notification popup
Variable values are defined such that Firefox' own rules will override
them where applicable (Win10 currently). This change lets us simplify
css by not requiring fallback values and it is clearer since color definitions are all in one place.
2021-07-05 17:27:33 +03:00
MS_Y
e2e4fba00d
Notifications using firefox's cssvars (#122)
* notifications using firefox's cssvars

* Proton dark notification border color like windows10
2021-07-05 16:06:55 +03:00
MrOtherGuy
7893bb7db3 apply settings button properties to .box-inherit and remove notification window background 2021-07-04 16:28:49 +03:00
MrOtherGuy
2a101b1d3a don't set height for .tabbrowser-tab 2021-07-03 23:52:55 +03:00
MrOtherGuy
bbce8589bc make tabs use --tab-block-margin correctly 2021-07-02 23:18:11 +03:00
MrOtherGuy
f3cf989c1b correctly remove effects in customizing mode 2021-07-02 12:34:43 +03:00
MrOtherGuy
f1eabd163c create centered_tab_label.css 2021-06-30 09:35:04 +03:00
MrOtherGuy
8c5e03127f use opacity:0 to instead of visibility:hidden to hide urlbar children 2021-06-30 09:11:19 +03:00
MrOtherGuy
eaf356c0d1 Revert "use opacity:0 instead of visibility:hidden on urlbar-input children"
This reverts commit caa0fe4371.
2021-06-30 09:08:25 +03:00
MrOtherGuy
4388d8497c add note about color-mix pref 2021-06-27 10:23:03 +03:00
MrOtherGuy
803c27a783 make loading line work better with proton theming 2021-06-27 10:18:02 +03:00
MrOtherGuy
32c9b4dd54 Don't important-remove the selected tab animation 2021-06-27 10:10:43 +03:00
MrOtherGuy
fe225ee5ec create menupopups_forced_color_schemes.css 2021-06-26 14:23:39 +03:00
MrOtherGuy
54efe6c5c5 set loading indicator width to 0 when collapsed 2021-06-26 14:06:27 +03:00
MrOtherGuy
19f7e118b4 convert loading indicator to use .tab-icon-stack as a parent 2021-06-26 12:59:32 +03:00
MrOtherGuy
b0ed451d7b make sure the line animates only in hovered nonselected tabs
that should have already been the case previously, but if one were to
use some other custom style that added .tab-background::before pseudo
element, then all tabs would have a playing animation which would have
trashed performance.
2021-06-26 09:57:25 +03:00
MrOtherGuy
5617572b9a create loading_indicator_rotating_image.css 2021-06-25 10:48:03 +03:00
MrOtherGuy
4da20b7984 add description 2021-06-25 10:47:39 +03:00
MrOtherGuy
84f25d82da create loading_indicator_bouncing_line.css 2021-06-25 10:43:42 +03:00
MrOtherGuy
caa0fe4371 use opacity:0 instead of visibility:hidden on urlbar-input children 2021-06-24 23:06:19 +03:00
MrOtherGuy
9c1d28b602 create hide_tabs_toolbar_w_alltabs_button.css 2021-06-24 18:17:14 +03:00
MrOtherGuy
20e225bb6c create proton_dark_light_notifications.css 2021-06-24 06:34:17 +03:00
MrOtherGuy
a1b87da84b don't set max-width when it is set with inline style during closing tabs. 2021-06-23 16:00:46 +03:00
MrOtherGuy
a9f10e07ea add missing dummy tab-block-margin variables for oneliners 2021-06-16 12:13:50 +03:00
MrOtherGuy
56f07645aa add window drag space placeholders that won't trigger urlbar 2021-06-15 00:26:54 +03:00
MrOtherGuy
99a53cb7fa Use #444 as box shadow color rather than currentcolor 2021-06-15 00:26:20 +03:00
MrOtherGuy
4dc0f67884 center urlbarview to window and add a shadow to it 2021-06-15 00:16:07 +03:00
MrOtherGuy
c811681d01 create icon_only_tabs.css 2021-06-14 13:03:54 +03:00
MrOtherGuy
35900a2b1b apply margin-inline-end to tab-label-container when hovered 2021-06-14 08:34:39 +03:00
MrOtherGuy
f7badbc69c only apply taller pinned tabs when using compact mode 2021-06-10 05:48:44 +03:00
MrOtherGuy
683bdce1ad don't set toolbar-bgcolor to transparent when moving tabs 2021-06-09 16:34:09 +03:00
MrOtherGuy
f5f7e69c8c replace selected tab max-width none with 100vw 2021-06-08 21:20:00 +03:00
MrOtherGuy
9b7383c4a9 better position other items in toolbars 2021-06-08 21:05:56 +03:00
MrOtherGuy
101672f759 create selected_tab_as_urlbar.css 2021-06-08 20:53:34 +03:00
MrOtherGuy
62b72ed5c9 make proton compatible 2021-06-08 20:53:00 +03:00
MrOtherGuy
ae4811a2fb create custom_default_tab_favicons.css 2021-06-08 20:05:36 +03:00
MrOtherGuy
0ff9e439b8 set min-height for contextMenu to prevent overflow in some scenarios 2021-06-08 17:29:42 +03:00
MrOtherGuy
6f791f1a98 make the style work, and scope it to browser.xhtml 2021-06-07 21:46:37 +03:00
MrOtherGuy
1de4217f45 create overlay_tab_audio_icons.css 2021-06-06 10:11:34 +03:00
MrOtherGuy
86f8cf4b86 Use the same extra titlebar padding on Win7 that is used on Win10 2021-06-06 08:23:40 +03:00
MrOtherGuy
6f2d9f5593 Have different default heights for menubar if native titlebar is enabled 2021-06-05 21:48:15 +03:00
MrOtherGuy
3b04182073 inline audio icons shouldn't be inline in pinned tabs 2021-06-05 09:00:30 +03:00
MrOtherGuy
577e2ae0d2 remove bottom:-1px from tabs toolbar 2021-06-05 00:19:28 +03:00
MrOtherGuy
7db2c96530 add temporary dummy variables for tab-block-margin 2021-06-05 00:17:16 +03:00
MrOtherGuy
753c37d010 add compatibility for fullscreen mode and autohide_toolbox.css 2021-06-03 13:44:18 +03:00
MrOtherGuy
ccddba2424 apply z-index to tabs, not titlebar and remove browser margin in fullscren 2021-06-03 10:30:38 +03:00
MrOtherGuy
daaff92e6a add photon like tab top line onhover animation 2021-06-02 23:38:06 +03:00
MrOtherGuy
025cc33886 create sharp_menupopup_corners.css 2021-06-02 10:11:07 +03:00
MrOtherGuy
5e32db2d44 add 1px bottom margin to tab secondary-line to movve it a bit upwards 2021-06-02 09:59:35 +03:00
MrOtherGuy
f513263e2a better autohiding behavior in popup windows and customizing mode 2021-06-01 09:52:34 +03:00
MrOtherGuy
978e143e8b don't trigger nav-bar when bookmarks toolbar is hovered 2021-06-01 09:13:36 +03:00
MrOtherGuy
85b1c9b4e7 create autohide_main_toolbar.css 2021-05-31 23:52:10 +03:00
MrOtherGuy
b43f70e395 don't modify padding around urlbar-container, should fix #106 2021-05-29 21:52:33 +03:00
MrOtherGuy
240b7ee1ec increase z-index of selected tab to hide the border below it 2021-05-29 20:48:30 +03:00
MrOtherGuy
8513ca9bfb fix additional background alignment 2021-05-29 20:05:36 +03:00
MrOtherGuy
14c7ef8f92 set toolbar-bgcolor to transparent for tabs toolbar 2021-05-29 19:44:23 +03:00
MrOtherGuy
3b3e363be5 apply --toolbar-bgcolor on top of theme-images 2021-05-29 19:41:39 +03:00
MrOtherGuy
894a7d9f9a remove duplicate rule 2021-05-29 16:07:58 +03:00
MrOtherGuy
e369c1670c add support for theme images 2021-05-27 16:28:12 +03:00
MrOtherGuy
b1b91c93d3 create non_floating_sharp_tabs.css 2021-05-22 23:54:58 +03:00
MrOtherGuy
b0c5cb0ad1 use login.svg (key) for password icon 2021-05-22 14:14:49 +03:00
MrOtherGuy
5e689d9f05 add xul namespace to scrollbars agent sheet 2021-05-17 11:11:23 +03:00
MrOtherGuy
6f24a1443f handle fullscreen mode better 2021-05-15 12:13:32 +03:00
MrOtherGuy
d13b692ca3 increase panel item padding to 5px but keep panel bookmarks at 4px 2021-05-13 18:16:55 +03:00
MrOtherGuy
de2721e158 better handling for sync button and the zoom item top separator 2021-05-13 11:12:48 +03:00
MrOtherGuy
945a25afd7 add a missing icon for appmenu quit button 2021-05-13 10:35:06 +03:00
MrOtherGuy
0a40706d5e remove extra brightness and make drop-shadow use colors set by variables 2021-05-13 09:05:22 +03:00
MrOtherGuy
2e824e3149 remove background from all identity buttons, not just #identity-icon 2021-05-13 08:42:47 +03:00
MrOtherGuy
a9870bd053 simplify tab-close-button styling 2021-05-09 07:47:17 +03:00
MrOtherGuy
6556b1d525 bunch of fixes for proton compatibility 2021-05-08 14:54:52 +03:00
MrOtherGuy
b82eafb47f subview-subheader should use - -moz-box rather than set height 2021-05-08 07:56:00 +03:00
MrOtherGuy
86c3eb7d6a use new download icon 2021-05-02 16:51:01 +03:00
MrOtherGuy
5575800d2a create iconized_main_menu.css 2021-05-02 11:56:40 +03:00
MrOtherGuy
2505a9693e shouldn't hide the audio icon overlay from pinned tabs 2021-05-01 16:58:45 +03:00
MrOtherGuy
c8b014028d audio icons should behave like in normal if secondary label is shown 2021-05-01 16:48:39 +03:00
MrOtherGuy
7f669db932 Make styling match proton compatible 2021-04-28 20:33:52 +03:00
MrOtherGuy
4beb12d28e make urlbarView-url row align nicely with the text of the first line 2021-04-28 20:02:09 +03:00
MrOtherGuy
99306dccfc separate proton compat. into media query and make close button pos & size correct 2021-04-27 17:59:42 +03:00
MrOtherGuy
06db30e311 Add variable for tab inline padding 2021-04-27 13:19:38 +03:00
MrOtherGuy
f27380d7e2 proton compatibility for combined tab favicon & close button 2021-04-27 13:15:16 +03:00
MrOtherGuy
2af9a480af set fixed height for subheader 2021-04-25 08:33:57 +03:00
MrOtherGuy
e594b9b6ad remove tab top-border when COLORS are used 2021-04-25 06:39:08 +03:00
MrOtherGuy
a0d1da9a36 use box-ordinal-group instead of reversing box direction 2021-04-25 05:57:01 +03:00
MrOtherGuy
dd6c73183e reverse tab-background direction so context-line shows at bottom 2021-04-25 05:48:49 +03:00
MrOtherGuy
63822d4fff make extra titlebar-padding only apply to win10 2021-04-24 09:46:17 +03:00
MrOtherGuy
8d4b1392f2 improve proton compatibility 2021-04-23 11:27:54 +03:00
MrOtherGuy
a115193aaa remove the empty padding between tabs 2021-04-22 13:49:49 +03:00
MrOtherGuy
87473238b2 remove separators from hovered tabs 2021-04-22 13:47:55 +03:00
MrOtherGuy
cde5a0391d use a variable to set color for the optional tab line 2021-04-22 13:07:33 +03:00