no message

This commit is contained in:
George Michael Brower 2014-08-23 23:09:22 -07:00
parent 327d038f34
commit 6a07fc5074
4 changed files with 62 additions and 77 deletions

View File

@ -471,18 +471,11 @@ if(f)g=void 0;else if(f=g[this.name],!f)return void console.error("Cannot find f
<div> <div>
<style>:host { <style>:host {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
width: 100%;
display: block;
font: 10px 'Lucida Grande', sans-serif; font: 10px 'Lucida Grande', sans-serif;
color: #eee; color: #eee;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
#row { #row {
border: 1px solid #00f;
height: 30px; height: 30px;
-webkit-transition: background-color 0.2s linear; -webkit-transition: background-color 0.2s linear;
-moz-transition: background-color 0.2s linear; -moz-transition: background-color 0.2s linear;
@ -498,22 +491,18 @@ if(f)g=void 0;else if(f=g[this.name],!f)return void console.error("Cannot find f
height: 100%; height: 100%;
} }
#name { #name {
border: 1px solid #f0f;
overflow: hidden;
padding: 0 8px; padding: 0 8px;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
display: inline-block;
width: 40%; width: 40%;
height: 100%;
cursor: default; cursor: default;
} }
.comment-true #name { .comment-true #name {
cursor: pointer; cursor: pointer;
} }
#nameInner { #nameInner {
border: 1px solid #f00; overflow: hidden;
-o-text-overflow: ellipsis; -o-text-overflow: ellipsis;
text-overflow: ellipsis; text-overflow: ellipsis;
word-wrap: break-word; word-wrap: break-word;
@ -572,10 +561,11 @@ if(f)g=void 0;else if(f=g[this.name],!f)return void console.error("Cannot find f
} }
.comment-true #nameInner { .comment-true #nameInner {
display: inline-block; display: inline-block;
border-bottom: 1px dotted rgba(255,255,255,0.25);
} }
</style> </style>
<div id="row" class="comment-{{ comment != null }}" layout="" horizontal="" center=""> <div id="row" class="comment-{{ comment != null }}" layout="" horizontal="">
<div id="name" on-mouseover="{{ openComment }}" on-mouseout="{{ closeComment }}" layout="" horizontal="" center=""> <div id="name" on-mouseover="{{ openComment }}" on-mouseout="{{ closeComment }}" layout="" horizontal="" center="">
@ -636,28 +626,7 @@ Polymer('gui-row', {
<template> <template>
<style>#closeButton { <style>#controllers {
font: 10px 'Lucida Grande', sans-serif;
color: #eee;
-webkit-font-smoothing: antialiased;
cursor: pointer;
text-align: center;
padding: 6px 8px;
background: #000;
}
#closeButton:hover {
background: #1a1a1a;
}
#closeButtonDocked {
position: absolute;
left: -40px;
border: 1px solid #00f;
top: 0;
color: #000;
width: 40px;
height: 40px;
}
#controllers {
overflow: auto; overflow: auto;
} }
#container { #container {
@ -687,6 +656,26 @@ Polymer('gui-row', {
-ms-transform: translate3d(245px, 0, 0); -ms-transform: translate3d(245px, 0, 0);
transform: translate3d(245px, 0, 0); transform: translate3d(245px, 0, 0);
} }
#closeButton {
font: 10px 'Lucida Grande', sans-serif;
color: #eee;
-webkit-font-smoothing: antialiased;
cursor: pointer;
text-align: center;
padding: 6px 8px;
background: #000;
}
#closeButton:hover {
background: #1a1a1a;
}
#closeButtonDocked {
position: absolute;
left: -40px;
top: 0;
color: #000;
width: 40px;
height: 40px;
}
</style> </style>
<div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }}"> <div id="container" class="docked-{{ docked }} autoplace-{{ autoPlace }} open-{{ open }}">

View File

@ -1,38 +1,7 @@
@import '../shared'; @import '../shared';
#closeButton {
panel-font()
// font-size: 14px;
cursor: pointer;
text-align: center;
padding: padding * 0.75 padding;
background: black;
&:hover {
background: panel-color;
}
}
#closeButtonDocked {
position: absolute;
left: -40px;
border: 1px solid blue;
top: 0;
color: black;
width: 40px;
height: 40px;
}
#controllers { #controllers {
overflow: auto; overflow: auto;
} }
#container { #container {
@ -76,6 +45,37 @@
} }
}
#closeButton {
panel-font()
cursor: pointer;
text-align: center;
padding: padding * 0.75 padding;
background: black;
&:hover {
background: panel-color;
}
}
#closeButtonDocked {
position: absolute;
left: -40px;
cursor: pointer;
border: 1px solid blue;
top: 0;
color: black;
width: 40px;
height: 40px;
} }

View File

@ -8,7 +8,7 @@
<link rel="stylesheet" href="gui-row.css"> <link rel="stylesheet" href="gui-row.css">
<div id="row" class="comment-{{ comment != null }}" layout horizontal center> <div id="row" class="comment-{{ comment != null }}" layout horizontal>
<div <div
id="name" id="name"

View File

@ -3,17 +3,13 @@
:host { :host {
user-select: none;
width: 100%;
display: block;
panel-font() panel-font()
} }
#row { #row {
debug( blue ) debug( blue )
height: min-row-height; height: min-row-height;
@ -34,12 +30,10 @@
debug( magenta ) debug( magenta )
overflow: hidden; // overflow: hidden;
padding: 0 padding; padding: 0 padding;
box-sizing: border-box; box-sizing: border-box;
display: inline-block;
width: 40%; width: 40%;
height: 100%;
cursor: default; cursor: default;
.comment-true & { .comment-true & {
@ -52,6 +46,8 @@
debug( red ); debug( red );
overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-wrap: break-word; word-wrap: break-word;
@ -100,7 +96,7 @@
.comment-true #nameInner { .comment-true #nameInner {
display: inline-block; display: inline-block;
// border-bottom: 1px dotted light; border-bottom: 1px dotted light;
&:after { &:after {
// content: ' ?'; // content: ' ?';