Glen Whitney
25ba69c621
Turns on 3D viewing only for the constructions that use a 3D primitive, but loads the more extensive web3d bundle from the embedded GeoGebra package whenever any applet on the page uses 3d. (The idea is to only require the loading of one bundle per page.) Provides progress on #36. Reviewed-on: #40 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2 lines
7.9 KiB
CSS
2 lines
7.9 KiB
CSS
.GeoGebraFrame .matOpenKeyboardBtn{position:absolute;bottom:8px;height:22px;cursor:pointer;text-align:center;z-index:99}.GeoGebraFrame .matOpenKeyboardBtn img{width:36px;opacity:.54}.GeoGebraFrame.portrait.newToolbar .matOpenKeyboardBtn{bottom:64px}.GeoGebraFrame.portrait.newToolbar .matOpenKeyboardBtn.cornerPosition{bottom:8px}.GeoGebraFrame.landscape.newToolbar .matOpenKeyboardBtn{left:72px}.GeoGebraFrame.landscape.newToolbar .matOpenKeyboardBtn.cornerPosition{left:0}.GeoGebraFrame.landscape.newToolbar.small .matOpenKeyboardBtn{left:56px}.GeoGebraFrame.landscape.newToolbar.small .matOpenKeyboardBtn.cornerPosition{left:0}.GeoGebraFrame .matOpenKeyboardBtn:hover img{opacity:.84}.GeoGebraFrame .closeTabbedKeyboardButton{position:relative;float:right;width:24px;height:24px;padding:4px;top:0px;margin:4px 4px 4px 5px;right:0px;cursor:pointer !important;opacity:.54}.GeoGebraFrame .closeTabbedKeyboardButton:hover{opacity:1}.GeoGebraFrame .KeyBoard table{border-collapse:separate;clear:both}.GeoGebraFrame .KeyBoard,.GeoGebraFrame .KeyBoard.gwt-PopupPanel{border-radius:0;-webkit-border-radius:0;color:#1c1c1f;box-shadow:none;font-family:geogebra-sans-serif,sans-serif;padding:5px 0}.GeoGebraFrame .KeyBoard{position:relative}.GeoGebraFrame .TabbedKeyBoard.KeyBoard{padding-top:0;background-color:#f3f2f7;box-shadow:0px -2px 4px 0px rgba(28,28,31,.1490196078);font-family:greek,geogebra-sans-serif,sans-serif}.GeoGebraFrame .TabbedKeyBoard.KeyBoard.detached{position:fixed;left:0;will-change:transform;z-index:3000}.GeoGebraFrame .KeyBoard .SymbolTable{display:none}.GeoGebraFrame .KeyBoardContentNumbers,.GeoGebraFrame .KeyBoardContentSpecialChars{margin:0 auto;max-width:745px !important}.GeoGebraFrame .KeyPanelLetters{margin:0 auto;position:relative}.GeoGebraFrame .KeyPanelFunction,.GeoGebraFrame .KeyPanelNum,.GeoGebraFrame .normal .contentLetters{padding-right:20px}.GeoGebraFrame .KeyPanelRow{margin:0 auto;display:flex;justify-content:center}.GeoGebraFrame .KeyBoard .KeyBoardButton{text-align:center;line-height:inherit;margin:2px;font-size:120%;cursor:pointer;white-space:nowrap;color:#1c1c1f;display:block}.GeoGebraFrame .KeyBoard .KeyBoardButton div{text-align:center;line-height:24px;max-height:24px}.GeoGebraFrame .KeyBoard .KeyBoardButton.ripple:after{background-image:radial-gradient(circle, #aaa 10%, transparent 10.01%)}.GeoGebraFrame .KeyBoard.TabbedKeyBoard .KeyBoardButton{height:40px;background-color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:space-around}.GeoGebraFrame .KeyBoard.TabbedKeyBoard .KeyBoardButton img{width:24px;height:24px}.GeoGebraFrame .KeyBoard.TabbedKeyBoard .KeyBoardButton .small{font-size:80%}.GeoGebraFrame .KeyBoard.TabbedKeyBoard .KeyBoardButton.colored{background-color:#d1d0d6}.GeoGebraFrame .KeyBoard.TabbedKeyBoard .KeyBoardButton.accentDown{background-color:#d1d0d6}.GeoGebraFrame .lowerHeight .KeyBoardButton{height:10px;padding-top:3px;padding-bottom:13px}.GeoGebraFrame .KeyBoardButton.supScript .gwt-Label{margin-top:-4px}.GeoGebraFrame .KeyBoard td.hidden{display:none}.GeoGebraFrame .normal .KeyBoardButton{width:50px}.GeoGebraFrame .KeyBoardButton:active{box-shadow:inset 0 0 0 1px #7c7c7c}.GeoGebraFrame .KeyBoardButton.backspace{padding-top:8px;padding-bottom:12px}.GeoGebraFrame .lowerHeight .KeyBoardButton.backspace{padding-top:1px;padding-bottom:15px}.GeoGebraFrame .normal .KeyBoardButton.backspace,.GeoGebraFrame .normal .KeyBoardButton.enter{width:64px}.GeoGebraFrame .normal .KeyBoardButton.arrow{width:20px;padding-left:9px;padding-right:11px}.GeoGebraFrame .KeyBoardButton.enter{height:64px}.GeoGebraFrame .lowerHeight .KeyBoardButton.enter{height:41px}.GeoGebraFrame .lowerHeight .KeyBoardButton.enter img{padding-top:15px}.GeoGebraFrame .KeyBoardButton.enter img{padding-top:23px}.GeoGebraFrame .normal .KeyBoardButton.shift{width:80px;position:absolute;left:0}.GeoGebraFrame .normal .KeyBoardButton.delete{width:80px;position:absolute;right:0}.GeoGebraFrame .normal .KeyBoardButton.delete.small,.GeoGebraFrame .normal .KeyBoardButton.shift.small{width:50px}.GeoGebraFrame .KeyPanelLetters>tbody>tr:nth-child(4) .KeyPanelRow{width:100%}.GeoGebraFrame .KeyPanelLetters>tbody>tr:nth-child(4)>td>table>tbody>tr>td:nth-child(4){width:100%}.GeoGebraFrame .normal .KeyBoardButton.space{width:99%;padding:0 0 20px 0;margin:2px 2px 0 2px}.GeoGebraFrame .scale .keyBoardClosePanel{top:-25px;right:0;width:35px;height:25px}.GeoGebraFrame .scale .KeyPanelRow,.GeoGebraFrame .scale .KeyBoardContentNumbers,.GeoGebraFrame .scale .KeyBoardContentSpecialChars,.GeoGebraFrame .scale .KeyPanelControl,.GeoGebraFrame .scale .KeyPanelLetters,.GeoGebraFrame .scale .KeyPanelFunction,.GeoGebraFrame .scale .KeyPanelNum{width:100% !important}.GeoGebraFrame .scale .KeyPanelRow td{width:25%}.GeoGebraFrame .scale .KeyPanelLetters .KeyPanelRow td{width:7%}.GeoGebraFrame .scale .KeyBoardButton{padding-left:0;padding-right:0}.GeoGebraFrame .scale .KeyPanelControl{padding-right:0}.GeoGebraFrame .scale.smallerFont{font-size:100% !important}.GeoGebraFrame .scale.smallerFont .switchKeyboard{font-size:10pt}.GeoGebraFrame .scale.smallerFont .KeyBoardContentNumbers .KeyBoardButton.colored{font-size:86% !important}.GeoGebraFrame .scale.smallerFont .KeyBoardContentSpecialChars .KeyPanelFunction{font-size:75% !important}.GeoGebraFrame .scale.smallerFont .KeyBoardButton.supScript .gwt-Label{margin-top:-5px}.GeoGebraFrame .scale .KeyPanelFunction,.GeoGebraFrame .scale .KeyPanelNum{padding-right:2%}.GeoGebraFrame .scale .KeyBoardContentSpecialChars>tbody>tr>td,.GeoGebraFrame .scale .KeyBoardContentSpecialChars>tbody>tr>td:nth-child(2),.GeoGebraFrame .scale .KeyBoardContentNumbers>tbody>tr>td,.GeoGebraFrame .scale .KeyBoardContentNumbers>tbody>tr>td:nth-child(2){width:45%}.GeoGebraFrame .scale .KeyPanelLetters tr:nth-child(4)>td td:nth-child(4){width:50%}.GeoGebraFrame .scale .KeyPanelLetters .KeyPanelRow td{width:9%}.GeoGebraFrame .KeyPanel{margin:auto}.GeoGebraFrame .KeyboardSwitcher{position:relative;width:100%;height:40px}.GeoGebraFrame .KeyboardSwitcher .switcherContents{max-width:644px;margin-left:auto;margin-right:auto;white-space:nowrap}.GeoGebraFrame .KeyboardSwitcher .gwt-Button{color:#1c1c1f;border-radius:18px;border:0;padding-left:10px;padding-right:10px;margin:7px 4px 6px;box-shadow:none}.GeoGebraFrame .KeyboardSwitcher .gwt-Button:active{border:none;background-color:rgba(0,0,0,0)}.GeoGebraFrame .scale.normal .KeyboardSwitcher .switcherContents{font-size:100% !important}.GeoGebraFrame .scale .KeyboardSwitcher .switcherContents{padding:0}.GeoGebraFrame .KeyboardSwitcher .switcherContents .moreKeyboardButton{position:relative;float:right;width:24px;height:24px;padding:4px;margin:4px 0px 4px 4px;cursor:pointer !important;opacity:.54}.GeoGebraFrame .KeyboardSwitcher .switcherContents .moreKeyboardButton:hover{opacity:1}.GeoGebraFrame .KeyboardSwitcher .switcherContents .gwt-Button.selected{background-color:#a397fc}.GeoGebraFrame .KeyboardSwitcher .switcherContents .gwt-Button.selected:hover{color:#1c1c1f}.GeoGebraFrame .KeyboardSwitcher .switcherContents>:first-child{margin-left:-6px}.GeoGebraFrame .KeyboardSwitcher .gwt-Button:hover{color:#6557d2;background-color:rgba(0,0,0,0)}.GeoGebraFrame .TabbedKeyBoard{z-index:500;position:absolute;bottom:0;width:100%}.GeoGebraFrame .TabbedKeyBoard.animating{animation-duration:.2s;animation-name:addKeyBoard;overflow:hidden}.GeoGebraFrame .TabbedKeyBoard.animatingOut{animation-duration:.2s;animation-name:removeKeyBoard;overflow:hidden}.GeoGebraFrame .ripple{position:relative;overflow:hidden;transform-style:preserve-3d}.GeoGebraFrame .ripple:after{content:"";display:block;position:absolute;width:100%;height:100%;top:0;left:0;pointer-events:none;background-repeat:no-repeat;background-position:50%;transform:scale(10, 10);opacity:0;transition:transform .1s,opacity 1s}.GeoGebraFrame .ripple:active:after{transform:scale(0, 0);opacity:.3;transition:0s}@keyframes addKeyBoard{0%{max-height:0px}100%{max-height:228px}}@keyframes removeKeyBoard{0%{max-height:228px}100%{max-height:0px}}
|