administrate-notus_theme 0.1.0 → 0.2.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: b5ec8bf403f2d83c624ea2ee71249dc980ecb0de36f60c68c821ee9366bf0796
4
- data.tar.gz: 499e175b139065f99032f5febc049d0f4abad2c02daab0e6dd216488488a6418
3
+ metadata.gz: 02e831a1d0d5e4bc5565593e0be3d92ec44f3069550532c1ebea297cee13ca6a
4
+ data.tar.gz: fa2331309383549e8032ee1061d1f94e463a06e338c5e29c1c0dd066ad2a4fb4
5
5
  SHA512:
6
- metadata.gz: ea6da456b043a960b625cbc1fd054d7b533c0d82193712c1fd48a0a44db71defefc3362d08217448a01ae6229475067f2632fca8544ca152d7d821cbd7fa73af
7
- data.tar.gz: 8d73ca57d6db723e0d82d51927401b13ec4a4b19da477fe79f5dfdefcaef2462685c364afa9de397f9b5d8340efe639265a00e0df3a602173cc9dbe99508f9db
6
+ metadata.gz: 835aaa323a41550eb6492b39c08a0ecbc42383c7f3788a5aa41852da0d63dec375907baa0172b3383ed28fbfe651955eedef6fda9fcb1f7dabaa4ceb728a73cd
7
+ data.tar.gz: 3725ed85867e1d26299a3d92801afc47a9c3f5be46fea69ee9bbf38978ae99bdd1dbc69bb2abd40f69a87525f7da5f08775e9a87303ba1599fe69a97afae42cd
@@ -2031,6 +2031,81 @@ dl {
2031
2031
  background-color: rgba(244, 244, 245, var(--tw-bg-opacity));
2032
2032
  }
2033
2033
 
2034
+ /**
2035
+ * Pagination
2036
+ */
2037
+
2038
+ .pagination {
2039
+ display: flex;
2040
+ list-style-type: none;
2041
+ flex-wrap: wrap;
2042
+ border-radius: 0.25rem;
2043
+ padding-left: 0px;
2044
+ align-items: center;
2045
+ justify-content: center;
2046
+ padding: 1rem;
2047
+ text-align: center;
2048
+ }
2049
+
2050
+ .page {
2051
+ position: relative;
2052
+ margin-left: 0.25rem;
2053
+ margin-right: 0.25rem;
2054
+ }
2055
+
2056
+ .page:first-child {
2057
+ margin-left: 0px;
2058
+ }
2059
+
2060
+ .page {
2061
+ display: flex;
2062
+ height: 2rem;
2063
+ width: 2rem;
2064
+ align-items: center;
2065
+ justify-content: center;
2066
+ border-radius: 9999px;
2067
+ border-width: 1px;
2068
+ border-style: solid;
2069
+ --tw-border-opacity: 1;
2070
+ border-color: rgba(99, 102, 241, var(--tw-border-opacity));
2071
+ padding: 0px;
2072
+ font-size: 0.75rem;
2073
+ line-height: 1rem;
2074
+ font-weight: 600;
2075
+ line-height: 1.25;
2076
+ --tw-text-opacity: 1;
2077
+ color: rgba(99, 102, 241, var(--tw-text-opacity));
2078
+ }
2079
+
2080
+ .page.current {
2081
+ --tw-bg-opacity: 1;
2082
+ background-color: rgba(99, 102, 241, var(--tw-bg-opacity));
2083
+ --tw-text-opacity: 1;
2084
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
2085
+ }
2086
+
2087
+ .first, .last, .next, .prev {
2088
+ position: relative;
2089
+ margin-left: 0.25rem;
2090
+ margin-right: 0.25rem;
2091
+ }
2092
+
2093
+ .first:first-child, .last:first-child, .next:first-child, .prev:first-child {
2094
+ margin-left: 0px;
2095
+ }
2096
+
2097
+ .first, .last, .next, .prev {
2098
+ align-items: center;
2099
+ justify-content: center;
2100
+ padding: 0px;
2101
+ font-size: 0.75rem;
2102
+ line-height: 1rem;
2103
+ font-weight: 600;
2104
+ line-height: 1.25;
2105
+ --tw-text-opacity: 1;
2106
+ color: rgba(99, 102, 241, var(--tw-text-opacity));
2107
+ }
2108
+
2034
2109
  @media (min-width: 640px) {
2035
2110
  }
2036
2111
 
@@ -203,3 +203,24 @@ dl {
203
203
  .selectize-dropdown-content .active {
204
204
  @apply bg-gray-100;
205
205
  }
206
+
207
+ /**
208
+ * Pagination
209
+ */
210
+
211
+ .pagination {
212
+ @apply flex pl-0 rounded list-none flex-wrap;
213
+ @apply p-4 text-center items-center justify-center;
214
+ }
215
+
216
+ .page {
217
+ @apply first:ml-0 text-xs font-semibold flex w-8 h-8 mx-1 p-0 rounded-full items-center justify-center leading-tight relative border border-solid border-indigo-500 text-indigo-500;
218
+ }
219
+
220
+ .page.current {
221
+ @apply text-white bg-indigo-500;
222
+ }
223
+
224
+ .first, .last, .next, .prev {
225
+ @apply first:ml-0 text-xs font-semibold mx-1 p-0 items-center justify-center leading-tight relative text-indigo-500;
226
+ }
@@ -1,5 +1,5 @@
1
1
  module Administrate
2
2
  module NotusTheme
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-notus_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也