TreeTabsMigration/theme/theme.css
karol@jagiello.it c17ad45027 initial
2017-07-26 22:23:39 +02:00

762 lines
16 KiB
CSS

::-webkit-scrollbar-thumb {
background-color: var(--scrollbar_thumb, #cdcdcd);
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--scrollbar_thumb_hover, #a6a6a6);
}
::-webkit-scrollbar-track {
background-color: var(--scrollbar_track, #e4e4e4);
}
body {
background-color: var(--tab_list_background, #fafafa);
}
/* DO NOT REPEAT BACKGROUND IMAGES */
div {
background-repeat: no-repeat;
}
/* HIDE OVERFLOW */
#toolbar,
#toolbar_search,
#toolbar_tools,
#tabs_menu {
overflow: hidden;
}
/* AUTO SIZE */
#tab_list,
#pin_list {
width: auto;
height: auto;
}
/* WIDTH: 100% */
#toolbar,
#toolbar_main,
#toolbar_search,
#toolbar_tools {
width: 100%;
}
/* POSITION: RELATIVE */
#toolbar,
#toolbar_separator,
#filter_box,
#button_filter_clear,
.button,
#pin_list,
#tab_list,
.pin,
.tab {
position: relative;
}
/* POSITION: ABSOLUTE */
.tab_mediaicon,
#tabs_menu,
.toolbar_int {
position: absolute;
}
/* PLACEMENT HORIZONTAL */
#toolbar_search_input_box,
#toolbar_search_buttons,
#filter_box,
#button_filter_clear,
.button,
.tab_mediaicon,
.pin {
display: inline-block;
vertical-align: top;
}
/* PLACEMENT VERTICAL */
#toolbar,
#pin_list,
#tab_list,
.tab {
display: vinline-block;
}
/* HIDE */
.hidden {
position: absolute;
top: -1000px;
left: -1000px;
width: 0px;
height: 0px;
border: none;
margin: 0px;
overflow: hidden;
margin: 0px;
}
#pin_list.hidden {
margin-bottom: -2px;
}
/* TOOLBAR */
.toolbar {
padding-top: 1px;
background-color: var(--toolbar_background, #f2f2f2);
}
.toolbar_int {
border-bottom: 1px solid var(--toolbar_border_bottom, #cccccc);
}
#toolbar_main {
top: 0px;
height: 26px;
}
#toolbar_search,
#toolbar_tools {
top: 27px;
height: 26px;
}
#toolbar_separator {
top: 54px;
height: 15px;
width: 100%;
background-color: white;
}
#toolbar_unused_buttons {
top: 69px;
height: 26px;
width: 100%;
background-color: #b8ffbf;
}
.button {
z-index: 100;
width: 22px;
height: 22px;
bottom: -1px;
left: 1px;
margin-right: 1px;
}
.button:not(.on) {
background-color: var(--button_background, #f2f2f2);
border: 1px solid var(--button_border, #f2f2f2);
}
.button:hover:not(.on) {
background-color: var(--button_hover_background, #dcdcdc);
border: 1px solid var(--button_hover_border, #bebebe);
}
.button.on {
height: 24px;
background-color: var(--toolbar_background, #f2f2f2);
border: 1px solid var(--toolbar_border_bottom, #cccccc);
border-bottom: 1px solid var(--toolbar_background, #f2f2f2);
}
.button_img {
width: 22px;
height: 22px;
background-size: 22px 22px;
background-position: 0px 0px;
background-color: var(--button_icons, #808080);
}
/* TOOLBAR BUTTONS */
#button_bookmarks>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_bookmarks.svg);
mask-image: url(../theme/toolbar_bookmarks.svg);
}
#button_options>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_options.svg);
mask-image: url(../theme/toolbar_options.svg);
}
#button_settings>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_settings.svg);
mask-image: url(../theme/toolbar_settings.svg);
}
#button_move .button_img {
-webkit-mask-box-image: url(../theme/toolbar_move.svg);
mask-image: url(../theme/toolbar_move.svg);
}
#button_pin>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_pin.svg);
mask-image: url(../theme/toolbar_pin.svg);
}
#button_history>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_history.svg);
mask-image: url(../theme/toolbar_history.svg);
}
#button_undo>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_undo.svg);
mask-image: url(../theme/toolbar_undo.svg);
}
#button_downloads>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_downloads.svg);
mask-image: url(../theme/toolbar_downloads.svg);
}
#button_extensions>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_extensions.svg);
mask-image: url(../theme/toolbar_extensions.svg);
}
#button_discard>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_discard.svg);
mask-image: url(../theme/toolbar_discard.svg);
}
#button_new>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_new.svg);
mask-image: url(../theme/toolbar_new.svg);
}
#button_tools>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_tools.svg);
mask-image: url(../theme/toolbar_tools.svg);
}
#button_search>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_search.svg);
mask-image: url(../theme/toolbar_search.svg);
}
/* TOOLBAR SEARCHBOX */
#button_filter_type.url>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_filter_url.svg);
mask-image: url(../theme/toolbar_filter_url.svg);
}
#button_filter_type.title>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_filter_title.svg);
mask-image: url(../theme/toolbar_filter_title.svg);
}
#filter_search_go_prev,
#filter_search_go_next {
width: 16px;
}
#filter_search_go_prev>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_filter_search_go_prev.svg);
mask-image: url(../theme/toolbar_filter_search_go_prev.svg);
width: 16px;
background-size: 16px 22px;
}
#filter_search_go_next>.button_img {
-webkit-mask-box-image: url(../theme/toolbar_filter_search_go_next.svg);
mask-image: url(../theme/toolbar_filter_search_go_next.svg);
width: 16px;
background-size: 16px 22px;
}
#toolbar_search_input_box {
position: relative;
top: 0px;
left: 2px;
height: 25px;
width: calc(100% - 67px);
overflow: hidden;
}
#filter_box {
top: 2px;
padding-left: 6px;
width: calc(100% - 10px);
height: 18px;
background-color: var(--filter_box_background, #fafafa);
border: solid 1px var(--filter_box_border, #cccccc);
color: var(--filter_box_font, #808080);
}
#filter_box:focus {
outline: none;
}
#button_filter_clear {
-webkit-mask-box-image: url(../theme/toolbar_filter_clear.svg);
mask-image: url(../theme/toolbar_filter_clear.svg);
top: 6px;
right: 17px;
width: 16px;
height: 16px;
background-color: var(--filter_clear_icon, #808080);
}
#toolbar_search_buttons {
position: relative;
left: 2px;
height: 24px;
width: 30px;
}
/* LISTS */
#pin_list {
height: auto;
overflow-x: auto;
overflow-y: hidden;
padding-right: 2px;
padding-bottom: 1px;
background-color: var(--pin_list_background, #fafafa);
border-bottom: 1px solid var(--pin_list_border_bottom, #cccccc);
}
#tab_list {
overflow-x: hidden;
overflow-y: auto;
z-index: 100;
background-color: var(--tab_list_background, #fafafa);
}
/* PINS AND TABS */
.tab_header {
border: 1px solid var(--tab_border, #bebebe);
background-color: var(--tab_background, #f2f2f2);
}
.tab_header.tab_header_hover {
border: 1px solid var(--tab_hover_border, #878787);
background-color: var(--tab_hover_background, #d7d7d7);
}
.selected>.tab_header {
border: 1px solid var(--tab_selected_border, #70c0e7);
background-color: var(--tab_selected_background, #e5f3fb);
}
.selected>.tab_header.tab_header_hover {
border: 1px solid var(--tab_selected_hover_border, #78aee5);
background-color: var(--tab_selected_hover_background, #d0e2f0);
}
/* TABS */
.tab_header>.tab_title {
z-index: 5;
font-family: Arial, Helvetica, "Nimbus Sans L", "Liberation Sans", FreeSans, Sans-serif;
white-space: nowrap;
text-overflow: ellipsis;
width: auto;
overflow: hidden;
padding-right: 3px;
padding-left: var(--title_padding_left, 25px);
color: var(--tab_title, #000000);
font-size: var(--title_font_size, 12px);
}
.tab.active>.tab_header>.tab_title {
font-weight: var(--active_font_weight, bold);
color: var(--tab_title_active, #000000);
}
.tab.discarded>.tab_header>.tab_title {
color: var(--tab_title_discarded, #7e7e7e);
}
.tab.filtered>.tab_header {
background-color: var(--tab_filtered, #e8e000);
}
.tab.selected.filtered>.tab_header {
background-color: var(--tab_filtered_selected, #0f8079);
}
.tab.selected.active.filtered>.tab_header {
background-color: var(--tab_filtered_selected_active, #1299a9);
}
.tab.filtered.highlighted_search>.tab_header {
background-color: var(--tab_filtered_highlighted, #ffa500);
}
.tab {
position: relative;
display: vinline-block;
left: 0px;
height: auto;
width: auto;
border-top: 1px solid transparent;
}
.tab>.tab_header {
/* tab size is here, all the rest is automatically calculated, adjust line-height to fix title vertical position */
z-index: 10;
position: relative;
top: 0px;
left: 13px;
height: var(--tab_height, 19px);
line-height: var(--tab_height_line, 22px);
width: calc(100% - 16px);
background-image: url(../theme/empty.svg);
background-size: var(--favicon_size, 16px 16px);
background-position: var(--favicon_pos, 4px center);
}
.drop_target {
display: none;
position: absolute;
}
.tab>.drop_target {
left: 13px;
width: calc(100% - 14px);
}
.tab>.drag_enter_center {
z-index: 11;
top: -1px;
height: calc(var(--tab_height, 21px) + 2px);
border: 1px solid transparent;
}
.tab>.drag_enter_center.highlighted_drop_target {
border: 1px solid var(--drag_indicator, #339bf3);
}
.tab>.drag_entered_top {
z-index: 15;
top: -1px;
height: var(--drag_area_top, 7px);
border-top: 1px solid transparent;
}
.tab>.drag_entered_top.highlighted_drop_target {
border-top: 1px solid var(--drag_indicator, #339bf3);
}
.tab>.drag_entered_bottom {
z-index: 20;
bottom: -1px;
height: var(--drag_area_bottom, 5px);
border-bottom: 1px solid transparent;
}
.tab>.drag_entered_bottom.highlighted_drop_target {
bottom: -1px;
border-bottom: 1px solid var(--drag_indicator, #339bf3);
}
.children>.tab:last-child>.drag_entered_bottom {
z-index: 19;
bottom: 3px;
border-bottom: 1px solid transparent;
}
.children>.tab:last-child>.drag_entered_bottom.highlighted_drop_target {
bottom: -1px;
height: calc(var(--drag_area_bottom, 9px) + 4px);
border-bottom: 1px solid var(--drag_indicator, #339bf3);
}
/* #tab_list>.tab:first-child {
margin-top: 4px;
} */
#tab_list>.tab:last-child {
margin-bottom: 12px;
}
/* TABS CHILDREN */
.children>.tab>.tab_header {
left: 13px;
}
.children {
position: relative;
padding-left: 6px;
}
.o>.children {
height: auto;
}
.c>.children {
display: none;
height: 0px;
}
.expand {
z-index: 200;
position: absolute;
top: 1px;
left: 0px;
height: 100%;
width: 16px;
}
.exp_box {
position: absolute;
top: var(--expand_box_top, 6px);
left: var(--expand_box_left, 3px);
height: var(--expand_box_size, 5px);
width: var(--expand_box_size, 5px);
}
.c>.expand>.exp_box {
border: 1px solid var(--expand_closed_border, #969696);
background-color: var(--expand_closed_background, #eaeaea);
}
.o>.expand>.exp_box {
border: 1px solid var(--expand_open_border, #339bf3);
background-color: var(--expand_open_background, #d0e2f0);
}
.children>.o>.expand>.exp_line_h,
.children>.c>.expand>.exp_line_h {
position: absolute;
top: var(--expand_line_h_top, 9px);
left: 1px;
height: 1px;
width: var(--expand_line_h_oc_width, 3px);
border-top: 1px solid var(--expand_lines, #cccccc);
}
.children>.tab:not(.o):not(.c)>.expand>.exp_line_h {
position: absolute;
top: var(--expand_line_h_top, 9px);
left: 1px;
height: 1px;
width: var(--expand_line_h_width, 12px);
border-top: 1px solid var(--expand_lines, #cccccc);
}
.children>.tab:not(:last-child)>.expand>.exp_line_v {
position: absolute;
top: var(--expand_line_v_top, -9px);
left: var(--expand_line_v_left, 0px);
height: calc(100% + 1px);
width: 1px;
border-left: 1px solid var(--expand_lines, #cccccc);
}
.children>.tab:last-child>.expand>.exp_line_v {
position: absolute;
top: var(--expand_line_v_top, -9px);
left: var(--expand_line_v_left, 0px);
height: var(--expand_line_v_last_height, 19px);
width: 1px;
border-left: 1px solid var(--expand_lines, #cccccc);
}
/* PINS */
.pin {
/* pin size is here, all the rest is automatically calculated */
top: 1px;
left: 1px;
height: var(--pin_height, 24px);
width: var(--pin_width, 26px);
/* border: 1px solid red; */
}
.pin>.tab_header>.tab_title,
.pin>.expand {
display: none;
}
.pin>.tab_header {
background-image: url(../theme/empty.svg);
background-size: var(--favicon_size, 16px 16px);
background-position: center;
height: calc(100% - 3px);
width: calc(100% - 3px);
}
.pin>.drag_entered_top {
z-index: 20;
position: absolute;
top: 1px;
left: -1px;
height: calc(100% - 4px);
width: 50%;
border-left: 1px solid transparent;
}
.pin>.drag_entered_top.highlighted_drop_target {
border-left: 1px solid var(--drag_indicator, #339bf3);
}
.pin>.drag_entered_bottom {
z-index: 21;
position: absolute;
top: 1px;
left: calc(50% - 2px);
height: calc(100% - 4px);
width: 50%;
border-left: 1px solid transparent;
}
.pin>.drag_entered_bottom.highlighted_drop_target {
border-right: 1px solid var(--drag_indicator, #339bf3);
}
.pin>.drag_enter_center {
z-index: 2;
position: absolute;
top: 0px;
height: 0px;
width: 0px;
/* border: 1px solid yellow; */
}
/* MEDIA */
.tab_mediaicon {
z-index: 999;
bottom: 0px;
left: 2px;
height: 0px;
width: 0px;
background-size: 0px 0px;
}
.audible>.tab_header>.tab_mediaicon {
height: 10px;
width: 10px;
background-image: url(../theme/media.gif);
background-size: 10px 10px;
}
.muted>.tab_header>.tab_mediaicon {
height: 10px;
width: 10px;
background-image: url(../theme/media_muted.gif);
background-size: 10px 10px;
}
/* LOADING FAVICON */
.loading>.tab_header {
background-image: url(../theme/loading.svg);
}
/* CLOSE BUTTON */
.close {
border: 1px solid transparent;
z-index: 998;
display: none;
position: absolute;
top: var(--close_top, 2px);
right: var(--close_right, 2px);
height: var(--close_size, 13px);
width: var(--close_size, 13px);
background-size: var(--close_size, 13px) var(--close_size, 13px);
}
.close_img {
z-index: -999;
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
background-color: var(--close_x, #7d7d7d);
-webkit-mask-box-image: url(../theme/close.svg);
mask-image: url(../theme/close.svg);
mask-size: 100%;
mask-position: center, center;
}
.close_show>.tab_title {
padding-right: var(--title_padding_with_close, 24px);
}
.close_show>.close {
display: inline-block;
}
.close_show>.close_hover>.close_img {
top: 0px;
background-color: var(--close_hover_x, #fbfcfe);
}
.close_show>.close_hover {
border: 1px solid var(--close_hover_border, #757676);
background-color: var(--close_hover_background, #939394);
}
.pin>.tab_header>.close {
display: none;
z-index: -999;
}
/* MENU */
#tabs_menu {
display: none;
word-wrap: normal;
white-space: initial;
z-index: 1000;
font-family: Arial, Helvetica, "Nimbus Sans L", "Liberation Sans", FreeSans, Sans-serif;
font-size: 12px;
border: 1px solid var(--tabs_menu_border, #bebebe);
padding: 0;
background: var(--tabs_menu_background, #fafafa);
color: var(--tabs_menu_font, #333333);
}
#tabs_menu li {
padding: 3px 8px;
cursor: pointer;
list-style-type: none;
}
#tabs_menu li:hover {
padding: 2px 7px;
border: 1px solid var(--tabs_menu_hover_border, #bebebe);
background-color: var(--tabs_menu_hover_background, #efefef);
}
#tabs_menu .separator {
height: 1px;
width: 80%;
background-color: var(--tabs_menu_separator, #efefef);
margin: 0 auto;
}