File size: 1,857 Bytes
e1cced0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* Custom styling for ontology-RAG application */

/* Main container styles */
.main-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Enhance visualization elements */
.vis-network {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom tooltip styling */
.vis-tooltip {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 12px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #333;
    max-width: 350px;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Enhance legend appearance */
.graph-legend {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Styling for entity detail cards */
.entity-detail-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Highlight for central entities */
.central-entity {
    border-left: 4px solid #ff7f0e;
    padding-left: 12px;
}

/* Enhanced path visualization */
.path-step {
    padding: 8px;
    margin: 8px 0;
    border-left: 3px solid #1f77b4;
    background-color: #f8f9fa;
}

/* Customization for Streamlit components */
.stButton button {
    border-radius: 20px;
    padding: 5px 15px;
}

.stSelectbox label {
    font-weight: 500;
}

/* Tabs customization */
.streamlit-tabs .stTabs [role="tab"] {
    font-size: 15px;
    padding: 8px 16px;
}

/* Expander customization */
.streamlit-expanderContent {
    border-left: 1px solid #ddd;
    padding-left: 10px;
}