Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b275954

Browse files
committed
Pridani modifikatoru a stavu - bordered, active atd.
1 parent d82bc58 commit b275954

File tree

5 files changed

+28
-152
lines changed

5 files changed

+28
-152
lines changed

‎css/style.css‎

Lines changed: 10 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,11 +1451,14 @@ Foot - stara paticka
14511451
.inline-list__item--three-stars {
14521452
font-weight: bold;
14531453
}
1454+
.inline-list__item.active,
14541455
.inline-list__item:hover,
14551456
.inline-list__item:focus,
14561457
.inline-list__item:active {
14571458
background-color: #eee;
14581459
text-decoration: underline;
1460+
cursor: pointer;
1461+
border: 1px solid #ddd;
14591462
}
14601463
/* # Modul Velka polozka seznamu
14611464
@@ -1465,7 +1468,7 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
14651468
.list_item {
14661469
position: relative;
14671470
padding: 9px 0;
1468-
border-bottom: 1px solid #ddd;
1471+
border: 1px solid transparent;
14691472
color: #66;
14701473
-webkit-box-sizing: border-box;
14711474
box-sizing: border-box;
@@ -1551,74 +1554,25 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
15511554
.list_item.without_border {
15521555
border-bottom: 0;
15531556
}
1557+
.list_item.bordered {
1558+
border: 1px solid #ddd;
1559+
}
1560+
.list_item.active,
15541561
.list_item:hover,
15551562
.list_item:focus,
15561563
.list_item:active {
15571564
background-color: #eee;
15581565
cursor: pointer;
15591566
color: #333;
1567+
border: 1px solid #ddd;
15601568
}
1569+
.list_item.active h2 a,
15611570
.list_item:hover h2 a,
15621571
.list_item:focus h2 a,
15631572
.list_item:active h2 a {
15641573
color: #075207;
15651574
text-decoration: underline;
15661575
}
1567-
@media only screen and (min-width: 1180px) {
1568-
.list_item .image {
1569-
width: auto;
1570-
float: none;
1571-
height: 215px;
1572-
overflow: hidden;
1573-
margin-bottom: 12px;
1574-
margin-right: 0;
1575-
}
1576-
.list_item .image img {
1577-
width: 100%;
1578-
}
1579-
.container .list_item h2 {
1580-
font-size: 16px;
1581-
line-height: 20px;
1582-
margin-bottom: 0;
1583-
}
1584-
.list_item .price {
1585-
position: absolute;
1586-
top: 200px;
1587-
right: 3px;
1588-
}
1589-
.list_item .list_item_content {
1590-
float: none;
1591-
width: auto;
1592-
}
1593-
.list_item .text_content {
1594-
position: relative;
1595-
height: 133px;
1596-
overflow: hidden;
1597-
}
1598-
.list_item .icon {
1599-
top: -15px;
1600-
left: -5px;
1601-
}
1602-
.list_item:hover,
1603-
.list_item:focus,
1604-
.list_item:active {
1605-
background-color: #f4f4f4;
1606-
cursor: pointer;
1607-
}
1608-
.list_item.is_lower {
1609-
height: 288px;
1610-
}
1611-
.list_item.without_image {
1612-
height: 186px;
1613-
}
1614-
.list_item.without_image.without_text {
1615-
height: 113px;
1616-
}
1617-
.list_item.without_image.without_text .price {
1618-
top: 55px;
1619-
right: -6px;
1620-
}
1621-
}
16221576
.discount_in_list_item {
16231577
position: absolute;
16241578
bottom: 17px;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /