@instincthub/react-ui 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index8.js +2 -0
- package/dist/_virtual/index8.js.map +1 -0
- package/dist/_virtual/react-is.development3.js +2 -0
- package/dist/_virtual/react-is.development3.js.map +1 -0
- package/dist/_virtual/react-is.production.min2.js +2 -0
- package/dist/_virtual/react-is.production.min2.js.map +1 -0
- package/dist/_virtual/stylis.js +2 -0
- package/dist/_virtual/stylis.js.map +1 -0
- package/dist/assets/css/bootstrap.css +315 -0
- package/dist/assets/css/darkmode.css +57 -0
- package/dist/assets/css/fonts.css +1 -0
- package/dist/assets/css/forms/input-fields.css +77 -0
- package/dist/assets/css/forms/react-action.css +46 -0
- package/dist/assets/css/forms/submit-btn.css +39 -0
- package/dist/assets/css/forms.css +145 -0
- package/dist/assets/css/invoice.css +196 -0
- package/dist/assets/css/loading.css +57 -0
- package/dist/assets/css/main.css +2357 -0
- package/dist/assets/css/material-ui.css +82 -0
- package/dist/assets/css/modals.css +208 -0
- package/dist/assets/css/primereact.css +367 -0
- package/dist/assets/css/react-video-player.css +81 -0
- package/dist/assets/css/readme/overflow.md +93 -0
- package/dist/assets/css/readme/width-height-padding.md +342 -0
- package/dist/assets/css/readme/z-index.md +80 -0
- package/dist/assets/css/root.css +70 -0
- package/dist/assets/css/styles.css +23 -0
- package/dist/assets/css/tag-only-selectors.css +240 -0
- package/dist/assets/css/tooltip.css +26 -0
- package/dist/assets/css/ui/code-display.css +132 -0
- package/dist/assets/css/ui/content-viewer.css +599 -0
- package/dist/assets/css/ui/editor.css +161 -0
- package/dist/assets/css/ui/list-styles.css +318 -0
- package/dist/assets/css/ui/parent-list-styles.css +223 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js +2 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.esm.js.map +1 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +2 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js.map +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js +2 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.esm.js.map +1 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +2 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +1 -0
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +2 -0
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js.map +1 -0
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.esm.js +2 -0
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.esm.js.map +1 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +2 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js.map +1 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js +2 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.esm.js.map +1 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +2 -0
- package/dist/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js.map +1 -0
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js +1 -1
- package/dist/node_modules/@mui/material/styles/createThemeWithVars.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/memoTheme.js +1 -1
- package/dist/node_modules/@mui/material/utils/memoTheme.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Box/Box.js +2 -0
- package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Box/boxClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Box/boxClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/Container.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/containerClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/containerClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js +2 -0
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +2 -0
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/Grid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/gridGenerator.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js +2 -0
- package/dist/node_modules/@mui/system/esm/Grid/traverseBreakpoints.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/Stack/stackClasses.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/stackClasses.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/borders.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/breakpoints.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js +2 -0
- package/dist/node_modules/@mui/system/esm/createBox/createBox.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createGetCssVar.js +2 -0
- package/dist/node_modules/@mui/system/esm/cssVars/createGetCssVar.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/display/display.js +2 -0
- package/dist/node_modules/@mui/system/esm/display/display.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js +2 -0
- package/dist/node_modules/@mui/system/esm/flexbox/flexbox.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js +2 -0
- package/dist/node_modules/@mui/system/esm/getThemeValue/getThemeValue.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/memoTheme.js +2 -0
- package/dist/node_modules/@mui/system/esm/memoTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/palette/palette.js +1 -1
- package/dist/node_modules/@mui/system/esm/palette/palette.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/positions/positions.js +2 -0
- package/dist/node_modules/@mui/system/esm/positions/positions.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js +2 -0
- package/dist/node_modules/@mui/system/esm/shadows/shadows.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js +1 -1
- package/dist/node_modules/@mui/system/esm/sizing/sizing.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +2 -0
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/styled/styled.js +2 -0
- package/dist/node_modules/@mui/system/esm/styled/styled.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/typography/typography.js +2 -0
- package/dist/node_modules/@mui/system/esm/typography/typography.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js +2 -0
- package/dist/node_modules/@mui/system/esm/useTheme/useTheme.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +2 -0
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js.map +1 -0
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +2 -0
- package/dist/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +10 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +10 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -0
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/stylis/dist/umd/stylis.js +2 -0
- package/dist/node_modules/stylis/dist/umd/stylis.js.map +1 -0
- package/dist/src/components/forms/AnimatedBox.js.map +1 -1
- package/dist/src/components/forms/SubmitBtn.js.map +1 -1
- package/dist/src/components/ui/viewer/CodeDisplay.js +1 -1
- package/dist/src/styles.js.map +1 -1
- package/dist/src/types/components/forms/CountryInput.d.ts +0 -1
- package/dist/src/types/components/forms/CountryStateInput.d.ts +0 -1
- package/dist/src/types/components/ui/viewer/CodeDisplay.d.ts +1 -1
- package/dist/src/types/styles.d.ts +1 -13
- package/dist/styles.css +1 -1
- package/package.json +6 -4
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font-size: 14px;
|
|
3
|
+
font-family: var(--Nunito);
|
|
4
|
+
background-color: var(--White);
|
|
5
|
+
}
|
|
6
|
+
h1,
|
|
7
|
+
h2,
|
|
8
|
+
h3,
|
|
9
|
+
h4,
|
|
10
|
+
h5,
|
|
11
|
+
h6 {
|
|
12
|
+
font-family: var(--Montserat);
|
|
13
|
+
color: var(--Gunmetal);
|
|
14
|
+
font-weight: 700;
|
|
15
|
+
line-height: 120%;
|
|
16
|
+
margin-bottom: 2.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h1 {
|
|
20
|
+
font-size: 3.4rem;
|
|
21
|
+
margin: 2.3.4rem 0px;
|
|
22
|
+
}
|
|
23
|
+
h2 {
|
|
24
|
+
font-size: 2.85rem;
|
|
25
|
+
margin: 2.85rem 0px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h3 {
|
|
29
|
+
font-size: 2.5rem;
|
|
30
|
+
margin: 2.5rem 0px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h4 {
|
|
34
|
+
font-size: 2.14rem;
|
|
35
|
+
margin: 2.14rem 0px;
|
|
36
|
+
}
|
|
37
|
+
h5 {
|
|
38
|
+
font-size: 1.78rem;
|
|
39
|
+
margin: 1.78rem 0px;
|
|
40
|
+
}
|
|
41
|
+
h6 {
|
|
42
|
+
font-size: 1.42rem;
|
|
43
|
+
margin: 1.42rem 0px;
|
|
44
|
+
}
|
|
45
|
+
hr {
|
|
46
|
+
border: 0.5px solid rgba(44, 51, 58, 0.5);
|
|
47
|
+
margin: 40px 0;
|
|
48
|
+
}
|
|
49
|
+
i {
|
|
50
|
+
font-style: italic;
|
|
51
|
+
}
|
|
52
|
+
img {
|
|
53
|
+
width: 100%;
|
|
54
|
+
max-width: 100%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
textarea,
|
|
58
|
+
time {
|
|
59
|
+
font-family: var(--Nunito);
|
|
60
|
+
}
|
|
61
|
+
time,
|
|
62
|
+
svg {
|
|
63
|
+
color: var(--Gunmetal);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
input {
|
|
67
|
+
width: 100%;
|
|
68
|
+
font-style: var(--Montserat);
|
|
69
|
+
padding: 15px;
|
|
70
|
+
border: 1px solid #d8d8d8;
|
|
71
|
+
|
|
72
|
+
border-radius: 5px;
|
|
73
|
+
border-radius: 5px;
|
|
74
|
+
height: 50px;
|
|
75
|
+
font-size: 15px;
|
|
76
|
+
outline: 0;
|
|
77
|
+
background-color: var(--White);
|
|
78
|
+
}
|
|
79
|
+
a {
|
|
80
|
+
color: unset;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
a,
|
|
84
|
+
label,
|
|
85
|
+
::placeholder {
|
|
86
|
+
font-family: var(--Montserat);
|
|
87
|
+
transition: 0.3s ease-in;
|
|
88
|
+
}
|
|
89
|
+
::placeholder {
|
|
90
|
+
color: #d8d8d8;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
a:hover {
|
|
94
|
+
opacity: 0.8;
|
|
95
|
+
}
|
|
96
|
+
ol {
|
|
97
|
+
list-style: none;
|
|
98
|
+
counter-reset: item;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
input[type="checkbox"] {
|
|
102
|
+
position: relative;
|
|
103
|
+
border: 2px solid var(--DarkCyan);
|
|
104
|
+
border-radius: 2px;
|
|
105
|
+
background: none;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
line-height: 0;
|
|
108
|
+
margin-left: 20px;
|
|
109
|
+
margin-right: 10px;
|
|
110
|
+
outline: 0;
|
|
111
|
+
padding: 0 !important;
|
|
112
|
+
vertical-align: text-top;
|
|
113
|
+
height: 20px;
|
|
114
|
+
width: 20px;
|
|
115
|
+
-webkit-appearance: none;
|
|
116
|
+
opacity: 0.5;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
input[type="checkbox"]:hover {
|
|
120
|
+
opacity: 1;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
input[type="checkbox"]:checked {
|
|
124
|
+
background-color: var(--DarkCyan);
|
|
125
|
+
opacity: 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
input[type="checkbox"]:before {
|
|
129
|
+
content: "";
|
|
130
|
+
position: absolute;
|
|
131
|
+
right: 50%;
|
|
132
|
+
top: 50%;
|
|
133
|
+
width: 4px;
|
|
134
|
+
height: 10px;
|
|
135
|
+
border: solid #fff;
|
|
136
|
+
border-width: 0 2px 2px 0;
|
|
137
|
+
margin: -1px -1px 0 -1px;
|
|
138
|
+
transform: rotate(45deg) translate(-50%, -50%);
|
|
139
|
+
z-index: var(--z-navigation);
|
|
140
|
+
}
|
|
141
|
+
ol li {
|
|
142
|
+
counter-increment: item;
|
|
143
|
+
margin-bottom: 5px;
|
|
144
|
+
font-family: var(--Nunito);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
header {
|
|
148
|
+
background: var(--Glass);
|
|
149
|
+
backdrop-filter: blur(15px);
|
|
150
|
+
width: 100%;
|
|
151
|
+
z-index: var(--z-overlay);
|
|
152
|
+
padding: 10px 0;
|
|
153
|
+
background: var(--FadeGlass);
|
|
154
|
+
position: fixed;
|
|
155
|
+
backdrop-filter: blur(15px);
|
|
156
|
+
top: 0;
|
|
157
|
+
left: 0;
|
|
158
|
+
/* box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.05), 0px 2px 8px rgba(0, 0, 0, 0.05); */
|
|
159
|
+
}
|
|
160
|
+
table {
|
|
161
|
+
border-collapse: collapse;
|
|
162
|
+
font-family: var(--Nunito);
|
|
163
|
+
margin: 25px 0;
|
|
164
|
+
font-size: 1rem;
|
|
165
|
+
font-weight: 600;
|
|
166
|
+
width: 100%;
|
|
167
|
+
}
|
|
168
|
+
table thead tr {
|
|
169
|
+
background-color: var(--LavenderGray);
|
|
170
|
+
text-align: left;
|
|
171
|
+
border: var(--borderDefault);
|
|
172
|
+
color: var(--Gunmetal);
|
|
173
|
+
font-weight: 500;
|
|
174
|
+
border-radius: 5px 5px 0px 0px;
|
|
175
|
+
}
|
|
176
|
+
table thead tr:nth-of-type(1) {
|
|
177
|
+
background-color: #f3f3f3;
|
|
178
|
+
}
|
|
179
|
+
table tbody tr {
|
|
180
|
+
border: var(--borderDefault);
|
|
181
|
+
font-size: 15px;
|
|
182
|
+
font-weight: 500;
|
|
183
|
+
}
|
|
184
|
+
table tbody tr:nth-of-type(even) {
|
|
185
|
+
background-color: #f3f3f3;
|
|
186
|
+
font-size: 15px;
|
|
187
|
+
font-weight: 500;
|
|
188
|
+
line-height: 24px;
|
|
189
|
+
letter-spacing: 0em;
|
|
190
|
+
text-align: left;
|
|
191
|
+
}
|
|
192
|
+
table th,
|
|
193
|
+
table td {
|
|
194
|
+
padding: 18px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
footer {
|
|
198
|
+
-webkit-box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.05),
|
|
199
|
+
0px 2px 8px rgba(0, 0, 0, 0.05);
|
|
200
|
+
box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.05), 0px 2px 8px rgba(0, 0, 0, 0.05);
|
|
201
|
+
height: auto;
|
|
202
|
+
background-color: var(--White);
|
|
203
|
+
z-index: var(--z-navigation);
|
|
204
|
+
margin-top: 100px;
|
|
205
|
+
position: relative;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
p,
|
|
209
|
+
div {
|
|
210
|
+
font-size: 1rem;
|
|
211
|
+
font-family: var(--Nunito);
|
|
212
|
+
color: var(--Gunmetal);
|
|
213
|
+
margin: 8px 0;
|
|
214
|
+
}
|
|
215
|
+
span,
|
|
216
|
+
i,
|
|
217
|
+
li {
|
|
218
|
+
font-size: 0.8rem;
|
|
219
|
+
font-family: var(--Nunito);
|
|
220
|
+
color: var(--Gunmetal);
|
|
221
|
+
}
|
|
222
|
+
@media (min-width: 1024px) {
|
|
223
|
+
p,
|
|
224
|
+
div,
|
|
225
|
+
span,
|
|
226
|
+
i,
|
|
227
|
+
li {
|
|
228
|
+
font-size: 1.1rem;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media (min-width: 1700px) {
|
|
233
|
+
p,
|
|
234
|
+
div,
|
|
235
|
+
span,
|
|
236
|
+
i,
|
|
237
|
+
li {
|
|
238
|
+
font-size: 1.3rem;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.tooltip {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
border-bottom: 1px dotted black;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tooltip .tooltiptext {
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
width: auto;
|
|
10
|
+
background-color: #314a52;
|
|
11
|
+
color: #fff !important;
|
|
12
|
+
text-align: center;
|
|
13
|
+
border-radius: 6px;
|
|
14
|
+
padding: 6px 9px;
|
|
15
|
+
|
|
16
|
+
/* Position the tooltip */
|
|
17
|
+
position: absolute;
|
|
18
|
+
z-index: var(--z-navigation);
|
|
19
|
+
top: 120%;
|
|
20
|
+
right: -50%;
|
|
21
|
+
margin-left: -60px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tooltip:hover .tooltiptext {
|
|
25
|
+
visibility: visible;
|
|
26
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* CodeDisplay.css */
|
|
2
|
+
.ihub-code-display {
|
|
3
|
+
border-radius: 5px;
|
|
4
|
+
margin: 1.5rem 0;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
border: 1px solid var(--borderDefault);
|
|
7
|
+
box-shadow: var(--lightShadow);
|
|
8
|
+
transition: all 0.3s ease;
|
|
9
|
+
position: relative;
|
|
10
|
+
width: 95%;
|
|
11
|
+
margin: auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ihub-code-display code.language-css {
|
|
15
|
+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
16
|
+
font-size: 1em;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ihub-code-display:focus {
|
|
20
|
+
outline: 0.2px solid var(--DarkCyan);
|
|
21
|
+
box-shadow: 0 0 0 4px rgba(0, 131, 143, 0.1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ihub-code-header {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
align-items: center;
|
|
28
|
+
background-color: var(--OpacityBackground);
|
|
29
|
+
border-bottom: var(--borderDefault);
|
|
30
|
+
font-family: var(--Montserat);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ihub-code-filename {
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
font-size: 14px;
|
|
36
|
+
color: var(--Gunmetal);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ihub-code-controls {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 8px;
|
|
42
|
+
margin-left: auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ihub-code-button {
|
|
46
|
+
background-color: transparent;
|
|
47
|
+
border: 1px solid var(--borderDefault);
|
|
48
|
+
border-radius: 4px;
|
|
49
|
+
padding: 0.25rem 0.5rem;
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
transition: all 0.2s ease;
|
|
53
|
+
color: var(--Gunmetal);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ihub-code-button:hover {
|
|
57
|
+
background-color: var(--borderDefault);
|
|
58
|
+
color: var(--DarkCyan);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ihub-code-button:disabled {
|
|
62
|
+
background-color: var(--DarkCyan);
|
|
63
|
+
color: white;
|
|
64
|
+
opacity: 0.7;
|
|
65
|
+
cursor: default;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ihub-code-content {
|
|
69
|
+
max-height: 500px;
|
|
70
|
+
overflow: auto;
|
|
71
|
+
transition: max-height 0.3s ease;
|
|
72
|
+
}
|
|
73
|
+
.ihub-code-content pre {
|
|
74
|
+
background-color: var(--White) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ihub-code-content.ihub-collapsed {
|
|
78
|
+
max-height: 0;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ihub-code-collapsed-indicator {
|
|
83
|
+
text-align: center;
|
|
84
|
+
padding: 0.5rem;
|
|
85
|
+
background-color: var(--Gray);
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
color: var(--DarkCyan);
|
|
89
|
+
font-weight: 500;
|
|
90
|
+
border-top: var(--borderDefault);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ihub-code-collapsed-indicator:hover {
|
|
94
|
+
background-color: var(--Magnolia);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Media query for mobile responsiveness */
|
|
98
|
+
@media (max-width: 540px) {
|
|
99
|
+
.ihub-code-header {
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
align-items: flex-end;
|
|
102
|
+
gap: 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ihub-code-controls {
|
|
106
|
+
width: 100%;
|
|
107
|
+
justify-content: flex-end;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ihub-code-content {
|
|
111
|
+
max-height: 300px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Dark mode support */
|
|
116
|
+
html.DarkMode .ihub-code-display {
|
|
117
|
+
border-color: rgba(255, 255, 255, 0.1);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
html.DarkMode .ihub-code-filename,
|
|
121
|
+
html.DarkMode .ihub-code-button {
|
|
122
|
+
color: var(--white);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
html.DarkMode .ihub-code-button {
|
|
126
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
html.DarkMode .ihub-code-collapsed-indicator {
|
|
130
|
+
background-color: var(--Gunmetal);
|
|
131
|
+
color: var(--DarkCyan);
|
|
132
|
+
}
|