Отсутствует
Ребята, как в FF сделать панель вкладок в 2-3 ряда? Подскажите команду или готовый стиль.
Разобрался. Если кому-то надо, то вот схема:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
.tabbrowser-tab {
min-width: 30px !important; /* минимальная ширина вкладки */
max-width: 30px !important; /* максимальная ширина вкладки */
}
.tab-icon-image {
width: 15px !important; /* ширина иконки вкладки */
height: 15px !important; /* высота иконки вкладки */
margin-left: 5px !important; /* отступ иконки от края вкладки*/
}
.tab-icon-image[pinned="true"] {
width: 15px !important; /* ширина закрепленной вкладки */
height: 15px !important; /* высота закрепленной вкладки */
}
.tab-close-button {
display: none; /* скрывает кнопку-крестик закрытия вкладки */
}
#TabsToolbar .tabbrowser-arrowscrollbox,
#TabsToolbar .arrowscrollbox-scrollbox,
#TabsToolbar .scrollbox-innerbox {
display: block !important;
}
.scrollbutton-up,
.arrowscrollbox-overflow-start-indicator,
.scrollbutton-down,
.arrowscrollbox-overflow-end-indicator {
display: none !important;
}
.tabbrowser-tab {
min-height: var(--tab-min-height) !important;
vertical-align: bottom !important;
}
Отредактировано rbl_rbl (02-04-2019 11:43:15)
Отсутствует
Я знаю что можно добавить вторую кнопку "новая вкладка" таким вот способом:
А можно ли тем же путём задублировать другую кнопку (кнопку расширения)?
© уважением Neytrino.
Отсутствует
ifln пишет: Как инвертировать цвета тултипов? Сделать как в линух, заодно и шрифт поменять.
c селекторами не подскажу а вот инвертировать так
Отредактировано okkamas_knife (02-04-2019 21:30:54)
я помню те времена когда обновления программ убирали проблемы и исправляли баги, а не добавляли их.
toxID:05AB9B827D896AACEE7FF4573A02FB8F025F46ADC856B98F65BC1BA9BD21A81DC98BA9C36CE3
Отсутствует
Не получается добавить значок "вставить" в контекстном меню 66, использую этот:
/* Вставить */ #context-insert { -moz-appearance: none !important; background: url(Icons/insert.png) 2px 1px no-repeat !important; min-height: 18px !important; } #context-insert .menu-text{ padding-left: 18px !important; } #context-insert:hover { background-color: Highlight !important; }
Отредактировано kokoss (03-04-2019 18:09:34)
Win7
Отсутствует
Прокручиваемый выпадающий список адресной строки
Здравствуйте.
При установке размера выпадающего списка адресной строки настройкой browser.urlbar.maxRichResults, высота списка увеличивается в соответствии с заданным значением.
Как задать максимально допустимую высоту для данного списка и при этом получить возможность пролистывать отображаемые в нем записи, если все они не укладываются в данный параметр.
Спасибо.
Отсутствует
Ребят, как сузить размер подсказок выпадающего меню до размеров адресной строки? Прошлый код:
#urlbar > popupset[anonid="popupset"] { -moz-binding: url("data:text/xml;charset=utf-8,<bindings xmlns='http://www.mozilla.org/xbl' xmlns:html='http://www.w3.org/1999/xhtml' xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' xmlns:xbl='http://www.mozilla.org/xbl'><binding id='urlbar-rich-result-popup'><implementation><constructor><![CDATA[ var PopupAutoComplete = document.getElementById('PopupAutoCompleteRichResult'); if (!PopupAutoComplete._openAutocompletePopup) return; PopupAutoComplete._openAutocompletePopup = function(aInput, aElement) { if (this.mPopupOpen) return; if (!this.style.direction) this.style.direction = aElement.ownerGlobal.getComputedStyle(aElement).direction; let popupDirection = this.style.direction; let rect = aElement.getBoundingClientRect(); let width = rect.right - rect.left; this.setAttribute('width', width); this.setAttribute('flip', 'slide'); this.mInput = aInput; this.input.controller.setInitiallySelectedIndex(this._isFirstResultHeuristic ? 0 : -1); this.input.userSelectionBehavior = 'none'; this._invalidate(); try { let whichNotification = aInput.whichSearchSuggestionsNotification; if (whichNotification != 'none') { let impressionId = this._searchSuggestionsImpressionId = {}; this.addEventListener('popupshown', () => { if (this._searchSuggestionsImpressionId == impressionId) aInput.updateSearchSuggestionsNotificationImpressions(whichNotification); }, {once: true}); this._showSearchSuggestionsNotification(whichNotification, popupDirection); } else if (this.classList.contains('showSearchSuggestionsNotification')) { this._hideSearchSuggestionsNotification(); } } catch (ex) { } this.openPopup(aElement, 'after_start', 0, 0, false, false); }; ]]></constructor></implementation></binding></bindings>#urlbar-rich-result-popup") !important; }
больше не работает
Отсутствует
Еще вопросик назрел. Подредактировал стиль для одного расширения, но в его меню есть иконки, которые хочу заменить их светлыми вариантами. Подскажите, как указать свои иконки для класса? Элементы не имеют id, только классы (class="passff_fill passff_button" и class="passff_submit passff_button")
Отсутствует
как сузить размер подсказок выпадающего меню до размеров адресной строки
В этой теме было ранее, пару раз правили код, помнится. Пролистай назад, поищи, если никто не откликнется.
Отредактировано Garalf (12-04-2019 07:13:25)
Отсутствует
Orehis
Вот код. Работает на FF60
/* сужение подсказок до размеров адресной строки*/ #urlbar > popupset[anonid="popupset"] { -moz-binding: url("data:text/xml;charset=utf-8,<bindings xmlns='http://www.mozilla.org/xbl' xmlns:html='http://www.w3.org/1999/xhtml' xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' xmlns:xbl='http://www.mozilla.org/xbl'><binding id='urlbar-rich-result-popup'><implementation><constructor><![CDATA[ var PopupAutoComplete = document.getElementById('PopupAutoCompleteRichResult'); if (!PopupAutoComplete._openAutocompletePopup) return; PopupAutoComplete._openAutocompletePopup = function(aInput, aElement) { if (this.mPopupOpen) return; if (!this.style.direction) this.style.direction = aElement.ownerGlobal.getComputedStyle(aElement).direction; let popupDirection = this.style.direction; let rect = aElement.getBoundingClientRect(); let width = rect.right - rect.left; this.setAttribute('width', width); this.setAttribute('flip', 'slide'); this.mInput = aInput; this.input.controller.setInitiallySelectedIndex(this._isFirstResultHeuristic ? 0 : -1); this.input.userSelectionBehavior = 'none'; this._invalidate(); try { let whichNotification = aInput.whichSearchSuggestionsNotification; if (whichNotification != 'none') { let impressionId = this._searchSuggestionsImpressionId = {}; this.addEventListener('popupshown', () => { if (this._searchSuggestionsImpressionId == impressionId) aInput.updateSearchSuggestionsNotificationImpressions(whichNotification); }, {once: true}); this._showSearchSuggestionsNotification(whichNotification, popupDirection); } else if (this.classList.contains('showSearchSuggestionsNotification')) { this._hideSearchSuggestionsNotification(); } } catch (ex) { } this.openPopup(aElement, 'after_start', 0, 0, false, false); }; ]]></constructor></implementation></binding></bindings>#urlbar-rich-result-popup") !important; } panel[type="autocomplete-richlistbox"] { --arrowpanel-dimmed: rgba(255,255,255,0.1) !important; --arrowpanel-dimmed-further: rgba(0,72,217,0.8) !important; --arrowpanel-dimmed-even-further: transparent !important; --panel-separator-color: rgba(255,255,255,0.4) !important; --arrowpanel-border-color: rgba(255,255,255,0.4) !important; --arrowpanel-background: rgba(11,11,12,0.7) !important; --autocomplete-popup-background: rgba(11,11,12,0.7) !important; --autocomplete-popup-color: rgb(244,244,245) !important; --arrowpanel-color: rgb(244,244,245) !important; --urlbar-popup-url-color: LightSkyBlue !important; --urlbar-popup-action-color: Aquamarine !important; } panel[type="autocomplete-richlistbox"] :-moz-any(.search-panel-header,.searchbar-engine-one-off-item) { color: var(--autocomplete-popup-color) !important; }
Отредактировано Garalf (12-04-2019 09:57:52)
Отсутствует
Orehis
Ребят, как сузить размер подсказок выпадающего меню до размеров адресной строки? Прошлый код больше не работает
Стиль от Vitaliy V.:
#PopupAutoCompleteRichResult {
margin-inline-start: 0px !important;
}
#PopupAutoCompleteRichResult .ac-type-icon {
margin-inline-start: 2px !important;
}
Отредактировано ofizer (12-04-2019 11:25:25)
Отсутствует
Если кликнуть по иконке в адресной строке ПКМ, появляется строка "Удалить с панели адреса". Удалял с помощью CSS, но один раз случайно кликнул. Где теперь найти эту удалённую иконку и восстановить?
Отсутствует
подскажите пожалуйста знающие люди как убрать вообще панель подсказок и зазор между меню и вкладками в 66.0.3
Отсутствует
подскажите пожалуйста знающие люди как убрать вообще панель подсказок и зазор между меню и вкладками в 66.0.3
Вроде в about:config параметр browser.urlbar.oneOffSearches в false.
Отсутствует
egorsemenov06 пишетподскажите пожалуйста знающие люди как убрать вообще панель подсказок и зазор между меню и вкладками в 66.0.3
Вроде в about:config параметр browser.urlbar.oneOffSearches в false.
Спасибо! но осталась полоса
Отредактировано egorsemenov06 (14-04-2019 12:34:21)
Отсутствует