diff options
Diffstat (limited to 'semantic/src/themes/github/elements/input.overrides')
| -rw-r--r-- | semantic/src/themes/github/elements/input.overrides | 32 |
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 |