Using the SASS build for Kendo Angular Material I wish to simply change the primary, secondary and accent colors for the entire theme and then download.
There is only a drop down to select a color palette, but no way to choose specific colors.
When I download the variables.scss, there aren't entries for these three colors.
Question: How do I edit the variables.scss to change these three colors?
If you click the "<" on top of your screenshot, you can hide this panel and edit the colors.
If you're using npm, you can install the theme you want:
npm install #progress/kendo-theme-material
Then import the theme in your own scss file, where you can override some of the values:
$primary-palette-name: blue;
$secondary-palette-name: pink;
#import "~#progress/kendo-theme-material/dist/all.scss";
The documentation is here: https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes
The variables are here: https://github.com/telerik/kendo-themes/blob/develop/packages/material/scss/_variables.scss
Related
I'm running into a problem where I can't style the default footer in v-data-table. For some reason, the pagination buttons are appearing white when enabled, and light gray when they are disabled (pagination is disabled). I've already double checked to make sure its not a theme issue.
My question is: how can I change the color of the default pagination icons in v-data-table? And more broadly, what is a way to find the class names of the vuetify elements so that I can avoid asking these types of questions in the future.
Thanks.
Here's a couple screen shots in case my description was clear enough.
Per Varun's request, here is one of my declarations for a v-data-table.
<v-data-table
:headers="headers"
:items="tickets"
item-key="ticketId"
class="red--text"
></v-data-table>
Result:
The recommendation of using the text-coloring class didn't work as it just turn all of the text in the table to red, but didn't change the icons. Is there any way to edit the CSS of the icons directly?
can you share the code please ?
Usually the color of the default pagination icons in v-data-table are black when enabled and grey while disabled.
you can use class="<color>--text" to change the text and enabled icon color to your preference
After digging through the CSS file in Vuetify and finding the class name of several of the v-data-table components, I found this solution to work.
Inside the style tag in my component:
#table > .v-data-footer .v-icon {
color: black;
}
Small note: without the !important keyword, this styles only the enabled icons in the footer (i.e. if you can go to the next page or not). If you want to style both, just add the keyword and your good to go.
I created a custom theme so I want to change change entire background color of website, please help me to resolve it, thanks in advance
There are two ways to change the css properties in magento custom theme .
1.Magento2 uses less files so there are already defined variable for primary and secondary color from there you can change the variables for different colors.
2.For custom theme css create a directory
app/design/frontend/{{Vendor_Namespace}}/{{Theme_Name}}/web/css/source/_extends.less
here you can write the properties you want for any css classes.
small example:
.panel.header {
background-color: white !important;
}
rendering the changes use grunt or setup:static-content:deploy -f
Is it possible to show only asc or desc icon at time of loading of data into jqgrid?
How can i customise like color of icons?
The main problem, which you have: you use very old version 4.4.3 of jqGrid, which is almost 5 years old. The old jqGrid don't allow to display only one sorting icon. Moreover it allows to use only old jQuery UI icons, which uses PNG images for icons. The color of png images can't be changed for different icons because every icon is a part of one image like this one:
You can see that above image, used by Redmond team, uses blue color for all icons. It makes more complex to implement your requirements.
I'd recommend you to consider to upgrade to the current version (4.15.1) of free jqGrid - the fork of jqGrid, which I develop staring with end of 2014. The fork is compatible with 4.4.3.
Free jqGrid supports many new options, like the option showOneSortIcon: true, which you need. Moreover, it allows to include CSS of Font Awesome 4.x font-awesome.min.css and to add iconSet: "fontAwesome" option to replace all jQuery UI icons to vector-based Font Awesome icons. See here an example of usage. As the result you can easy specify any color for any icon. For example, the demo https://jsfiddle.net/OlegKi/2cgyL4qx/ uses the following CSS rules in combination with showOneSortIcon: true and iconSet: "fontAwesome" options:
.ui-jqgrid .s-ico > .ui-icon-desc.fa {
color: green;
top: -0.3em;
}
.ui-jqgrid .s-ico > .ui-icon-asc.fa {
color: red;
top: 0.1em;
}
As the result the asc/desc icons looks like on the pictures below
Free jqGrid contains many other options, which allows to customize sorting icons (see here). For example, one can full overwrite the standard icons to your custom icons and uses the icons, for example, depend on the type of data in the corresponding column. You can try one more demo https://jsfiddle.net/OlegKi/1c7rxfLn/ and to examine the sorting icons in different columns. You will see 3 different group of icons: for numeric, alpha and other types of data. The sorting icons will look like on the pictures below:
If I correctly understand the question you can use grid option viewsortcols. More you can find in the docs of this version here
I am trying to move over from Bootstrap to Zurb Foundation.
Bootstrap uses *-color for text colour and *-bg for background colours.
I'm a little confused with Foundation's naming scheme:
What is the difference between $topbar-link-bg-hoverand $topbar-link-bg-color-hover?
Both their names suggest that they change the background colour of a link in the top bar, both are given a colour.
Foundation structure has lots of details, if you search these variables in Foundation you can find them in _top-bar.scss file. Look at it, how used these variables:
// Apply the hover link color when it has that class
&:hover:not(.has-form) > a {
background-color: $topbar-link-bg-color-hover;
#if ($topbar-link-bg-hover) {
background: $topbar-link-bg-hover;
}
}
$topbar-link-bg-color-hover value can equal with color because use for background-color and $topbar-link-bg-hover value can equal with image or anything else(background css values).
The ckeditor editor window for the site content areas has a blue background to match the website so that the client sees a true representation of the website while adding content.
When "show blocks" is selected the blocks border displayed is barely visible on the blue background.
Therefore, where can the colour of the show blocks border be changed to a darker colour?
Unfortunately, color of border displayed for blocks isn't customizable. CSS that styles them is generated by JS. You can find it here http://dev.ckeditor.com/browser/CKEditor/trunk/_source/plugins/showblocks/plugin.js#L28
I guess that you're using compiled version of CKEditor, so source is minified. You'll have to open ckeditor.js file and find this fragment and change it manually.
Or you can try to clone CKEditor 4 (new version that will be release next Tuesday), change this value here https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/showblocks/plugin.js#L48 and then compile your build of CKEditor (you can find instructions here https://github.com/ckeditor/ckeditor-dev). But to do this you'd need Mac or Linux, because build script is written in Bash.
CKEDITOR.replace( 'textarea_id', {
uiColor: '#14B8C4'
});
Update :-
Check the sample url:ckeditor