Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
148 lines (130 loc) · 2.92 KB
/
Copy pathstyle.css
File metadata and controls
148 lines (130 loc) · 2.92 KB
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
*, *:before, *:after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
}
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 62.5%;
}
/* 背景用*/
body {
padding: 20px;
/*ページ全体の幅*/
width: 100%;
/*ページ全体を中央揃えにする*/
text-align: center;
/* Google Fontをデフォルトとして設定 */
font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
font-size: 18px;
}
.btn, a.btn, button.btn {
font-size: 1.6rem;
font-weight: 700;
line-height: 1.5;
position: relative;
display: inline-block;
padding: 1rem 4rem;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 0.3s;
transition: all 0.3s;
text-align: center;
vertical-align: middle;
text-decoration: none;
letter-spacing: 0.1em;
color: #212529;
border-radius: 0.5rem;
}
a.btn-border-shadow {
padding: calc(1.5rem - 12px) 3rem 1.5rem;
background: #fff;
border-radius: 100vh;
width: 120px;
}
a.btn-border-shadow:before {
position: absolute;
top: -6px;
left: -6px;
width: 100%;
height: 100%;
content: "";
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
border: 3px solid #000;
border-radius: 0.5rem;
border-radius: 100vh;
-webkit-box-shadow: 3px 3px 0 #78e5e5;
box-shadow: 3px 3px 0 #78e5e5;
}
a.btn-border-shadow:hover {
padding: calc(1.5rem - 6px) 3rem;
}
a.btn-border-shadow:hover:before {
top: 0;
left: 0;
}
/* 送信中のボタンデザイン */
a.btn-disabled {
pointer-events: none;
padding: calc(1.5rem - 12px) 3rem 1.5rem;
background: #fff;
border-radius: 100vh;
width: 120px;
}
a.btn-disabled:before {
position: absolute;
top: -6px;
left: -6px;
width: 100%;
height: 100%;
content: "";
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
border: 3px solid #000;
border-radius: 0.5rem;
border-radius: 100vh;
-webkit-box-shadow: 3px 3px 0 #757575;
box-shadow: 3px 3px 0 #757575;
}
/* 画像を円形表示 */
.circle {
border-radius: 50%;
}
/* ファイルアップロード用 */
.uploadButton {
display: block;
margin-left: auto;
margin-right: auto;
color: #fff;
font-weight: bold;
font-size: 18px;
font-family: "游ゴシック", "Yu Gothic";
background: #ee7800;
padding: 8px 0;
border-radius: 16px;
max-width: 240px;
text-align: center;
transition: .3s;
cursor: pointer;
}
.uploadButton:hover {
background: #000;
}
input[type="file"] {
/* position: relative;
margin: 8px 0 0 -14px; */
display: none;
}
/* input::before {
content: "送信ファイル:";
position: absolute;
background: #fff;
width: 110px;
height: 26px;
line-height: 1.8;
text-align: right;
} */