2018-07-16 16:38:14 +02:00
|
|
|
@import "mixins";
|
2018-07-17 05:59:25 +02:00
|
|
|
@import "theme";
|
2018-07-16 16:38:14 +02:00
|
|
|
|
2017-05-05 23:27:35 +02:00
|
|
|
/* interactivetutorial.css */
|
2017-05-21 05:45:36 +02:00
|
|
|
#interactive-tutorial-wrapper {
|
2018-07-09 22:42:54 +02:00
|
|
|
position: relative;
|
2017-05-21 05:45:36 +02:00
|
|
|
}
|
|
|
|
|
2017-05-05 23:27:35 +02:00
|
|
|
#interactive-tutorial-container {
|
|
|
|
display: none;
|
2017-05-21 05:45:36 +02:00
|
|
|
position: absolute; /* Stay in place */
|
2017-05-06 08:24:01 +02:00
|
|
|
right: 0;
|
2017-05-05 23:27:35 +02:00
|
|
|
top: 0;
|
2018-08-29 21:06:21 +02:00
|
|
|
height: 450px;
|
2017-05-05 23:27:35 +02:00
|
|
|
padding: 10px;
|
2018-07-09 22:11:18 +02:00
|
|
|
border: 5px solid #fff;
|
2018-08-29 21:06:21 +02:00
|
|
|
width: 23%;
|
2018-08-24 17:48:15 +02:00
|
|
|
overflow: hidden;
|
2017-05-06 08:24:01 +02:00
|
|
|
background-color: #444; /* Fallback color */
|
2018-07-09 22:11:18 +02:00
|
|
|
color: #fff;
|
2017-05-05 23:27:35 +02:00
|
|
|
|
2018-07-17 17:40:14 +02:00
|
|
|
> strong {
|
|
|
|
background-color: #444;
|
|
|
|
}
|
2017-05-17 07:31:42 +02:00
|
|
|
}
|
|
|
|
|
2017-05-05 23:27:35 +02:00
|
|
|
#interactive-tutorial-text {
|
2017-05-06 08:24:01 +02:00
|
|
|
padding: 4px;
|
|
|
|
margin: 4px;
|
2018-07-09 22:11:18 +02:00
|
|
|
color: #fff;
|
2017-05-06 08:24:01 +02:00
|
|
|
background-color: #444;
|
2018-08-29 21:06:21 +02:00
|
|
|
font-size: $defaultFontSize * 0.875;
|
|
|
|
max-height: 350px;
|
|
|
|
overflow-y: auto;
|
2017-05-05 23:27:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#interactive-tutorial-exit,
|
2017-05-15 07:09:14 +02:00
|
|
|
#interactive-tutorial-next,
|
|
|
|
#interactive-tutorial-back {
|
2018-07-16 16:38:14 +02:00
|
|
|
@include borderRadius(12px);
|
2018-07-16 17:28:09 +02:00
|
|
|
@include boxShadow(1px 1px 3px #000);
|
2018-07-16 16:38:14 +02:00
|
|
|
|
2017-05-05 23:27:35 +02:00
|
|
|
color: #aaa;
|
2018-08-29 21:06:21 +02:00
|
|
|
font-size: $defaultFontSize * 1.125;
|
2017-05-05 23:27:35 +02:00
|
|
|
font-weight: bold;
|
2018-07-09 22:42:54 +02:00
|
|
|
background-color: #000;
|
2018-07-17 17:40:14 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-05-05 23:27:35 +02:00
|
|
|
}
|
|
|
|
|
2018-08-29 21:06:21 +02:00
|
|
|
#interactive-tutorial-exit {
|
2018-08-24 17:48:15 +02:00
|
|
|
position: absolute;
|
2018-08-29 21:06:21 +02:00
|
|
|
bottom: 0;
|
2018-08-24 17:48:15 +02:00
|
|
|
left: 0;
|
2018-10-03 20:09:11 +02:00
|
|
|
padding: 4px;
|
2018-08-29 21:06:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#interactive-tutorial-back {
|
|
|
|
float: left;
|
2018-10-03 20:09:11 +02:00
|
|
|
padding: 4px;
|
2018-08-29 21:06:21 +02:00
|
|
|
}
|
2017-05-15 07:09:14 +02:00
|
|
|
|
2017-05-05 23:27:35 +02:00
|
|
|
#interactive-tutorial-next {
|
|
|
|
float: right;
|
2018-10-03 20:09:11 +02:00
|
|
|
padding: 4px;
|
2017-05-05 23:27:35 +02:00
|
|
|
}
|
2021-06-12 10:23:15 +02:00
|
|
|
|
|
|
|
.interactive-tutorial-command {
|
|
|
|
background-color: #000;
|
|
|
|
color: $hacker-green;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.interactive-tutorial-code {
|
|
|
|
background-color: #272822;
|
|
|
|
color: white;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.interactive-tutorial-tab {
|
|
|
|
background-color: #555;
|
|
|
|
color: #e6e6e6;
|
|
|
|
padding: 3px;
|
|
|
|
box-shadow: 0 0 3px #000;
|
|
|
|
}
|