Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for comparing elements from different tabs.
'Compare' button added. Styling improved - using default DevTools styles. README modified accordingly.
- Loading branch information
Showing
8 changed files
with
299 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,174 @@ | ||
* { | ||
font-family: dejavu sans mono, monospace; | ||
font-size: 11px; | ||
-webkit-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
cursor: default; | ||
margin: 0; | ||
padding: 0; | ||
font-family: 'Lucida Grande', sans-serif; | ||
font-size: 12px; | ||
tab-size: 4; | ||
-webkit-user-select: none; | ||
color: #222; | ||
} | ||
|
||
div.block { | ||
padding: 2px; | ||
body.platform-linux { | ||
color: rgb(48, 57, 66); | ||
font-family: Ubuntu, Arial, sans-serif; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
body.platform-linux .monospace { | ||
font-size: 11px; | ||
font-family: dejavu sans mono, monospace; | ||
} | ||
|
||
td, th { | ||
height: 15px; | ||
body.platform-mac { | ||
color: rgb(48, 57, 66); | ||
font-family: 'Lucida Grande', sans-serif; | ||
} | ||
|
||
th { | ||
width: 90px; | ||
padding-right: 3px; | ||
color: #C80000; | ||
font-weight: normal; | ||
text-align: left; | ||
body.platform-mac .monospace { | ||
font-size: 11px; | ||
font-family: Menlo, monospace; | ||
} | ||
|
||
border-right: solid 1px #555; | ||
border-bottom: solid 1px #555; | ||
} | ||
body.platform-windows { | ||
font-family: 'Segoe UI', Tahoma, sans-serif; | ||
} | ||
|
||
.description { | ||
margin-top: 0; | ||
margin-bottom: 10px; | ||
body.platform-windows .monospace { | ||
font-size: 12px; | ||
font-family: Consolas, Lucida Console, monospace; | ||
} | ||
|
||
.element0 { | ||
#wrapper.showMessage #result { | ||
display: none; | ||
} | ||
|
||
#wrapper.showResult #message { | ||
display: none; | ||
} | ||
|
||
.element1 { | ||
background-color: #F0F0F0; | ||
button { | ||
font-size: 13px; | ||
margin: 0; | ||
padding: 2px 20px; | ||
height: 24px; | ||
border: 1px solid rgb(165, 165, 165); | ||
border-radius: 12px; | ||
-webkit-appearance: none; | ||
color: rgb(6, 6, 6); | ||
background-color: rgb(237, 237, 237); | ||
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(252, 252, 252)), to(rgb(223, 223, 223))); | ||
} | ||
|
||
.suffix { | ||
display: none; | ||
button:focus { | ||
outline: none; | ||
} | ||
|
||
.suffix th { | ||
padding-left: 20px; | ||
} | ||
p { | ||
padding: 0 4px 0 4px; | ||
} | ||
|
||
tr.lower td { | ||
border-bottom: solid #555 1px; | ||
#selected { | ||
border-bottom: solid 1px rgb(191, 191, 191); | ||
} | ||
|
||
th.suffix-parent { | ||
cursor: pointer; | ||
#selected button { | ||
display: inline-block; | ||
} | ||
|
||
th.suffix-parent::before { | ||
content: url(../img/treeRightTriangleBlack.png); | ||
opacity: 0.75; | ||
float: left; | ||
width: 8px; | ||
height: 8px; | ||
margin-top: 2px; | ||
padding-right: 3px; | ||
-webkit-user-select: none; | ||
} | ||
#thirdPartyCookiesWarning { | ||
color: darkred; | ||
display: none; | ||
} | ||
|
||
th.suffix-parent.open::before { | ||
content: url(../img/treeDownTriangleBlack.png); | ||
} | ||
#thirdPartyCookiesWarning.visible { | ||
display: block; | ||
} | ||
|
||
.sidebar-separator { | ||
background-image: -webkit-gradient(linear, left top, left bottom, from(#F3F3F3), color-stop(0.05, #F3F3F3), color-stop(0.05, #E6E6E6), to(#D1D1D1)); | ||
background-color: rgb(230, 230, 230); | ||
padding: 0 5px; | ||
border-top: 1px solid #BDBDBD; | ||
border-bottom: 1px solid #BDBDBD; | ||
color: #6E6E6E; | ||
text-shadow: white 0 1px 0; | ||
color: rgb(50, 50, 50); | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
font-size: 11px; | ||
line-height: 16px; | ||
} | ||
|
||
.info { | ||
#message p { | ||
text-align: center; | ||
font-style: italic; | ||
font-size: 10px; | ||
padding: 6px; | ||
color: black; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
border-bottom: solid rgb(191, 191, 191) 1px; | ||
border-top: solid rgb(191, 191, 191) 1px; | ||
border-collapse: collapse; | ||
} | ||
|
||
td, th { | ||
height: 15px; | ||
} | ||
|
||
th { | ||
width: 90px; | ||
padding-right: 3px; | ||
padding-left: 4px; | ||
color: #C80000; | ||
font-weight: normal; | ||
text-align: left; | ||
|
||
border-right: solid 1px rgb(191, 191, 191); | ||
border-bottom: solid 1px rgb(191, 191, 191); | ||
} | ||
|
||
td { | ||
padding-left: 4px; | ||
} | ||
|
||
.element0 { | ||
} | ||
|
||
.element1 { | ||
background-color: #F0F0F0; | ||
} | ||
|
||
tr.lower td { | ||
border-bottom: solid rgb(191, 191, 191) 1px; | ||
} | ||
|
||
th.suffix-parent { | ||
cursor: pointer; | ||
} | ||
|
||
th.suffix-parent::before { | ||
content: ' '; | ||
opacity: 0.55; | ||
float: left; | ||
width: 8px; | ||
height: 11px; | ||
padding-right: 3px; | ||
-webkit-user-select: none; | ||
background: url(../img/treeRightTriangleBlack.png) left center no-repeat; | ||
background-size: 8px 8px; | ||
} | ||
|
||
th.suffix-parent.open::before { | ||
background-image: url(../img/treeDownTriangleBlack.png); | ||
} | ||
|
||
.suffix { | ||
display: none; | ||
} | ||
|
||
.suffix th { | ||
padding-left: 20px; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.