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 7c74834

Browse files
committed
List Item - added .js context
1 parent dfea053 commit 7c74834

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

‎css/style.css‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ Foot - stara paticka
14641464
cursor: pointer;
14651465
border: 1px solid #ddd;
14661466
}
1467-
/* # Modul Velka polozka seznamu
1467+
/* # Komponenta Velka polozka seznamu
14681468
14691469
Napr. seznamy ubytovatelu, pobytu, last-minute atd.
14701470
@@ -1525,8 +1525,7 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
15251525
margin-bottom: 0;
15261526
}
15271527
.list-item .content h2 {
1528-
font-size: 14px;
1529-
line-height: 18px;
1528+
font-size: 120%;
15301529
margin-bottom: 0;
15311530
}
15321531
@media only screen and (min-width: 768px) {
@@ -1563,6 +1562,12 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
15631562
color: #075207;
15641563
text-decoration: underline;
15651564
}
1565+
.js .list-item.active,
1566+
.js .list-item:hover,
1567+
.js .list-item:focus,
1568+
.js .list-item:active {
1569+
background-color: #dedede;
1570+
}
15661571
/*
15671572
15681573
Ceny, datumy - velke "cenovky"

‎css/style.css.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎index.html‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22

3-
<html lang="cs">
3+
<html lang="cs"class="no-js">
44

55
<head>
66
<meta charset="UTF-8">
@@ -13,6 +13,11 @@
1313

1414
<meta content="Nejteplejší a nejúrodnější oblast u nás, kde si na své přijdou jak milovníci přírodních krás, tak zájemci o kulturní bohatství. V tomto nížinatém kraji naleznete sice jen malé kopce, ale zato vás čeká příležitost ke koštování vína a seznámení s dávnými lidovými zvyky a tradicemi." name="description">
1515

16+
<script>
17+
document.documentElement.className =
18+
document.documentElement.className.replace("no-js","js");
19+
</script>
20+
1621
</head>
1722

1823
<body>

‎less/components/list-item.less‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* # Modul Velka polozka seznamu
1+
/* # Komponenta Velka polozka seznamu
22
33
Napr. seznamy ubytovatelu, pobytu, last-minute atd.
44
@@ -66,8 +66,7 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
6666
}
6767

6868
h2 {
69-
font-size: 14px;
70-
line-height: 18px;
69+
font-size: 120%;
7170
margin-bottom: 0;
7271
}
7372
}
@@ -110,4 +109,12 @@ Napr. seznamy ubytovatelu, pobytu, last-minute atd.
110109
color: darken(@color-alpha, 20%);
111110
text-decoration: underline;
112111
}
112+
113+
// Funkcnost s povolenym JS
114+
115+
.js & {
116+
background-color: #dedede;
117+
}
113118
}
119+
120+

0 commit comments

Comments
(0)

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