           :or   {div-size 16 font-size 16 color "#ccc" hover-color "#999"}}]
       [box
        :class "rc-close-button noselect"
-       :style {:display          "inline-block"
-               :position         "relative"
-               :width            (px div-size)
-               :height           (px div-size)}
+       :style {:display  "inline-block"
+               :position "relative"
+               :width    (px div-size)
+               :height   (px div-size)}
        :child [box
                :style (merge
                         {:position  "absolute"
                          :cursor    "pointer"
                          :font-size (px font-size)
                          :color     (if @over? hover-color color)
-                         :top       (px (- (/ (- font-size div-size) 2) top-offset)  :negative)
+                         :top       (px (- (/ (- font-size div-size) 2) top-offset) :negative)
                          :left      (px (- (/ (- font-size div-size) 2) left-offset) :negative)}
                         style)
-               :attr  (merge
-                        {:title          tooltip
-                         :on-click       (handler-fn (on-click)
-                                                     (.stopPropagation event))
-                         :on-mouse-enter (handler-fn (reset! over? true))
-                         :on-mouse-leave (handler-fn (reset! over? false))}
-                        attr)
+               :attr (merge
+                       {:title          tooltip
+                        :on-click       (handler-fn (on-click)
+                                                    (.stopPropagation event))
+                        :on-mouse-enter (handler-fn (reset! over? true))
+                        :on-mouse-leave (handler-fn (reset! over? false))}
+                       attr)
                ;:child [:i {:class "zmdi zmdi-hc-fw-rc zmdi zmdi-close"}]
                :child [:span "×"]]])))
 

(defn hyperlink-info
  [url]
  [hyperlink-href
   :label  [box
            :class   "container--info-button"
            :justify :center
            :align   :center
            :child [:span {:style {:font-size   "11px"
                                   :font-weight "bold"}}
                    "?"]]
   :attr   {:rel "noopener noreferrer"}
   :target "_blank"
   :href   url])


(defn link [{:keys [label href style]}]

(defn- input-text-base
  "Returns markup for a basic text input label"
  [& {:keys [model input-type] :as args}]
  (let [external-model (reagent/atom (deref-or-value model)) ;; Holds the last known external value of model, to detect external model changes
        internal-model (reagent/atom (if (nil? @external-model) "" @external-model))] ;; Create a new atom from the model to be used internally (avoid nil)
    (fn
      [& {:keys [model on-change on-submit status status-icon? status-tooltip placeholder width height rows change-on-blur? validation-regex disabled? class style attr]
