Add winery source code
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.topologymodeler / src / main / webapp / css / palette.css
1 /*******************************************************************************
2  * Copyright (c) 2012-2013 University of Stuttgart.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * and the Apache License 2.0 which both accompany this distribution,
6  * and are available at http://www.eclipse.org/legal/epl-v10.html
7  * and http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Contributors:
10  *    Uwe Breitenbücher - initial API and implementation and/or initial documentation
11  *    Oliver Kopp - improvements
12  *******************************************************************************/
13
14 #palette {
15         min-height: 180px;
16         background: rgb(248, 248, 248);
17         width: 230px;
18         box-shadow: 2px 2px 7px rgb(156, 156, 156);
19         padding: 10px;
20         border: 1px solid #aeaeae;
21         position: fixed;
22         top: 50px;
23         left: 0px;
24         z-index: 100;
25         cursor: default;
26         border-radius: 0px 9px 9px 0px;
27         background-image: -ms-linear-gradient(left, #FFFFFF 0%, rgb(237, 242, 247) 100%);
28         background-image: -moz-linear-gradient(left, #FFFFFF 0%, rgb(237, 242, 247) 100%);
29         background-image: -o-linear-gradient(left, #FFFFFF 0%, rgb(237, 242, 247) 100%);
30         background-image: -webkit-gradient(linear, left, right, color-stop(0, #FFFFFF), color-stop(1, rgb(237, 242, 247)));
31         background-image: -webkit-linear-gradient(left, #FFFFFF 0%, rgb(237, 242, 247) 100%);
32         background-image: linear-gradient(to right, #FFFFFF 0%, rgb(237, 242, 247) 100%);
33
34         overflow-x: hidden;
35         overflow-y: visible;
36         max-height: 90%;
37
38         /* fix for bootstrap.css, which sets that to "border-box" */
39         box-sizing: content-box;
40         -webkit-box-sizing: content-box;
41 }
42
43 #palette.shrunk {
44         width: 35px;
45         padding: 0px;
46         padding-left: 9px;
47 }
48
49 #paletteLabel {
50         width: 0px;
51         background-color: blue;
52         top: 95px;
53         position: relative;
54         transform: rotate(270deg);
55         -o-transform: rotate(270deg);
56         -moz-transform: rotate(270deg);
57         -ms-transform: rotate(270deg);
58         -webkit-transform: rotate(270deg);
59         display: none;
60         left: 8px;
61         font-size: 12px;
62         color: rgb(143, 151, 170);
63 }
64
65 div.iconContainer {
66         width: 45px;
67         margin-left: 5px;
68         float: left;
69         height: 20px;
70         margin-top: 4px;
71 }
72
73
74 div.paletteEntry {
75         height: 28px;
76         border-bottom: 1px solid rgb(200, 214, 228);
77         margin: 0px;
78         float: left;
79         width: 230px;
80 }
81
82 div.paletteEntry:hover {
83         background: rgb(237, 242, 247);
84 }
85
86
87 div.paletteEntry > div.iconContainer > img.icon {
88         height: 20px;
89         vertical-align: top;
90 }
91
92
93 div.paletteEntry > div.typeContainer {
94         margin: 4px 0px;
95         height: 20px;
96         display: table;
97         width: 180px;
98         font-size: 11px;
99         line-height: 20px;
100 }
101
102 div.paletteEntry > div.typeContainer > div.typeContainerMiddle {
103         display: table-cell;
104         vertical-align: middle;
105         width: 100%;
106         position: static;
107 }
108
109 div.paletteEntry > div.typeContainer > div.typeContainerMiddle > div.typeContainerInner {
110 }
111