aboutsummaryrefslogtreecommitdiff
path: root/semantic/src/themes/github/elements/input.overrides
diff options
context:
space:
mode:
authorFuwn <[email protected]>2020-12-14 23:21:39 -0800
committerFuwn <[email protected]>2020-12-14 23:21:39 -0800
commit823344c19094680e80e2b56449a243e183db8b06 (patch)
tree92277700547ea671331828caa258ace7aaaa46d5 /semantic/src/themes/github/elements/input.overrides
parentrepo: angular (diff)
downloadme-823344c19094680e80e2b56449a243e183db8b06.tar.xz
me-823344c19094680e80e2b56449a243e183db8b06.zip
:star:
Diffstat (limited to 'semantic/src/themes/github/elements/input.overrides')
-rw-r--r--semantic/src/themes/github/elements/input.overrides32
1 files changed, 32 insertions, 0 deletions
diff --git a/semantic/src/themes/github/elements/input.overrides b/semantic/src/themes/github/elements/input.overrides
new file mode 100644
index 0000000..d19fea9
--- /dev/null
+++ b/semantic/src/themes/github/elements/input.overrides
@@ -0,0 +1,32 @@
+/*******************************
+ Input
+*******************************/
+
+/* Labeled Input has padding */
+.ui.labeled.input {
+ background-color: @white;
+ border: @borderWidth solid @borderColor;
+ border-radius: @borderRadius !important;
+}
+.ui.labeled.input input {
+ box-shadow: none !important;
+ border: none !important;
+}
+.ui.labeled.input .label {
+ font-weight: normal;
+ align-self: center;
+ font-size: 12px;
+ margin: @2px;
+ border-radius: @borderRadius !important;
+ padding: @relative5px @relative8px !important;
+}
+
+/* GitHub Uses Focus Group with class name added */
+.ui.labeled.input.focused {
+ border-color: @focusBorderColor;
+ box-shadow: @focusBoxShadow;
+}
+.ui.labeled.input.focused .label {
+ background-color: #E1EAF5;
+ color: #4078C0;
+} \ No newline at end of file