@zzish/math-rich-input 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -169,6 +169,12 @@
169
169
  margin: 5px;
170
170
  }
171
171
 
172
+ @media (max-width: 500px) {
173
+ .EquationEditor .tabBar {
174
+ padding: 5px 0;
175
+ }
176
+ }
177
+
172
178
  .EquationEditor .tab {
173
179
  font-size: 14px;
174
180
  font-weight: bold;
@@ -61,6 +61,8 @@
61
61
  }
62
62
 
63
63
  .EquationEditorModal .title {
64
+ display: flex;
65
+ justify-content: space-between;
64
66
  font-size: 14px;
65
67
  color: #404040;
66
68
  text-align: left;
@@ -72,6 +74,8 @@
72
74
  }
73
75
 
74
76
  .EquationEditorModal-mobile .title {
77
+ display: flex;
78
+ justify-content: space-between;
75
79
  font-size: 14px;
76
80
  color: #404040;
77
81
  text-align: left;
@@ -83,20 +87,12 @@
83
87
  margin: 0px;
84
88
  }
85
89
 
86
- .EquationEditorModal .expertModeSwitch {
87
- /* background: url(images/settings-icon.png) no-repeat; */
88
- float: right;
89
- /* width:36px;
90
- height:36px; */
91
- }
92
-
93
90
  .EquationEditorModal .expertModeSwitch .switch {
94
- margin-right: 10px;
95
91
  margin-left: 10px;
96
92
  }
97
93
 
98
94
  /* The switch - the box around the slider */
99
- .switch {
95
+ .EquationEditorModal .switch {
100
96
  position: relative;
101
97
  display: inline-block;
102
98
  width: 35px;
@@ -104,14 +100,14 @@
104
100
  }
105
101
 
106
102
  /* Hide default HTML checkbox */
107
- .switch input {
103
+ .EquationEditorModal .switch input {
108
104
  opacity: 0;
109
105
  width: 0;
110
106
  height: 0;
111
107
  }
112
108
 
113
109
  /* The slider */
114
- .slider {
110
+ .EquationEditorModal .slider {
115
111
  position: absolute;
116
112
  cursor: pointer;
117
113
  top: 0;
@@ -123,7 +119,7 @@
123
119
  transition: 0.4s;
124
120
  }
125
121
 
126
- .slider:before {
122
+ .EquationEditorModal .slider:before {
127
123
  position: absolute;
128
124
  content: "";
129
125
  height: 14px;
@@ -135,26 +131,25 @@
135
131
  transition: 0.4s;
136
132
  }
137
133
 
138
- input:checked + .slider {
134
+ .EquationEditorModal input:checked + .slider {
139
135
  background-color: #663676;
140
- /* background-color: #2196F3; */
141
136
  }
142
137
 
143
- input:focus + .slider {
138
+ .EquationEditorModal input:focus + .slider {
144
139
  box-shadow: 0 0 1px #2196f3;
145
140
  }
146
141
 
147
- input:checked + .slider:before {
142
+ .EquationEditorModal input:checked + .slider:before {
148
143
  -webkit-transform: translateX(13px);
149
144
  -ms-transform: translateX(13px);
150
145
  transform: translateX(13px);
151
146
  }
152
147
 
153
148
  /* Rounded sliders */
154
- .slider.round {
149
+ .EquationEditorModal .slider.round {
155
150
  border-radius: 18px;
156
151
  }
157
152
 
158
- .slider.round:before {
153
+ .EquationEditorModal .slider.round:before {
159
154
  border-radius: 50%;
160
155
  }