OctoprintKlipperPlugin/octoprint_klipper/static/css/klipper.css

259 lines
5.0 KiB
CSS
Raw Normal View History

2021-05-04 02:01:57 +03:00
.plugin-klipper-sidebar {
padding: 1px;
height: auto;
border: 1px solid #aaa;
width: 98%;
text-align: center;
word-break: break-all;
margin: auto;
}
li#navbar_plugin_klipper {
cursor: pointer;
max-width:360px;
max-height:80px;
word-break: break-all;
}
.plugin-klipper-sidebar a {
padding: 2px 2px;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
}
.plugin-klipper-sidebar a:hover, .plugin-klipper-sidebar a:active {
cursor: pointer;
}
2018-02-02 23:51:24 +03:00
.plugin-klipper-log {
2021-04-11 23:27:04 +03:00
padding: 0px;
2018-01-23 22:57:58 +03:00
overflow-y: scroll;
2018-01-23 23:18:07 +03:00
height: 400px;
2018-02-02 23:51:24 +03:00
border: 1px solid #eee;
width: 100%;
2021-05-04 02:01:57 +03:00
word-break: break-all;
2018-02-02 23:51:24 +03:00
}
.plugin-klipper-log .log-item {
2018-02-03 00:05:45 +03:00
margin: 3px auto 0 auto;
2018-02-02 23:51:24 +03:00
border: 1px solid #ddd;
2018-01-23 23:18:07 +03:00
border-radius: 3px;
2021-04-11 23:27:04 +03:00
background-color: #efefef;
color: #333;
2018-02-02 23:51:24 +03:00
}
.plugin-klipper-log .error {
2018-02-03 00:05:45 +03:00
background-color: #eebabb;
2018-01-23 22:57:58 +03:00
}
2018-02-02 23:51:24 +03:00
.plugin-klipper-log .log-item .ts {
display: inline-block;
width: 13%;
height: 100%;
vertical-align: top;
font-size: 0.8em;
2018-02-03 00:05:45 +03:00
padding: 0 0 0 5px;
2018-01-23 22:52:34 +03:00
}
2018-02-02 23:51:24 +03:00
.plugin-klipper-log .log-item .msg {
display: inline-block;
width: 84%;
height: 100%;
2018-02-02 18:58:37 +03:00
}
.clear-btn {
margin-top: 6px;
margin-bottom: 6px;
2018-08-09 10:25:05 +03:00
}
#level .controls {
padding: 1px;
}
2021-03-16 21:32:01 +03:00
ul#klipper-settings {
margin: 0;
}
2021-03-16 21:32:01 +03:00
#klipper-settings a{
margin: 5px;
}
#tab_plugin_klipper_main .row-fluid {
display: flex;
2021-04-11 23:27:04 +03:00
flex: row wrap;
align-items: stretch;
}
2021-04-11 23:27:04 +03:00
@media all and (max-width: 940px) {
#tab_plugin_klipper_main .row-fluid {
/* On small screens, we are no longer using row direction but column */
flex-direction: column;
}
}
#tab_plugin_klipper_main #left-side {
flex: 3 1;
padding-right: 10px;
}
#tab_plugin_klipper_main .span8 label {
float: left;
}
2021-04-11 23:27:04 +03:00
#tab_plugin_klipper_main #right-side {
flex: 1 1;
max-width: 200px;
min-width: 100px;
}
#settings_plugin_klipper {
height: 100%;
2021-05-14 23:09:15 +03:00
height: -webkit-fill-available;
}
/* UIcustomizer fix */
body.UICResponsiveMode #settings_dialog_content {
2021-05-14 23:09:15 +03:00
height: calc(100% - 60px);
margin-right: -18px;
margin-top: 50px;
width: calc(100% - 15px);
}
2021-05-11 21:21:50 +03:00
div#settings_plugin_klipper form {
margin: 0px;
height: 100%;
}
2021-05-14 23:09:15 +03:00
div#settings_plugin_klipper div.tab-content {
height: calc(100% - 58px);
overflow: auto;
}
2021-05-14 23:09:15 +03:00
div#settings_plugin_klipper div.tab-footer {
2021-05-14 16:10:09 +03:00
height: 20px;
width: 100%;
top: 10px;
position: relative;
border-top: 1px solid #eee;
2021-05-14 23:09:15 +03:00
padding-top: 3px;
2021-05-14 16:10:09 +03:00
}
2021-05-11 21:21:50 +03:00
div#settings_plugin_klipper div.tab-content div#conf.tab-pane {
2021-04-11 23:27:04 +03:00
height: 100%;
2021-05-14 23:09:15 +03:00
width: 100%;
}
2021-05-11 21:21:50 +03:00
div#settings_plugin_klipper div.tab-content div#conf.tab-pane div.control-group {
height: 100%;
margin: 0;
2021-05-11 21:21:50 +03:00
display: flex;
flex-direction: column;
}
2021-05-11 21:21:50 +03:00
div#settings_plugin_klipper div.tab-content div#conf.tab-pane div.control-group div.editor-controls{
2021-04-11 23:27:04 +03:00
margin-bottom: 0px;
height: 26px;
}
2021-05-11 21:21:50 +03:00
div#settings_plugin_klipper div.tab-content div#conf.tab-pane div.control-group div.conf-editor {
height: 95%;
2021-04-11 23:27:04 +03:00
height: calc(100% - 28px);
width: 99%;
width: calc(100% - 4px);
2021-05-14 23:09:15 +03:00
margin-top: 5px;
2021-05-11 21:21:50 +03:00
flex: 1 1;
overflow: auto;
}
div#settings_plugin_klipper div.tab-content div#conf.tab-pane div.control-group div.conf-editor div#plugin-klipper-config {
font-family: monospace;
overflow: auto;
height: 100%;
height: -webkit-fill-available;
}
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div#conf.tab-pane.active button.btn.btn-small {
width: 30%;
display: inline-block;
margin: 0px 2px 2px 2px;
}
2021-05-04 02:01:57 +03:00
/*checkboxes*/
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div.tab-pane.active input.inline-checkbox {
2021-05-04 02:01:57 +03:00
vertical-align: -0.2em;
}
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div.tab-pane.active label.inline {
2021-05-04 02:01:57 +03:00
display: inline;
}
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div.tab-pane.active div.controls input.controls-checkbox {
2021-05-04 02:01:57 +03:00
margin-top: 8px;
}
2021-05-04 02:01:57 +03:00
/*macros*/
div#settings_plugin_klipper.tab-pane.active form.form-horizontal div.tab-content div#macros.tab-pane.active div div#item.control-group label.control-label {
width: 80px;
}
#macros #item.control-group {
2021-03-16 21:06:16 +03:00
margin-bottom: 2px;
border: 2px solid #ccc;
border-radius: 3px;
2021-03-16 21:06:16 +03:00
background-color: #eeeeee;
color: #333;
2021-03-16 21:06:16 +03:00
padding-bottom: 2px;
padding-top: 2px;
}
#klipper_graph_dialog {
width: 1050px;
}
#klipper_graph_dialog .full-sized-box{
width: 1000px;
margin: 0 auto;
}
#klipper_graph_dialog form {
2021-03-16 21:06:16 +03:00
margin: 0;
}
#klipper_graph_dialog select {
width: auto;
}
#klipper_graph_dialog .graph-footer {
bottom:0;
}
#klipper_graph_dialog input {
display: inline-block;
2018-08-18 15:44:40 +03:00
}
#klipper_graph_dialog .status-label {
display: block;
position: absolute;
margin: 5px 0 0 10px;
}
#klipper_graph_dialog .fill-checkbox {
display: block;
position: absolute;
top: 0%;
left: 50%;
}
#klipper_graph_dialog .help-inline {
display: block;
position: absolute;
top: 0px;
}
#klipper_graph_canvas {
margin-top: 15px;
}