Merge pull request #754 from ZasoGD/Bookmarks-2.8

Bookmarks 2.8
This commit is contained in:
Jon Atkins 2014-02-06 22:41:05 +00:00
commit 4b2ff75604
2 changed files with 147 additions and 71 deletions

View File

@ -2,7 +2,7 @@
// @id iitc-plugin-bookmarks@ZasoGD // @id iitc-plugin-bookmarks@ZasoGD
// @name IITC plugin: Bookmarks for maps and portals // @name IITC plugin: Bookmarks for maps and portals
// @category Controls // @category Controls
// @version 0.2.7.@@DATETIMEVERSION@@ // @version 0.2.8.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL @@UPDATEURL@@ // @updateURL @@UPDATEURL@@
// @downloadURL @@DOWNLOADURL@@ // @downloadURL @@DOWNLOADURL@@
@ -151,18 +151,11 @@
} }
if(newStatus === 1) { if(newStatus === 1) {
$('#bookmarksBox').show(); $('#bookmarksBox').css('height', 'auto');
$('#bkmrksTrigger').hide(); $('#bkmrksTrigger').css('height', '0');
} else { } else {
$('#bookmarksBox').hide(); $('#bkmrksTrigger').css('height', '64px');
$('#bkmrksTrigger').show(); $('#bookmarksBox').css('height', '0');
}
if(window.plugin.bookmarks.isSmart) {
var button = $('#bkmrksTrigger');
button.toggleClass('open');
if(button.hasClass('open')) { button.text('[-] Bookmarks'); }
else{ button.text('[+] Bookmarks'); }
} }
window.plugin.bookmarks.statusBox['show'] = newStatus; window.plugin.bookmarks.statusBox['show'] = newStatus;
@ -433,6 +426,11 @@
} }
} }
window.plugin.bookmarks.deleteMode = function() {
$('#bookmarksBox').toggleClass('deleteMode');
}
/***************************************************************************************************************************************************************/ /***************************************************************************************************************************************************************/
// Saved the new sort of the folders (in the localStorage) // Saved the new sort of the folders (in the localStorage)
@ -489,6 +487,7 @@
items:"li.bookmarkFolder:not(.othersBookmarks)", items:"li.bookmarkFolder:not(.othersBookmarks)",
handle:".bookmarksAnchor", handle:".bookmarksAnchor",
placeholder:"sortable-placeholder", placeholder:"sortable-placeholder",
helper:'clone', // fix accidental click in firefox
forcePlaceholderSize:true, forcePlaceholderSize:true,
update:function(event, ui) { update:function(event, ui) {
var typeList = $('#'+ui.item.context.id).parent().parent('.bookmarkList').attr('id'); var typeList = $('#'+ui.item.context.id).parent().parent('.bookmarkList').attr('id');
@ -501,6 +500,7 @@
connectWith:".bookmarkList ul ul", connectWith:".bookmarkList ul ul",
handle:".bookmarksLink", handle:".bookmarksLink",
placeholder:"sortable-placeholder", placeholder:"sortable-placeholder",
helper:'clone', // fix accidental click in firefox
forcePlaceholderSize:true, forcePlaceholderSize:true,
update:function(event, ui) { update:function(event, ui) {
var typeList = $('#'+ui.item.context.id).parent().parent().parent().parent('.bookmarkList').attr('id'); var typeList = $('#'+ui.item.context.id).parent().parent().parent().parent('.bookmarkList').attr('id');
@ -548,17 +548,22 @@
window.plugin.bookmarks.optPaste = function() { window.plugin.bookmarks.optPaste = function() {
var promptAction = prompt('Press CTRL+V to paste it.', ''); var promptAction = prompt('Press CTRL+V to paste it.', '');
if(promptAction !== null && promptAction !== '') { if(promptAction !== null && promptAction !== '') {
try {
localStorage[window.plugin.bookmarks.KEY_STORAGE] = promptAction; localStorage[window.plugin.bookmarks.KEY_STORAGE] = promptAction;
window.plugin.bookmarks.refreshBkmrks(); window.plugin.bookmarks.refreshBkmrks();
window.runHooks('pluginBkmrksEdit', {"target": "all", "action": "import"}); window.runHooks('pluginBkmrksEdit', {"target": "all", "action": "import"});
console.log('BOOKMARKS: reset and imported bookmarks'); console.log('BOOKMARKS: reset and imported bookmarks');
window.plugin.bookmarks.optAlert('Successful. '); window.plugin.bookmarks.optAlert('Successful. ');
} catch(e) {
console.warn('BOOKMARKS: failed to import data: '+e);
window.plugin.bookmarks.optAlert('<span style="color: #f88">Import failed </span>');
}
} }
} }
window.plugin.bookmarks.optReset = function() { window.plugin.bookmarks.optReset = function() {
var promptAction = prompt('All bookmarks will be deleted. Are you sure? [Y/N]', ''); var promptAction = confirm('All bookmarks will be deleted. Are you sure?', '');
if(promptAction !== null && (promptAction === 'Y' || promptAction === 'y')) { if(promptAction) {
delete localStorage[window.plugin.bookmarks.KEY_STORAGE]; delete localStorage[window.plugin.bookmarks.KEY_STORAGE];
window.plugin.bookmarks.createStorage(); window.plugin.bookmarks.createStorage();
window.plugin.bookmarks.loadStorage(); window.plugin.bookmarks.loadStorage();
@ -618,6 +623,8 @@
if(latlngs.length >= 2 && latlngs.length <= 3) { if(latlngs.length >= 2 && latlngs.length <= 3) {
// TODO: add an API to draw-tools rather than assuming things about it's internals // TODO: add an API to draw-tools rather than assuming things about it's internals
var newItem; var newItem;
window.plugin.drawTools.setOptions();
if(latlngs.length == 2) { if(latlngs.length == 2) {
newItem = L.geodesicPolyline(latlngs, window.plugin.drawTools.lineOptions); newItem = L.geodesicPolyline(latlngs, window.plugin.drawTools.lineOptions);
} else { } else {
@ -885,6 +892,7 @@
+'<div id="topBar">' +'<div id="topBar">'
+'<a id="bookmarksMin" class="btn" onclick="window.plugin.bookmarks.switchStatusBkmrksBox(0);return false;" title="Minimize">-</a>' +'<a id="bookmarksMin" class="btn" onclick="window.plugin.bookmarks.switchStatusBkmrksBox(0);return false;" title="Minimize">-</a>'
+'<div class="handle">...</div>' +'<div class="handle">...</div>'
+'<a id="bookmarksDel" class="btn" onclick="window.plugin.bookmarks.deleteMode();return false;" title="Show/Hide \'X\' button">Show/Hide "X" button</a>'
+'</div>' +'</div>'
+'<div id="bookmarksTypeBar">' +'<div id="bookmarksTypeBar">'
+'<h5 class="bkmrk_maps current" onclick="window.plugin.bookmarks.switchPageBkmrksBox(this, 0);return false">Maps</h5>' +'<h5 class="bkmrk_maps current" onclick="window.plugin.bookmarks.switchPageBkmrksBox(this, 0);return false">Maps</h5>'
@ -904,6 +912,7 @@
+'<a class="newFolder" onclick="window.plugin.bookmarks.addElement(this, \'folder\');return false;">+ Folder</a>' +'<a class="newFolder" onclick="window.plugin.bookmarks.addElement(this, \'folder\');return false;">+ Folder</a>'
+'</div>' +'</div>'
+'</div>' +'</div>'
+'<div style="border-bottom-width:1px;"></div>'
+'</div>'; +'</div>';
plugin.bookmarks.htmlDisabledMessage = '<div title="Your browser do not support localStorage">Plugin Bookmarks disabled*.</div>'; plugin.bookmarks.htmlDisabledMessage = '<div title="Your browser do not support localStorage">Plugin Bookmarks disabled*.</div>';

View File

@ -9,13 +9,20 @@
line-height:22px; line-height:22px;
text-indent:0; text-indent:0;
text-decoration:none; text-decoration:none;
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
} }
#bookmarksBox{ #bookmarksBox{
display:block; display:block;
position:absolute !important; position:absolute !important;
z-index:4001; z-index:4001;
top:100px; top:100px;
left:100px; left:100px;
width:231px;
height:auto;
overflow:hidden;
} }
#bookmarksBox .addForm, #bookmarksBox .addForm,
#bookmarksBox #bookmarksTypeBar, #bookmarksBox #bookmarksTypeBar,
@ -25,33 +32,40 @@
color:#fff; color:#fff;
font-size:14px; font-size:14px;
} }
#bookmarksBox #topBar, #bookmarksBox #topBar{
#bookmarksBox #topBar *{
height:15px !important; height:15px !important;
} }
#bookmarksBox #topBar *{
height: 14px !important;
}
#bookmarksBox #topBar *{ #bookmarksBox #topBar *{
float:left !important; float:left !important;
} }
#bookmarksBox .handle{ #bookmarksBox .handle{
text-indent:-20px; width:80%;
width:209px;
text-align:center; text-align:center;
color:#fff; color:#fff;
line-height:8px; line-height:6px;
cursor:move; cursor:move;
} }
#bookmarksBox #topBar .btn{ #bookmarksBox #topBar .btn{
display:block; display:block;
width:19px; width:10%;
cursor:pointer; cursor:pointer;
color:#20a8b1; color:#20a8b1;
}
#bookmarksBox #topBar #bookmarksMin{
font-weight:bold; font-weight:bold;
text-align:center; text-align:center;
line-height:14px; line-height:13px;
font-size:18px; font-size:18px;
} }
#bookmarksBox #topBar #bookmarksDel{
overflow:hidden;
text-indent:-999px;
background:#B42E2E;
}
#bookmarksBox #topBar #bookmarksMin:hover{ #bookmarksBox #topBar #bookmarksMin:hover{
color:#ffce00; color:#ffce00;
} }
@ -59,8 +73,9 @@
clear:both; clear:both;
} }
#bookmarksBox h5{ #bookmarksBox h5{
padding:4px 0; padding:4px 0 23px;
width:114px; width:50%;
height:93px !important;
text-align:center; text-align:center;
color:#788; color:#788;
} }
@ -73,9 +88,8 @@
color:#ffce00; color:#ffce00;
background:rgba(0,0,0,0); background:rgba(0,0,0,0);
} }
#bookmarksBox #topBar .btn, #bookmarksBox #topBar,
#bookmarksBox .addForm, #bookmarksBox .addForm,
#bookmarksBox .handle,
#bookmarksBox #bookmarksTypeBar, #bookmarksBox #bookmarksTypeBar,
#bookmarksBox .bookmarkList li.bookmarksEmpty, #bookmarksBox .bookmarkList li.bookmarksEmpty,
#bookmarksBox .bookmarkList li.bkmrk a, #bookmarksBox .bookmarkList li.bkmrk a,
@ -90,16 +104,16 @@
#bookmarksBox .addForm *{ #bookmarksBox .addForm *{
display:block; display:block;
float:left; float:left;
padding:4px 8px 3px; height:28px !important;
} }
#bookmarksBox .addForm a{ #bookmarksBox .addForm a{
cursor:pointer; cursor:pointer;
color:#20a8b1; color:#20a8b1;
font-size:12px; font-size:12px;
width:65px; width:35%;
text-align:center; text-align:center;
line-height:20px; line-height:20px;
padding:4px 0 3px; padding:4px 0 23px;
} }
#bookmarksBox .addForm a:hover{ #bookmarksBox .addForm a:hover{
background:#ffce00; background:#ffce00;
@ -109,15 +123,19 @@
#bookmarksBox .addForm input{ #bookmarksBox .addForm input{
font-size:11px !important; font-size:11px !important;
color:#ffce00; color:#ffce00;
width:81px; height:28px;
line-height:11px; padding:4px 8px 1px;
line-height:12px;
font-size:12px; font-size:12px;
-webkit-box-sizing:content-box;
-moz-box-sizing:content-box;
box-sizing:content-box;
} }
#bookmarksBox #bkmrk_portals .addForm input{ #bookmarksBox #bkmrk_portals .addForm input{
width:147px; width:65%;
}
#bookmarksBox #bkmrk_maps .addForm input{
width:42%;
}
#bookmarksBox #bkmrk_maps .addForm a{
width:29%;
} }
#bookmarksBox .addForm input:hover, #bookmarksBox .addForm input:hover,
#bookmarksBox .addForm input:focus{ #bookmarksBox .addForm input:focus{
@ -125,11 +143,12 @@
background:rgba(0,0,0,.6); background:rgba(0,0,0,.6);
} }
#bookmarksBox .bookmarkList > ul{ #bookmarksBox .bookmarkList > ul{
width:231px;
clear:both; clear:both;
list-style-type:none; list-style-type:none;
color:#fff; color:#fff;
overflow:hidden; overflow:hidden;
overflow-y:auto;
max-height:580px;
} }
#bookmarksBox .sortable-placeholder{ #bookmarksBox .sortable-placeholder{
background:rgba(8,48,78,.55); background:rgba(8,48,78,.55);
@ -161,12 +180,12 @@
color:#eee; color:#eee;
} }
#bookmarksBox ul .bookmarksRemoveFrom{ #bookmarksBox ul .bookmarksRemoveFrom{
width:19px; width:10%;
text-align:center; text-align:center;
color:#fff; color:#fff;
} }
#bookmarksBox ul .bookmarksLink{ #bookmarksBox ul .bookmarksLink{
width:171px; width:90%;
padding:0 10px 0 8px; padding:0 10px 0 8px;
color:#ffce00; color:#ffce00;
} }
@ -174,7 +193,7 @@
color:#03fe03; color:#03fe03;
} }
#bookmarksBox ul .othersBookmarks .bookmarksLink{ #bookmarksBox ul .othersBookmarks .bookmarksLink{
width:190px; width:90%;
} }
#bookmarksBox ul .bookmarksLink:hover{ #bookmarksBox ul .bookmarksLink:hover{
color:#03fe03; color:#03fe03;
@ -183,6 +202,8 @@
color:#fff; color:#fff;
background:#e22 !important; background:#e22 !important;
} }
/*---- UI border -----*/
#bookmarksBox, #bookmarksBox,
#bookmarksBox *{ #bookmarksBox *{
border-color:#20a8b1; border-color:#20a8b1;
@ -193,40 +214,44 @@
#bookmarksBox ul .bookmarkFolder{ #bookmarksBox ul .bookmarkFolder{
border-top-width:1px; border-top-width:1px;
} }
#bookmarksBox #topBar, #bookmarksBox #topBar,
#bookmarksBox #bookmarksTypeBar, #bookmarksBox #bookmarksTypeBar,
#bookmarksBox .addForm, #bookmarksBox .addForm,
#bookmarksBox ul .bookmarkFolder .folderLabel, #bookmarksBox ul .bookmarkFolder .folderLabel,
#bookmarksBox ul li.bkmrk{ #bookmarksBox ul li.bkmrk a {
border-bottom-width:1px; border-bottom-width:1px;
} }
#bookmarksBox ul .bookmarkFolder, #bookmarksBox ul .bookmarkFolder{
#bookmarksBox ul .bookmarksRemoveFrom{
border-right-width:1px; border-right-width:1px;
border-left-width:1px; border-left-width:1px;
} }
#bookmarksBox #topBar *, #bookmarksBox #topBar *,
#bookmarksBox #bookmarksTypeBar *, #bookmarksBox #bookmarksTypeBar *,
#bookmarksBox .addForm *{ #bookmarksBox .addForm *,
#bookmarksBox ul li.bkmrk{
border-left-width:1px; border-left-width:1px;
} }
#bookmarksBox #topBar, #bookmarksBox #topBar,
#bookmarksBox #bookmarksTypeBar, #bookmarksBox #bookmarksTypeBar,
#bookmarksBox .addForm{ #bookmarksBox .addForm,
#bookmarksBox ul .bookmarksRemoveFrom{
border-right-width:1px; border-right-width:1px;
} }
#bookmarksBox ul .othersBookmarks .bookmarksRemoveFrom, #bookmarksBox ul .bookmarkFolder.othersBookmarks li.bkmrk,
#bookmarksBox ul .bookmarkFolder .folderLabel .bookmarksRemoveFrom{ #bookmarksBox ul .bookmarkFolder .folderLabel .bookmarksRemoveFrom{
border-left-width:0; border-left-width:0;
} }
#bkmrksTrigger{ #bkmrksTrigger{
display:none; display:block !important;
position:absolute; position:absolute;
overflow:hidden;
top:0; top:0;
left:277px; left:277px;
width:47px; width:47px;
margin-top:-36px; margin-top:-36px;
height:64px; height:64px;
height:0;
cursor:pointer; cursor:pointer;
z-index:2999; z-index:2999;
background-position:center bottom; background-position:center bottom;
@ -272,17 +297,25 @@
} }
#bookmarksBox .bookmarkList .bkmrk.ui-sortable-helper{ #bookmarksBox .bookmarkList .bkmrk.ui-sortable-helper{
border-right-width:1px; border-right-width:1px;
border-left-width:1px; border-left-width:1px !important;
} }
#bookmarksBox .bookmarkList ul li ul li.sortable-placeholder{ #bookmarksBox .bookmarkList ul li ul li.sortable-placeholder{
height:23px; height:23px;
box-shadow:inset 0 -1px 0 #20a8b1,inset 1px 0 0 #20a8b1; box-shadow:inset 0 -1px 0 #20a8b1,inset 1px 0 0 #20a8b1;
} }
#bookmarksBox .bookmarkList ul li.bookmarkFolder.ui-sortable-helper, #bookmarksBox .bookmarkList ul li.bookmarkFolder.ui-sortable-helper,
#bookmarksBox .bookmarkList ul li.othersBookmarks ul,
#bookmarksBox .bookmarkList ul li.othersBookmarks ul li.sortable-placeholder{ #bookmarksBox .bookmarkList ul li.othersBookmarks ul li.sortable-placeholder{
box-shadow:inset 0 -1px 0 #20a8b1; box-shadow:inset 0 -1px 0 #20a8b1;
} }
#bookmarksBox #topBar #bookmarksDel,
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel:hover .bookmarksRemoveFrom,
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel:hover .bookmarksAnchor{
border-bottom-width:1px;
}
/*---------*/
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor span, #bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor span,
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel > span, #bookmarksBox .bookmarkList .bookmarkFolder .folderLabel > span,
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel > span > span, #bookmarksBox .bookmarkList .bookmarkFolder .folderLabel > span > span,
@ -304,7 +337,7 @@
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor{ #bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor{
line-height:25px; line-height:25px;
color:#fff; color:#fff;
width:209px; width:90%;
} }
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor span{ #bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor span{
float:left; float:left;
@ -336,6 +369,7 @@
#bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel > span, #bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel > span,
#bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel > span > span{ #bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel > span > span{
display:block; display:block;
display:none;
} }
#bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel:hover > span > span{ #bookmarksBox .bookmarkList .bookmarkFolder.open .folderLabel:hover > span > span{
border-color:transparent #036 transparent transparent; border-color:transparent #036 transparent transparent;
@ -345,7 +379,7 @@
} }
#bookmarksBox .bookmarkList .bookmarkFolder ul{ #bookmarksBox .bookmarkList .bookmarkFolder ul{
display:none; display:none;
margin-left:19px; margin-left:10%;
} }
#bookmarksBox .bookmarkList .bookmarkFolder.open ul{ #bookmarksBox .bookmarkList .bookmarkFolder.open ul{
display:block; display:block;
@ -355,6 +389,26 @@
margin-left:0; margin-left:0;
} }
/*---- Width for deleteMode -----*/
#bookmarksBox .bookmarksRemoveFrom{
display:none !important;
}
#bookmarksBox.deleteMode .bookmarksRemoveFrom{
display:block !important;
}
#bookmarksBox .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor,
#bookmarksBox ul .bookmarksLink,
#bookmarksBox ul .othersBookmarks .bookmarksLink{
width:100% !important;
}
#bookmarksBox.deleteMode .bookmarkList .bookmarkFolder .folderLabel .bookmarksAnchor,
#bookmarksBox.deleteMode ul .bookmarksLink,
#bookmarksBox.deleteMode ul .othersBookmarks .bookmarksLink{
width:90% !important;
}
/********************************************** /**********************************************
MOBILE MOBILE
**********************************************/ **********************************************/
@ -367,7 +421,8 @@
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
border: 0 !important; border: 0 !important;
background: transparent !important;; background: transparent !important;
overflow:auto !important;
} }
#bookmarksBox.mobile .bookmarkList ul, #bookmarksBox.mobile .bookmarkList ul,
#bookmarksBox.mobile .bookmarkList ul li, #bookmarksBox.mobile .bookmarkList ul li,
@ -380,14 +435,27 @@
box-shadow:none !important; box-shadow:none !important;
border-width:0 !important; border-width:0 !important;
} }
#bookmarksBox.mobile #topBar{ #bookmarksBox.mobile #topBar #bookmarksMin,
#bookmarksBox.mobile #topBar .handle{
display:none !important; display:none !important;
} }
#bookmarksBox.mobile #topBar #bookmarksDel{
width:100%;
height:34px !important;
font-size:13px;
color:#fff;
font-weight:normal;
padding-top:11px;
text-indent:0;
}
#bookmarksBox.mobile #bookmarksTypeBar h5{ #bookmarksBox.mobile #bookmarksTypeBar h5{
cursor:pointer; cursor:pointer;
text-align:center; text-align:center;
float:left; float:left;
width:50%; width:50%;
height:auto !important;
padding:7px 0; padding:7px 0;
} }
#bookmarksBox.mobile #bookmarksTypeBar h5.current{ #bookmarksBox.mobile #bookmarksTypeBar h5.current{
@ -413,14 +481,14 @@
#bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksRemoveFrom, #bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksRemoveFrom,
#bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksRemoveFrom{ #bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksRemoveFrom{
box-shadow:inset 0 1px 0 #20a8b1,inset -1px 0 0 #20a8b1 !important; box-shadow:inset 0 1px 0 #20a8b1,inset -1px 0 0 #20a8b1 !important;
width:15%; width:10%;
background:none !important; background:none !important;
} }
#bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksAnchor, #bookmarksBox.mobile .bookmarkList li.bookmarkFolder a.bookmarksAnchor,
#bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksLink{ #bookmarksBox.mobile .bookmarkList li.bkmrk a.bookmarksLink{
text-indent:10px; text-indent:10px;
width:85%; height:36px;
height:21px; line-height:24px;
overflow:hidden; overflow:hidden;
} }
#bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder ul{ #bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder ul{
@ -428,7 +496,6 @@
} }
#bookmarksBox.mobile .bookmarkList > ul{ #bookmarksBox.mobile .bookmarkList > ul{
border-bottom:1px solid #20a8b1 !important; border-bottom:1px solid #20a8b1 !important;
border-right:1px solid #20a8b1 !important;
} }
#bookmarksBox.mobile .bookmarkList .bookmarkFolder.othersBookmarks ul{ #bookmarksBox.mobile .bookmarkList .bookmarkFolder.othersBookmarks ul{
@ -440,14 +507,14 @@
} }
#bookmarksBox.mobile .bookmarkList > ul{ #bookmarksBox.mobile .bookmarkList > ul{
max-height:none; max-height:none;
width:85% !important; /* width:85% !important;*/
} }
#bookmarksBox.mobile .bookmarkList li.bookmarkFolder .folderLabel{ #bookmarksBox.mobile .bookmarkList li.bookmarkFolder .folderLabel{
box-shadow:0 1px 0 #20a8b1 !important; box-shadow:0 1px 0 #20a8b1 !important;
} }
#bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder ul{ #bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder ul{
width:85% !important; width:90% !important;
margin-left:15% !important; margin-left:10% !important;
} }
#bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder.othersBookmarks ul{ #bookmarksBox.mobile .bookmarkList ul li.bookmarkFolder.othersBookmarks ul{
width:100% !important; width:100% !important;
@ -461,7 +528,7 @@
} }
#bookmarksBox.mobile .addForm, #bookmarksBox.mobile .addForm,
#bookmarksBox.mobile .addForm *{ #bookmarksBox.mobile .addForm *{
height:35px; height:35px !important;
padding:0; padding:0;
} }
#bookmarksBox.mobile .addForm a{ #bookmarksBox.mobile .addForm a{
@ -469,14 +536,14 @@
} }
#bookmarksBox.mobile .addForm a{ #bookmarksBox.mobile .addForm a{
width:25% !important; /* width:25% !important;*/
} }
#bookmarksBox.mobile .addForm input{ #bookmarksBox.mobile .addForm input{
width:50% !important; /* width:50% !important;*/
text-indent:10px; text-indent:10px;
} }
#bookmarksBox.mobile #bkmrk_portals .addForm input{ #bookmarksBox.mobile #bkmrk_portals .addForm input{
width:75% !important; /* width:75% !important;*/
} }
#bookmarksBox.mobile #bookmarksTypeBar h5, #bookmarksBox.mobile #bookmarksTypeBar h5,
#bookmarksBox.mobile .bookmarkList .addForm a{ #bookmarksBox.mobile .bookmarkList .addForm a{
@ -530,10 +597,10 @@
#bookmarksBox.mobile .bookmarkList .bookmarkFolder.open .folderLabel > span > span{ #bookmarksBox.mobile .bookmarkList .bookmarkFolder.open .folderLabel > span > span{
display:block !important; display:block !important;
} }
/********************************************** /**********************************************
DIALOG BOX DIALOG BOX
**********************************************/ **********************************************/
/*---- Auto Drawer -----*/ /*---- Auto Drawer -----*/
#bkmrksAutoDrawer, #bkmrksAutoDrawer,
#bkmrksAutoDrawer p, #bkmrksAutoDrawer p,