File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22 <modal class =" helper-modal" :visible =" value" >
33 <div class =" helper-modal__content" >
4+ <div class =" helper-modal__close" @click =" handleCloseClick" ></div >
45 <ul class =" helper-modal__list" v-if =" shortcutOptionActivated" >
56 <li class =" helper-modal__item" >
67 <kbd class =" helper-modal__kbd" >{{ keyModifier }}</kbd >
@@ -101,6 +102,39 @@ export default {
101102 box-sizing : border-box ;
102103 }
103104
105+ & __close {
106+ cursor : pointer ;
107+ background-color : rgba (0 , 0 , 0 , 0.2 );
108+ border-radius : 50% ;
109+ display : flex ;
110+ justify-content : center ;
111+ align-items : center ;
112+ width : 50px ;
113+ height : 50px ;
114+ top : 35px ;
115+ right : 45px ;
116+ position : absolute ;
117+ }
118+
119+ & __close ::before ,
120+ & __close ::after {
121+ content : ' ' ;
122+ display : block ;
123+ width : 1px ;
124+ height : 70% ;
125+ background-color : #fff ;
126+ top : 1px ;
127+ position : relative ;
128+ }
129+
130+ & __close ::before {
131+ transform : rotate (45deg );
132+ }
133+
134+ & __close ::after {
135+ transform : rotate (-45deg );
136+ }
137+
104138 & __about ,
105139 & __tab {
106140 width : 100% ;
You can’t perform that action at this time.
0 commit comments