Path: blob/master/webroot/rsrc/css/aphront/tokenizer.css
12241 views
/**1* @provides aphront-tokenizer-control-css2* @requires aphront-typeahead-control-css3* @requires phui-tag-view-css4*/56body div.jx-tokenizer {7background: transparent;8position: relative;9width: 100%;10overflow: hidden;11}1213body div.jx-tokenizer-container {14position: relative;15display: block;16padding: 0 0 2px 0;17min-height: 30px;18height: auto;19}2021var.jx-tokenizer-metrics {22position: absolute;23left: 20px;24top: 20px;25}2627body input.jx-tokenizer-input {28border: 1px solid transparent;29border-width: 1px 0px;30padding: 3px;31outline: none;32float: left;33width: 100%;34border-shadow: none;35box-shadow: none;36-webkit-box-shadow: none;37font-size: {$normalfontsize};38color: #333;39height: 26px;40background: transparent;41}4243body input.jx-tokenizer-input:focus {44box-shadow: none;45-webkit-box-shadow: none;46border-color: transparent;47}4849body input.jx-typeahead-placeholder {50margin-left: 4px;51color: {$greytext};52}5354a.jx-tokenizer-x {55margin-left: 4px;56color: {$bluetext};57float: right;58}5960a.jx-tokenizer-x:hover {61color: {$darkbluetext};62text-decoration: none;63}6465a.jx-tokenizer-token {66padding: 1px 6px;67border: 1px solid {$lightblueborder};68margin: 3px 2px 0 4px;69background-color: {$sh-bluebackground};70float: left;71cursor: pointer;72border-radius: 3px;73color: {$sh-bluetext};7475/* See T13495. Certain Chinese glyphs can cause layout artifacts unless76we're fairly aggressive about specifying element sizing. */7778line-height: 18px;79min-height: 20px;80max-height: 20px;81white-space: nowrap;82overflow: hidden;83text-overflow: ellipsis;84max-width: 95%;85}8687a.jx-tokenizer-token:hover {88text-decoration: none;89border-color: {$sh-blueborder};90}9192.jx-tokenizer-token .phui-icon-view {93display: inline-block;94margin: 2px 4px -3px 0;95color: {$sh-blueicon};96}9798a.jx-tokenizer-token-function {99border-color: {$sh-lightgreyborder};100background: {$page.content};101}102103a.jx-tokenizer-token-function:hover {104background: {$page.content};105}106107a.jx-tokenizer-token-disabled {108background-color: {$sh-disabledbackground};109border-color: {$sh-lightdisabledborder};110color: {$sh-disabledtext};111}112113a.jx-tokenizer-token-disabled:hover {114border-color: {$sh-disabledborder};115background-color: {$sh-disabledbackground};116}117118.jx-tokenizer-token-disabled .phui-icon-view {119color: {$sh-disabledicon};120}121122a.jx-tokenizer-token-invalid {123border-color: {$sh-lightredborder};124background: {$sh-redbackground};125color: {$sh-redtext};126}127128a.jx-tokenizer-token-invalid:hover {129border-color: {$sh-redborder};130background: {$sh-redbackground};131}132133.jx-tokenizer-token-invalid .phui-icon-view {134color: {$sh-redicon};135}136137.tokenizer-result {138position: relative;139padding: 5px 8px 5px 28px;140}141142.tokenizer-result .phui-icon-view {143display: inline-block;144width: 24px;145height: 24px;146position: absolute;147top: 5px;148left: 8px;149}150151.tokenizer-result-closed {152color: {$greytext};153}154155.tokenizer-closed {156margin-top: 2px;157}158159.jx-tokenizer-frame .button.tokenizer-browse-button {160display: none;161}162163.jx-tokenizer-frame.has-browse .button.tokenizer-browse-button {164display: block;165}166167.jx-tokenizer-frame.has-browse {168position: relative;169}170171.jx-tokenizer-frame.has-browse div.jx-tokenizer-container {172padding-right: 32px;173}174175.button.tokenizer-browse-button {176position: absolute;177top: 1px;178right: 1px;179bottom: 1px;180border-radius: 0;181border-right: none;182border-top: none;183border-bottom: none;184padding: 0;185width: 30px;186border-top-right-radius: 3px;187border-bottom-right-radius: 3px;188}189190.button.tokenizer-browse-button .phui-icon-view {191top: 7px;192left: 9px;193position: absolute;194}195196197