|
@@ -129,6 +129,58 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// button style
|
|
// button style
|
|
|
|
|
+
|
|
|
|
|
+ // ボタンの設定
|
|
|
|
|
+ .button-3 {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ background-color: rgba(lighten(black, 20%), 0.4);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ transition: all .5s ease;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 加えたいエフェクト
|
|
|
|
|
+ .eff-3 {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: -50px;
|
|
|
|
|
+ left: 0px;
|
|
|
|
|
+ z-index: 1;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ background-color: rgba(#7e4153, 0.5);
|
|
|
|
|
+ // 変化のスピード
|
|
|
|
|
+ transition: all .5s ease;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // ホバーした時のボタンに与えたい変更(設定)
|
|
|
|
|
+ .button-3:hover {
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // ホバーしたときのエフェクトに与えたい変更(設定)
|
|
|
|
|
+ .button-3:hover .eff-3 {
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .btn-login.fcbtn {
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ background-color: rgba(lighten(black, 20%), 0.4);
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ transition: all 1s ease 0s;
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .btn-login.fcbtn:hover .eff-3 {
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .btn-login.fcbtn:hover a {
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
.btn-login.fcbtn,
|
|
.btn-login.fcbtn,
|
|
|
.btn-register.fcbtn,
|
|
.btn-register.fcbtn,
|
|
|
.btn-login-oauth.fcbtn,
|
|
.btn-login-oauth.fcbtn,
|
|
@@ -155,11 +207,13 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
.btn-login.fcbtn {
|
|
.btn-login.fcbtn {
|
|
|
.btn-label {
|
|
.btn-label {
|
|
|
background-color: rgba($danger, 0.4);
|
|
background-color: rgba($danger, 0.4);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ &:hover,
|
|
|
&:after {
|
|
&:after {
|
|
|
background-color: #7e4153;
|
|
background-color: #7e4153;
|
|
|
}
|
|
}
|
|
@@ -174,6 +228,7 @@
|
|
|
background-color: #555;
|
|
background-color: #555;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ */
|
|
|
|
|
|
|
|
.btn-login-oauth.fcbtn#github {
|
|
.btn-login-oauth.fcbtn#github {
|
|
|
.btn-label {
|
|
.btn-label {
|
|
@@ -225,6 +280,7 @@
|
|
|
min-width: 45px;
|
|
min-width: 45px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ &:hover,
|
|
|
&:after {
|
|
&:after {
|
|
|
background-color: #3f7263;
|
|
background-color: #3f7263;
|
|
|
}
|
|
}
|