1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 15:35:29 +02:00

minor fixes

This commit is contained in:
Ran Shamay 2023-10-12 17:40:34 +03:00
parent 18d31a64da
commit 1cc8f3e291
11 changed files with 34 additions and 19 deletions

View file

@ -11,8 +11,7 @@
height: 42px; height: 42px;
padding: 11px; padding: 11px;
text-align: left; text-align: left;
transition: background 85ms ease-in, opacity 40ms ease-in, transition: background 85ms ease-in, opacity 40ms ease-in, border-color 85ms ease-in;
border-color 85ms ease-in;
width: 100%; width: 100%;
&:active { &:active {

View file

@ -3,7 +3,7 @@
bottom: 12px; bottom: 12px;
box-shadow: 0 1px 0 #cbcccc; box-shadow: 0 1px 0 #cbcccc;
position: absolute; position: absolute;
right: 9px; left: 9px;
} }
.field { .field {

View file

@ -3,7 +3,7 @@
bottom: 12px; bottom: 12px;
box-shadow: 0 1px 0 #cbcccc; box-shadow: 0 1px 0 #cbcccc;
position: absolute; position: absolute;
right: 9px; left: 9px;
} }
.field { .field {

View file

@ -128,6 +128,7 @@ const DueDateEditStep = React.memo(({ defaultValue, onUpdate, onBack, onClose })
</Form> </Form>
<Button <Button
negative negative
dir="rtl"
content={t('action.remove')} content={t('action.remove')}
className={styles.deleteButton} className={styles.deleteButton}
onClick={handleClearClick} onClick={handleClearClick}

View file

@ -3,7 +3,11 @@
bottom: 12px; bottom: 12px;
box-shadow: 0 1px 0 #cbcccc; box-shadow: 0 1px 0 #cbcccc;
position: absolute; position: absolute;
right: 9px; left: 9px;
// :dir(rtl) {
// left: 9px;
// background-color: yellow;
// }
} }
.fieldBox { .fieldBox {

View file

@ -3,6 +3,6 @@
bottom: 12px; bottom: 12px;
box-shadow: 0 1px 0 #cbcccc; box-shadow: 0 1px 0 #cbcccc;
position: absolute; position: absolute;
right: 9px; left: 9px;
} }
} }

View file

@ -1,4 +1,8 @@
:global(#app) { :global(#app) {
// * {
// direction: ltr;
// }
.message { .message {
align-content: space-between; align-content: space-between;
align-items: center; align-items: center;

View file

@ -2,8 +2,6 @@
.deleteButton { .deleteButton {
bottom: 12px; bottom: 12px;
box-shadow: 0 1px 0 #cbcccc; box-shadow: 0 1px 0 #cbcccc;
position: absolute;
right: 9px;
} }
.fieldBox { .fieldBox {

View file

@ -21,22 +21,26 @@
-webkit-box-sizing: inherit; -webkit-box-sizing: inherit;
box-sizing: inherit box-sizing: inherit
} }
*{
direction: rtl;
}
html { html {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box box-sizing: border-box;
} }
input[type=email],input[type=password],input[type=search],input[type=text] { input[type=email],input[type=password],input[type=search],input[type=text] {
-webkit-appearance: none; -webkit-appearance: none;
-moz-appearance: none -moz-appearance: none;
} }
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
html { html {
line-height: 1.15; line-height: 1.15;
-ms-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100% -webkit-text-size-adjust: 100%;
} }
body { body {
@ -146,7 +150,8 @@ button,input,optgroup,select,textarea {
font-family: sans-serif; font-family: sans-serif;
font-size: 100%; font-size: 100%;
line-height: 1.15; line-height: 1.15;
margin: 0 margin: 0;
text-align: right !important;
} }
button,input { button,input {
@ -4062,9 +4067,11 @@ body .ui.inverted::-webkit-scrollbar-thumb:hover {
.ui.negative.button { .ui.negative.button {
-webkit-box-shadow: 0 0 0 0 rgba(34,36,38,.15) inset; -webkit-box-shadow: 0 0 0 0 rgba(34,36,38,.15) inset;
box-shadow: 0 0 0 0 rgba(34,36,38,.15) inset box-shadow: 0 0 0 0 rgba(34,36,38,.15) inset;
} }
.ui.negative.button:hover,.ui.negative.buttons .button:hover { .ui.negative.button:hover,.ui.negative.buttons .button:hover {
background-color: #d01919; background-color: #d01919;
color: #fff; color: #fff;
@ -38936,7 +38943,7 @@ ol.ui.list li[value]:before {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
margin-right: auto!important margin-left: auto!important
} }
.ui.menu .right.item::before,.ui.menu .right.menu>.item::before { .ui.menu .right.item::before,.ui.menu .right.menu>.item::before {
@ -52722,6 +52729,7 @@ a.ui.nag {
transform: translate3d(0,100%,0) transform: translate3d(0,100%,0)
} }
.pushable { .pushable {
height: 100%; height: 100%;
overflow-x: hidden; overflow-x: hidden;
@ -55471,3 +55479,4 @@ body.pushable>.pusher {
background-color: #fcfcfd background-color: #fcfcfd
} }
} }

View file

@ -33,10 +33,10 @@ i18n.dateFns = {
i18n.on('languageChanged', () => { i18n.on('languageChanged', () => {
if (i18n.resolvedLanguage === 'he' || i18n.resolvedLanguage === 'ar') { if (i18n.resolvedLanguage === 'he' || i18n.resolvedLanguage === 'ar') {
document.documentElement.setAttribute('dir', 'rtl'); // document.documentElement.setAttribute('dir', 'rtl');
import('./components/semantic.rtl.min.css'); import('./components/semantic.rtl.min.css');
} else { } else {
document.documentElement.setAttribute('dir', 'ltr'); // document.documentElement.setAttribute('dir', 'ltr');
} }
setDefaultLocale(i18n.resolvedLanguage); setDefaultLocale(i18n.resolvedLanguage);

View file

@ -15,7 +15,7 @@ export default {
addAttachment_title: 'הוסף קובץ מצורף', addAttachment_title: 'הוסף קובץ מצורף',
addComment: 'הוסף תגובה', addComment: 'הוסף תגובה',
addManager_title: 'הוסף מנהל', addManager_title: 'הוסף מנהל',
addMember_title: 'הוסף חבר', addMember_title: 'הוסף משתמש',
addUser_title: 'הוסף משתמש', addUser_title: 'הוסף משתמש',
administrator: 'מנהל', administrator: 'מנהל',
all: 'הכל', all: 'הכל',
@ -166,7 +166,7 @@ export default {
addCard_title: 'הוסף כרטיס', addCard_title: 'הוסף כרטיס',
addComment: 'הוסף תגובה', addComment: 'הוסף תגובה',
addList: 'הוסף רשימה', addList: 'הוסף רשימה',
addMember: 'הוסף חבר', addMember: 'הוסף משתמש',
addMoreDetailedDescription: 'הוסף תיאור מפורט יותר', addMoreDetailedDescription: 'הוסף תיאור מפורט יותר',
addTask: 'הוסף משימה', addTask: 'הוסף משימה',
addToCard: 'הוסף לכרטיס', addToCard: 'הוסף לכרטיס',
@ -216,7 +216,7 @@ export default {
removeFromBoard: 'הסר מהלוח', removeFromBoard: 'הסר מהלוח',
removeFromProject: 'הסר מהפרויקט', removeFromProject: 'הסר מהפרויקט',
removeManager: 'הסר מנהל', removeManager: 'הסר מנהל',
removeMember: 'הסר חבר', removeMember: 'הסר משתמש',
save: 'שמור', save: 'שמור',
showAllAttachments: 'הצג את כל הקבצים המצורפים ({{hidden}} מוסתרים)', showAllAttachments: 'הצג את כל הקבצים המצורפים ({{hidden}} מוסתרים)',
showDetails: 'הצג פרטים', showDetails: 'הצג פרטים',