File tree Expand file tree Collapse file tree
app/assets/stylesheets/administrate-materialize-theme
lib/administrate-materialize-theme Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22A Material theme form [ Administrate] ( https://github.com/thoughtbot/administrate ) , based on [ Materialize] ( https://materializecss.com ) framework.
33
44Features:
5- - no structural changes are required , just include CSS/JS;
6- - Material design responsive theme;
7- - customizable using SASS variables;
8- - allow to use * Materialize* in the admin.
5+ - easy to install , just include CSS/JS to apply the theme ;
6+ - Material Design responsive theme;
7+ - customizable via SASS variables;
8+ - allow to use * Materialize* components in the admin.
99
1010![ screenshot] ( screenshot.png )
1111
1212## Installation
13- - If not already installed Administrate, set it up
14- - Add to * Gemfile* : ` gem 'administrate-materialize-theme' ` (and execute ` bundle ` )
13+ - After installing Administrate, add to * Gemfile* : ` gem 'administrate-materialize-theme' ` (and execute ` bundle ` )
1514- Edit * app/assets/config/manifest.js* , adding at the end:
1615
1716``` js
Original file line number Diff line number Diff line change 1+ a .action-edit , a [data-method = " delete" ] {
2+ text-decoration : underline ;
3+ }
4+
15nav .pagination {
26 margin-top : 3rem ;
37}
48
9+ .btn-clear-filters {
10+ display : block ;
11+ margin-bottom : 10px ;
12+ }
13+
514#search {
615 padding : 0.5rem 2.5rem 0 2.5rem ;
716 width : calc (100% - 5rem );
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module AdministrateMaterializeTheme
4- VERSION = '0.1.4 '
4+ VERSION = '0.2.0 '
55end
You can’t perform that action at this time.
0 commit comments