-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
174 lines (151 loc) · 4.14 KB
/
styles.css
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
.my-addtable-icon, .my-addtable-icon:hover,
.my-exportdatabase-icon, .my-exportdatabase-icon:hover {
color: #6e3778;
}
.my-queryanimal-modal {
max-width: 450px;
}
.my-queryanimal-modal select {
width: 300px;
}
/* Spinner Styles */
.loading-spinner {
border: 8px solid #f3f3f3;
border-top: 8px solid #3498db;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
}
@keyframes spin {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
.export-wizard-modal {
width: 450px;
height: 600px;
display: flex;
flex-direction: column; /* Ensure vertical stacking */
box-sizing: border-box;
overflow: hidden; /* Prevent unnecessary scrollbars */
}
.export-wizard-modal.finish-wizard-page {
height: 250px;
}
.export-wizard-top-title,
.export-wizard-title {
margin-top: 0px;
padding-top: 0px;
padding-bottom: 5px;
}
/* Outer container for the entire wizard page */
.wizard-page-container {
display: flex;
flex-direction: column;
flex: 1; /* Ensure it fills the modal height */
height: 100%; /* Full height of the modal */
}
.wizard-page-container h4 {
margin-top: 0px;
}
/* Content container with scrollable content */
.wizard-content-container {
flex: 1; /* Take up all available space */
overflow-y: auto; /* Enable scrolling if content overflows */
padding: 0px 10px; /* Consistent spacing */
}
/* Buttons container */
.wizard-buttons-container {
position: relative; /* Allow positioning of child elements */
padding: 5px 10px;
height: 50px; /* Fixed height for the button bar */
}
.export-wizard-modal.finish-wizard-page .wizard-buttons-container {
padding: 20px 10px;
}
/* Style for the buttons */
.wizard-button {
padding: 6px 12px;
font-size: 14px;
cursor: pointer;
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border: none;
border-radius: 4px;
}
.wizard-button:hover {
background-color: var(--interactive-accent-hover);
}
/* Align Back button to the left */
.wizard-buttons-container .left-aligned {
position: absolute;
left: 16px; /* Left padding */
}
/* Align Next button to the right */
.wizard-buttons-container .right-aligned {
position: absolute;
right: 16px; /* Right padding */
}
.project-type-container,
.location-type-container {
margin-bottom: 10px; /* Spacing below the dropdown */
}
.project-type-dropdown,
.location-type-dropdown {
width: 100px; /* Fixed width */
padding: 4px 8px;
border: 1px solid var(--background-modifier-border); /* Obsidian's border color */
border-radius: 4px; /* Rounded corners */
background-color: var(--background-secondary); /* Obsidian's background color */
color: var(--text-normal); /* Text color */
cursor: pointer; /* Pointer cursor on hover */
appearance: auto; /* Restore native dropdown appearance */
display: block; /* Block ensures left alignment */
margin: 0; /* Ensure no extra margins */
}
.project-type-dropdown:focus,
.location-type-dropdown:focus {
outline: none;
border-color: var(--interactive-accent); /* Highlight border on focus */
box-shadow: 0 0 0 2px var(--background-modifier-border-focus); /* Subtle shadow */
}
.project-selection-dropdown,
.project-selection-textbox,
.location-selection-dropdown,
.location-selection-textbox,
.depth-selection-textbox {
width: 150px !important;
}
/* Success Notice */
.success-notice {
background-color: #c8e6c9; /* Light green background */
color: #2e7d32; /* Dark green text */
border: 1px solid #2e7d32; /* Optional border for emphasis */
padding: 8px;
border-radius: 5px;
}
/* Error Notice */
.error-notice {
background-color: #ffcccb; /* Light red background */
color: #b71c1c; /* Dark red text */
border: 1px solid #b71c1c; /* Optional border for emphasis */
padding: 8px;
border-radius: 5px;
}
/* Warning Notice */
.warning-notice {
background-color: #fff4cc; /* Light yellow background */
color: #ff8c00; /* Dark orange text */
border: 1px solid #ff8c00; /* Optional border for emphasis */
padding: 8px;
border-radius: 5px;
}