bpmn-js/example/css/app.css

135 lines
2.5 KiB
CSS
Raw Normal View History

2014-04-05 09:25:34 +00:00
* {
box-sizing: border-box;
}
body, html {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
height: 100%;
padding: 0;
margin: 0;
}
a:link {
text-decoration: none;
}
.content,
.content > div {
width: 100%;
height: 100%;
}
.content > .message {
text-align: center;
display: table;
font-size: 16px;
color: #111;
}
.content > .message .note {
vertical-align: middle;
text-align: center;
display: table-cell;
}
.content .error .details {
max-width: 500px;
font-size: 12px;
margin: 20px auto;
text-align: left;
}
.content .error pre {
border: solid 1px #CCC;
background: #EEE;
padding: 10px;
}
.content:not(.with-error) .error,
.content .canvas,
.content.with-error .canvas,
.content.with-error .intro,
.content.with-diagram .intro {
display: none;
}
.content.with-diagram .canvas {
display: block;
}
.buttons {
position: fixed;
bottom: 20px;
left: 20px;
padding: 0;
margin: 0;
list-style: none;
font-size: 2em;
}
.buttons > li {
display: inline-block;
padding: 5px;
}
.buttons a {
opacity: 0.3;
}
.buttons a.active {
opacity: 1.0;
}
/* icon integration */
@font-face {
font-family: 'bpmnio-embedded';
src: url('../font/bpmnio-embedded.eot?52356950');
src: url('../font/bpmnio-embedded.eot?52356950#iefix') format('embedded-opentype'),
url('../font/bpmnio-embedded.woff?52356950') format('woff'),
url('../font/bpmnio-embedded.ttf?52356950') format('truetype'),
url('../font/bpmnio-embedded.svg?52356950#bpmnio-embedded') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "bpmnio-embedded";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin-right: .2em;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
margin-left: .2em;
}
.icon-bpmn-io:before { content: '\e807'; }
.icon-save:before { content: '\e806'; }
.icon-info:before { content: '\e80b'; }
.icon-download:before { content: '\e80a'; }
.icon-link:before { content: '\e808'; }
.icon-source:before { content: '\e802'; }
.icon-picture:before { content: '\e809'; }
.icon-comments:before { content: '\e801'; }
.icon-resize-full:before { content: '\e800'; }
.icon-resize-small:before { content: '\e805'; }
.icon-diagram:before { content: '\e803'; }
.icon-edit:before { content: '\e804'; }