Coder Social home page Coder Social logo

issues with theme on macos about firefox-gx HOT 78 CLOSED

godiesc avatar godiesc commented on May 28, 2024
issues with theme on macos

from firefox-gx.

Comments (78)

Godiesc avatar Godiesc commented on May 28, 2024 1

it's done now. ❤

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

I don't have a MacOS to test the theme, so its so difficult to me fix o make compatible with that OS, Sorry. 💙 For now you could delete the ogx_menu.css file and the theme will works fine.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

I don't have a MacOS to test the theme, so its so difficult to me fix o make compatible with that OS, Sorry. 💙 For now you could delete the ogx_menu.css file and the theme will works fine.

This is pretty annoying, please fix.
Screenshot 2022-10-11 at 13 56 20

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

And the tabs get overlapped with the ogx_menu.css removed
Screenshot 2022-10-11 at 14 03 35

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

you could try adding this code to the end of userChrome.css.

#tabbrowser-tabs{
  padding-inline-start: 24px !important;
}

try a smaller or bigger pixels number to look it well to you.
PD: delete the lines: 58-72 from ogx_left-sidebar.css if you using that config, if not just the first code will be necessary.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Thanks, i will try it.
Opera GX
Screenshot 2022-10-11 at 16 40 49
Firefox GX
Screenshot 2022-10-11 at 16 40 59

Maybe there is a way to move the window controls and stuff, and there is like no spacing between the window borders and the tabs, other than that it is perfect!

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

like I said I don´t have that OS to play with the css to make it compatible, I just can give you some code to try solve a little things, to make a space in the top add this too:

#TabsToolbar{
  padding-block-start: 6px !important;
}

And for the window controls I give up jeje, I would need that OS to test.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

like I said I don´t have that OS to play with the css to make it compatible, I just can give you some code to try solve a little things, to make a space in the top add this too:

#TabsToolbar{
  padding-block-start: 6px !important;
}

And for the window controls I give up jeje, I would need that OS to test.

I might actually research that myself, might make a pull request some day, i am going to edit the config now!

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

that would be perfect.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

that would be perfect.

I am learning chromeCSS right now, i know how to move the buttons from left to right, but no vertical layout yet.

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

for default in macOS that buttons stay in the left, are you changing them to the right?

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

you could try this code to make the window controls vertical:

@media (-moz-platform: macos) {:root:is([tabsintitlebar]) .titlebar-buttonbox{
    display: flex !important;
    flex-direction: column !important;
}}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

you could try this code to make the window controls vertical:

@media (-moz-platform: macos) {:root:is([tabsintitlebar]) .titlebar-buttonbox{
    display: flex !important;
    flex-direction: column !important;
}}

That did not work, but i can try to modify this code

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

do you use the developer console? In the first post of reddit/r/firefoxcss has the steps to enable. then you can select a element with the selector and see the id and classes to edit with css.
and if you apply only this part of the code still nothing happen?

.titlebar-buttonbox{
    display: flex !important;
    flex-direction: column !important;
}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

do you use the developer console? In the first post of reddit/r/firefoxcss has the steps to enable. then you can select a element with the selector and see the id and classes to edit with css. and if you apply only this part of the code still nothing happen?

.titlebar-buttonbox{
    display: flex !important;
    flex-direction: column !important;
}

i am using the dev console, ill try just that out

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Update: if i try changing the background color, it does nothing, only in the buttonbox container

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

imagen
for example I used that class to edit the code I sent you and has this change:

imagen

DONT FORGET TO ADD !IMPORTANT; TO THE END OF EACH CSS RULE.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

On mac this doesn't work, as you can see, i added the CSS
Screenshot 2022-10-12 at 06 26 19

And this is the result:
Screenshot 2022-10-12 at 06 26 39

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

show me how looks you selecting that window controls with the console. like this image:
imagen

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

I did have to clear all my tabs in the css to be able to select it.
Screenshot 2022-10-12 at 06 34 58

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

if you try to give a max-width and min-width to 40px for example and a bigger height maybe could work ejje, well, it my time to sleep, maybe you could play with some rules to see if apply.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Buenas noches

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024
.titlebar-buttonbox {
  display: flex !important;
  flex-direction: column !important;
  max-width: 40px !important;
  min-width: 40px !important;
  height: 60px !important;
  background-color: red !important;
}

He conseguido mover los botones, pero no se ponen en column
Screenshot 2022-10-12 at 13 56 50

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

the first tab always was so near to the border of the windows?
and if you use background: red instead of background-color makes a difference?

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

the first tab always was so near to the border of the windows? and if you use background: red instead of background-color makes a difference?

I removed the padding tab rule to test out if it was conflicting in a way
and the background: red did nothing

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

with the developer console in the right side after selected that element are you tried to uncheck some css rule to see what happens?

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

with the developer console in the right side after selected that element are you tried to uncheck some css rule to see what happens?

¿? ¿What element? ¿And what rule?

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

would be perfect to use teamviewer or some app to test in your computer jeje
and I mean the default css rules that are in the default Firefox theme:

imagen

and try to add: appearance: none !important; maybe the OS has control of that style and for that all the css rules we are trying are failing.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Yeah, maybe we should call on discord some day

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

I tried this code in linux and works, maybe this could work in macOS:

/* Linux Controls */
@media (-moz-platform: macos){ #tabbrowser-tabs{
  padding-inline-start: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
    }
}
@media (-moz-platform: macos){ .titlebar-button:hover {
    appearance: none !important;
    background-color: transparent !important;
    }
}
@media (-moz-platform: macos) { .titlebar-buttonbox {
    appearance: none !important;
    position: fixed !important;
    display: flex !important;
    top: 0px !important;
    left: 0px !important;
    width: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
    flex-direction: column !important;
    background: var(--lwt-frame) !important;
    direction: ltr !important;
}
}
@media (-moz-platform: macos){ .titlebar-button image{ height: 26px !important; width: 26px !important; }
    
@media (-moz-platform: macos){ .titlebar-close image { list-style-image: url("../images/closebuttonlinux.svg") !important; } }
@media (-moz-platform: macos){ .titlebar-close:hover image{ list-style-image: url("../images/closebuttonhoverlinux.svg") !important; } }
    
@media (-moz-platform: macos){ .titlebar-min image { list-style-image: url("../images/minbuttonlinux.svg") !important; } }
@media (-moz-platform: macos){ .titlebar-min:hover image{ list-style-image: url("../images/minbuttonhoverlinux.svg") !important; } }
    
@media (-moz-platform: macos){ .titlebar-max image { list-style-image: url("../images/maxbuttonlinux.svg") !important; } }
@media (-moz-platform: macos){ .titlebar-max:hover image{ list-style-image: url("../images/maxbuttonhoverlinux.svg") !important; } }
    
@media (-moz-platform: macos){ .titlebar-restore image { list-style-image: url("../images/maxbuttonlinux.svg") !important; } }
@media (-moz-platform: macos){ .titlebar-restore:hover image{ list-style-image: url("../images/maxbuttonhoverlinux.svg") !important; } }

PD: The code that change the icons isn't necessary.

imagen

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Lo voy a intentar con una instalacion fresca, por que me sale esto:
Screenshot 2022-10-13 at 15 21 55

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

it's not necessary a fresh install of firefox, maybe you copied the code that replace that icons with new ones that you don't have in the chrome>images folder. Just try the first part of the code:

/* Linux Controls */
@media (-moz-platform: macos){ #tabbrowser-tabs{
  padding-inline-start: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
    }
}
@media (-moz-platform: macos){ .titlebar-button:hover {
    appearance: none !important;
    background-color: transparent !important;
    }
}
@media (-moz-platform: macos) { .titlebar-buttonbox {
    appearance: none !important;
    position: fixed !important;
    display: flex !important;
    top: 0px !important;
    left: 0px !important;
    width: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
    flex-direction: column !important;
    background: var(--lwt-frame) !important;
    direction: ltr !important;
}
}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

/* Linux Controls */
@media (-moz-platform: macos){ #tabbrowser-tabs{
padding-inline-start: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
}
}
@media (-moz-platform: macos){ .titlebar-button:hover {
appearance: none !important;
background-color: transparent !important;
}
}
@media (-moz-platform: macos) { .titlebar-buttonbox {
appearance: none !important;
position: fixed !important;
display: flex !important;
top: 0px !important;
left: 0px !important;
width: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
flex-direction: column !important;
background: var(--lwt-frame) !important;
direction: ltr !important;
}
}

so i just add this to the bottom of OGX_WINDOWSCONTROLS?

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

and if i do that, it gets the same result sadly

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

try to test the last bloc of the code line to line to see what code is the one that hide the buttons.

@media (-moz-platform: linux) { .titlebar-buttonbox {
    appearance: none !important;
    position: fixed !important;
    display: flex !important;
    top: 0px !important;
    left: 0px !important;
    width: calc(var(--uc-vertical-toolbar-width) - 1px) !important;
    flex-direction: column !important;
    background: transparent !important;
    direction: ltr !important;
}
}

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

sorry I pasted a code with a random link, I edited my last comment.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

same issue, i changed the linux to macos because with the linux they appeared again, but not vertical

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

yeah, need to be macos. And you tested line to line until the css rule that hide them?

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

oh no, ill do that in a sec

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

if you are busy we try on other moment. :)

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

sure

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

i have tried it out and its this line obviously
appearance: none !important;

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

i dont have much css experience sorry

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

and the rest of the code without that line do something?

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

and maybe it is not possible to change that icons jeje, maybe you could help me with the top padding and the left padding to the tabs-bar to the items not overflow each other..

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

it does not seem possible indeed, so lets just not do overflow then

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

How works this:

@media (-moz-platform: macos){ :root[tabsintitlebar][sizemode="maximized"] #TabsToolbar{
  padding-block-start: 4px !important;
    }}
@media (-moz-platform: macos){ :root[tabsintitlebar][sizemode="maximized"] #tabbrowser-tabs{
  padding-inline-start: 24px !important;
    }}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

How works this:

@media (-moz-platform: macos){ :root[tabsintitlebar][sizemode="maximized"] #TabsToolbar{
  padding-block-start: 4px !important;
    }}
@media (-moz-platform: macos){ :root[tabsintitlebar][sizemode="maximized"] #tabbrowser-tabs{
  padding-inline-start: 24px !important;
    }}

Where do i put this?

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

well you can test in whatever css file of the theme, any of "ogx_...", it doesn't matter. I will put the code in a correct css only for mantain of the code, to know where is what. I only separate de code in files to a better update of the code.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

That code works! Now something you need to do is put the tab closing X in the top of the favicon, like operaGX

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

you could give me a SS to see the theme in macos, I need a ScreenShot to add in my github page if you don't have a problem.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

One moment, i realised i have a bug, easy fix

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Step 1: Remove OGX_MENU.css
Step 2: Add this code where it is needed:

@media (-moz-platform: macos) {#TabsToolbar{
  padding-block-start: 6px !important;
}
#tabbrowser-tabs{
  padding-inline-start: 10px !important;
}
}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Here you go!
Screenshot 2022-10-13 at 18 16 30
Screenshot 2022-10-13 at 18 17 13

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

please you could update the ogx_left-sidebar.css with the one that I updated in the github page, I did a little update to fix the menu button when the ogx_menu.css is deleted, and after that pls give me other SS, sorry for the inconvenient.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

what did it fix? i see no difference

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

the hamburger menu dont show a black background by default. in your SS see that background.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

oh yes i see it now

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Screenshot 2022-10-13 at 18 35 34

Screenshot 2022-10-13 at 18 36 15

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

thanks for your help, sad that the window control buttons didn't make it work jeje. I appreciate your time.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

thanks for your help, sad that the window control buttons didn't make it work jeje. I appreciate your time.

No problem, im happy to help when you need me!

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

one last questions, the top padding we added is for maximized and normal windows right? you deleted that part of the code cause that only applied in maximized window?

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

yeah, if i put it in fullscreen, the tabs go to the edge of the window, but it can be fixed on your end, and if i put it in maximized, in most firefox themes the padding goes away, which is also fixed here now.

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

Step 1: Remove OGX_MENU.css Step 2: Add this code where it is needed:

@media (-moz-platform: macos) {#TabsToolbar{
  padding-block-start: 6px !important;
}
#tabbrowser-tabs{
  padding-inline-start: 10px !important;
}
}

I will add the platform: macos in the second rule, you forgot to added jeje

@media (-moz-platform: macos) { #TabsToolbar{
  padding-block-start: 6px !important;
}
@media (-moz-platform: macos) { #tabbrowser-tabs{
  padding-inline-start: 10px !important;
}
}

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

lol, there is another issue, related with fonts
Uploading Screenshot 2022-10-13 at 18.52.15.png…

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Screenshot 2022-10-13 at 18 52 15

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

I updated ogx_contextual-menu.css , check it to update that file and make me know if that solves the problem.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

ok, ill check it out

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

it looks a looooott better now

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

identical with opera GX

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

glad to know it. :)

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

ill report any further issues, im glad to have worked with you! Can i update the readme.md so that i appear as a contributor?

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

to do that you can fork my repository and after that edit the file ogx_tabs-bar.css and add to the end of the file:

/* --------------------- config to MacOS ---------------------------
   ------------- partial compatibility to window Controls ----------*/
@media (-moz-platform: macos) { #TabsToolbar{
  padding-block-start: 6px !important;
}
@media (-moz-platform: macos) { #tabbrowser-tabs{
  padding-inline-start: 10px !important;
}
}

And after that you make a pull request, I'll accept and after that you'll see you as a contributor.

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

or I put your name in the MacOS section, an easy way.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

i made a pr, and maybe adding a name that links to my profile would be nice, it is the first time i contribute to a project

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

Thanks a lot! I am honored

from firefox-gx.

Godiesc avatar Godiesc commented on May 28, 2024

and other thing, the close button in the favicon maybe will interfere with the sound icon button, I dont know how opera work with sound tabs.

from firefox-gx.

FormalSnake avatar FormalSnake commented on May 28, 2024

and other thing, the close button in the favicon maybe will interfere with the sound icon button, I dont know how opera work with sound tabs.

I will make another issue for this

from firefox-gx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.