-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
169 lines (142 loc) · 2.66 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.nrp-robot-designer {
height: 100vh;
display: grid;
grid-template-areas:
'header header header'
'menu main main'
'menu footer sidebar';
grid-template-columns: 45px auto 275px;
grid-template-rows: 35px auto 110px;
grid-gap: 3px;
background-color: #333;
overflow: hidden;
font-family: 'Raleway', sans-serif;
}
.nrp-robot-designer > div {
color: white;
overflow: hidden;
}
.header {
grid-area: header;
display: flex;
align-items: center;
padding-left: 5px;
}
.menu {
grid-area: menu;
display: flex;
flex-direction: column;
text-align: center;
}
.main {
grid-area: main;
}
.sidebar {
grid-area: sidebar;
margin-right: 2px;
font-size: small;
}
.footer {
grid-area: footer;
display: flex;
flex-flow: row nowrap;
align-items: center;
overflow-x: scroll !important;
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
.modal-grid {
display: flex;
flex-direction: row;
}
.modal-close-button {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.modal-close-button:hover,
.modal-close-button:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.nrp-button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px;
margin: 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.nrp-button-disabled {
background-color: #ccc;
color: #666;
}
.designer-group {
background-color: #4c4c4c;
border-radius: 5px;
padding-left: 5px;
}
.designer-group-title {
color: #a5a5a5;
font-size: medium;
margin: 0;
}
.part-icon {
height: 100%;
}
.part-icon:hover {
background-color: #68E;
}
.part-icon-disabled {
opacity: 0.3;
}
.part-icon-disabled:hover {
background-color: inherit;
}
.part-icon > img {
height:100%;
}
.part-name-label {
font-family: monospace;
}
.hidden {
display: none;
}
[draggable=true] {
cursor: move;
}
.nrp-robot-designer-fas, .menu-item {
margin: 5px;
}
.nrp-robot-designer-fas:hover, .menu-item:hover {
color: #68E
}
.nrp-robot-designer-fas-disabled {
opacity: 0.6;
cursor: not-allowed;
}
.nrp-robot-designer-fas-selected {
color: #6E6;
}