Subversion Repositories LCARS

Compare Revisions

Last modification

Ignore whitespace Rev 118 → Rev 117

/trunk/styles/lcars22.css
408,6 → 408,7
text-transform: uppercase;
text-align: right;
overflow: hidden;
text-overflow: ellipsis;
}
 
.multi-display .upper .content .title span
422,43 → 423,10
right: 11em;
left: 0;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
cursor: default;
}
 
.multi-display .upper .content .analysis table {
border-collapse: collapse;
line-height: 1.2;
}
.multi-display .upper .content .analysis th {
padding: 0 0.1em;
font-weight: normal;
text-align: left;
text-transform: uppercase;
white-space: nowrap;
vertical-align: baseline;
}
 
.multi-display .upper .content .analysis td {
padding: 0 0.1em;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: baseline;
text-overflow: ellipsis;
}
 
.multi-display .upper .content .analysis tr:hover th,
.multi-display .upper .content .analysis tr:hover td
{
color: #f90;
}
 
.multi-display .upper .content .analysis td sup {
line-height: 1;
font-weight: 500;
}
 
.multi-display .upper .content .commands
{
position: absolute;
/trunk/styles/lcars-ani.css
349,7 → 349,8
);
?>
 
.fade-in .multi-display .upper .content,
.fade-in .multi-display .upper .title,
.fade-in .multi-display .upper .button,
.fade-in #connectors,
.fade-in #content
{
358,53 → 359,4
Mixins::animation('-duration', '1.125s');
Mixins::animation('-timing-function', 'linear');
?>
}
 
<?php
Mixins::keyframes('analysis', <<<CSS
from, 74% {
opacity: 0;
}
 
75% {
opacity: 1;
}
CSS
);
?>
 
/*
.multi-display .upper .content .analysis:hover tr {
<?php
Mixins::animation('-play-state', 'paused');
?>
}
*/
.multi-display .upper .content .analysis tr:nth-child(1) {
<?php
Mixins::animation('-name', 'analysis');
Mixins::animation('-duration', '1.5s');
//Mixins::animation('-iteration-count', 'infinite');
Mixins::animation('-timing-function', 'linear');
?>
}
 
.multi-display .upper .content .analysis tr:nth-child(2) {
<?php
Mixins::animation('-name', 'analysis');
Mixins::animation('-delay', '0.25s');
Mixins::animation('-duration', '1.5s');
//Mixins::animation('-iteration-count', 'infinite');
Mixins::animation('-timing-function', 'linear');
?>
}
 
.multi-display .upper .content .analysis tr:nth-child(3) {
<?php
Mixins::animation('-name', 'analysis');
Mixins::animation('-delay', '0.5s');
Mixins::animation('-duration', '1.5s');
//Mixins::animation('-iteration-count', 'infinite');
Mixins::animation('-timing-function', 'linear');
?>
}
}
/trunk/index.phtml
137,7 → 137,7
width="120"
height="168"
alt="<?php echo _("Vulcan greeting"); ?>"
title="<?php echo _("Vulcan greeting"); ?>"
title=""
style="border: none; cursor: default"
onmouseover="return setStatus(this.title)"
onmouseout="return resetStatus()"><br>
363,217 → 363,124
<div class="upper">
<div class="content">
<div class="title"><span>Home</span></div>
<div class="analysis">
<table>
<tr>
<th><?php echo _('Display'); ?>:</th>
<td><script type="text/javascript">
var dim = {
getScreen: function () {
return screen.width + "×" + screen.height;
},
<div class="analysis">&nbsp;</div>
<script type="text/javascript">
var fullscreen = (function () {
var _isHostMethod = jsx.object.isHostMethod;
return {
getSupportedProperty: function (base, names, test) {
for (var i = 0, len = names.length; i < len; ++i)
{
var name = names[i];
if (test.call(null, base, name))
{
return name;
}
}
 
getAvail: function () {
return screen.availWidth + "×" + screen.availHeight;
},
return null;
},
 
getInner: function () {
return window.innerWidth + "×" + window.innerHeight;
},
getSupportedCancel: (function () {
var _supportedCancel;
 
getColorDepth: function () {
return (screen.colorDepth || screen.pixelDepth);
return function () {
if (typeof _supportedCancel == "undefined")
{
var properties = ["cancelFullScreen", "mozCancelFullScreen",
"webkitCancelFullScreen"];
_supportedCancel = this.getSupportedProperty(document, properties, _isHostMethod);
}
 
return _supportedCancel;
};
}()),
getSupportedElement: (function () {
var _supportedElement;
 
var displayInfo;
(function () {
displayInfo =
'<span id="screenDim">' + dim.getScreen() + '<\/span>'
+ ' (<span id="availDim">' + dim.getAvail() + "<\/span> <?php echo _('available'); ?>,"
+ ' <span id="innerDim">' + dim.getInner() + "<\/span> <?php echo _('used'); ?>) <?php echo _('pixels'); ?>"
+ ' ×&nbsp;2<sup><span id="colorDepth">' + dim.getColorDepth() + "<\/span><\/sup> <?php echo _('colors'); ?>";
return function () {
if (typeof _supportedElement == "undefined")
{
var properties = ["fullscreenElement", "mozFullscreenElement",
"webkitFullscreenElement"];
 
/* FIXME: Convert HTML to text, update whole title text */
document.write('<span>' + displayInfo + '<\/span>');
}());
window.onresize = function () {
/* FIXME: Update whole title text */
document.getElementById("screenDim").innerHTML = dim.getScreen();
document.getElementById("availDim").innerHTML = dim.getAvail();
document.getElementById("innerDim").innerHTML = dim.getInner();
_supportedElement = this.getSupportedProperty(document, properties,
function (base, name) {
return typeof base[name] != "undefined";
});
}
 
return _supportedElement;
};
}()),
isSupportedBy: function (elem) {
var methods = ["requestFullscreen", "mozRequestFullscreen",
"webkitRequestFullscreen"];
return this.getSupportedProperty(elem, methods, _isHostMethod);
},
 
window.setTimeout(function () {
/* FIXME: Update whole title text */
document.getElementById("colorDepth").innerHTML = dim.getColorDepth();
}, 1000);
</script><noscript><?php echo _('N/A'); ?></noscript></td>
</tr>
<tr>
<th><?php echo _('User Agent'); ?>:</th>
<td><script type="text/javascript">
(function () {
var ua = navigator.userAgent;
document.write('<span id="ua" title="' + ua + '">' + ua + '<\/span>');
window.setTimeout(function () {
document.getElementById("ua").innerHTML = navigator.userAgent;
}, 1000);
}());
</script><noscript><?php echo _('N/A'); ?></noscript></td>
</tr>
<tr>
<th><?php echo _('Features'); ?>:</th>
<td><script type="text/javascript">
var fullscreen = (function () {
var _isHostMethod = jsx.object.isHostMethod;
isFullscreen: function () {
var properties = ["fullscreenElement", "mozFullscreenElement",
"webkitFullscreenElement"];
var supportedProperty = this.getSupportedProperty(
document, properties,
function (base, name) {
return typeof base[name] != "undefined";
});
 
return supportedProperty && document[supportedProperty] != null;
},
 
cancel: function (target, oldHandler, textTarget) {
var supportedCancel = this.getSupportedCancel();
if (supportedCancel)
{
document[supportedCancel]();
return {
getSupportedProperty: function (base, names, test) {
for (var i = 0, len = names.length; i < len; ++i)
var supportedElement = this.getSupportedElement();
if (supportedElement)
{
if (document[supportedElement] == null)
{
if (textTarget)
{
var name = names[i];
if (test.call(null, base, name))
{
return name;
}
textTarget.textContent = "<?php echo _("Fullscreen"); ?>";
}
return null;
},
getSupportedCancel: (function () {
var _supportedCancel;
return function () {
if (typeof _supportedCancel == "undefined")
{
var properties = ["cancelFullScreen", "mozCancelFullScreen",
"webkitCancelFullScreen"];
_supportedCancel = this.getSupportedProperty(document, properties, _isHostMethod);
}
return _supportedCancel;
};
}()),
getSupportedElement: (function () {
var _supportedElement;
return function () {
if (typeof _supportedElement == "undefined")
{
var properties = ["fullscreenElement", "mozFullscreenElement",
"webkitFullscreenElement"];
_supportedElement = this.getSupportedProperty(document, properties,
function (base, name) {
return typeof base[name] != "undefined";
});
}
return _supportedElement;
};
}()),
isSupportedBy: function (elem) {
var methods = ["requestFullscreen", "mozRequestFullscreen",
"webkitRequestFullscreen"];
return this.getSupportedProperty(elem, methods, _isHostMethod);
},
isFullscreen: function () {
var properties = ["fullscreenElement", "mozFullscreenElement",
"webkitFullscreenElement"];
var supportedProperty = this.getSupportedProperty(
document, properties,
function (base, name) {
return typeof base[name] != "undefined";
});
return supportedProperty && document[supportedProperty] != null;
},
cancel: function (target, oldHandler, textTarget) {
var supportedCancel = this.getSupportedCancel();
if (supportedCancel)
if (target)
{
document[supportedCancel]();
var supportedElement = this.getSupportedElement();
if (supportedElement)
{
if (document[supportedElement] == null)
{
if (textTarget)
{
textTarget.textContent = "<?php echo _("Fullscreen"); ?>";
}
if (target)
{
target.onclick = oldHandler;
}
}
}
target.onclick = oldHandler;
}
},
requestOn: function (elem, eventTarget, textTarget) {
var requestMethodName;
if (elem && (requestMethodName = this.isSupportedBy(elem)))
{
elem[requestMethodName]();
if (textTarget && this.isFullscreen())
{
var oldText = textTarget.textContent;
var me = this;
var oldHandler = eventTarget.onclick;
eventTarget.onclick = function () {
me.cancel(this, oldHandler, textTarget);
};
textTarget.textContent = "<?php echo _("Window"); ?>";
}
}
}
};
}());
}
}
},
requestOn: function (elem, eventTarget, textTarget) {
var requestMethodName;
 
(function () {
function getFeatures ()
if (elem && (requestMethodName = this.isSupportedBy(elem)))
{
elem[requestMethodName]();
if (textTarget && this.isFullscreen())
{
var features = [];
if (navigator.cookieEnabled) features.push("<?php echo _('Cookies'); ?>");
if (fullscreen.isSupportedBy(document.documentElement)) features.push("<?php echo _('Fullscreen'); ?>");
if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) features.push("<?php echo _('Gamepad'); ?>");
if (navigator.geolocation) features.push("<?php echo _('Geolocation'); ?>");
if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) features.push("Java");
if (typeof window.localStorage != "undefined") features.push("Local Storage");
if (navigator.plugins) features.push("Plugins");
if (typeof window.sessionStorage != "undefined") features.push("Session Storage");
if (typeof window.ontouchstart != "undefined") features.push("Touch");
return features.join(" &#8226; ");
var oldText = textTarget.textContent;
var me = this;
var oldHandler = eventTarget.onclick;
eventTarget.onclick = function () {
me.cancel(this, oldHandler, textTarget);
};
textTarget.textContent = "<?php echo _("Window"); ?>";
}
var sFeatures = getFeatures();
document.write('<span id="features" title="' + sFeatures + '">' + sFeatures + '<\/span>');
 
window.setTimeout(function () {
var sFeatures = getFeatures();
var oFeatures = document.getElementById("features");
oFeatures.innerHTML = sFeatures;
/* Converts CREs */
oFeatures.title = oFeatures.innerHTML;
}, 1000);
}());
</script><noscript><?php echo _('N/A'); ?></noscript></td>
</tr>
</table>
</div>
}
}
};
}());
</script>
<ul class="commands">
<li id="cmd1"><a href="index.php"
title="Language selection"
/trunk/LocaleData/de/LC_MESSAGES/de.pointedears.mo
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk/po/de.po
155,50 → 155,6
msgid "The Search for Extra-Terrestrial Intelligence at HOME"
msgstr "Die Suche nach ausserirdischer Intelligenz von zuhause aus"
 
#: ../index.phtml:369
msgid "Display"
msgstr "Anzeige"
 
#: ../index.phtml:373
msgid "available"
msgstr "verfügbar"
 
#: ../index.phtml:373
msgid "used"
msgstr "benutzt"
 
#: ../index.phtml:373
msgid "pixels"
msgstr "Pixel"
 
#: ../index.phtml:375
msgid "colors"
msgstr "Farben"
 
#: ../index.phtml:376
msgid "N/A"
msgstr ""
 
#: ../index.phtml:379
msgid "User Agent"
msgstr "Software"
 
#: ../index.phtml:385
msgid "Features"
msgstr ""
 
#: ../index.phtml:504
msgid "Cookies"
msgstr ""
 
#: ../index.phtml:506
msgid "Gamepad"
msgstr ""
 
#: ../index.phtml:508
msgid "Geolocation"
msgstr "Geolokalisierung"
 
#: ../index.phtml:418 ../index.phtml:453
msgid "Fullscreen"
msgstr "Vollbild"
/trunk/po/de.pointedears.pot
109,50 → 109,6
msgid "The Search for Extra-Terrestrial Intelligence at HOME"
msgstr ""
 
#: ../index.phtml:369
msgid "Display"
msgstr ""
 
#: ../index.phtml:373
msgid "available"
msgstr ""
 
#: ../index.phtml:373
msgid "used"
msgstr ""
 
#: ../index.phtml:373
msgid "pixels"
msgstr ""
 
#: ../index.phtml:375
msgid "colors"
msgstr ""
 
#: ../index.phtml:376
msgid "N/A"
msgstr ""
 
#: ../index.phtml:379
msgid "User Agent"
msgstr ""
 
#: ../index.phtml:385
msgid "Features"
msgstr ""
 
#: ../index.phtml:504
msgid "Cookies"
msgstr ""
 
#: ../index.phtml:506
msgid "Gamepad"
msgstr ""
 
#: ../index.phtml:508
msgid "Geolocation"
msgstr ""
 
#: ../index.phtml:418
#: ../index.phtml:453
msgid "Fullscreen"