diff options
| author | Fuwn <[email protected]> | 2020-12-14 23:21:39 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-12-14 23:21:39 -0800 |
| commit | 823344c19094680e80e2b56449a243e183db8b06 (patch) | |
| tree | 92277700547ea671331828caa258ace7aaaa46d5 /semantic/src/themes/github/elements/input.overrides | |
| parent | repo: angular (diff) | |
| download | me-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.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 |