Skip to content

Commit 2873b67

Browse files
committed
Minor style improvements
1 parent b127c25 commit 2873b67

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
A Material theme form [Administrate](https://github.com/thoughtbot/administrate), based on [Materialize](https://materializecss.com) framework.
33

44
Features:
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

app/assets/stylesheets/administrate-materialize-theme/layout-index.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
a.action-edit, a[data-method="delete"] {
2+
text-decoration: underline;
3+
}
4+
15
nav.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);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AdministrateMaterializeTheme
4-
VERSION = '0.1.4'
4+
VERSION = '0.2.0'
55
end

0 commit comments

Comments
 (0)