2013-12-28 17:39:43 -08:00
|
|
|
|
2019-11-11 09:51:26 -08:00
|
|
|
#_wb_frame_top_banner
|
2015-02-02 09:41:49 -08:00
|
|
|
{
|
2014-02-09 01:42:42 -08:00
|
|
|
display: block !important;
|
|
|
|
top: 0px !important;
|
|
|
|
left: 0px !important;
|
|
|
|
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
|
|
|
width: 100% !important;
|
2018-01-09 13:11:44 -08:00
|
|
|
font-size: 18px !important;
|
|
|
|
background-color: #444 !important;
|
|
|
|
color: white !important;
|
2014-02-09 01:42:42 -08:00
|
|
|
z-index: 2147483643 !important;
|
|
|
|
line-height: normal !important;
|
2013-12-28 17:39:43 -08:00
|
|
|
|
2015-02-25 13:25:05 -08:00
|
|
|
position: absolute !important;
|
2014-04-09 10:57:43 -07:00
|
|
|
border: 0px;
|
2018-01-09 13:11:44 -08:00
|
|
|
height: 44px !important;
|
2019-11-11 09:51:26 -08:00
|
|
|
|
|
|
|
display: flex !important;
|
|
|
|
display: -webkit-box !important;
|
|
|
|
display: -moz-box !important;
|
|
|
|
display: -webkit-flex !important;
|
|
|
|
display: -ms-flexbox !important;
|
|
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
-webkit-box-pack: justify;
|
|
|
|
-moz-box-pack: justify;
|
|
|
|
-ms-flex-pack: justify;
|
|
|
|
align-items: center;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
}
|
|
|
|
|
2020-01-11 13:05:28 -08:00
|
|
|
#title_or_url
|
|
|
|
{
|
|
|
|
display: block !important;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-11 09:51:26 -08:00
|
|
|
#_wb_frame_top_banner ._wb_linked_logo
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
height: 26px;
|
|
|
|
width: 71px;
|
|
|
|
margin-left: 15px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
-webkit-flex-shrink: 1 0;
|
|
|
|
-moz-flex-shrink: 1 0;
|
|
|
|
-ms-flex: 0 0 71px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#_wb_frame_top_banner ._wb_linked_logo img
|
|
|
|
{
|
|
|
|
width: auto;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#_wb_capture_info
|
|
|
|
{
|
|
|
|
flex-grow: 1;
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
-webkit-flex-grow: 1;
|
|
|
|
-ms-flex: 1;
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
margin: 0 15px;
|
|
|
|
|
|
|
|
display: flex !important;
|
|
|
|
display: -webkit-box !important;
|
|
|
|
display: -moz-box !important;
|
|
|
|
display: -webkit-flex !important;
|
|
|
|
display: -ms-flexbox !important;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-moz-box-direction: normal;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-moz-box-align: center;
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
._wb_capture_date
|
|
|
|
{
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links
|
|
|
|
{
|
|
|
|
font-size: 12px;
|
|
|
|
color: #FFF;
|
|
|
|
text-align: right;
|
2020-01-11 13:05:28 -08:00
|
|
|
margin: 0px 15px 0px 0px;
|
|
|
|
padding: inherit;
|
|
|
|
background-color: inherit;
|
|
|
|
width: initial;
|
|
|
|
flex-shrink: 1;
|
|
|
|
-webkit-flex-shrink: 1;
|
|
|
|
-moz-flex-shrink: 1;
|
2019-11-11 09:51:26 -08:00
|
|
|
-ms-flex: 0 0 115px;
|
|
|
|
}
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links a:link,
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links a:visited,
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links a:active
|
|
|
|
{
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links a:hover
|
|
|
|
{
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
#_wb_frame_top_banner #_wb_ancillary_links a img
|
|
|
|
{
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2014-04-09 10:57:43 -07:00
|
|
|
}
|
|
|
|
|
Frame insert refactor (#246)
refactor frame/head insert templates:
ContentFrame:
- content iframe inited with new ContentFrame() which creates iframe
- wb_frame.js: contains ContentFrame system for initing, updating, closing content frame for replayed content.
- wb_frame.js: supports 'app_prefix' and 'content_prefix' or default 'prefix' for replay content
- window.location.hash passed added to init url.
- frame insert and head insert: simplify, remove 'wbrequest'
- frame insert: global wbinfo object no longer needed in top frame, each ContentFrame self-contained.
- wombat.js: next_parent() check does not assume wbinfo is present in top frame
- vidrw.js: only init if wbinfo is present
Banner:
- wb.js no longer needed, frame check/redirect folded into wombat.js
- default banner self-contained in default_banner.js/default_banner.css, handles both frame and frameless case
- rename wb.css -> default_banner.css
- banner html passed in as 'banner_html' variable to be optionally included, supports per collection banner html.
- templateview: BaseInsertView can accept an option 'banner view', used by HeadInsertView and TopFrameView
Tests:
- tests: test_auto_colls uses shared app to test dynamic changes, testing both frame and non-frame access, added per-collection banner html check.
2017-09-30 21:09:38 -07:00
|
|
|
#wb_iframe_div
|
2014-04-08 22:43:32 -07:00
|
|
|
{
|
2015-02-25 13:25:05 -08:00
|
|
|
position: absolute;
|
2014-04-08 22:43:32 -07:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-11 09:51:26 -08:00
|
|
|
padding: 44px 0px 0px 0px;
|
2014-04-08 22:43:32 -07:00
|
|
|
border: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
2015-02-25 13:25:05 -08:00
|
|
|
overflow: hidden;
|
2014-04-08 22:43:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.wb_iframe
|
|
|
|
{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-11 09:51:26 -08:00
|
|
|
border: 2px solid #FFF;
|
|
|
|
border-width: 2px 0 0 0;
|
2015-02-25 13:25:05 -08:00
|
|
|
padding: 0px 0px 0px 0px;
|
|
|
|
overflow: scroll;
|
2014-04-08 22:43:32 -07:00
|
|
|
}
|
2019-11-11 09:51:26 -08:00
|
|
|
|
2021-01-26 22:43:40 +01:00
|
|
|
._wb_mobile {
|
2019-11-11 09:51:26 -08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
#_wb_frame_top_banner ._wb_linked_logo
|
|
|
|
{
|
|
|
|
width: 26px;
|
|
|
|
height: 26px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2021-01-26 22:43:40 +01:00
|
|
|
#_wb_frame_top_banner ._wb_linked_logo img:not(._wb_mobile)
|
2019-11-11 09:51:26 -08:00
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-26 22:43:40 +01:00
|
|
|
#_wb_frame_top_banner ._wb_mobile
|
2019-11-11 09:51:26 -08:00
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#_wb_capture_info
|
|
|
|
{
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
2021-01-26 22:43:40 +01:00
|
|
|
#_wb_frame_top_banner ._wb_no-mobile
|
2019-11-11 09:51:26 -08:00
|
|
|
{
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-26 22:43:40 +01:00
|
|
|
}
|