Skip to content

Commit 6e64ea8

Browse files
committed
Update some png icons to svg.
1 parent d58edb9 commit 6e64ea8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+128
-154
lines changed

InterSpec/InterSpec.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,8 +1170,8 @@ class InterSpec : public Wt::WContainerWidget
11701170

11711171
PopupDivMenu *m_detectorToShowMenu;
11721172
Wt::WPushButton *m_mobileMenuButton;
1173-
Wt::WPushButton *m_mobileBackButton;
1174-
Wt::WPushButton *m_mobileForwardButton;
1173+
Wt::WContainerWidget *m_mobileBackButton;
1174+
Wt::WContainerWidget *m_mobileForwardButton;
11751175
Wt::WContainerWidget *m_notificationDiv; //has id="qtip-growl-container"
11761176

11771177
void handleUserIncrementSampleNum( SpecUtils::SpectrumType type, bool increment);

InterSpec_resources/DbFileBrowser.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
padding: 2px;
1010
}
1111

12+
13+
.SnapshotIcon
14+
{
15+
margin: 0;
16+
padding: 0;
17+
padding-top: 1px;
18+
padding-left: 2px;
19+
padding-right: 1px;
20+
}
21+
1222
.SnapshotTime
1323
{
1424
border-top: solid 1px #e1e1e1;

InterSpec_resources/InterSpec.css

Lines changed: 18 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,27 @@ input
4141

4242

4343
#qtip-growl-container{
44-
position: fixed;
45-
top: 10px; right: 10px;
46-
z-index: 2000000000; /*super large number, nothing should cover this */
44+
position: fixed;
45+
top: 10px; right: 10px;
46+
z-index: 2000000000; /*super large number, nothing should cover this */
4747
}
48+
4849
#qtip-growl-container .qtip{
49-
position: static;
50-
min-height: 0;
51-
overflow: hidden;
52-
margin: 0 0 5px 0;
50+
position: static;
51+
min-height: 0;
52+
overflow: hidden;
53+
margin: 0 0 5px 0;
5354
}
5455

56+
/* For electron builds, that dont use native menu, make sure warnings are below titlebar. */
57+
#qtip-growl-container.belowMenu {
58+
top: 35px;
59+
}
5560

5661

5762
.imageBorder {
58-
padding:1px;
59-
border:1px solid #021a40;
63+
padding:1px;
64+
border:1px solid #021a40;
6065
}
6166

6267
.FileUploadCover
@@ -232,21 +237,6 @@ width:100%;
232237
height: 16px;
233238
}
234239

235-
/* ------------------------- */
236-
/* ---- ICON CLASS ---- */
237-
/* ------------------------- */
238-
239-
/* The IconClass style is required for the following icons to behave correctly */
240-
241-
.IconClass, .IconClass:hover {
242-
background-position: 3px center;
243-
background-repeat: no-repeat;
244-
padding-left: 21px; /* width of the image plus a little extra padding */
245-
}
246-
247-
.IconClass:disabled, .IconClass:disabled:hover {
248-
249-
}
250240

251241

252242
/*
@@ -259,31 +249,19 @@ width:100%;
259249
}
260250
*/
261251

262-
.RefreshIcon,.RefreshIcon:hover
263-
{
264-
background-image: url('../InterSpec_resources/images/arrow_refresh.png');
265-
background-position: 3px center;
266-
background-repeat: no-repeat;
267-
padding-left: 21px; /* width of the image plus a little extra padding */
268-
}
269-
270252

271253
.FooterHelpBtn
272254
{
273255
margin-top: 2px;
274-
background: white;
275-
float: left;
276256
width: 20px;
277257
height: 20px;
278258
cursor:pointer;
279-
-webkit-border-radius: 4px;
280-
-moz-border-radius: 4px;
281-
border-radius: 4px;
259+
opacity: 0.6;
282260
}
283261

284262
.FooterHelpBtn:hover
285263
{
286-
background: none;
264+
opacity: 1.0;
287265
}
288266

289267
/* A question mark help button suitable for displaying in the content of a tool (e.g., in the tools tabs).
@@ -726,6 +704,8 @@ overflow: auto;
726704
{
727705
vertical-align: middle;
728706
margin: 4px;
707+
width: 16px;
708+
height: 16px;
729709
}
730710

731711
.titlebar

InterSpec_resources/InterSpecMobileApple.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ img.WhiteIcon[disabled]
5757
filter: brightness(0) saturate(100%) invert(52%) sepia(5%) saturate(902%) hue-rotate(185deg) brightness(95%) contrast(89%);
5858
}
5959

60-
.FooterHelpBtnMbl
61-
{
62-
cursor:pointer;
63-
margin-top: 2px;
64-
}
65-
6660
.PhoneAuxWindowFooter
6761
{
6862
padding-top: 6px;

InterSpec_resources/InterSpecMobileCommon.css

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
.MobilePrevSample
3434
{
35-
background: grey url(images/resultset_first.png);
35+
background: url(images/resultset_first.svg);
3636
background-repeat:no-repeat;
3737
background-position: left;
3838
background-size: 32px 32px;
@@ -45,18 +45,14 @@
4545
opacity: .75;
4646
padding: 0px 20px 0px 15px !important;
4747
text-align: right;
48-
filter:gray; /* IE6-9 */
49-
-webkit-filter:grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
50-
-moz-filter: grayscale(100%);
51-
-o-filter: grayscale(100%);
5248

5349
/* The z-index is set with inline styling to 8388635 */
5450
/* z-index: 8388635; */ /*could use max val of 2147483638*/
5551
}
5652

5753
.MobileNextSample
5854
{
59-
background: grey url(images/resultset_last.png);
55+
background: url(images/resultset_last.svg);
6056
background-repeat:no-repeat;
6157
background-position: right;
6258
background-size:32px 32px;
@@ -69,10 +65,6 @@
6965
height: 34px;
7066
opacity: .75;
7167
padding: 0px 15px 0px 20px !important;
72-
filter:gray; /* IE6-9 */
73-
-webkit-filter:grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
74-
-moz-filter: grayscale(100%);
75-
-o-filter: grayscale(100%);
7668
/* The z-index is set with inline styling to 8388635 */
7769
/* z-index: 8388635; */ /*could use max val of 2147483638*/
7870
}

InterSpec_resources/NuclideDecayInfo.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -232,21 +232,6 @@ cursor: default;
232232
margin-right: 15px;
233233
}
234234

235-
.helpIcon,.helpIcon:hover
236-
{
237-
float: right;
238-
/* margin-top: -6px; */
239-
/* margin-right: 15px; */
240-
border: 0px;
241-
background: url(../InterSpec_resources/images/help.png);
242-
background-repeat: no-repeat;
243-
background-position: 3px center;
244-
font-size: 0px;
245-
width: 25px;
246-
height: 25px;
247-
cursor: help;
248-
}
249-
250235

251236
.ExportCsvLink
252237
{
-626 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
-685 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)