Farmbot-Web-App/frontend/css/steps.scss

279 lines
4.8 KiB
SCSS
Raw Normal View History

2017-06-29 12:54:02 -06:00
// Styles for ALL STEPS
.step-wrapper {
2017-07-27 09:46:55 -06:00
box-shadow: 0px 0px 10px $gray;
border-radius: 3px;
.bottom-content {
display: flex;
fieldset {
text-align: right;
}
.channel-options {
flex: 1;
margin-top: 2rem;
}
.channel-fields {
flex: 1;
input,
label {
2018-09-13 14:26:53 -06:00
display: inline-block;
2017-07-27 09:46:55 -06:00
width: auto;
cursor: pointer;
}
input {
margin-left: 1rem;
box-shadow: none;
}
2020-01-03 13:13:49 -07:00
input[type="radio"] {
margin-right: 0.25rem;
margin-bottom: 0.25rem;
margin-top: 0;
vertical-align: middle;
}
2017-06-29 12:54:02 -06:00
}
2017-07-27 09:46:55 -06:00
}
2017-06-29 12:54:02 -06:00
}
.step-header {
2017-07-27 09:46:55 -06:00
letter-spacing: .05rem;
padding: .75rem 1rem;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
2018-09-28 13:22:28 -06:00
.bp3-popover-wrapper {
2017-08-03 21:11:29 -06:00
float: right;
margin-top: 0.1rem;
}
2018-09-13 14:26:53 -06:00
::-webkit-input-placeholder {
2017-07-27 09:46:55 -06:00
color: $dark_gray;
font-weight: bold;
text-transform: uppercase;
}
2018-09-13 14:26:53 -06:00
::-moz-placeholder {
2017-07-27 09:46:55 -06:00
color: $dark_gray;
font-weight: bold;
text-transform: uppercase;
}
2018-09-13 14:26:53 -06:00
:-ms-input-placeholder {
2017-07-27 09:46:55 -06:00
color: $dark_gray;
font-weight: bold;
text-transform: uppercase;
}
input {
width: auto;
padding: 0rem;
background-color: transparent;
box-shadow: none;
color: $dark_gray;
font-weight: bold;
2019-04-16 11:00:00 -06:00
min-width: 130px;
2017-07-27 09:46:55 -06:00
}
p {
font-size: 1rem;
font-style: italic;
}
&.move-absolute-step {
background: $blue;
}
&.move-relative-step {
background: $green;
}
&.write-pin-step {
background: $orange;
}
&.read-pin-step {
background: $yellow;
}
&.wait-step {
background: $brown;
}
&.send-message-step {
2020-01-07 14:00:25 -07:00
background: $brown;
2017-07-27 09:46:55 -06:00
}
&.find-home-step {
background: $blue;
}
&.if-step {
background: $purple;
}
2019-09-09 10:10:08 -06:00
&.assertion-step {
background: $purple;
}
2017-07-27 09:46:55 -06:00
&.execute-step {
background: $gray;
}
&.execute-script-step {
background: $pink;
}
&.take-photo-step {
background: $brown;
}
&.update-resource-step {
2018-11-12 14:06:52 -07:00
background: $brown;
}
2019-02-26 20:12:02 -07:00
&.set-servo-angle-step {
background: $blue;
}
&.toggle-pin-step {
2020-01-03 13:13:49 -07:00
background: $orange;
2019-02-26 20:12:02 -07:00
}
&.set-zero-step {
background: $blue;
}
&.calibrate-step {
background: $blue;
}
&.move-home-step {
background: $blue;
}
&.firmware-action-step {
background: $brown;
}
&.system-action-step {
background: $brown;
}
2020-01-03 13:13:49 -07:00
&.emergency-stop-step {
2020-01-07 14:00:25 -07:00
background: $red;
2020-01-03 13:13:49 -07:00
}
&.reboot-step {
background: $brown;
}
2020-04-28 08:18:04 -06:00
&.shutdown-step {
background: $brown;
}
2018-11-12 14:06:52 -07:00
&.unknown-step {
background: $gray;
}
2017-07-27 09:46:55 -06:00
.help {
float: right;
}
2018-01-24 17:33:16 -07:00
.step-warning {
display: inline-block;
float: none;
2018-09-28 13:22:28 -06:00
.bp3-popover-wrapper {
2018-01-24 17:33:16 -07:00
float: left;
}
}
2019-01-14 21:49:09 -07:00
.input {
display: inline-block;
}
2017-06-29 12:54:02 -06:00
}
2018-08-27 14:32:37 -06:00
.step-up-down-arrows {
display: inline-block;
2018-09-13 14:26:53 -06:00
text-align: center;
2018-08-27 14:32:37 -06:00
font-size: 2rem;
}
2017-06-29 12:54:02 -06:00
.step-control {
2017-07-27 09:46:55 -06:00
margin-top: 0.3rem;
margin-left: 2rem;
float: right;
2017-06-29 12:54:02 -06:00
}
.step-content {
2017-07-27 09:46:55 -06:00
border-color: $light_gray;
color: $dark_gray;
padding: 1.25rem 1.25rem;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
&.move-absolute-step {
background: $light_blue;
}
&.move-relative-step {
background: $light_green;
}
&.write-pin-step {
background: $light_orange;
}
&.read-pin-step {
background: $light_yellow;
}
&.wait-step {
background: $light_brown;
}
&.send-message-step {
2020-01-07 14:00:25 -07:00
background: $light_brown;
2017-07-27 09:46:55 -06:00
}
&.find-home-step {
background: $light_blue;
}
&.if-step {
background: $light_purple;
2019-09-09 10:10:08 -06:00
input {
height: 3rem;
}
.execute-row {
margin-top: 1rem;
2017-07-27 09:46:55 -06:00
}
2019-09-09 10:10:08 -06:00
}
&.assertion-step {
background: $light_purple;
2017-07-27 09:46:55 -06:00
input {
2018-02-14 17:05:07 -07:00
height: 3rem;
2017-07-27 09:46:55 -06:00
}
2019-09-09 10:10:08 -06:00
.assertion-sequence,
.assertion-type {
margin-top: 10px;
}
2017-07-27 09:46:55 -06:00
}
&.execute-step {
background: $light_gray;
padding-bottom: 1rem;
}
&.execute-script-step {
background: $light_magenta;
padding-bottom: 1rem;
}
&.take-photo-step {
background: $light_brown;
}
&.take-photo-step a {
color: $dark_brown;
}
&.update-resource-step {
2018-11-12 14:06:52 -07:00
background: $light_brown;
}
2019-02-26 20:12:02 -07:00
&.set-servo-angle-step {
background: $light_blue;
}
&.toggle-pin-step {
2020-01-03 13:13:49 -07:00
background: $light_orange;
2019-02-26 20:12:02 -07:00
}
&.set-zero-step {
background: $light_blue;
}
&.calibrate-step {
background: $light_blue;
}
&.move-home-step {
background: $light_blue;
}
&.firmware-action-step {
background: $light_brown;
}
&.system-action-step {
background: $light_brown;
}
2020-01-03 13:13:49 -07:00
&.emergency-stop-step {
2020-01-07 14:00:25 -07:00
background: $light_red;
2020-01-03 13:13:49 -07:00
}
2020-04-28 08:18:04 -06:00
&.shutdown-step {
background: $light_brown;
}
2020-01-03 13:13:49 -07:00
&.reboot-step {
background: $light_brown;
}
2018-11-12 14:06:52 -07:00
&.unknown-step {
background: $light_gray;
}
2017-07-27 09:46:55 -06:00
input,
select {
width: 100%;
}
2019-04-09 23:44:58 -06:00
.expandable-header {
font-size: 1.6rem;
}
2019-06-21 15:43:46 -06:00
.bp3-collapse {
overflow: hidden;
}
2018-02-14 17:05:07 -07:00
}