PluginProbe
Tableberg – Simple Gutenberg Table Block / 1.2.0
Tableberg – Simple Gutenberg Table Block v1.2.0
1.2.0 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 All 43 releases
tableberg / components / icon-library / style.scss

style.scss in Tableberg – Simple Gutenberg Table Block 1.2.0, at components/icon-library/style.scss

122 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .tableberg_icons_library_modal {
2 .components-modal__content {
3 overflow: hidden;
4 padding: 0 0px 32px 32px !important;
5
6 .tableberg_icons_library {
7 display: grid;
8 grid-gap: 15px;
9 grid-template-columns: 1fr 4fr;
10 margin-top: 3px;
11 .tableberg_icon_library_content_wrapper {
12 overflow: auto;
13 max-height: calc(90vh - 100px);
14 text-align: center;
15 padding-bottom: 15px;
16 .tableberg_icon_library_content {
17 &:not(.no-results) {
18 display: grid;
19 padding-right: 15px;
20 padding-bottom: 10px;
21 grid-template-columns: repeat(
22 auto-fill,
23 minmax(150px, 1fr)
24 );
25 }
26
27 .tableberg_icon_library_item {
28 display: flex;
29 justify-content: center;
30 align-items: center;
31 height: 70px;
32 flex-direction: column;
33 svg {
34 width: 24px;
35 }
36 &:focus {
37 border: 1px solid #000;
38 }
39
40 &:hover {
41 border: 1px solid #000;
42 }
43 }
44 }
45 }
46
47 .tableberg_icons_library_sidebar {
48 position: sticky;
49 top: 0;
50
51 .tableberg_icons_library_sidebar_item_group {
52 overflow-y: auto;
53 padding: 10px;
54 max-height: calc(90vh - 155px);
55
56 .tableberg_icons_library_sidebar_item
57 > .components-menu-item__item {
58 width: 100%;
59 display: flex;
60 flex-direction: row;
61 justify-content: space-between;
62 }
63 }
64 }
65 }
66 }
67
68 /**Media query***/
69
70 $small: 600px;
71
72 @media (max-width: $small) {
73 .components-modal__content {
74 padding: 0 32px 32px 32px !important;
75 overflow: auto;
76 .tableberg_icons_library {
77 display: grid;
78 grid-template-columns: repeat(1, 1fr);
79 .tableberg_icons_library_sidebar {
80 position: relative;
81 }
82 .tableberg_icon_library_content {
83 max-height: 100% !important;
84 }
85 }
86 }
87 }
88 }
89
90 .tableberg_icons_library_mini {
91 .components-input-control.components-search-control {
92 margin-bottom: 0 !important;
93 }
94 .tableberg_icons_providers {
95 display: flex;
96 gap: 5px;
97
98 button {
99 border: 1px solid #e7e7e7;
100 border-radius: 3px;
101 padding: 4px;
102 }
103 }
104
105 .tableberg_icons_library_mini_icons {
106 display: flex;
107 flex-wrap: wrap;
108 justify-content: space-between;
109 gap: 3px;
110 overflow: auto;
111
112 .tableberg_min_icon_library_item {
113 padding: 2px;
114
115 svg {
116 height: 20px;
117 width: 20px;
118 }
119 }
120 }
121 }
122