Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@
margin: 0 $euiSize;
border-radius: $euiSizeXS;
cursor: pointer;
width: calc(100% - $euiSizeXL);

&:hover {
background: $euiFocusBackgroundColor;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@ export class SearchOptions extends Component<Props, State> {
>
<EuiFlyoutHeader>
<EuiTitle size="s">
<h2 id="flyoutSmallTitle" className="">
<EuiNotificationBadge size="m" className="code-notification-badge">
<EuiFlexGroup id="flyoutSmallTitle" alignItems="center" gutterSize="none">
<EuiNotificationBadge size="m" className="codeQueryBar__filter-badge">
{repoScope.length}
</EuiNotificationBadge>
<EuiTextColor color="secondary" className="code-flyout-title">
<EuiTextColor color="secondary">
<FormattedMessage
id="xpack.code.searchBar.searchFilterTitle"
defaultMessage=" {filterCount, plural, one {Search Filter} other {Search Filters}} "
defaultMessage="{filterCount, plural, one {Advanced Filter} other {Advanced Filters}}"
values={{ filterCount: repoScope.length }}
/>
</EuiTextColor>
</h2>
</EuiFlexGroup>
</EuiTitle>
</EuiFlyoutHeader>
<EuiFlyoutBody>
Expand Down Expand Up @@ -196,13 +196,13 @@ export class SearchOptions extends Component<Props, State> {
<div>
<div className="kuiLocalSearchAssistedInput__assistance">
<EuiButtonEmpty size="xs" onClick={this.toggleOptionsFlyout}>
<EuiNotificationBadge size="m" className="code-notification-badge">
<EuiNotificationBadge size="m" className="codeQueryBar__filter-badge">
{repoScope.length}
</EuiNotificationBadge>
<EuiTextColor color="secondary">
<FormattedMessage
id="xpack.code.searchBar.searchFilterTitle"
defaultMessage=" {filterCount, plural, one {Search Filter} other {Search Filters}} "
defaultMessage="{filterCount, plural, one {Advanced Filter} other {Advanced Filters}}"
values={{ filterCount: repoScope.length }}
/>
</EuiTextColor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class CodeQueryBar extends Component<Props, State> {
: '';
return (
<EuiFlexGroup responsive={false} gutterSize="none">
<EuiFlexItem grow={false}>
<EuiFlexItem className="codeQueryBar__scope" grow={false}>
<ScopeSelector scope={this.props.searchScope} onScopeChanged={this.onScopeChange} />
</EuiFlexItem>
<EuiFlexItem>
Expand All @@ -455,7 +455,7 @@ export class CodeQueryBar extends Component<Props, State> {
<div className="kuiLocalSearch" role="search">
<div className="kuiLocalSearchAssistedInput">
<EuiFieldText
className="kuiLocalSearchAssistedInput__input codeSearchBar__input"
className="kuiLocalSearchAssistedInput__input codeQueryBar__input"
placeholder={SearchScopePlaceholderText[this.props.searchScope]}
value={this.state.query}
onKeyDown={this.onKeyDown}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import React, { Component } from 'react';

import { SearchScope } from '../../../../model';
import { SearchScopeText } from '../../../common/types';
import { pxToRem } from '../../../style/variables';

interface Props {
scope: SearchScope;
Expand Down Expand Up @@ -57,7 +56,6 @@ export class ScopeSelector extends Component<Props> {
public render() {
return (
<EuiSuperSelect
style={{ width: pxToRem(200) }}
options={this.scopeOptions}
valueOfSelected={this.props.scope}
onChange={this.props.onScopeChanged}
Expand Down

This file was deleted.

Loading