diff --git a/css/_share-modal.scss b/css/_share-modal.scss index 1e31b75..046a70f 100644 --- a/css/_share-modal.scss +++ b/css/_share-modal.scss @@ -11,67 +11,49 @@ $default-dark-color: #5f5f5f; font-family: $default-font-family; font-size: $default-font-size; font-weight: 400; + padding: unset; + .modal-body-section { + padding: 16px; + } } -} -#igv-app-qrcode-image { - display:none; -} -#igv-app-embed-container { - display:none; } -a#igv-app-email-button { - color: $default-dark-color; - text-decoration: none; +button#igv-share-url-button { + padding: unset; + svg { + width: 20px; + height: 20px; + } } -a#igv-app-email-button:hover, -a#igv-app-email-button:focus, -a#igv-app-email-button:active { - cursor: pointer; - font-weight: 700; - text-decoration: none; +input#igv-app-share-input { + pointer-events: none; } -#igv-app-embed-button:hover, -#igv-app-embed-button:focus, -#igv-app-embed-button:active { - cursor: pointer; - font-weight: 700; +#igv-app-qrcode-image { + padding: 16px; + display:none; } -#igv-app-qrcode-button:hover, -#igv-app-qrcode-button:focus, -#igv-app-qrcode-button:active { - cursor: pointer; - font-weight: 700; +#igv-app-embed-container { + padding: 16px; + display:none; } .igv-app-social-button-container { display: flex; flex-direction: row; flex-wrap: nowrap; - justify-content: flex-start; + justify-content: space-around; align-items: center; - - height: 40px; - - div { - margin-left: 8px; - margin-right: 8px; - //background-color: red; - } - - div:first-child { - width:65px; - margin-top:4px; - } - - margin-bottom: 10px; } .igv-app-social-button { float: left; } + +.custom-btn-group .btn.single-button { + border-radius: 0.25rem !important; +} diff --git a/css/app.css b/css/app.css index abb3566..f9d42dc 100644 --- a/css/app.css +++ b/css/app.css @@ -54,65 +54,50 @@ font-family: "Open Sans", sans-serif; font-size: 0.875rem; font-weight: 400; + padding: unset; } - -#igv-app-qrcode-image { - display: none; +#igv-app-share-modal .modal-body .modal-body-section { + padding: 16px; } -#igv-app-embed-container { - display: none; +button#igv-share-url-button { + padding: unset; } - -a#igv-app-email-button { - color: #5f5f5f; - text-decoration: none; +button#igv-share-url-button svg { + width: 20px; + height: 20px; } -a#igv-app-email-button:hover, -a#igv-app-email-button:focus, -a#igv-app-email-button:active { - cursor: pointer; - font-weight: 700; - text-decoration: none; +input#igv-app-share-input { + pointer-events: none; } -#igv-app-embed-button:hover, -#igv-app-embed-button:focus, -#igv-app-embed-button:active { - cursor: pointer; - font-weight: 700; +#igv-app-qrcode-image { + padding: 16px; + display: none; } -#igv-app-qrcode-button:hover, -#igv-app-qrcode-button:focus, -#igv-app-qrcode-button:active { - cursor: pointer; - font-weight: 700; +#igv-app-embed-container { + padding: 16px; + display: none; } .igv-app-social-button-container { display: flex; flex-direction: row; flex-wrap: nowrap; - justify-content: flex-start; + justify-content: space-around; align-items: center; - height: 40px; - margin-bottom: 10px; -} -.igv-app-social-button-container div { - margin-left: 8px; - margin-right: 8px; -} -.igv-app-social-button-container div:first-child { - width: 65px; - margin-top: 4px; } .igv-app-social-button { float: left; } +.custom-btn-group .btn.single-button { + border-radius: 0.25rem !important; +} + #igv-encode-spinner-container { width: 100%; display: flex; diff --git a/css/app.css.map b/css/app.css.map index e117f16..7a7eed1 100644 --- a/css/app.css.map +++ b/css/app.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["_panel.scss","_color.scss","_share-modal.scss","_encode.scss","_track-select.scss","_igv-widgets-alert-dialog.scss","app.scss","_file-load-widget.scss"],"names":[],"mappings":"AAMA;EACE;EACA;EACA;EAEA;EAEA,OAXuB;EAYvB,QAXwB;EAaxB,cCTmB;EDUnB,kBCNe;EDQf;;AAEA;EAEE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EAEA;;AAEA;EACE;EACA;EACA;EACA;EACA;EAEA;EACA,QAxCmC;EA0CnC,kBCrCa;EDuCb;EACA;;AAEA;EACE;EACA,OCjDU;EDkDV;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;;;AE5DR;EAEE,OAJmB;;AAMnB;EACE,aAVkB;EAWlB,WAVgB;EAWhB;;;AAIJ;EACE;;;AAGF;EACE;;;AAGF;EACE,OAtBmB;EAuBnB;;;AAG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EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AAKA;EACE;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;;AAGF;EACE;;;AAIJ;EACE;EACA;;;AAGF;EAEE;IACE;IACA;IAEA;IACA,QAraoB;IAsapB,aAtaoB;IAwapB;IACA;IACA;IACA;IACA;;EAEA;IACE,QA/akB;IAgblB,aAhbkB;IAiblB;IACA;;EACA;IACE,OAzba;IA0bb;;EAIJ;IACE,QA1bkB;IA2blB,aA3bkB;IA4blB;IACA;;EAGF;IACE","file":"app.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["_panel.scss","_color.scss","_share-modal.scss","_encode.scss","_track-select.scss","_igv-widgets-alert-dialog.scss","app.scss","_file-load-widget.scss"],"names":[],"mappings":"AAMA;EACE;EACA;EACA;EAEA;EAEA,OAXuB;EAYvB,QAXwB;EAaxB,cCTmB;EDUnB,kBCNe;EDQf;;AAEA;EAEE;EACA;EACA;EACA;EACA;EAEA;EAEA;EACA;EAEA;;AAEA;EACE;EACA;EACA;EACA;EACA;EAEA;EACA,QAxCmC;EA0CnC,kBCrCa;EDuCb;EACA;;AAEA;EACE;EACA,OCjDU;EDkDV;;AAGF;EACE;EACA;EACA;;AAGF;EACE;EACA;;;AE5DR;EAEE,OAJmB;;AAMnB;EACE,aAVkB;EAWlB,WAVgB;EAWhB;EACA;;AACA;EACE;;;AAON;EACE;;AACA;EACE;EACA;;;AAIJ;EACE;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;;;ACzDF;EAEE;EAEA;EACA;EACA;EACA;EACA;;;ACRF;EAEE;;AAEA;EACE;;AAGF;EAGE;;;ACAJ;EAEE;EAEA;EACA;EACA;EACA;EAEA,OAlBuB;EAmBvB,QAlBwB;EAoBxB,cCfyB;EDgBzB,eCfoC;EDgBpC;EACA;EAEA;EAEA,aCvBsB;EDw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;;;AAKA;EACE;;;AAOF;EACE;;;AAKJ;EAEE;EACA;EACA;EACA;EACA;EAEA;EACA;;;AAOE;EACE,OAhNe;EAiNf;EACA;EACA;;;AAKN;EACE;;;AAKA;EACE,OA/NiB;EAgOjB;EAEA;;AAGF;EAEE;;;AAKJ;EACE;EACA;;;AAGF;EACE,eA7OsB;;;AAgPxB;EACE;EACA;EAEA;EACA,QArPsB;EAsPtB,aAtPsB;EAwPtB;EACA;EACA;EACA;EACA;;AAEA;EACE,QA/PoB;EAgQpB,aAhQoB;EAiQpB;EACA;;AACA;EACE,OAzQe;EA0Qf;;AAIJ;EACE,QA1QoB;EA2QpB,aA3QoB;EA4QpB;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAMN;EACE;EAEA,QAlSkC;EAoSlC;;;AAIF;EACE,kBA7SmB;;;AAgTrB;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE,OA/TqB;EAgUrB;EACA;;;AAGF;EACE,OApUmB;EAqUnB,cAtUqB;;;AAyUvB;EACE,kBA1UqB;;;AA6UvB;EACE,kBA7UmB;;;AAgVrB;EACE;;;AAQA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;;;AAIF;EACE;EACA;;;AAIF;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKF;EACE;;;AAKA;EACE;EACA;EAEA;EACA;EAEA;EACA;EACA;EACA;;AAGF;EACE;;;AAIJ;EACE;EACA;;;AAGF;EAEE;IACE;IACA;IAEA;IACA,QAraoB;IAsapB,aAtaoB;IAwapB;IACA;IACA;IACA;IACA;;EAEA;IACE,QA/akB;IAgblB,aAhbkB;IAiblB;IACA;;EACA;IACE,OAzba;IA0bb;;EAIJ;IACE,QA1bkB;IA2blB,aA3bkB;IA4blB;IACA;;EAGF;IACE","file":"app.css"} \ No newline at end of file diff --git a/igvwebConfig.js b/igvwebConfig.js index f113515..5213ba1 100644 --- a/igvwebConfig.js +++ b/igvwebConfig.js @@ -9,7 +9,7 @@ var igvwebConfig = { // Supply a Google client id to enable the Google file picker in the load menus. This is optional //clientId: "...", - // apiKey: "...", + //apiKey: "...", // Provide a URL shorterner function or object. This is optional. If not supplied // sharable URLs will not be shortened. If using tinyURL supply an api token @@ -19,7 +19,6 @@ var igvwebConfig = { // }, // urlShortener: function(longURL) {... return shortendURL} - enableCircularView: true, restoreLastGenome: true, diff --git a/index.html b/index.html index e27dbe4..9652ef4 100644 --- a/index.html +++ b/index.html @@ -450,51 +450,70 @@