Skip to content

Commit

Permalink
Merge pull request #56 from vektor-inc/fix/contactform7-submigbtn-css
Browse files Browse the repository at this point in the history
【確認待ち】fix:CF7のsubmitボタンの装飾を追加
  • Loading branch information
kurudrive authored Feb 2, 2024
2 parents a4951b8 + 814634f commit 2c9ffd8
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 23 deletions.
44 changes: 26 additions & 18 deletions assets/_scss/_block-common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,39 @@
* ブロック上書きCSS
*/


//VK ボタン
.vk_button{
.btn{
//ContactForm送信ボタン
input[type=submit]{
&.wpcf7-submit{
@include btn();
@include shadow-link;

&:hover{
padding-top: 0.8rem;
padding-bottom: 0.8rem;
&:not(:disabled):hover{ //ボタンが無効時は動かさない
@include shadow-hover;
}
&.vk_button_link.btn {
padding-top: 0.8rem;
padding-bottom: 0.8rem;
}
&-light{
}
}
//VK ボタン
.vk_button .btn{
@include btn();
@include shadow-link;
&:hover{
@include shadow-hover;
}
&.vk_button_link.btn {
padding-top: 0.8rem;
padding-bottom: 0.8rem;
}
&-light{
background-color: #ffffff;
border-color: #ffffff;
&:hover {
background-color: #ffffff;
border-color: #ffffff;
&:hover {
background-color: #ffffff;
border-color: #ffffff;
}
.fas {
color: var(--vk-color-primary);
}
}
.fas {
color: var(--vk-color-primary);
}
}

//ボタンスタイルがテキスト
Expand Down
Loading

0 comments on commit 2c9ffd8

Please sign in to comment.