Skip to content

Commit 883e2cd

Browse files
committed
input outline
1 parent 6ec9dd9 commit 883e2cd

File tree

25 files changed

+118
-64
lines changed

25 files changed

+118
-64
lines changed

tailwind.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ module.exports = {
2121
}
2222
},
2323
maxWidth: {
24-
side: '14rem'
24+
side: '14rem',
25+
'9/10': '90%'
2526
}
26-
},
27+
}
2728
},
2829
variants: {
2930
extend: {}

themes/example/components/ArticleLock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const ArticleLock = props => {
2626
<div className='text-center space-y-3'>
2727
<div className='font-bold'>{locale.COMMON.ARTICLE_LOCK_TIPS}</div>
2828
<div className='flex mx-4'>
29-
<input id="password" type='password' className='w-full text-sm pl-5 rounded-l transition font-light leading-10 text-black dark:bg-gray-500 bg-gray-50'></input>
29+
<input id="password" type='password' className='outline-none w-full text-sm pl-5 rounded-l transition font-light leading-10 text-black dark:bg-gray-500 bg-gray-50'></input>
3030
<div onClick={submitPassword} className="px-3 whitespace-nowrap cursor-pointer items-center justify-center py-2 rounded-r duration-300 bg-gray-300" >
3131
<i className={'duration-200 cursor-pointer fas fa-key dark:text-black'} >&nbsp;{locale.COMMON.SUBMIT}</i>
3232
</div>

themes/example/components/SearchInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const SearchInput = ({ currentTag, currentSearch, cRef }) => {
6262
ref={searchInputRef}
6363
type='text'
6464
placeholder={currentTag ? `${locale.SEARCH.TAGS} #${currentTag}` : `${locale.SEARCH.ARTICLES}`}
65-
className={'w-full text-sm pl-4 transition focus:shadow-lg font-light leading-10 text-black bg-gray-100 dark:bg-gray-900 dark:text-white'}
65+
className={'outline-none w-full text-sm pl-4 transition focus:shadow-lg font-light leading-10 text-black bg-gray-100 dark:bg-gray-900 dark:text-white'}
6666
onKeyUp={handleKeyUp}
6767
onCompositionStart={lockSearchInput}
6868
onCompositionUpdate={lockSearchInput}

themes/fukasawa/components/ArticleLock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const ArticleLock = props => {
3030
<div className="flex mx-4">
3131
<input
3232
id="password" type='password'
33-
className="w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500"
33+
className="outline-none w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500"
3434
></input>
3535
<div
3636
onClick={submitPassword}

themes/fukasawa/components/SearchInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const SearchInput = ({ currentTag, currentSearch, cRef }) => {
5353
<input
5454
ref={searchInputRef}
5555
type='text'
56-
className={'w-full text-sm pl-2 transition focus:shadow-lg font-light leading-10 text-black bg-gray-100 dark:bg-gray-800 dark:text-white'}
56+
className={'outline-none w-full text-sm pl-2 transition focus:shadow-lg font-light leading-10 text-black bg-gray-100 dark:bg-gray-800 dark:text-white'}
5757
onKeyUp={handleKeyUp}
5858
onCompositionStart={lockSearchInput}
5959
onCompositionUpdate={lockSearchInput}

themes/hexo/components/ArticleLock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ArticleLock = props => {
2525
<div className='text-center space-y-3'>
2626
<div className='font-bold'>{locale.COMMON.ARTICLE_LOCK_TIPS}</div>
2727
<div className='flex mx-4'>
28-
<input id="password" type='password' className='w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
28+
<input id="password" type='password' className='outline-none w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
2929
<div onClick={submitPassword} className="px-3 whitespace-nowrap cursor-pointer items-center justify-center py-2 bg-indigo-500 hover:bg-indigo-400 text-white rounded-r duration-300" >
3030
<i className={'duration-200 cursor-pointer fas fa-key'} >&nbsp;{locale.COMMON.SUBMIT}</i>
3131
</div>

themes/hexo/components/SearchInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const SearchInput = props => {
6969
ref={searchInputRef}
7070
type="text"
7171
className={
72-
'w-full text-sm pl-5 rounded-lg transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'
72+
'outline-none w-full text-sm pl-5 rounded-lg transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'
7373
}
7474
onKeyUp={handleKeyUp}
7575
onCompositionStart={lockSearchInput}

themes/matery/components/ArticleLock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ArticleLock = props => {
2525
<div className='text-center space-y-3'>
2626
<div className='font-bold'>{locale.COMMON.ARTICLE_LOCK_TIPS}</div>
2727
<div className='flex mx-4'>
28-
<input id="password" type='password' className='w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
28+
<input id="password" type='password' className='outline-none w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
2929
<div onClick={submitPassword} className="px-3 whitespace-nowrap cursor-pointer items-center justify-center py-2 bg-indigo-500 hover:bg-indigo-400 text-white rounded-r duration-300" >
3030
<i className={'duration-200 cursor-pointer fas fa-key'} >&nbsp;{locale.COMMON.SUBMIT}</i>
3131
</div>

themes/matery/components/SearchInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const SearchInput = props => {
6969
ref={searchInputRef}
7070
type="text"
7171
className={
72-
'w-full text-sm pl-5 rounded-lg transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'
72+
'outline-none w-full text-sm pl-5 rounded-lg transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'
7373
}
7474
onKeyUp={handleKeyUp}
7575
onCompositionStart={lockSearchInput}

themes/medium/components/ArticleLock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const ArticleLock = props => {
2626
<div className='text-center space-y-3'>
2727
<div className='font-bold'>{locale.COMMON.ARTICLE_LOCK_TIPS}</div>
2828
<div className='flex mx-4'>
29-
<input id="password" type='password' className='w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
29+
<input id="password" type='password' className='outline-none w-full text-sm pl-5 rounded-l transition focus:shadow-lg dark:text-gray-300 font-light leading-10 text-black bg-gray-100 dark:bg-gray-500'></input>
3030
<div onClick={submitPassword} className="px-3 whitespace-nowrap cursor-pointer items-center justify-center py-2 bg-green-500 hover:bg-green-400 text-white rounded-r duration-300" >
3131
<i className={'duration-200 cursor-pointer fas fa-key'} >&nbsp;{locale.COMMON.SUBMIT}</i>
3232
</div>

0 commit comments

Comments
 (0)