Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Commit 2ca3254

Browse files
committed
changed to more elegant emtpy selector message
1 parent 4877094 commit 2ca3254

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

assets/css/selector.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
.selector {}
22

3-
.mainbar .form .selector .message {
4-
margin-top: 0;
5-
}
6-
7-
.mainbar .form .selector .message-content {
8-
padding: .6em;
9-
line-height: 1.6em;
10-
color: #000;
11-
background: #ddd;
12-
cursor: default;
13-
}
14-
153
.selector .item-image {
164
border-right: 1px solid #efefef;
175
}

template.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969

7070
</div>
7171
<?php else: ?>
72-
<div class="message">
73-
<span class="message-content"><?= l::get('selector.empty') ?></span>
72+
<div class="field field-is-readonly field-with-icon">
73+
<div class="field-content">
74+
<input class="input input-is-readonly" type="text" readonly="" placeholder="" value="<?= l::get('selector.empty') ?>">
75+
<div class="field-icon">
76+
<i class="icon fa fa-info"></i>
77+
</div>
7478
</div>
79+
</div>
7580
<?php endif ?>

0 commit comments

Comments
 (0)