2018-10-21 18:27:25 +00:00
/* Requires you to edit toolbar layout. Put buttons directly to the right of the urlbar in this order: <urlbar><reload-button><back-button><forward-button>*/
/* Actually, the order of reload and back-buttons doesn't matter */
2018-12-04 16:32:52 +00:00
2018-10-21 18:27:25 +00:00
# urlbar {
margin-right : 0px ! important ;
border-right : none ! important ;
border-top-right-radius : 0 ! important ;
border-bottom-right-radius : 0 ! important ;
}
# urlbar ,
2018-12-04 16:32:52 +00:00
# nav-bar-customization-target > . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) {
2018-10-21 18:27:25 +00:00
border-color : var ( --lwt-toolbar-field-border-color , hsla ( 240 , 5 % , 5 % , . 25 ) ) ;
}
2018-12-04 16:32:52 +00:00
# nav-bar-customization-target > . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) {
2018-10-21 18:27:25 +00:00
margin : 3px 0 ! important ;
padding : 0 0px ! important ;
background-clip : padding-box ;
border-style : solid ;
border-width : 1px 0 ;
opacity : 1 ! important ;
background-color : var ( --lwt-toolbar-field-background-color , hsla ( 0 , 0 % , 100 % , . 8 ) ) ;
}
2018-12-04 15:32:10 +00:00
2018-12-04 16:32:52 +00:00
# nav-bar-customization-target > . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) . toolbarbutton-icon {
2018-10-21 18:27:25 +00:00
border : none ! important ;
border-radius : 0 ! important ;
margin : -3px 0 ! important ;
background-color : transparent ;
height : initial ! important ;
width : initial ! important ;
}
2018-12-04 15:32:10 +00:00
# back-button { --backbutton-background : transparent }
2018-12-04 16:32:52 +00:00
# nav-bar-customization-target > . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) : hover . toolbarbutton-icon {
2018-12-04 15:32:10 +00:00
background-color : transparent ! important ;
box-shadow : none ! important ;
}
2018-12-04 16:32:52 +00:00
# nav-bar-customization-target > . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) : not ( [ disabled ] ) : hover {
2018-12-04 15:32:10 +00:00
background-image : linear-gradient ( to bottom , var ( --uc-active-color , hsla ( 0 , 0 % , 70 % , . 2 ) ) , var ( --uc-active-color , hsla ( 0 , 0 % , 70 % , . 2 ) ) )
2018-10-21 18:27:25 +00:00
}
2018-12-04 16:32:52 +00:00
# urlbar-container : focus-within ~ . chromeclass-toolbar-additional [ overflows = "false" ] : not ( # downloads-button ) {
2018-10-21 18:27:25 +00:00
border-color : Highlight ! important ;
}
2018-12-04 16:32:52 +00:00
# urlbar-container ~ . chromeclass-toolbar-additional [ overflows = "false" ] [ disabled ] : not ( # downloads-button ) . toolbarbutton-icon { opacity : 0.4 !important }
/* Change this if you want some other button to be the right-most one */
2018-10-21 18:27:25 +00:00
# forward-button {
border-right-width : 1px ! important ;
border-radius : 0 2px 2px 0 ! important ;
}
# back-button , # back-button > image { border-radius : 0 !important ; }
# stop-reload-button { padding : 0 !important ; }