File tree Expand file tree Collapse file tree 6 files changed +141
-9
lines changed Expand file tree Collapse file tree 6 files changed +141
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " iknow-entity-browser" ,
3
- "version" : " 0.5.7 " ,
3
+ "version" : " 0.5.8 " ,
4
4
"description" : " Visualizer for iKnow entities" ,
5
5
"main" : " gulpfile.babel.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change 12
12
< body onload ="window.init() ">
13
13
< div id ="windows ">
14
14
< div id ="controlIcons ">
15
- < i id ="undoButton " class ="ui icon-undo "> </ i >
16
- < i id ="redoButton " class ="ui icon-redo "> </ i >
15
+ < div id ="undoButton " class ="ui icon-undo hint ">
16
+ < div class ="right tooltip ">
17
+ < div class ="label ">
18
+ Undo
19
+ </ div >
20
+ </ div >
21
+ </ div >
22
+ < div id ="redoButton " class ="ui icon-redo hint ">
23
+ < div class ="right tooltip ">
24
+ < div class ="label ">
25
+ Redo
26
+ </ div >
27
+ </ div >
28
+ </ div >
17
29
</ div >
18
30
< svg id ="graph ">
19
31
< defs >
29
41
</ defs >
30
42
</ svg >
31
43
< div id ="table ">
32
- < i id ="tableToggle " class ="ui icon-list "> </ i >
44
+ < div id ="tableToggle " class ="ui icon-list hint ">
45
+ < div class ="tooltip ">
46
+ < div class ="label ">
47
+ Tabular view
48
+ </ div >
49
+ </ div >
50
+ </ div >
33
51
< div id ="rightTopIcons ">
34
- < i id ="settingsToggle " class ="ui icon-settings "> </ i >
52
+ < div id ="settingsToggle " class ="ui icon-settings hint ">
53
+ < div class ="tooltip ">
54
+ < div class ="label ">
55
+ Settings
56
+ </ div >
57
+ </ div >
58
+ </ div >
35
59
</ div >
36
60
< div id ="toolbarIcons ">
37
- < i id ="resetSelectionButton " class ="ui icon-outline "> </ i >
38
- < i id ="dropChildrenButton " class ="ui icon-unlink "> </ i >
39
- < i id ="removeButton " class ="ui icon-remove "> </ i >
61
+ < div id ="resetSelectionButton " class ="ui icon-outline hint ">
62
+ < div class ="tooltip ">
63
+ < div class ="label ">
64
+ Reset selection
65
+ </ div >
66
+ </ div >
67
+ </ div >
68
+ < div id ="dropChildrenButton " class ="ui icon-unlink hint ">
69
+ < div class ="tooltip ">
70
+ < div class ="label ">
71
+ Drop all children
72
+ </ div >
73
+ </ div >
74
+ </ div >
75
+ < div id ="removeButton " class ="ui icon-remove hint ">
76
+ < div class ="tooltip ">
77
+ < div class ="label ">
78
+ Delete selection
79
+ </ div >
80
+ </ div >
81
+ </ div >
40
82
</ div >
41
83
< div class ="controls ">
42
84
< label >
Original file line number Diff line number Diff line change
1
+ @import " mixins" ;
2
+
3
+ .hint {
4
+
5
+ position : relative ;
6
+
7
+ > .tooltip {
8
+
9
+ position : absolute ;
10
+ top : 0 ;
11
+ left : 0 ;
12
+ width : 100% ;
13
+ height : 100% ;
14
+ overflow : hidden ;
15
+
16
+ > .label {
17
+
18
+ position : absolute ;
19
+ padding : 3px ;
20
+ width : auto ;
21
+ white-space : nowrap ;
22
+ color : #FFFFFF ;
23
+ background : #000000 ;
24
+ font-size : 16px ;
25
+ text-align : center ;
26
+ visibility : hidden ;
27
+ border-radius : 4px ;
28
+ opacity : 0 ;
29
+ @include transition (opacity .3s ease );
30
+
31
+ & :after {
32
+ content : ' ' ;
33
+ position : absolute ;
34
+ top : 50% ;
35
+ left : 100% ;
36
+ margin-top : -9px ;
37
+ width : 0 ;
38
+ height : 0 ;
39
+ border-left : 9px solid #000 ;
40
+ border-top : 9px solid transparent ;
41
+ border-bottom : 8px solid transparent ;
42
+ }
43
+
44
+ }
45
+
46
+ & :hover {
47
+ overflow : visible ;
48
+ > .label {
49
+ visibility : visible ;
50
+ right : 100% ;
51
+ top : 50% ;
52
+ margin-top : -15px ;
53
+ margin-right : 15px ;
54
+ z-index : 999 ;
55
+ opacity : 0.8 ;
56
+ }
57
+ }
58
+
59
+ & .right {
60
+
61
+ > .label :after {
62
+ left : auto ;
63
+ right : 100% ;
64
+ border-left : none ;
65
+ border-right : 9px solid #000 ;
66
+ border-top : 9px solid transparent ;
67
+ border-bottom : 8px solid transparent ;
68
+ }
69
+
70
+ & :hover > .label {
71
+ right : auto ;
72
+ left : 100% ;
73
+ margin-right : 0 ;
74
+ margin-left : 15px ;
75
+ }
76
+
77
+ }
78
+
79
+ }
80
+
81
+ }
Original file line number Diff line number Diff line change 4
4
[class *= " icon-" ] {
5
5
@include user-select (none );
6
6
@include transition ($defaultTransition );
7
+ position : relative ;
8
+ display : inline-block ;
7
9
cursor : pointer ;
8
10
& .ui { font-size : 28px ; }
9
11
& :hover { color : $colorA ; }
Original file line number Diff line number Diff line change @@ -33,4 +33,5 @@ html, body {
33
33
@import " graph" ;
34
34
@import " tabular" ;
35
35
@import " settings" ;
36
- @import " interface" ;
36
+ @import " interface" ;
37
+ @import " hint" ;
Original file line number Diff line number Diff line change 37
37
}
38
38
39
39
#controlIcons {
40
+
40
41
position : absolute ;
41
42
left : 0 ;
42
43
bottom : 0 ;
43
44
z-index : $zIndexInterface ;
44
45
padding-left : 8px ;
46
+
47
+ > div {
48
+ display : block ;
49
+ }
50
+
45
51
}
You can’t perform that action at this time.
0 commit comments