|
148 | 148 | // @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!) |
149 | 149 | // @author KudoAI |
150 | 150 | // @namespace https://kudoai.com |
151 | | -// @version 2025.3.3.2 |
| 151 | +// @version 2025.3.3.3 |
152 | 152 | // @license MIT |
153 | 153 | // @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0 |
154 | 154 | // @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0 |
|
2155 | 2155 | -o-transition: var(--transition) ; -ms-transition: var(--transition) }` |
2156 | 2156 | + '.kudoai a { color: #aaa ; text-decoration: none !important }' |
2157 | 2157 | + `.kudoai a:hover { color: ${ env.ui.app.scheme == 'dark' ? 'white' : 'black' }}` |
2158 | | - + `#${app.slug}-header-btns { position: relative ; bottom: 3px ; float: right ; |
2159 | | - ${ !config.fgAnimationsDisabled ? 'will-change: transform' : '' }}` |
| 2158 | + + `#${app.slug}-header-btns { position: relative ; bottom: 3px ; float: right }` |
2160 | 2159 | + `.${app.slug}-header-btn {` |
2161 | 2160 | + 'float: right ; cursor: pointer ; position: relative ; top: 4px ;' |
2162 | 2161 | + `${ env.ui.app.scheme == 'dark' ? 'fill: white ; stroke: white' |
2163 | 2162 | : 'fill: #adadad ; stroke: #adadad' };` // color |
| 2163 | + + ( !config.fgAnimationsDisabled ? 'will-change: transform ;' : '' ) |
2164 | 2164 | + 'transition: var(--btn-transition) ;' |
2165 | 2165 | + '-webkit-transition: var(--btn-transition) ; -moz-transition: var(--btn-transition) ;' |
2166 | 2166 | + '-o-transition: var(--btn-transition) ; -ms-transition: var(--btn-transition) }' |
|
3717 | 3717 | // Create/append Settings button |
3718 | 3718 | const settingsBtn = dom.create.elem('btn', |
3719 | 3719 | { id: `${app.slug}-settings-btn`, class: `${app.slug}-header-btn` }) |
3720 | | - settingsBtn.style.margin = '0 9.5px 0 1px' // position |
| 3720 | + settingsBtn.style.margin = '0 11.5px 0 3px' // position |
3721 | 3721 | settingsBtn.append(icons.sliders.create()) ; headerBtnsDiv.append(settingsBtn) |
3722 | 3722 |
|
3723 | 3723 | // Create/append Font Size button |
3724 | 3724 | if (answer != 'standby') { |
3725 | 3725 | var fontSizeBtn = dom.create.elem('btn', |
3726 | 3726 | { id: `${app.slug}-font-size-btn`, class: `${app.slug}-header-btn app-hover-only` }) |
3727 | 3727 | var fontSizeSVG = icons.fontSize.create() |
3728 | | - fontSizeBtn.style.margin = '1px 10px 0 2px' // position |
| 3728 | + fontSizeBtn.style.margin = '1px 10px 0 1px' // position |
3729 | 3729 | fontSizeBtn.append(fontSizeSVG) ; headerBtnsDiv.append(fontSizeBtn) |
3730 | 3730 | } |
3731 | 3731 |
|
|
3734 | 3734 | var pinBtn = dom.create.elem('btn', |
3735 | 3735 | { id: `${app.slug}-pin-btn`, class: `${app.slug}-header-btn app-hover-only` }) |
3736 | 3736 | var pinSVG = icons.pin.create() |
3737 | | - pinBtn.style.margin = '1px 9px 0 0' // position |
| 3737 | + pinBtn.style.margin = '1px 8px 0 0' // position |
3738 | 3738 | pinBtn.append(pinSVG) ; headerBtnsDiv.append(pinBtn) |
3739 | 3739 |
|
3740 | 3740 | // Create/append Wider Sidebar button |
3741 | 3741 | var wsbBtn = dom.create.elem('btn', |
3742 | 3742 | { id: `${app.slug}-wsb-btn`, class: `${app.slug}-header-btn app-hover-only anchored-hidden` }) |
3743 | 3743 | var wsbSVG = icons.widescreen.create() |
3744 | | - wsbBtn.style.margin = '0.151em 11px 0 0' // position |
| 3744 | + wsbBtn.style.margin = '2px 12px 0 0' // position |
3745 | 3745 | wsbBtn.append(wsbSVG) ; headerBtnsDiv.append(wsbBtn) |
3746 | 3746 |
|
3747 | 3747 | // Create/append Expand/Shrink button |
|
0 commit comments