summaryrefslogtreecommitdiff
path: root/src/ws/munia.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/ws/munia.css')
-rw-r--r--src/ws/munia.css110
1 files changed, 68 insertions, 42 deletions
diff --git a/src/ws/munia.css b/src/ws/munia.css
index 8abfa08..6841731 100644
--- a/src/ws/munia.css
+++ b/src/ws/munia.css
@@ -1,38 +1,46 @@
-/* Prevent the text contents of draggable elements from being selectable. */
-[draggable]
-{
- -moz-user-select: none;
- -khtml-user-select: none;
- -webkit-user-select: none;
- user-select: none;
-}
-
body
{
cursor: default;
font-family: helvetica, arial, sans-serif;
font-size: 0.8em;
+ color: #4d596c;
+ background-color: #f4f5f7;
}
.node
{
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
user-select: none;
cursor: move;
- background-color: #aaa;
+ background-color: white;
border-style: solid;
border-width: 1px;
- border-color: black;
+ border-color: #dadde2;
border-radius: 3px;
- padding: 0px;
+ padding: 1em;
margin: 0px;
margin-left: auto;
margin-right: auto;
+ box-shadow: 1px 1px 1px #666;
+}
+
+.board .node
+{
+ background-color: #edf5ff;
+}
+
+.board .node .children
+{
+ background-color: #edf5ff;
+}
+
+.children .node
+{
+ background-color: white;
+}
+
+.children .node .children
+{
+ background-color: #f4f5f7;
}
.node + .node
@@ -42,7 +50,6 @@ body
.node .data
{
- background-color: grey;
}
.node .id
@@ -54,39 +61,49 @@ body
min-width: 2.8em;
display: inline-block;
pointer-events: none;
- margin-left: 2px;
+ padding-right: 0.3px;
}
.node .title
{
+ clear: both;
float: left;
font-weight: bold;
font-size: 1.1em;
background: transparent;
pointer-events: auto;
- width: 65%;
+ min-width: 20em;
+ width: 100%;
min-height: 1.1em;
+ padding-top: 0.4em;
+}
+
+.title:hover,
+.description:hover
+{
+ background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.07), rgba(0,0,0,0));
}
.node .state
{
float: right;
- padding-left: 5px;
- padding-right: 5px;
- background: transparent;
+ padding: 0.3em 1em 0.3em 1em;
+ margin-right: 0.3em;
pointer-events: auto;
cursor: pointer;
- background-color: #aaa;
- border: solid 1px #666;
+ border-radius: 3px;
+ text-transform: uppercase;
+ font-size: 0.8em;
+ font-weight: bold;
+ color: black;
}
.node .description
{
- border-top: solid black 1px;
display: block;
clear: both;
- padding-left: 5px;
- background: #999;
+ padding-top: 0.5em;
+ padding-bottom: 1em;
pointer-events: auto;
min-height: 0.5em;
}
@@ -107,14 +124,20 @@ body
.node .button
{
float: right;
- display: inline-box;
- width: 1em;
+ width: 1.6em;
+ height: 1.5em;
+ padding-top: 0.1em;
vertical-align: text-center;
text-align: center;
cursor: pointer;
pointer-events: auto;
- background-color: #aaa;
- border: solid 1px #666;
+ background-color: #ebedf0;
+ border-radius: 3px;
+}
+
+.button + .button
+{
+ margin-right: 0.3em;
}
.node .children
@@ -122,30 +145,33 @@ body
clear: both;
padding: 6px;
min-height: 5px;
- border: dotted 1px black;
overflow: hidden;
+ background-color: #f4f5f7;
}
.collapsed .children
{
- clear: both;
- background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
- max-height: 0px;
- padding-top: 0px;
- opacity: 0.2;
+ display: none;
}
.collapsed .description
{
height: 0px;
+ padding: 0px;
overflow: hidden;
min-height: 0px;
}
+.collapsed .title
+{
+ clear: none;
+ padding: 0px;
+ width: unset;
+}
+
.board
{
- min-height: 200px;
- width: 500px;
+ width: 48%;
padding: 8px;
margin: 2px;
display: inline-box;
@@ -162,6 +188,6 @@ body
color: #0f0;
background-color: #111;
border: 1px solid #030;
- border-radius: 4px;
+ border-radius: 3px;
overflow: auto;
}