-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmain.css
173 lines (170 loc) · 3.16 KB
/
main.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
170
171
172
173
/*basic*/
*{
font-family: "PT Serif",\5FAE\8EDF\6B63\9ED1\9AD4,\5FAE\8F6F\96C5\9ED1,\534E\6587\7EC6\9ED1,Georgia,Times,"Times New Roman",serif;
}
body{
background-image: url(bg.png);
background-repeat: repeat;
}
#main{
position:absolute;
width:100%;
height: 100%;
}
a,a:link,a:visited{
color:inherit;
text-decoration: none;
}
.clear,.clear::before,.clear::after{
display: block;
clear: both;
}
.clear::before,.clear::after{
content: '';
}
.t-text{
padding: 200px 0;
text-align: center;
font-size: 4rem;
color: #999;
font-weight: 200;
}
.container{
width: 800px;
margin: 100px auto 0;
}
.right{
float:right;
}
.left{
float: left;
}
/*index*/
#index {
position: absolute;
width: 100%;
top:50%;
transform: translateY(-50%);
text-align: center;
}
#index h2{
font-size: 2.5rem;
padding: 0;
font-weight: normal;
}
#index img{
height: 7.5rem;
}
/* u */
.form-input-material .form-control-material {
width: 100%;
}
/* p */
.machine-item{
float:left;
display: inline-block;
width: 22.5%;
margin:2.5%;
background: RGBA(0,0,0,0.03);
border-radius: 10px;
padding: 20px;
}
#machine-list{
padding: 25px;
background: RGB(250,250,250);
border-radius: 15px;
margin-bottom: 20px;
}
.machine-item .header .right{
color:#0067a6;
opacity: 0.3;
}
.machine-item .content{
font-weight: 600;
opacity: 0.5;
}
.machine-item .header h3{
padding: 0 0 10px;
margin: 0 0 10px;
position: relative;
}
.machine-item .header h3:before {
content: "";
width: 100%;
padding: 0 25px;
position: absolute;
bottom: -1px;
left: -25px;
box-sizing: unset;
}
.machine-item .header h3:after{
transition: all .35s ease-out;
content: "";
position: absolute;
background: #ff4e6a;
width: 1em;
height: 5px;
bottom: -3px;
left: 0;
border-radius: 10px;
box-shadow: 0 2px 12px rgba(255,78,106,.45);
}
.machine-item .header h3:hover:after {
width: 2em;
}
#info-panel{
padding: 25px;
background: RGB(250,250,250);
border-radius: 15px;
margin-bottom: 20px;
}
.data-item{
display: inline-block;
width: 22.5%;
margin: 2.5%;
padding: 15px;
border: 2px solid RGBA(0,0,0,0.2);
border-radius: 15px;
text-align: center;
}
.data-item h4{
padding: 0;
height: 30px;
line-height: 30px;
font-size: 24px;
margin: 0 0 10px;
font-weight: 600;
}
.data-item span{
font-weight: 600;
color:RGBA(0,0,0,0.4);
}
.endanger{
border: 2px solid #ee827c;
}
.endanger > *{
color:#ee827c!important;
}
#machine-detail,#machine-edit,#machine-add,#machine-delete{
padding: 25px;
background: RGB(250,250,250);
border-radius: 15px;
margin-bottom: 20px;
}
#machine-detail h2 span,#machine-edit h2 span,#machine-add h2 span,#machine-delete h2 span{
font-size:18px;
color:#999999;
float:right;
cursor: pointer;
margin-left: 10px;
}
textarea{
display: inline-block;
/*padding: .438rem .525rem;*/
border-radius: 0.3125rem;
overflow-y: visible;
width: 100%;
vertical-align: top;
color: #333;
border-color: #ececec;
}