File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ /* src/ui/popup.css */
12# author ,
23# footer ,
34.courseraModelBtn {
4344 background-color : var (--secondary-color );
4445 color : var (--primary-color );
4546 cursor : pointer;
47+ width : 100% ;
4648 white-space : nowrap;
4749}
4850
@@ -60,3 +62,45 @@ body {
6062 color : # fff ;
6163 margin-top : 20px ;
6264}
65+
66+
67+ .courseraBtnWrapper {
68+ position : relative;
69+ display : inline-block;
70+ margin : 8px ;
71+ }
72+
73+ .courseraTooltip {
74+ visibility : hidden;
75+ width : 260px ;
76+ background-color : # 333 ;
77+ color : # fff ;
78+ text-align : left;
79+ border-radius : 8px ;
80+ padding : 8px 10px ;
81+ position : absolute;
82+ z-index : 10 ;
83+ bottom : 125% ;
84+ transform : translateX (-50% );
85+ opacity : 0 ;
86+ transition : opacity 0.2s ease-in-out;
87+ font-size : 12px ;
88+ line-height : 1.4 ;
89+ pointer-events : none;
90+ }
91+
92+ .courseraBtnWrapper : hover .courseraTooltip {
93+ visibility : visible;
94+ opacity : 1 ;
95+ }
96+
97+ .courseraTooltip ::after {
98+ content : '' ;
99+ position : absolute;
100+ top : 100% ;
101+ left : 50% ;
102+ margin-left : -5px ;
103+ border-width : 6px ;
104+ border-style : solid;
105+ border-color : # 333 transparent transparent transparent;
106+ }
You can’t perform that action at this time.
0 commit comments