{% set value = null %}
{% set example = _T("(numbers only)") %}
{% set tip = _T("This field is required trying to avoid registration spam. We are sorry for the inconvennience.") %}
- {% set component_class = "field required" %}
+ {% set component_class = "field" %}
+ {% set elt_class = "required" %}
{{ parent() }}
{% endblock %}
{% block label %}
{% set label = _T("Captcha") %}
{{ parent() }}
- {{ gaptcha.generateQuestion() }}
+ <p><span class="ui medium red text">{{ gaptcha.generateQuestion() }}</span></p>
{% endblock %}
--- /dev/null
+/*******************************
+ Galette Overrides
+*******************************/
+
+
+/*--------------------
+ Gaptcha Input
+---------------------*/
+
+.ui.form input[type="gaptcha"] {
+ width: 100px;
+ vertical-align: top;
+}
+
+.ui.form input[type="gaptcha"] {
+ font-family: @inputFont;
+ margin: 0;
+ outline: none;
+ -webkit-appearance: none;
+ -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
+
+ line-height: @inputLineHeight;
+ padding: @inputPadding;
+ font-size: @inputFontSize;
+
+ background: @inputBackground;
+ border: @inputBorder;
+ color: @inputColor;
+ border-radius: @inputBorderRadius;
+ box-shadow: @inputBoxShadow;
+ transition: @inputTransition;
+}