upkey-track_stylebase 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. metadata +28 -22
  3. data/.gitignore +0 -12
  4. data/.rspec +0 -2
  5. data/.travis.yml +0 -5
  6. data/CODE_OF_CONDUCT.md +0 -74
  7. data/Gemfile +0 -6
  8. data/LICENSE.txt +0 -21
  9. data/README.md +0 -43
  10. data/Rakefile +0 -6
  11. data/bin/console +0 -14
  12. data/bin/setup +0 -8
  13. data/lib/upkey/track_stylebase.rb +0 -7
  14. data/lib/upkey/track_stylebase/engine.rb +0 -6
  15. data/lib/upkey/track_stylebase/version.rb +0 -5
  16. data/upkey-track_stylebase.gemspec +0 -27
  17. data/vendor/assets/stylesheets/base/_common.scss +0 -33
  18. data/vendor/assets/stylesheets/base/_layout.scss +0 -12
  19. data/vendor/assets/stylesheets/base/_site.scss +0 -27
  20. data/vendor/assets/stylesheets/components/_buttons.scss +0 -55
  21. data/vendor/assets/stylesheets/components/_chat.scss +0 -102
  22. data/vendor/assets/stylesheets/components/_course.scss +0 -113
  23. data/vendor/assets/stylesheets/components/_date.scss +0 -36
  24. data/vendor/assets/stylesheets/components/_form.scss +0 -122
  25. data/vendor/assets/stylesheets/components/_gradepicker.scss +0 -78
  26. data/vendor/assets/stylesheets/components/_illustration.scss +0 -41
  27. data/vendor/assets/stylesheets/components/_natural_language.scss +0 -110
  28. data/vendor/assets/stylesheets/components/_progressbar.scss +0 -35
  29. data/vendor/assets/stylesheets/components/_quiz.scss +0 -58
  30. data/vendor/assets/stylesheets/components/_skills.scss +0 -37
  31. data/vendor/assets/stylesheets/components/_slider.scss +0 -99
  32. data/vendor/assets/stylesheets/components/_statement.scss +0 -35
  33. data/vendor/assets/stylesheets/components/_toggle.scss +0 -138
  34. data/vendor/assets/stylesheets/components/_topbar.scss +0 -57
  35. data/vendor/assets/stylesheets/components/_tutorial.scss +0 -57
  36. data/vendor/assets/stylesheets/components/_types.scss +0 -50
  37. data/vendor/assets/stylesheets/helpers/_variables.scss +0 -11
  38. data/vendor/assets/stylesheets/upkey_track_stylebase.scss +0 -18
@@ -1,102 +0,0 @@
1
- /* Original .chat class is not modified */
2
- .chat {
3
- background: $blue;
4
- padding: 25px;
5
- border-radius: 10px;
6
- flex-grow: 1;
7
- display: flex;
8
- flex-direction: column;
9
-
10
- .chat__header {
11
- display: flex;
12
- -webkit-align-items: center;
13
- align-items: center;
14
- margin-bottom: 20px;
15
-
16
- .title {
17
- margin-bottom: 0;
18
- color: #fff;
19
- }
20
-
21
- i {
22
- margin-right: 10px;
23
- opacity: 0.6;
24
- }
25
- }
26
-
27
- .chat__body {
28
- flex-grow: 1;
29
- display: flex;
30
- flex-direction: column-reverse;
31
- height: 100%;
32
-
33
- .chat__thread {
34
- overflow-y: scroll;
35
-
36
- &::-webkit-scrollbar {
37
- display: none;
38
- }
39
- }
40
- }
41
-
42
- .chat__bubble {
43
- margin-bottom: 1em;
44
- color: #fff;
45
- font-size: 12px;
46
- line-height: 1.6;
47
- padding: 20px;
48
-
49
- &.received {
50
- border-radius: 10px 10px 10px 0;
51
- background: -moz-linear-gradient(-45deg, rgba(99,97,186,1) 1%, rgba(55,67,145,1) 100%);
52
- background: -webkit-linear-gradient(-45deg, rgba(99,97,186,1) 1%, rgba(55,67,145,1) 100%);
53
- background: linear-gradient(135deg, rgba(99,97,186,1) 1%, rgba(55,67,145,1) 100%);
54
- }
55
-
56
- &.sent {
57
- border-radius: 10px 10px 0 10px;
58
- background: -moz-linear-gradient(-45deg, darken($lightBlue, 25%) 1%, $lightBlue 100%);
59
- background: -webkit-linear-gradient(-45deg, darken($lightBlue, 25%) 1%, $lightBlue 100%);
60
- background: linear-gradient(135deg, darken($lightBlue, 25%) 1%, $lightBlue 100%);
61
- }
62
- }
63
-
64
- .chat__controls {
65
- display: flex;
66
- flex-wrap: wrap;
67
- border-top: 1px solid $lightGrey;
68
- padding-top: 1em;
69
- min-height: 70px;
70
-
71
- .response {
72
- margin-left: 2%;
73
- background-color: $lightBlue;
74
- color: $white;
75
- padding: 1em;
76
- margin-bottom: 0.5em;
77
-
78
- &:hover {
79
- background-color: lighten($lightBlue, 10%);
80
- }
81
- }
82
- }
83
- }
84
-
85
- /* Custom styles */
86
- .chat-wrapper {
87
- width: 300px;
88
- position: fixed;
89
- right: -300px;
90
- top: 70px;
91
- bottom: 5px;
92
- transition: .5s;
93
- z-index: 10;
94
-
95
- &.visible {
96
- right: 5px;
97
- }
98
-
99
- .chat {
100
- height: 100%;
101
- }
102
- }
@@ -1,113 +0,0 @@
1
- /*--------------------------------
2
- course
3
- ---------------------------------*/
4
- .layout-default {
5
- text-align: center;
6
- }
7
-
8
- .course {
9
- padding: 50px 0 80px;
10
- color: $blue;
11
- position: relative;
12
- }
13
-
14
- .course__header,
15
- .course__header h1,
16
- .course__header h2,
17
- .course__header h3,
18
- .course__header h4 {
19
- font-size: 30px;
20
- font-weight: 500;
21
- color: $blue;
22
-
23
- br {
24
- display: none;
25
- }
26
-
27
- @media(min-width: 640px) {
28
- font-size: 44px;
29
-
30
- br {
31
- display: block;
32
- }
33
- }
34
- }
35
-
36
- .course__content {
37
- position: relative;
38
- margin-bottom: 30px;
39
-
40
- @media(min-width: 640px) {
41
- min-height: 200px;
42
- margin-bottom: 50px;
43
- }
44
- }
45
-
46
- .course__central {
47
- margin-top: 4em;
48
-
49
- h2 {
50
- font-weight: lighter;
51
- font-size: 40px;
52
- }
53
- }
54
-
55
- .course__footer {
56
- display: flex;
57
- flex-direction: column;
58
- justify-content: center;
59
- align-items: center;
60
-
61
- .button {
62
- margin-bottom: 5px;
63
- }
64
-
65
- @media(min-width: 640px) {
66
- flex-direction: row;
67
- margin-left: -10px;
68
-
69
- .button {
70
- margin: 0 0 0 10px;
71
- }
72
- }
73
- }
74
-
75
- .course__media {
76
- display: flex;
77
- align-items: center;
78
- justify-content: center;
79
-
80
- &.left {
81
- justify-content: flex-start;
82
- }
83
-
84
- &.right {
85
- justify-content: flex-end;
86
- }
87
-
88
- @media(min-width: 640px) {
89
- position: absolute;
90
- top: 0;
91
- right: 0;
92
- bottom: 0;
93
- left: 0;
94
- z-index: -1;
95
- }
96
- }
97
-
98
-
99
- .layout-content-left {
100
-
101
- .course__footer {
102
- justify-content: flex-start;
103
- align-items: flex-start;
104
- }
105
-
106
- .course__inner {
107
- max-width: 610px;
108
- }
109
-
110
- .course__content {
111
- position: static;
112
- }
113
- }
@@ -1,36 +0,0 @@
1
- .date {
2
- .date__selects {
3
- display: flex;
4
-
5
- .month {
6
- margin-right: 5%;
7
- }
8
-
9
- .prompt {
10
- width: 33%;
11
- }
12
-
13
- select {
14
- font-size: 20px;
15
- border: none;
16
- -webkit-appearance: none;
17
- background-image: none;
18
- width: 100%;
19
- border-bottom: 1px dashed $lightGrey;
20
-
21
- &:focus {
22
- outline: none;
23
- }
24
- }
25
- }
26
-
27
- .date__confirmation {
28
- margin-top: 3em;
29
- display: none;
30
-
31
- h2 {
32
- font-weight: lighter;
33
- font-size: 28px;
34
- }
35
- }
36
- }
@@ -1,122 +0,0 @@
1
- .form__footnote {
2
- color: $lightGrey;
3
- margin-bottom: 30px;
4
- }
5
-
6
- .form__items {
7
- display: flex;
8
- flex-wrap: wrap;
9
- }
10
-
11
- .form__item {
12
- margin-bottom: 45px;
13
-
14
- &:nth-last-child(1) {
15
- margin-bottom: 0;
16
- }
17
-
18
- @media(min-width: 640px) {
19
- width: 50%;
20
-
21
- &:nth-last-child(2) {
22
- margin-bottom: 0;
23
- }
24
- }
25
-
26
- textarea {
27
- width: 140%;
28
- border: 1px solid $grey;
29
- padding: 3px;
30
- resize: none;
31
- border-radius: 10px;
32
- }
33
- }
34
-
35
- .form__label {
36
- display: block;
37
- text-transform: uppercase;
38
- font-size: 12px;
39
- color: $grey;
40
- letter-spacing: 2px;
41
- margin-bottom: 15px;
42
- }
43
-
44
- .form__input {
45
- padding: 0;
46
- background: none;
47
- border: none;
48
- color: $grey;
49
- font-size: 18px;
50
-
51
- &:focus {
52
- outline: none;
53
- }
54
- }
55
-
56
- .animated-form__wrapper {
57
- .help:after {
58
- content: '?';
59
- font-weight: bold;
60
- color: $white;
61
- font-size: 12px;
62
- background-color: $lightGrey;
63
- padding-left: 5px;
64
- padding-right: 4px;
65
- padding-top: 3px;
66
- padding-bottom: 2px;
67
- border-radius: 100%;
68
-
69
- &:hover {
70
- cursor: pointer;
71
- }
72
- }
73
-
74
- .form__row {
75
- width: 100%;
76
- display: flex;
77
- max-height: 140px;
78
- overflow: hidden;
79
-
80
- .form__item {
81
- margin-top: 2em;
82
-
83
- input {
84
- width: 90%;
85
- text-align: center;
86
- border-bottom: 1px dashed $lightGrey;
87
-
88
- &.big {
89
- font-size: 24px;
90
- }
91
- }
92
-
93
- .failed {
94
- border-bottom: 1px dashed $red;
95
- }
96
-
97
- .error_message {
98
- color: $red;
99
- }
100
- }
101
- }
102
- }
103
-
104
- .form-input__group {
105
- margin-bottom: 2em;
106
- margin-left: 1em;
107
-
108
- .form-input__prompt h3 {
109
- font-weight: lighter;
110
- font-size: 24px;
111
- margin-bottom: 0;
112
- }
113
-
114
- .form-input__example p {
115
- color: $lightGrey;
116
- margin-top: 0.25em;
117
-
118
- &:before {
119
- content: 'ex: '
120
- }
121
- }
122
- }
@@ -1,78 +0,0 @@
1
- .grade_selector {
2
- width: 100%;
3
- margin-top: 4em;
4
-
5
- .grade_selector__menu {
6
- min-width: 100%;
7
- display: flex;
8
-
9
- .menu_option {
10
- background-color: lighten($lightGrey, 15%);
11
- padding-top: 1em;
12
- padding-bottom: 1em;
13
- min-width: 20%;
14
-
15
- &:first-child {
16
- border-radius: 15px 0 0 15px;
17
- }
18
-
19
- &:last-child {
20
- border-radius: 0 15px 15px 0;
21
- }
22
-
23
- &:hover {
24
- cursor: pointer;
25
- }
26
-
27
- &.f:hover, &.f.active {
28
- background-color: $red;
29
- }
30
-
31
- &.d:hover, &.d.active {
32
- background-color: $orange;
33
- }
34
-
35
- &.c:hover, &.c.active {
36
- background-color: $yellow;
37
- }
38
-
39
- &.b:hover, &.b.active {
40
- background-color: $green;
41
- }
42
-
43
- &.a:hover, &.a.active {
44
- background-color: darken($green, 20%);
45
- }
46
- }
47
- }
48
-
49
- .grade_selector__labels {
50
- display: flex;
51
-
52
- .label {
53
- margin-left: 9.5%;
54
- margin-right: 9.5%;
55
- font-size: 22px;
56
- }
57
- }
58
- }
59
-
60
- .grade_display {
61
- .grade_display__selected {
62
- margin-top: 2em;
63
-
64
- h3 {
65
- font-size: 36px;
66
- font-weight: normal;
67
- }
68
- }
69
-
70
- .grade_display__response {
71
- font-size: 24px;
72
- font-weight: lighter;
73
-
74
- .hidden {
75
- display: none;
76
- }
77
- }
78
- }