administrate-notus_theme 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02e831a1d0d5e4bc5565593e0be3d92ec44f3069550532c1ebea297cee13ca6a
4
- data.tar.gz: fa2331309383549e8032ee1061d1f94e463a06e338c5e29c1c0dd066ad2a4fb4
3
+ metadata.gz: 1c5a9da3a5a361ef1bb9d2516d999e1bc7d2262cabc8ea8a27d59c2507e8131f
4
+ data.tar.gz: 0c902244e7c0a679490ff52414b1ec2866a11140f3c1ccd493cfece624965431
5
5
  SHA512:
6
- metadata.gz: 835aaa323a41550eb6492b39c08a0ecbc42383c7f3788a5aa41852da0d63dec375907baa0172b3383ed28fbfe651955eedef6fda9fcb1f7dabaa4ceb728a73cd
7
- data.tar.gz: 3725ed85867e1d26299a3d92801afc47a9c3f5be46fea69ee9bbf38978ae99bdd1dbc69bb2abd40f69a87525f7da5f08775e9a87303ba1599fe69a97afae42cd
6
+ metadata.gz: a269d3021679c6031b20a608da2461b72a4e0047cbf1936acc22d7535d3dd8c19726a29acb05882887f574c8968c6f1e76b9e7ada7888c22f8f473b8c9ef066f
7
+ data.tar.gz: 609e750959debe2ecf343104882414a8d83c9547c84003cac38084bb5312b2aabce12ddd0fe257147edd08dda9c062324321b46c6be4ab974228de1754a9eb70
@@ -2106,6 +2106,45 @@ dl {
2106
2106
  color: rgba(99, 102, 241, var(--tw-text-opacity));
2107
2107
  }
2108
2108
 
2109
+ /**
2110
+ * Flash
2111
+ */
2112
+
2113
+ .flash {
2114
+ position: relative;
2115
+ border-width: 0px;
2116
+ padding-left: 1.5rem;
2117
+ padding-right: 1.5rem;
2118
+ padding-top: 1rem;
2119
+ padding-bottom: 1rem;
2120
+ --tw-text-opacity: 1;
2121
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
2122
+ }
2123
+
2124
+ .flash-notice {
2125
+ --tw-bg-opacity: 1;
2126
+ background-color: rgba(16, 185, 129, var(--tw-bg-opacity));
2127
+ }
2128
+
2129
+ /**
2130
+ * Error Explanation
2131
+ */
2132
+
2133
+ #error_explanation {
2134
+ margin-bottom: 1rem;
2135
+ }
2136
+
2137
+ #error_explanation h2 {
2138
+ font-weight: 700;
2139
+ --tw-text-opacity: 1;
2140
+ color: rgba(239, 68, 68, var(--tw-text-opacity));
2141
+ }
2142
+
2143
+ .flash-error {
2144
+ --tw-text-opacity: 1;
2145
+ color: rgba(239, 68, 68, var(--tw-text-opacity));
2146
+ }
2147
+
2109
2148
  @media (min-width: 640px) {
2110
2149
  }
2111
2150
 
@@ -224,3 +224,29 @@ dl {
224
224
  .first, .last, .next, .prev {
225
225
  @apply first:ml-0 text-xs font-semibold mx-1 p-0 items-center justify-center leading-tight relative text-indigo-500;
226
226
  }
227
+
228
+ /**
229
+ * Flash
230
+ */
231
+ .flash {
232
+ @apply text-white px-6 py-4 border-0 relative;
233
+ }
234
+
235
+ .flash-notice {
236
+ @apply bg-emerald-500;
237
+ }
238
+
239
+ /**
240
+ * Error Explanation
241
+ */
242
+ #error_explanation {
243
+ @apply mb-4;
244
+ }
245
+
246
+ #error_explanation h2 {
247
+ @apply font-bold text-red-500;
248
+ }
249
+
250
+ .flash-error {
251
+ @apply text-red-500;
252
+ }
@@ -1,5 +1,5 @@
1
1
  module Administrate
2
2
  module NotusTheme
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-notus_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-12 00:00:00.000000000 Z
11
+ date: 2022-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails