Skip to content

Commit 9ff2518

Browse files
committed
refactor: remove Viper styles
1 parent 68349c7 commit 9ff2518

File tree

8 files changed

+1
-161
lines changed

8 files changed

+1
-161
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ coverage/
1818
/config_covis.js
1919
/config_linkedcat.js
2020
/config_triple.js
21-
/config_viper.js
2221
/example_config.ini
2322
/example_config.js
2423
/lc_browseview_cache.json

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@ Alternatively, you can point your browser to one of the following addresses:
9191

9292
http://localhost:8080/project_website/base.html
9393
http://localhost:8080/project_website/pubmed.html
94-
http://localhost:8080/local_covis/
9594
http://localhost:8080/local_triple/map.html
9695
http://localhost:8080/local_triple/stream.html
97-
http://localhost:8080/local_viper/
9896

9997
If everything has worked out, you should see the example visualization.
10098

examples/public/main_integration/css/main.css

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -704,26 +704,6 @@ a.newsletter2:hover, a.newsletter2:active, a.newsletter2:focus {
704704
padding: 0 20px;
705705
}
706706

707-
.viperfunding {
708-
width:200px;
709-
margin:0px auto;
710-
border-radius: 0 0 15px 15px;
711-
-moz-border-radius: 0 0 15px 15px;
712-
color: #2D3E52;
713-
font-weight:300;
714-
font-size: 12px;
715-
background-color: #f6f6f6;
716-
text-align:center;
717-
padding:10px 0;
718-
}
719-
720-
.viperfunding img {
721-
width:40px;
722-
margin:0px auto;
723-
display: inline-block;
724-
margin-left:10px;
725-
}
726-
727707
.benefitssearch {
728708
background-color: white;
729709
}
@@ -2681,38 +2661,6 @@ time {
26812661
background-color: white;
26822662
}
26832663

2684-
.vipercirlce {
2685-
display: block;
2686-
position: absolute;
2687-
min-width: 200px;
2688-
min-height:100px;
2689-
top: 180px;
2690-
right: 0px;
2691-
border-radius: 15px;
2692-
-moz-border-radius: 15px;
2693-
border-top: 0px solid #3696e0;
2694-
background-color: white;
2695-
text-align:center;
2696-
-moz-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
2697-
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
2698-
}
2699-
2700-
.vipercircleimg {
2701-
width:50px;
2702-
height:50px;
2703-
margin:-45px auto 10px;
2704-
display: block;
2705-
background-color: white;
2706-
padding:10px;
2707-
border-radius:50px;
2708-
-moz-border-radius: 50px;
2709-
border: 1px solid #3696e0;
2710-
}
2711-
2712-
.vipersection {
2713-
display:none;
2714-
}
2715-
27162664
/*MEDIA BREAK POINTS*/
27172665

27182666
/*quick fix for search header bug*/
@@ -2797,13 +2745,6 @@ time {
27972745
background-position: 110% 20%;
27982746
}
27992747

2800-
.vipercirlce {
2801-
display: none;
2802-
}
2803-
.vipersection {
2804-
display:block;
2805-
}
2806-
28072748
.more-info-icon {
28082749
font-size: 40px;
28092750
}

vis/stylesheets/base/_colors.scss

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -41,41 +41,6 @@ $lower_value_tag: #2C316E;
4141
$higher_value_tag: #DC2260;
4242
$highlight: #d4e1de;
4343

44-
@if $skin == 'viper' {
45-
// Map Bubble Colors
46-
$white: white;
47-
$lightest-blue: #F1F6FA; //old: #F1F6FA
48-
$light-blue: #D2E4F0;
49-
$dark-blue: #444444; // old: #1F77B4, #2C3E52
50-
51-
// OKMaps
52-
//$okm-red: #e55137;
53-
$okm-blue: #444444;
54-
$okm-gray: #808B8D;
55-
$okm-light-gray: #f9f9f9;
56-
$okm-green: #51c9ae;
57-
$okm-clouds: #F8F8F8;
58-
59-
// Text colors
60-
$medium-blue: #3696e0;
61-
//$dark-red: #A70805;
62-
//$black: #444444;
63-
//$author-green: #216500;
64-
//$abstract-gray: #444; //#5c6d7f; //old: #444444
65-
//$link-gray : #444;
66-
//$journal-gray: #000000; // old:#666666
67-
//$list_show_hide_button: #3696e0;
68-
$highlight-searchterm: #F8F8F8;
69-
//$modal-title: $medium-blue;
70-
$area-title-h2: $okm-blue;
71-
72-
// Additional colors
73-
//$infolink: #444444;
74-
//$framed-item: #3696e0;
75-
//$dataset: #444444;
76-
//$tag-color: $dataset;
77-
}
78-
7944
@if $skin == 'cris_vis' {
8045
$dark-blue: #2C316E;
8146
$okm-blue: #2C316E;

vis/stylesheets/modules/_map.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,6 @@ text {
264264
}
265265
}
266266

267-
@if $skin == 'viper' {
268-
.scale-toolbar .dropdown {
269-
display: inline-block;
270-
}
271-
272-
#curr-scale-explanation {
273-
padding: 0 0 0 10px;
274-
}
275-
}
276267
@if $skin == 'cris_vis' {
277268

278269
#credit_embed {

vis/stylesheets/modules/_modal.scss

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@
189189
cursor: grabbing;
190190
}
191191

192-
#embed-modal-text,
193-
#viper-edit-screenshot {
192+
#embed-modal-text {
194193
margin: 20px 0;
195194
}
196195

@@ -223,9 +222,6 @@
223222
text-transform: uppercase;
224223
margin: 0px;
225224
font-size: 16px;
226-
@if $skin != "viper" {
227-
font-weight: $fontweight700;
228-
}
229225
line-height: 170%;
230226
}
231227

@@ -258,32 +254,6 @@
258254
margin: 0 0 30px !important;
259255
}
260256

261-
#viper_edit_modal {
262-
.modal-dialog {
263-
width: 100%;
264-
max-width: 800px;
265-
266-
.modal-content {
267-
padding: 40px;
268-
overflow: hidden;
269-
270-
p {
271-
font-family: $base-font-family;
272-
font-size: 16px;
273-
}
274-
275-
#viper-edit-screenshot {
276-
max-width: 100%;
277-
max-height: 100%;
278-
-moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
279-
0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
280-
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
281-
0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
282-
}
283-
}
284-
}
285-
}
286-
287257
div {
288258
&#preview_page_index {
289259
font-size: 12px;

vis/stylesheets/modules/list/_entry.scss

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -589,20 +589,6 @@ img#preview_page {
589589
}
590590
}
591591

592-
@if $skin == 'viper' {
593-
.list_metadata {
594-
.list_title {
595-
font-size: 14px;
596-
}
597-
598-
.list_details, .doi_outlink {
599-
.list_authors {
600-
font-weight:$fontweight400;
601-
}
602-
}
603-
}
604-
}
605-
606592
@if $skin == 'cris_vis' {
607593
.list_images {
608594
padding-left: 15px;

vis/stylesheets/modules/map/_header.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,6 @@
230230
}
231231
}
232232

233-
@if $skin == 'viper' {
234-
#infolink {
235-
border-bottom: 1px solid $infolink;
236-
}
237-
238-
#infolink:hover, #infolink:focus, #infolink:active {
239-
border-bottom: 2px solid $black;
240-
}
241-
}
242-
243233
@if $skin == 'cris_vis' {
244234
#infolink, #infolink-areas {
245235
//border: 1px solid $infolink;

0 commit comments

Comments
 (0)