material design bootstrap right to left Direction - reactjs

I am using Material Design Bootstrap for React and iIwant to use it for Persian mood.
Is there any solution for right to left direction.

only add this CSS class to your classes i had a problem with Label on
the MDBInput in Material Design Bootstrap so i finally add this class
to Label Class.
.md-form label {
left: unset !important;
display: block;
};

Related

PrimeReact DataTable background colour

Am using PrimeReact DataTable in my React application.I have a requirement to change the background colour from white to grey in the DataTable..I tried custom style in the component. But not working..
Can you please help me?
If you want to override the style of the Datatable then use this css
.p-datatable-tbody tr {
background: gray !important;
}
or, in order to avoid !important
.p-datatable .p-datatable-tbody > tr {
background: gray
}

Customize React bootstrap Carousel Indicator active class

I am using react bootstrap Carousel in my react js code. I am successfully able to customize react bootstrap Carousel indicators. By using below code..
div.crausal ol li{
height: 0.3em;
width: 4em;
background-color: #E77728 !important;
}
But I am not able to change the color of active class for indicator. I have tried this
div.crausal ol li.active{
background-color: blue !important;
}
But it does not work.
This is my carousel class.
<Carousel className={css_class.crausal} touch={true} controls={false}>
// Carousel items goes here //
</Carousel>
I want to change the color of active class indicator.
If someone can give better carousel option other than react bootstrap to solve this issue that will also do
I found a kind of fix after researching longer. What you can do is add normal bootstrap file in your project, import it in your component file and now react bootstrap classes are overridden by this normal bootstrap import. After that you can customize the normal bootstrap file downloaded in your project (bootstrap.min.css). But this is just a fix.
What you can do is:
div.carousel-indicators .active{
background-color: #E77728 !important;
}

Adding padding following custom home icon in mobile menu (Blogger)

Mobile Menu
Hi- I was hoping to get some help on how to add spacing underneath my custom home icon and my name in my Blogger mobile menu (I attached a pic). I apologize but this is a custom Blogger template but the author doesn't have any time to help me.
Thank you so much! www.thenorthernmagnolia.com
Add this CSS code to your template
#media (max-width: 767px) {
.menu-home-icon img {
margin-bottom: 20px;
}
}

How to customize a ui-grid table?

I am trying to customize the grid menu for angular ui grid
By default the menu icon appears in the top right corner of the table. But i want to show it on the top left corner of the table. How can i configure this?
Also I want to change the default icon to a customized one.
This is not something supported by the API, so you will have to do it by changing some of the CSS:
.ui-grid-menu-button {
left: -21px;
width: 20px;
}
.ui-grid-menu-button .ui-grid-menu{
left: -11px;
top: 27px;
}
To change the icon you will have to edit:
.ui-grid-icon-menu:before {
content:'\c363';
}
to whatever you want.

ExtJS - custom toolbar with groupbutton title under icons

Can anyone have any idea how to make title text of groupbutton not above the icons but under in ExtJS? I was trying to do bbar to the groupbutton but the default td align is to left and I don't know how to change it by css? Thanks for any response.
You can achieve the effect by adding the following CSS to the button:
height: 64px;
background-position: top center;
padding-left: 0px
I this case, I have set the height of the button to be 64px. The will definitely distort the tool bar if you have a combination of default buttons and buttons with the above CSS.

Resources