c80_md 0.1.0.2 → 0.1.0.3

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
  SHA1:
3
- metadata.gz: 881a4b2673edbcc5af4fcab69cb75ced6a9caa08
4
- data.tar.gz: 58f66acee34ea1bee689848c2d8ab6d9591b0c3a
3
+ metadata.gz: b3f23942875b99a478537ae92e86c6d245214bae
4
+ data.tar.gz: 8fb025e81bb23b80dc36b850d6f8ae92755b1cb4
5
5
  SHA512:
6
- metadata.gz: 011d289a164760a08a650aa642ed5708277589e0ba921b31234d9a5bbd98d7a78081acc06aad2f4b2158c8fad3dd60e523413fbf03cd1c6e5d3b174da65ac35c
7
- data.tar.gz: 6bc59efbb7583ef9fdd2cf22136fe16b1957f19b26bbe5eb1095fc32c531c7d521262914fbefffe47b3d794de127d0358205f9bb4a820423a2d815446faaf15c
6
+ metadata.gz: e131e363f70933980e6d204436ed7b7703b5f847e619e38418e91cfb7883704750af6436e8b2f37491fb2303d82122b3c1c3efa3c707bd31475956b41ab19765
7
+ data.tar.gz: 3ff2ea1032146ac22e91f2a9572be132639a2b2a2212d22a4a178327ebe98375c3cef10b95dd265788f1cd082fd01a0ab190bce5bc8c8b3d9eb9849ed64c87c3
Binary file
@@ -1,3 +1,5 @@
1
+ //----[ mixins ]--------------------------------------------------------------------------------------------------------------------
2
+
1
3
  @mixin but_fill($color: #ffffff, $bg_color: #3190e7) {
2
4
  display: inline-block;
3
5
  position: relative;
@@ -12,7 +14,7 @@
12
14
 
13
15
  border: 1px solid $bg_color !important;
14
16
  border-radius: 3px !important;
15
- padding: 10px 15px;
17
+ padding: 13px 15px;
16
18
  margin: 0;
17
19
  background: $bg_color;
18
20
  box-shadow: none;
@@ -48,12 +50,14 @@
48
50
  line-height: 16px !important;
49
51
  text-shadow: none !important;
50
52
  border-radius: 3px !important;
51
- padding: 7px 13px !important;
53
+ padding: 13px 18px !important;
52
54
  /*background: $bg_color !important;*/
53
55
  box-shadow: none !important;
54
56
  background-image: none !important;
55
57
  }
56
58
 
59
+ //----[ buttons ]--------------------------------------------------------------------------------------------------------------------
60
+
57
61
  /* index: кнопка "создать", справа вверху */
58
62
  #title_bar .action_items span.action_item > a,
59
63
  #title_bar .action_items span.action_item > .dropdown_menu > a {
@@ -68,12 +72,12 @@ fieldset.actions input[type="submit"] {
68
72
  /* edit: кнопка "отменить" формы редактирования */
69
73
  fieldset.actions li.cancel a {
70
74
  @include but_fill(#000000, #ffffff);
71
- border: 1px solid #000000;
75
+ border: 1px solid #dddddd !important;
72
76
  font-size: 14px !important;
73
77
  line-height: 16px !important;
74
78
  text-shadow: none !important;
75
79
  border-radius: 3px !important;
76
- padding: 10px 15px !important;
80
+ padding: 13px 15px !important;
77
81
  background: white !important;
78
82
  box-shadow: none !important;
79
83
  }
@@ -83,6 +87,7 @@ a.table_tools_button, .table_tools .dropdown_menu_button {
83
87
  @include but_frame_small;
84
88
  }
85
89
 
90
+ /*кнопки панели фильтрации*/
86
91
  div#sidebar {
87
92
  .sidebar_section {
88
93
  form {
@@ -91,9 +96,10 @@ div#sidebar {
91
96
  }
92
97
  a.clear_filters_btn {
93
98
  @include but_frame_small(#969ca0);
94
- width: 81px;
99
+ width: 93px;
95
100
  margin-left: 10px;
96
101
  text-align: center;
102
+ padding: 13px 12px !important;
97
103
  }
98
104
  }
99
105
  }
@@ -1,7 +1,7 @@
1
1
  body.logged_in .flash.flash_notice {
2
- background-color: #3cff52;
2
+ background-color: #a1ffac;
3
3
  background-image: none !important;
4
4
  border-bottom: none !important;
5
5
  text-shadow: none !important;
6
- color: #416347;
6
+ color: #00bb21;
7
7
  }
@@ -1,4 +1,4 @@
1
- @mixin inputfield($color:#444444, $bg_color:#ffffff, $border_color: #dfdfdf) {
1
+ @mixin inputfield($color: #444444, $bg_color: #ffffff, $border_color: #dfdfdf) {
2
2
 
3
3
  display: inline-block;
4
4
  position: relative;
@@ -53,4 +53,20 @@ select {
53
53
 
54
54
  form input[type=text] {
55
55
  width: calc(80% - 32px);
56
+ }
57
+
58
+ div#sidebar {
59
+ form {
60
+ input[type=text] {
61
+ margin-left: 0;
62
+ width: 100% !important;
63
+
64
+ &.datepicker {
65
+ background: #fff url(/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png) no-repeat 100% 14px !important;
66
+ padding-right: 18px !important;
67
+ padding-left: 7px !important;
68
+ width: 108px !important;
69
+ }
70
+ }
71
+ }
56
72
  }
@@ -11,10 +11,13 @@ table.index_table {
11
11
  margin-bottom: 0.5em;
12
12
  color: #ffffff;
13
13
  padding: 15px;
14
- text-align: center;
14
+ text-align: left;
15
15
 
16
16
  a {
17
17
  color: #ffffff !important;
18
+ font-size: 13px !important;
19
+ font-weight: 600 !important;
20
+ line-height: 18px;
18
21
  }
19
22
 
20
23
  &.sorted-asc, &.sorted-desc {
@@ -29,6 +32,10 @@ table.index_table {
29
32
  background-color: darken(#424C58, 20%) !important;
30
33
  }
31
34
 
35
+ &.sortable a {
36
+ background-image: url(image_path('orderable2.png')) !important;
37
+ }
38
+
32
39
  }
33
40
  td {
34
41
  &.col-selectable {
@@ -40,13 +47,26 @@ table.index_table {
40
47
  }
41
48
  }
42
49
 
43
- .col-actions {
44
- width: 200px !important;
50
+ /* столбец с чекбоксом */
51
+ .col-selectable {
52
+ width: 36px !important;
53
+ text-align: left;
45
54
  }
46
55
 
47
56
  .col- {
48
57
  width: 36px !important;
49
- text-align: center;
58
+ text-align: left;
59
+ }
60
+
61
+ /* столбец ID */
62
+ .col-id {
63
+ width: 36px !important;
64
+ text-align: left;
65
+ }
66
+
67
+ /* столбец с кнопками add\delete\view */
68
+ .col-actions {
69
+ width: 200px !important;
50
70
  }
51
71
 
52
- }
72
+ }
@@ -1,3 +1,3 @@
1
1
  module C80Md
2
- VERSION = "0.1.0.2"
2
+ VERSION = "0.1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_md
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.2
4
+ version: 0.1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -67,6 +67,7 @@ files:
67
67
  - README.md
68
68
  - Rakefile
69
69
  - app/assets/images/arrow_down.png
70
+ - app/assets/images/orderable2.png
70
71
  - app/assets/stylesheets/mat_design.scss
71
72
  - app/assets/stylesheets/mat_design/common.scss
72
73
  - app/assets/stylesheets/mat_design/elements/buttons/buttons.scss