I've just switched to this admin theme and think its great compared to the default seven theme.
One thing that i'd like if possible is the ability to add custom css. I've seen other themes add this feature via the theme admin screen (having a text box to enter your styles) or allow loading of an additional style sheet.
This way if preferred a developer could alter a small number of elements in the design, potentially to brand the admin or alter functionality for their specific drupal install.
my use case.
I'm using wysiwyg (with ckeditor) in the administration for the main body field and i want to limit the overall width of this field so that it emulates content on the site theme which is set to a width of 600px.

I know i could edit the files and add this in or create a subtheme, however i only want to make this 1 alteration (which will be a temporay fix until the main site theme is changed to a responsive design )

Comments

ANDiTKO’s picture

Sure, i can do that. Expect news soon ;)

Dean Clayton’s picture

Awesome :)

  • Commit c487e47 on 7.x-1.x by ANDiTKO:
    + Added custom css overrides. See #2244343 for more information.
    
ANDiTKO’s picture

Status: Active » Needs review

Try the latest dev version.

Adminimal Theme will automaticly create and include a custom.css file that you can modify as you need.
The file is located at
{adminimal_theme_folder}/css/custom.css

Clear all caches and look for that file. If its not there then you need to create it manually and it will be included automatically on next cache clear.

ANDiTKO’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Dean Clayton’s picture

disabled and un-installed version 7.x-1.4, cleared cache.
manually uploaded dev version, enabled and set as admin them, but the custom.css file didn't appear.

cleared cache, manually added the file to the css file and the changes I had were picked up :)

I'm guessing that in the future when an update to the theme is rolled out it won't remove/overwrite this file?

Not that it matters I'm just thinking as an option to help site builders/themers, one solution might be to have an tick box option in the settings as to whether to include a custom css file?
The Gratis Theme does this and allows the custom css file to be placed in a different directory if preferred ( text field to specify the directory).

ANDiTKO’s picture

Yes, you don't have to worry about updates. The theme tries to create the custom.css file if it not exist. It dosen't ship with it, so it wont be overwritten in future.

There is no need for tickbox. If you want to use custom css just edit the custom.css file. As simple as that. That tickbox will only slow things down. I try to write my code to be fast. Creating an option field will create an extra database request and an extra if statement. Plus if you want to modify more the theme just subtheme it (i don't recommend it though). Also if you use multi site installation, just put the adminimal theme in earch site folder, and not into "sites/all". Adminimal is built to be "the admin" theme you use on your project and have a plesant administration experience. Its not build to be a basetheme and people changing it adding rounded corners and boxshadows that are not in its style. ;)

Im gonna test it in some other sites and push it to the stable release.

Dean Clayton’s picture

Happy with the progress you've made and understand the reasoning for not wanting the tick box option.

I find it an excellent administration theme and intend to use on all projects where I can

ANDiTKO’s picture

Status: Needs review » Closed (fixed)

Thank you for your kind words.