mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
Updated pane CSS to override websites' styles
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
<button onclick="window.open('https://github.com/xfox111/ChromiumTabsAside', '_blank')">Visit GitHub page</button>
|
||||
<button onclick="window.open('https://chrome.google.com/webstore/category/extensions', '_blank')">Leave feedback</button>
|
||||
<button onclick="window.open('https://buymeacoffee.com/xfox111', '_blank')">Buy me a coffee!</button>
|
||||
<button hidden>Backup saved tabs</button>
|
||||
<!--<button hidden>Backup saved tabs</button>-->
|
||||
</div>
|
||||
<p>
|
||||
<small>v1.0</small><br />
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
transform: translateX(110%); /* Pane is hidden */
|
||||
transition: .2s !important;
|
||||
text-align: initial !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane[opened]
|
||||
@@ -46,6 +47,8 @@
|
||||
.tabsAside.pane > header
|
||||
{
|
||||
margin: 20px 40px !important;
|
||||
line-height: initial !important;
|
||||
height: initial !important;
|
||||
}
|
||||
.tabsAside.pane > header > div
|
||||
{
|
||||
@@ -58,6 +61,10 @@
|
||||
margin: 10px 0px !important;
|
||||
font-weight: normal !important;
|
||||
font-size: 21pt !important;
|
||||
direction: initial !important;
|
||||
color: inherit !important;
|
||||
line-height: initial !important;
|
||||
font-family: inherit !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > div > button
|
||||
@@ -74,16 +81,43 @@
|
||||
.tabsAside.pane > header > div > nav > div
|
||||
{
|
||||
box-shadow: 0px 4px 5px -2px rgba(100, 100, 100, .5) !important;
|
||||
cursor: initial !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > div > nav > p
|
||||
{
|
||||
margin: 10px !important;
|
||||
font-family: inherit !important;
|
||||
font-size: inherit !important;
|
||||
line-height: initial !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > div > nav > p > small
|
||||
{
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > div > nav > p > a
|
||||
{
|
||||
text-decoration: none;
|
||||
font-size: inherit !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > a
|
||||
{
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.tabsAside.pane > header > hr
|
||||
{
|
||||
border: 1px solid #8a8a8a !important;
|
||||
direction: initial !important;
|
||||
color: inherit !important;
|
||||
height: initial !important;
|
||||
margin: 6.5px 0px !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > section > h2
|
||||
@@ -110,6 +144,7 @@
|
||||
.tabsAside.pane > section > div > div:first-child > small
|
||||
{
|
||||
color: gray !important;
|
||||
font-size: smaller !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > section > div > div:first-child > span
|
||||
@@ -120,6 +155,7 @@
|
||||
.tabsAside.pane > section > div > div:first-child > a
|
||||
{
|
||||
font-size: 11pt !important;
|
||||
line-height: initial !important;
|
||||
}
|
||||
|
||||
.tabsAside.pane > section > div > div:first-child > div
|
||||
@@ -205,6 +241,7 @@
|
||||
overflow: hidden !important;
|
||||
margin: auto 0px !important;
|
||||
margin-right: 10px !important;
|
||||
line-height: initial !important;
|
||||
}
|
||||
.tabsAside.pane > section > div > div:last-child > div:hover > div > span
|
||||
{
|
||||
|
||||
+19
-1
@@ -56,6 +56,17 @@
|
||||
background-color: transparent !important;
|
||||
border: none !important;
|
||||
cursor: pointer !important;
|
||||
box-shadow: initial !important;
|
||||
font-size: inherit !important;
|
||||
padding: initial !important;
|
||||
position: initial !important;
|
||||
box-sizing: initial !important;
|
||||
line-height: initial !important;
|
||||
text-align: center !important;
|
||||
border-radius: 2px !important;
|
||||
min-height: initial !important;
|
||||
display: initial !important;
|
||||
min-width: initial !important;
|
||||
}
|
||||
.tabsAside button:hover
|
||||
{
|
||||
@@ -81,7 +92,14 @@
|
||||
|
||||
z-index: 10 !important;
|
||||
|
||||
visibility: hidden !important;
|
||||
visibility: hidden !important;
|
||||
|
||||
display: initial !important;
|
||||
left: initial !important;
|
||||
bottom: initial !important;
|
||||
padding: initial !important;
|
||||
min-height: initial !important;
|
||||
font-size: inherit !important;
|
||||
}
|
||||
|
||||
.tabsAside nav button
|
||||
|
||||
@@ -324,4 +324,3 @@ function RemoveElement(el)
|
||||
|
||||
// TODO: Add more actions
|
||||
// TODO: Make backup system
|
||||
// TODO: Override websites' CSS
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
"css/style.generic.css",
|
||||
"css/style.dark.css"
|
||||
],
|
||||
"run_at": "document_start"
|
||||
"run_at": "document_idle"
|
||||
}
|
||||
],
|
||||
"background":
|
||||
|
||||
Reference in New Issue
Block a user