添加后台代理代码
189
codes/agent/game/api/document/plugins/page_notes/page_notes.js
Normal file
@@ -0,0 +1,189 @@
|
||||
// use this to isolate the scope
|
||||
(function () {
|
||||
if(!$axure.document.configuration.showPageNotes && !$axure.document.configuration.showAnnotationsSidebar) { return; }
|
||||
|
||||
$(window.document).ready(function () {
|
||||
$axure.player.createPluginHost({
|
||||
id: 'pageNotesHost',
|
||||
context: 'interface',
|
||||
title: 'NOTES',
|
||||
gid: 2
|
||||
});
|
||||
|
||||
generatePageNotes();
|
||||
|
||||
$(document).on('ContainerHeightChange', function () {
|
||||
updateContainerHeight();
|
||||
});
|
||||
|
||||
$('#footnotesButton').click(footnotes_click).addClass('sitemapToolbarButtonSelected');
|
||||
$('#notesNextButton').click(notesNext_click);
|
||||
$('#notesPreviousButton').click(notesPrevious_click);
|
||||
|
||||
// bind to the page load
|
||||
$axure.page.bind('load.page_notes', function () {
|
||||
|
||||
var hasNotes = false;
|
||||
|
||||
$('#pageNotesContent').html("");
|
||||
|
||||
if($axure.document.configuration.showPageNotes) {
|
||||
//populate the notes
|
||||
var notes = $axure.page.notes;
|
||||
if(notes) {
|
||||
var showNames = $axure.document.configuration.showPageNoteNames;
|
||||
|
||||
for(var noteName in notes) {
|
||||
var pageNoteUi = "<div class='pageNoteContainer'>";
|
||||
if(showNames) {
|
||||
pageNoteUi += "<div class='pageNoteName'>" + noteName + "</div>";
|
||||
}
|
||||
pageNoteUi += "<div class='pageNote'>" + linkify(notes[noteName]) + "</div>";
|
||||
pageNoteUi += "</div>";
|
||||
pageNoteUi += "<div class='dottedDivider'></div>";
|
||||
$('#pageNotesContent').append(pageNoteUi);
|
||||
|
||||
hasNotes = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if($axure.document.configuration.showAnnotationsSidebar) {
|
||||
var widgetNotes = $axure.page.widgetNotes;
|
||||
if(widgetNotes) {
|
||||
for(var i = 0; i < widgetNotes.length; i++) {
|
||||
var widgetNote = widgetNotes[i];
|
||||
var widgetNoteUi = "<div class='widgetNoteContainer' data-id='" + widgetNote["id"] + "'>";
|
||||
widgetNoteUi += "<div class='widgetNoteFootnote'></div>";
|
||||
widgetNoteUi += "<div class='widgetNoteLabel'>" + widgetNote["label"] + "</div>";
|
||||
|
||||
for(var widgetNoteName in widgetNote) {
|
||||
if(widgetNoteName != "label" && widgetNoteName != "id") {
|
||||
widgetNoteUi += "<div class='pageNoteName'>" + widgetNoteName + "</div>";
|
||||
widgetNoteUi += "<div class='pageNote'>" + linkify(widgetNote[widgetNoteName]) + "</div>";
|
||||
widgetNoteUi += "<div class='nondottedDivider'></div>";
|
||||
}
|
||||
}
|
||||
widgetNoteUi += "</div>";
|
||||
widgetNoteUi += "<div class='nondottedDivider'></div>";
|
||||
$('#pageNotesContent').append(widgetNoteUi);
|
||||
hasNotes = true;
|
||||
}
|
||||
$('.widgetNoteContainer').children(':last-child').remove();
|
||||
$('.widgetNoteFootnote').append("<div class='annnoteline'></div><div class='annnoteline'></div><div class='annnoteline'></div>");
|
||||
$('.widgetNoteContainer').click(function () {
|
||||
var wasSelected = $(this).hasClass('widgetNoteContainerSelected');
|
||||
$('.widgetNoteContainerSelected').removeClass('widgetNoteContainerSelected');
|
||||
if(!wasSelected) $(this).addClass('widgetNoteContainerSelected');
|
||||
$axure.messageCenter.postMessage('toggleSelectWidgetNote', this.getAttribute('data-id'));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if(hasNotes) $('#pageNotesEmptyState').hide();
|
||||
else $('#pageNotesEmptyState').show();
|
||||
|
||||
//If footnotes enabled for this prototype...
|
||||
if($axure.document.configuration.showAnnotations == true) {
|
||||
//If the fn var is defined and set to 0, hide footnotes
|
||||
//else if hide-footnotes button selected, hide them
|
||||
var fnVal = getHashStringVar(FOOTNOTES_VAR_NAME);
|
||||
if(fnVal.length > 0 && fnVal == 0) {
|
||||
$('#footnotesButton').removeClass('sitemapToolbarButtonSelected');
|
||||
$axure.messageCenter.postMessage('annotationToggle', false);
|
||||
} else if(!$('#footnotesButton').is('.sitemapToolbarButtonSelected')) {
|
||||
//If the footnotes button isn't selected, hide them on this loaded page
|
||||
$axure.messageCenter.postMessage('annotationToggle', false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
function linkify(text) {
|
||||
var urlRegex = /(\b(((https?|ftp|file):\/\/)|(www\.))[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;
|
||||
return text.replace(urlRegex, function(url, b, c) {
|
||||
var url2 = (c == 'www.') ? 'http://' + url : url;
|
||||
return '<a href="' + url2 + '" target="_blank" class="noteLink">' + url + '</a>';
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
function updateContainerHeight() {
|
||||
$('#pageNotesScrollContainer').height($('#pageNotesHost').height() - $('#pageNotesHeader').outerHeight());
|
||||
}
|
||||
|
||||
$(document).on('sidebarCollapse', function (event, data) {
|
||||
clearSelection();
|
||||
});
|
||||
|
||||
$(document).on('pluginShown', function (event, data) {
|
||||
if(data != 2) {
|
||||
clearSelection();
|
||||
}
|
||||
});
|
||||
|
||||
function clearSelection() {
|
||||
$('.widgetNoteContainerSelected').removeClass('widgetNoteContainerSelected');
|
||||
$axure.messageCenter.postMessage('toggleSelectWidgetNote', '');
|
||||
}
|
||||
|
||||
function footnotes_click(event) {
|
||||
if($('#footnotesButton').is('.sitemapToolbarButtonSelected')) {
|
||||
$('#footnotesButton').removeClass('sitemapToolbarButtonSelected');
|
||||
$axure.messageCenter.postMessage('annotationToggle', false);
|
||||
//Add 'fn' hash string var so that footnotes stay hidden across reloads
|
||||
setVarInCurrentUrlHash(FOOTNOTES_VAR_NAME, 0);
|
||||
} else {
|
||||
$('#footnotesButton').addClass('sitemapToolbarButtonSelected');
|
||||
$axure.messageCenter.postMessage('annotationToggle', true);
|
||||
//Delete 'fn' hash string var if it exists since default is visible
|
||||
deleteVarFromCurrentUrlHash(FOOTNOTES_VAR_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
function notesNext_click(event) {
|
||||
openNextPage();
|
||||
}
|
||||
|
||||
function notesPrevious_click(event) {
|
||||
openPreviousPage();
|
||||
}
|
||||
|
||||
function generatePageNotes() {
|
||||
var pageNotesUi = "<div id='pageNotesHeader'' class='sitemapHeader'>";
|
||||
|
||||
pageNotesUi += "<div id='pageNotesToolbar' class='sitemapToolbar'>";
|
||||
pageNotesUi += "<div class='pluginNameHeader'>NOTES</div>";
|
||||
pageNotesUi += "<div class='pageNameHeader'></div>";
|
||||
|
||||
pageNotesUi += "<div class='pageButtonHeader'>";
|
||||
|
||||
pageNotesUi += "<a id='notesPreviousButton' title='Previous Page' class='sitemapToolbarButton prevPageButton'></a>";
|
||||
pageNotesUi += "<a id='notesNextButton' title='Next Page' class='sitemapToolbarButton nextPageButton'></a>";
|
||||
|
||||
if($axure.document.configuration.showAnnotations == true) {
|
||||
pageNotesUi += "<a id='footnotesButton' title='Toggle Footnotes' class='sitemapToolbarButton'></a>";
|
||||
}
|
||||
|
||||
pageNotesUi += "</div>";
|
||||
pageNotesUi += "</div>";
|
||||
pageNotesUi += "</div>";
|
||||
|
||||
|
||||
pageNotesUi += "<div id='pageNotesScrollContainer'>";
|
||||
pageNotesUi += "<div id='pageNotesContainer'>";
|
||||
pageNotesUi += "<div id='pageNotesEmptyState' class='emptyStateContainer'><div class='emptyStateTitle'>No notes for this page.</div><div class='emptyStateContent'>Notes added in Axure RP will appear here.</div><div class='dottedDivider'></div></div>";
|
||||
pageNotesUi += "<span id='pageNotesContent'></span>";
|
||||
pageNotesUi += "</div></div>";
|
||||
|
||||
$('#pageNotesHost').html(pageNotesUi);
|
||||
updateContainerHeight();
|
||||
|
||||
if(!$axure.document.configuration.showAnnotations) {
|
||||
$('#pageNotesHost .pageNameHeader').css('padding-right', '55px');
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
|
After Width: | Height: | Size: 310 B |
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="8px" height="14px" viewBox="0 0 8 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>back</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="back" sketch:type="MSArtboardGroup" fill="#4A4A4A">
|
||||
<path d="M2.05455283,7.19050037 L6.95392196,1.7467569 C7.27096861,1.39448283 7.24241116,0.85189118 6.89013709,0.534844521 C6.53786303,0.217797863 5.99527138,0.246355318 5.67822472,0.598629383 L0.357495052,6.51055123 C0.320312757,6.53732245 0.284790616,6.56743203 0.251342669,6.60087998 C-0.0837808905,6.93600354 -0.0837808895,7.47934618 0.251342671,7.81446974 L5.91476158,13.4778886 C6.24988515,13.8130122 6.79322779,13.8130122 7.12835135,13.4778886 C7.46347491,13.1427651 7.46347491,12.5994224 7.12835135,12.2642989 L2.05455283,7.19050037 Z" id="Shape" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 331 B |
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="8px" height="14px" viewBox="0 0 8 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>back_hover</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="back_hover" sketch:type="MSArtboardGroup" fill="#138CDE">
|
||||
<path d="M2.05455283,7.19050037 L6.95392196,1.7467569 C7.27096861,1.39448283 7.24241116,0.85189118 6.89013709,0.534844521 C6.53786303,0.217797863 5.99527138,0.246355318 5.67822472,0.598629383 L0.357495052,6.51055123 C0.320312757,6.53732245 0.284790616,6.56743203 0.251342669,6.60087998 C-0.0837808905,6.93600354 -0.0837808895,7.47934618 0.251342671,7.81446974 L5.91476158,13.4778886 C6.24988515,13.8130122 6.79322779,13.8130122 7.12835135,13.4778886 C7.46347491,13.1427651 7.46347491,12.5994224 7.12835135,12.2642989 L2.05455283,7.19050037 Z" id="Shape" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 125 B |
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>note</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="note" sketch:type="MSArtboardGroup">
|
||||
<rect id="Rectangle-40" fill="#4A4A4A" sketch:type="MSShapeGroup" x="0" y="0" width="13" height="13"></rect>
|
||||
<path d="M2.81818182,4 L10.1818182,4 L11,4 L11,3 L10.1818182,3 L2.81818182,3 L2,3 L2,4 L2.81818182,4 L2.81818182,4 Z" id="Shape" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,7 L10.1818182,7 L11,7 L11,6 L10.1818182,6 L2.81818182,6 L2,6 L2,7 L2.81818182,7 L2.81818182,7 Z" id="Shape-Copy" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,10 L10.1818182,10 L11,10 L11,9 L10.1818182,9 L2.81818182,9 L2,9 L2,10 L2.81818182,10 L2.81818182,10 Z" id="Shape-Copy-2" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 128 B |
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>note_hover</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="note_hover" sketch:type="MSArtboardGroup">
|
||||
<rect id="Rectangle-40" fill="#138CDE" sketch:type="MSShapeGroup" x="0" y="0" width="13" height="13"></rect>
|
||||
<path d="M2.81818182,4 L10.1818182,4 L11,4 L11,3 L10.1818182,3 L2.81818182,3 L2,3 L2,4 L2.81818182,4 L2.81818182,4 Z" id="Shape" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,7 L10.1818182,7 L11,7 L11,6 L10.1818182,6 L2.81818182,6 L2,6 L2,7 L2.81818182,7 L2.81818182,7 Z" id="Shape-Copy" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,10 L10.1818182,10 L11,10 L11,9 L10.1818182,9 L2.81818182,9 L2,9 L2,10 L2.81818182,10 L2.81818182,10 Z" id="Shape-Copy-2" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 128 B |
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="13px" height="13px" viewBox="0 0 13 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>note_on</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="note_on" sketch:type="MSArtboardGroup">
|
||||
<rect id="Rectangle-40" fill="#138CDE" sketch:type="MSShapeGroup" x="0" y="0" width="13" height="13"></rect>
|
||||
<path d="M2.81818182,4 L10.1818182,4 L11,4 L11,3 L10.1818182,3 L2.81818182,3 L2,3 L2,4 L2.81818182,4 L2.81818182,4 Z" id="Shape" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,7 L10.1818182,7 L11,7 L11,6 L10.1818182,6 L2.81818182,6 L2,6 L2,7 L2.81818182,7 L2.81818182,7 Z" id="Shape-Copy" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M2.81818182,10 L10.1818182,10 L11,10 L11,9 L10.1818182,9 L2.81818182,9 L2,9 L2,10 L2.81818182,10 L2.81818182,10 Z" id="Shape-Copy-2" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 331 B |
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="8px" height="14px" viewBox="0 0 8 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>forward</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="forward" sketch:type="MSArtboardGroup" fill="#4A4A4A">
|
||||
<path d="M5.36658239,6.83451096 L0.504510351,1.43220869 C0.187463692,1.07993462 0.216021147,0.537342972 0.568295213,0.220296313 C0.920569278,-0.0967503457 1.46316093,-0.0681928903 1.78020759,0.284081175 L7.13813599,6.23733496 C7.24341927,6.35431637 7.31059146,6.49228484 7.34045407,6.63601181 C7.43282137,6.93106571 7.36212046,7.26615242 7.12835135,7.49992153 L1.46493243,13.1633404 C1.12980887,13.498464 0.586466228,13.498464 0.251342669,13.1633404 C-0.0837808905,12.8282169 -0.0837808895,12.2848742 0.251342671,11.9497507 L5.36658239,6.83451096 Z" id="Shape" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 334 B |
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="8px" height="14px" viewBox="0 0 8 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.5.2 (25235) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>forward_hover</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="forward_hover" sketch:type="MSArtboardGroup" fill="#138CDE">
|
||||
<path d="M5.36658239,6.83451096 L0.504510351,1.43220869 C0.187463692,1.07993462 0.216021147,0.537342972 0.568295213,0.220296313 C0.920569278,-0.0967503457 1.46316093,-0.0681928903 1.78020759,0.284081175 L7.13813599,6.23733496 C7.24341927,6.35431637 7.31059146,6.49228484 7.34045407,6.63601181 C7.43282137,6.93106571 7.36212046,7.26615242 7.12835135,7.49992153 L1.46493243,13.1633404 C1.12980887,13.498464 0.586466228,13.498464 0.251342669,13.1633404 C-0.0837808905,12.8282169 -0.0837808895,12.2848742 0.251342671,11.9497507 L5.36658239,6.83451096 Z" id="Shape" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="25" height="29" viewBox="0 0 25 29" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Page-1" fill="none" fill-rule="evenodd">
|
||||
<g id="notes_hover" fill="#c2c2c2">
|
||||
<path d="M23.0173953,0 C24.1123577,0 25,0.894046985 25,1.98073526 L25,26.8366451 C25,27.930575 24.1102368,28.8173804 23.0173953,28.8173804 L1.98260467,28.8173804 C0.887642344,28.8173804 0,27.9233334 0,26.8366451 L0,1.98073526 C0,0.886805381 0.889763236,0 1.98260467,0 L23.0173953,0 Z M3,3 L22,3 L22,26 L3,26 L3,3 Z" id="Path"/>
|
||||
<path d="M19,23 L19,21 L5,21 L5,23 L19,23 Z M19,18 L19,16 L5,16 L5,18 L19,18 Z M6.0989011,13 L11.9010989,13 L13,13 L13,11 L11.9010989,11 L6.0989011,11 L5,11 L5,13 L6.0989011,13 L6.0989011,13 Z M11.9010989,8.06681692 L13,8.06681692 L13,6.06681692 L11.9010989,6.06681692 L6.0989011,6.06681692 L5,6.06681692 L5,8.06681692 L6.0989011,8.06681692 L11.9010989,8.06681692 Z M15,6 L19,6 L19,13 L15,13 L15,6 Z" id="Notes-Icon"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1013 B |
|
After Width: | Height: | Size: 313 B |
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="25" height="29" viewBox="0 0 25 29" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Page-1" fill="none" fill-rule="evenodd">
|
||||
<g id="notes_off" fill="#62666b">
|
||||
<path d="M23.0173953,0 C24.1123577,0 25,0.894046985 25,1.98073526 L25,26.8366451 C25,27.930575 24.1102368,28.8173804 23.0173953,28.8173804 L1.98260467,28.8173804 C0.887642344,28.8173804 0,27.9233334 0,26.8366451 L0,1.98073526 C0,0.886805381 0.889763236,0 1.98260467,0 L23.0173953,0 Z M3,3 L22,3 L22,26 L3,26 L3,3 Z" id="Path"/>
|
||||
<path d="M19,23 L19,21 L5,21 L5,23 L19,23 Z M19,18 L19,16 L5,16 L5,18 L19,18 Z M6.0989011,13 L11.9010989,13 L13,13 L13,11 L11.9010989,11 L6.0989011,11 L5,11 L5,13 L6.0989011,13 L6.0989011,13 Z M11.9010989,8.06681692 L13,8.06681692 L13,6.06681692 L11.9010989,6.06681692 L6.0989011,6.06681692 L5,6.06681692 L5,8.06681692 L6.0989011,8.06681692 L11.9010989,8.06681692 Z M15,6 L19,6 L19,13 L15,13 L15,6 Z" id="Notes-Icon"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 284 B |
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="25" height="29" viewBox="0 0 25 29" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Page-1" fill="none" fill-rule="evenodd">
|
||||
<g id="notes_on" fill="#ffffff">
|
||||
<path d="M23.0173953,0 C24.1123577,0 25,0.894046985 25,1.98073526 L25,26.8366451 C25,27.930575 24.1102368,28.8173804 23.0173953,28.8173804 L1.98260467,28.8173804 C0.887642344,28.8173804 0,27.9233334 0,26.8366451 L0,1.98073526 C0,0.886805381 0.889763236,0 1.98260467,0 L23.0173953,0 Z M3,3 L22,3 L22,26 L3,26 L3,3 Z" id="Path"/>
|
||||
<path d="M19,23 L19,21 L5,21 L5,23 L19,23 Z M19,18 L19,16 L5,16 L5,18 L19,18 Z M6.0989011,13 L11.9010989,13 L13,13 L13,11 L11.9010989,11 L6.0989011,11 L5,11 L5,13 L6.0989011,13 L6.0989011,13 Z M11.9010989,8.06681692 L13,8.06681692 L13,6.06681692 L11.9010989,6.06681692 L6.0989011,6.06681692 L5,6.06681692 L5,8.06681692 L6.0989011,8.06681692 L11.9010989,8.06681692 Z M15,6 L19,6 L19,13 L15,13 L15,6 Z" id="Notes-Icon"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1010 B |
@@ -0,0 +1,159 @@
|
||||
#pageNotesHost {
|
||||
font-size: 12px;
|
||||
color:#4a4a4a;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#pageNotesHostBtn a {
|
||||
background: url('images/notes_on.png');
|
||||
background: url('images/notes_on.svg'),linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
.hashover #pageNotesHostBtn a:hover {
|
||||
background: url('images/notes_hover.png');
|
||||
background: url('images/notes_hover.svg'),linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
#pageNotesHostBtn a.selected, #pageNotesHostBtn a.selected:hover {
|
||||
background: url('images/notes_off.png');
|
||||
background: url('images/notes_off.svg'),linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
#footnotesButton {
|
||||
background: url('images/footnotes.png') no-repeat center center;
|
||||
background: url('images/footnotes.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
#footnotesButton:hover {
|
||||
background: url('images/footnotes_hover.png') no-repeat center center;
|
||||
background: url('images/footnotes_hover.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
#footnotesButton.sitemapToolbarButtonSelected, #footnotesButton.sitemapToolbarButtonSelected:hover {
|
||||
background: url('images/footnotes_on.png') no-repeat center center;
|
||||
background: url('images/footnotes_on.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
.nextPageButton {
|
||||
background: url('images/forward.png') no-repeat center center;
|
||||
background: url('images/forward.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
.nextPageButton:hover {
|
||||
background: url('images/forward_hover.png') no-repeat center center;
|
||||
background: url('images/forward_hover.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
.prevPageButton {
|
||||
background: url('images/back.png') no-repeat center center;
|
||||
background: url('images/back.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
.prevPageButton:hover {
|
||||
background: url('images/back_hover.png') no-repeat center center;
|
||||
background: url('images/back_hover.svg') no-repeat center center,linear-gradient(transparent, transparent);
|
||||
}
|
||||
|
||||
#pageNotesScrollContainer
|
||||
{
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
/*height: 100%;*/
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
#pageNotesContainer
|
||||
{
|
||||
/*padding: 10px 10px 10px 12px;*/
|
||||
}
|
||||
|
||||
#pageNotesContent
|
||||
{
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.pageNoteContainer
|
||||
{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.pageNoteName
|
||||
{
|
||||
font-family: 'Trebuchet MS';
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
/*text-decoration: underline;*/
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pageNote
|
||||
{
|
||||
line-height: 21px;
|
||||
/*margin-bottom: 20px;*/
|
||||
}
|
||||
|
||||
.widgetNoteContainer {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-top: 1px solid transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.widgetNoteContainerSelected {
|
||||
background-color: white;
|
||||
border-bottom: 1px solid #c2c2c2;
|
||||
border-top: 1px solid #c2c2c2;
|
||||
}
|
||||
|
||||
/*.widgetNoteContainer:hover {
|
||||
background-color: white;
|
||||
//border-bottom: 1px solid #c2c2c2;
|
||||
//border-top: 1px solid #c2c2c2;
|
||||
}*/
|
||||
|
||||
.widgetNoteFootnote {
|
||||
display: inline-block;
|
||||
/*vertical-align: top;
|
||||
margin: 2px 5px 10px 0px;
|
||||
padding: 1px 6px;
|
||||
font-size: 10px;
|
||||
color: #ffffff;
|
||||
background-color: #0a6cd6;*/
|
||||
width: 13px;
|
||||
height: 12px;
|
||||
padding-top: 1px;
|
||||
text-align: center;
|
||||
background-color: #138CDD;
|
||||
/*-moz-box-shadow: 1px 1px 3px #aaa;
|
||||
-webkit-box-shadow: 1px 1px 3px #aaa;
|
||||
box-shadow: 1px 1px 3px #aaa;*/
|
||||
font-size: 0px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
div.annnoteline {
|
||||
display: inline-block;
|
||||
width: 9px;
|
||||
height: 1px;
|
||||
border-bottom: 1px solid white;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.widgetNoteLabel {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
font-family: 'Trebuchet MS';
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.noteLink {
|
||||
text-decoration: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.noteLink:hover {
|
||||
background-color: white;
|
||||
}
|
||||