Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if (!$privateInstall) {

// constants
define('VER_WEBPAGETEST', '21.07'); // webpagetest version
define('VER_CSS', 160); // version of the sitewide css file
define('VER_CSS', 161); // version of the sitewide css file
define('VER_JS', 40); // version of the sitewide javascript file
define('VER_JS_TEST', 47); // version of the javascript specific to the test pages
define('VER_JS_RUNNING', 1); // version of the javascript specific to the test running status page
Expand Down
2 changes: 1 addition & 1 deletion www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function onRecaptchaSubmit(token) {
$selected = '';
if ($name == $_COOKIE['testProfile'] || (!$_COOKIE['testProfile'] && $pIndex == 0))
$selected = 'checked';
echo "<label class=\"test_preset_profile test_preset_profile-$name\"><input type=\"radio\" name=\"profile\" value=\"$name\" $selected><span>{$profile['label']}</span></label>";
echo "<label class=\"test_preset_profile test_preset_profile-$name\"><input type=\"radio\" name=\"profile\" aria-labeledby=\"tt-$name\" value=\"$name\" $selected><span>{$profile['label']}</span><span role=\"tooltip\" id=\"tt-$name\" class=\"test_preset_profile_tt\">{$profile['description']}</span></label>";
$pIndex++;
}
}
Expand Down
44 changes: 42 additions & 2 deletions www/pagestyle2.css
Original file line number Diff line number Diff line change
Expand Up @@ -2056,6 +2056,45 @@ label small {
max-height: none;
}

.test_preset_profile>span.test_preset_profile_tt {
position: absolute;
background: rgb(255 255 255 / 93%);
bottom: 110%;
display: block;
color: #1a2a4a;
width: auto;
min-width: 20em;
left: 1.5em;
padding: 1.5em;
display: none;
box-shadow: 0 0 5px #a90da5;
border: 1px solid a90da5;
font-size: 1rem;
max-width: 80vw;
}

span.test_preset_profile_tt:after {
border-top: .6em solid rgb(255 255 255 / 93%);
border-right: .6em solid transparent;
border-left: .6em solid transparent;
content: "";
width: 0;
height: 0;
left: 2em;
position: absolute;
bottom: -.6em;
background-repeat: no-repeat;
}

.home .test_preset_profile {
position: relative;
}

.test_preset_profile:hover span.test_preset_profile_tt,
.test_preset_profile input:focus+span+span.test_preset_profile_tt {
display: block;
}

.fieldrow .test_presets .test_preset_profile input[type=radio] {
align-self: center;
}
Expand Down Expand Up @@ -2908,15 +2947,16 @@ label.test_preset_profile {
padding: .5rem 0;
}

label.test_preset_profile.test_preset_profile-Mobile span:after {

/* label.test_preset_profile.test_preset_profile-Mobile span:after {
background: url(/images/test_icons/chrome.svg) left center no-repeat;
width: 100%;
display: inline-block;
background-size: contain, contain, contain;
content: "";
width: 35rem;
height: 100%;
}
} */

#change-location-btn {
border: 1px solid #fff;
Expand Down