ryojerryyu_obsidian-jessiecode/styles.css
2025-10-09 01:53:36 +08:00

215 lines
4 KiB
CSS

:root {
--graph-height: 300px;
--graph-width: 300px;
--graph-alignment: 0 auto;
}
.exportGraphModal {
width: 100%;
}
@media screen and (min-width: 560px) {
.exportGraphModal {
width: min-content;
min-width: var(--dialog-width);
}
}
.exportGraph {
display: flex;
flex-direction: column;
border-top: var(--border-width) solid var(--background-modifier-border);
}
.exportGraph svg {
margin: 10px auto;
}
.exportGraphSettings {
display: flex;
flex-direction: column;
}
.exportSettingButton {
border-width: 0px;
}
.jxgbox {
/* for IE 7 */
position: relative;
overflow: hidden;
height: var(--graph-height);
max-width: var(--graph-width);
background-color: var(--background-secondary);
border-style: solid;
border-width: var(--border-width);
border-color: var(--background-modifier-border);
border-radius: var(--radius-m);
-webkit-border-radius: var(--radius-m);
margin: var(--graph-alignment);
-webkit-touch-action: none;
-ms-touch-action: none;
/* "touch-action: none;" is set with JavaScript. */
}
.jxgbox:hover {
border-color: var(--background-modifier-border-focus);
}
.jxgbox svg text {
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.JXGtext {
font-family: Courier, monospace;
/*
* The default font family is now set in
* JXG.Options.text.cssdefaultstyle = 'font-family: Arial, Helvetica, Geneva, sans-serif;'
*/
/* "background-color: transparent;" may produce artefacts in IE. Solution: setting a color explicitly. */
background-color: transparent;
padding: 0;
margin: 0;
}
.JXGinfobox {
border-style: none;
border-width: 0;
border-color: black;
}
/* CSS attributes will (permantely) overwrite attributes set in JSXGraph */
.JXGimage {
/* opacity: 1.0; */
}
.JXGimageHighlight {
/* opacity: 0.6; */
}
.jxgbox :focus {
outline-width: 0.5px;
outline-style: dotted;
}
/* CSS rules for the navigation bar */
.JXG_navigation {
position: absolute;
right: 5px;
bottom: 5px;
z-index: 100;
background-color: transparent;
padding: 2px;
font-size: 14px;
cursor: pointer;
}
.JXG_navigation_button {
color: var(--text-muted);
}
.JXG_navigation_button:hover {
border-radius: 2px;
background: var(--background-modifier-hover);
}
.JXG_navigation_button svg {
top: 0.2em;
position: relative;
padding: 0;
}
/* CSS rules for the wrapping div in fullscreen mode */
.JXG_wrap_private:-moz-full-screen {
background-color: #ccc;
padding: 0;
width: 100%;
height: 100%;
}
.JXG_wrap_private:-webkit-full-screen {
background-color: #ccc;
padding: 0;
width: 100%;
height: 100%;
}
.JXG_wrap_private:fullscreen {
background-color: #ccc;
padding: 0;
width: 100%;
height: 100%;
}
.JXG_wrap_private:-ms-fullscreen {
background-color: #ccc;
padding: 0;
width: 100%;
height: 100%;
}
/* Classes forn smartlabels */
.smart-label-solid {
padding: 1px 7px 1px 7px;
margin: 0;
color: white;
border-radius: 150px;
text-align: center;
vertical-align: middle;
}
.smart-label-outline {
padding: 1px 7px 1px 7px;
margin: 0;
border: solid 2px black;
background-color: white;
color: black;
border-radius: 15px;
text-align: center;
vertical-align: middle;
}
.smart-label-pure {
padding: 20px 7px 1px 7px;
margin: 0;
border: none;
background-color: transparent;
color: black;
border-radius: 15px;
text-align: center;
vertical-align: middle;
}
.smart-label-line,
.smart-label-point {
background-color: #0072b2;
border-color: #0072b2;
}
.smart-label-point {
margin-top: 12px;
}
.smart-label-angle {
background-color: #e69f00;
border-color: #e69f00;
padding: 1px 7px 1px 7px;
}
.smart-label-polygon,
.smart-label-circle {
background-color: #f0e442;
color: black;
border-color: #f0e442;
padding: 1px 7px 1px 7px;
}