mirror of https://github.com/CIRCL/lookyloo
Cleanup tree.css and generating sri
parent
b77d850b9d
commit
c6810961f6
|
@ -35,8 +35,8 @@
|
||||||
"secure.svg": "H8ni7t0d60nCJDVGuZpuxC+RBy/ipAjWT627D12HlZGg6LUmjSwPTQTUekm3UJupEP7TUkhXyq6WHc5gy7QBjg==",
|
"secure.svg": "H8ni7t0d60nCJDVGuZpuxC+RBy/ipAjWT627D12HlZGg6LUmjSwPTQTUekm3UJupEP7TUkhXyq6WHc5gy7QBjg==",
|
||||||
"stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==",
|
"stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==",
|
||||||
"stats_graph.js": "S/sMNQK1UMMLD0xQeEa7sq3ce8o6oPxwxGlyKVtaHOODjair86dbBDm7cu6pa/elMRDJT1j09jEFjWp+5GbhTw==",
|
"stats_graph.js": "S/sMNQK1UMMLD0xQeEa7sq3ce8o6oPxwxGlyKVtaHOODjair86dbBDm7cu6pa/elMRDJT1j09jEFjWp+5GbhTw==",
|
||||||
"tree.css": "R/pWQnE8kMacDrzGy/NpA1tJoHAZpOjFiX6dqtBe+PqAnhYMn1CIQzODh8Ifvh6hBTPLRWX3bsabfEvfaI7Z6A==",
|
"tree.css": "AvSJOleYapo+xOCcOPGxTcKg+t1TxFkmr/VvgVJbXaeDOnYECzmJOIVNZii/eFouTh85uDSgr+WLQHq3hft6Kg==",
|
||||||
"tree.js": "B14s0PA3EsL4eZw5e+bpQabUVy75t8z8o1PLHurwBD27w2A1Cn/98dA3r4g511Bmwkh09J142LH4y0bVsQeqmQ==",
|
"tree.js": "ZlVFi+IqRHVwWR2WLcwaHhOqd5AIPQfLtLdUOSIGWcg5lc6At39MQQb5k9fzCaLGCDOf+kuZNJGG3ycVCuHFQA==",
|
||||||
"up.jpg": "d1ljZJ9f5JekyM6RLFFH2Ua44j6neiQBdUIXOenRTjGppQr3JaeglpQIH6BjPCJL177+TH52U3UIRNS5YAyKIg==",
|
"up.jpg": "d1ljZJ9f5JekyM6RLFFH2Ua44j6neiQBdUIXOenRTjGppQr3JaeglpQIH6BjPCJL177+TH52U3UIRNS5YAyKIg==",
|
||||||
"up_right.jpg": "OMmz+n+MxR34P8/fn5t4DkqKqdJRzQbXQ7fAi2lhkZIJGhVs2vIyY1f2hpYoBxDAX1OcYsSE2lqIR2vXNDGZsA==",
|
"up_right.jpg": "OMmz+n+MxR34P8/fn5t4DkqKqdJRzQbXQ7fAi2lhkZIJGhVs2vIyY1f2hpYoBxDAX1OcYsSE2lqIR2vXNDGZsA==",
|
||||||
"video.png": "gJtmkfr8I1Kw43pYEKjg6CAjgmhl1vIBKBQ3ZkxCu3wvxQm+6kf93iLrrFiY2WuiXzxEn2Leu52GJzmVN5id0g==",
|
"video.png": "gJtmkfr8I1Kw43pYEKjg6CAjgmhl1vIBKBQ3ZkxCu3wvxQm+6kf93iLrrFiY2WuiXzxEn2Leu52GJzmVN5id0g==",
|
||||||
|
|
|
@ -90,6 +90,7 @@ hr {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
display: block;
|
display: block;
|
||||||
|
text-align: center;;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -116,46 +117,27 @@ hr {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#menu_container_horizontal ul.components {
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu_container_horizontal ul li a {
|
/* Dropdown Menus */
|
||||||
padding: 1px;
|
|
||||||
font-size: 1.1em;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu_container_horizontal ul li a:hover {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* NEW: Dropdown Menu */
|
|
||||||
/* Dropdown Button */
|
|
||||||
.dropbtn {
|
.dropbtn {
|
||||||
background-color: #0d6efd;
|
background-color: #0d6efd;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border: none;
|
border: none;
|
||||||
cursor: pointer;
|
|
||||||
width: 180px;
|
width: 180px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dropdown button on hover & focus */
|
|
||||||
.dropbtn:hover, .dropbtn:focus {
|
.dropbtn:hover, .dropbtn:focus {
|
||||||
background-color: #0067fc;
|
background-color: #0067fc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The container <div> - needed to position the dropdown content */
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dropdown Content (Hidden by Default) */
|
|
||||||
.dropdown-content {
|
.dropdown-content {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -165,7 +147,6 @@ hr {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Links inside the dropdown */
|
|
||||||
.dropdown-content a {
|
.dropdown-content a {
|
||||||
color: black;
|
color: black;
|
||||||
padding: 12px 16px;
|
padding: 12px 16px;
|
||||||
|
@ -173,9 +154,9 @@ hr {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-content a:hover {
|
||||||
/* Change color of dropdown links on hover */
|
background-color: #f1f1f1;
|
||||||
.dropdown-content a:hover {background-color: #f1f1f1;}
|
}
|
||||||
|
|
||||||
/* Show the dropdown menus on hover */
|
/* Show the dropdown menus on hover */
|
||||||
#capture-menu:hover #capture-menu-content {
|
#capture-menu:hover #capture-menu-content {
|
||||||
|
|
|
@ -9,7 +9,7 @@ let margin = {
|
||||||
left: 90
|
left: 90
|
||||||
};
|
};
|
||||||
|
|
||||||
let menuHeight = document.getElementById('menu_vertical').clientHeight;
|
let menuHeight = document.getElementById('menu_vertical').clientHeight + 20;
|
||||||
let width = 960 - margin.left - margin.right;
|
let width = 960 - margin.left - margin.right;
|
||||||
let height = menuHeight * 2;
|
let height = menuHeight * 2;
|
||||||
|
|
||||||
|
|
|
@ -258,8 +258,9 @@
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
|
||||||
<div id=menu_vertical_content class="collapse show">
|
<div id=menu_vertical_content class="collapse show">
|
||||||
|
<hr/>
|
||||||
<ul class="list-group list-group-flush">
|
<ul class="list-group list-group-flush">
|
||||||
<li class="list-group-item">
|
<li class="list-group-item">
|
||||||
<a href="{{ url_for('capture_web') }}" role="button">New capture</a>
|
<a href="{{ url_for('capture_web') }}" role="button">New capture</a>
|
||||||
|
|
Loading…
Reference in New Issue