All language subtitles for 6. A Touch of Styling

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,570 --> 00:00:04,180 Now you've got some navigation elements at the very top. 2 00:00:04,180 --> 00:00:08,920 Let's add in some better styling to make these things look just a little bit better to get some styling 3 00:00:08,920 --> 00:00:09,940 inside of our application. 4 00:00:09,940 --> 00:00:13,240 We're going to be making use of you guessed it semantic UI. 5 00:00:13,240 --> 00:00:15,470 We have not yet installed this into our project. 6 00:00:15,490 --> 00:00:21,380 Let's install semantic UI right now in wired up in the same way that we previously wired up Bouma to 7 00:00:21,430 --> 00:00:21,960 get started. 8 00:00:21,970 --> 00:00:29,020 I'm gonna go over to my terminal and inside my project directory I'm going to run npm install semantic 9 00:00:29,380 --> 00:00:40,140 dash UI dash CSX I will run that command and then after a very brief pause I'll get kicked back over 10 00:00:40,140 --> 00:00:44,470 to my terminal window or see me to my command line once again. 11 00:00:44,480 --> 00:00:48,440 Now let's go back over to our Ed and we're going to wire up semantic UI. 12 00:00:48,740 --> 00:00:54,770 Remember by just installing a CSX library that doesn't actually add any CSX inherently to our project 13 00:00:55,190 --> 00:01:00,650 you have to actually connect that CSX file or imported into our global style's dot CSX file. 14 00:01:01,250 --> 00:01:05,450 But before we do so we have to take a look at the semantic UI directory. 15 00:01:05,510 --> 00:01:10,910 It was just added in to our node modules and inside that node modules folder we have to find where the 16 00:01:10,910 --> 00:01:22,460 actual CSX file is the inside of node modules going to scroll down until I find semantic UI CSX so somewhere 17 00:01:22,490 --> 00:01:27,100 inside of here looks like I'm not getting the folder right away. 18 00:01:27,150 --> 00:01:32,130 That's once again because my code editor is going to reload the window really quickly which should refresh 19 00:01:32,560 --> 00:01:34,930 that directory. 20 00:01:35,000 --> 00:01:37,520 And so now inside of here there we go. 21 00:01:37,520 --> 00:01:44,700 Semantic UI CSX then inside of this directory I'll see that right away at the very top level folder. 22 00:01:44,710 --> 00:01:50,390 I've got a semantic dot CSX file that is the file that we want to import into our project. 23 00:01:50,610 --> 00:01:52,410 Go inside my style's dot CSX file. 24 00:01:52,420 --> 00:01:54,870 I'll add in import or at import. 25 00:01:54,870 --> 00:02:06,400 Make sure you get the at on and then semantic UI CSX flash semantic dot CSX well then save that. 26 00:02:06,540 --> 00:02:10,860 I'll go back over to my browser and then right away I should see that everything looks just a little 27 00:02:10,860 --> 00:02:16,850 bit different which is a sign that we have now successfully loaded up semantic UIC SS and we can go 28 00:02:16,850 --> 00:02:21,590 back into our app component and add in a little additional HDMI elements inside there in some different 29 00:02:21,590 --> 00:02:28,820 class names to get some better styling on this navigation bar right here but to get started I'll go 30 00:02:28,820 --> 00:02:30,850 back over to my app component template file 31 00:02:34,150 --> 00:02:42,830 at the very top I can add in a div with a class of UI container and close it off inside there I'll add 32 00:02:42,830 --> 00:02:49,650 in a div with a class of UI secondary pointing menu and then close it off. 33 00:02:51,110 --> 00:02:56,420 And then inside of that div I'm going to cut and paste the two anchor tags that we've just created. 34 00:02:56,420 --> 00:02:59,120 I'm going to cut and paste both those into that div 35 00:03:02,130 --> 00:03:03,870 then on both these anchor tags. 36 00:03:03,960 --> 00:03:05,970 I'm going to add in a class of item 37 00:03:10,070 --> 00:03:15,940 and I'll save this actually excuse me one less l think you're right underneath the secondary menu so 38 00:03:16,060 --> 00:03:17,650 right above the closing div right there. 39 00:03:17,650 --> 00:03:20,500 I'll add in one more div. 40 00:03:20,720 --> 00:03:30,530 I'm gonna give that a class of UI segment and then I'll move the router outlet inside their now whenever 41 00:03:30,560 --> 00:03:36,950 the router decides on what component to show it'll be placed inside of that div automatically it let's 42 00:03:36,950 --> 00:03:40,140 say this lot back over and see how we're doing. 43 00:03:40,200 --> 00:03:42,370 All right let's say it looks pretty good. 44 00:03:42,370 --> 00:03:47,180 Remember I run my browser very far zoomed in so you probably see something like this right here. 45 00:03:47,200 --> 00:03:52,880 Now I can navigate between these two links and the content visible on the screen changes automatically. 46 00:03:52,890 --> 00:03:56,320 All right well that looks pretty good now definitely looks good. 47 00:03:56,320 --> 00:04:02,530 But there's one last thing you'll notice that back on the navigation bar over here the current link 48 00:04:02,530 --> 00:04:06,940 or the current page that we are visiting is supposed to be bolded and I think that'll be a nice little 49 00:04:06,940 --> 00:04:08,140 addition to add in. 50 00:04:08,140 --> 00:04:13,050 I want to make sure that whenever I'm at the elements route I bold or something like that. 51 00:04:13,120 --> 00:04:17,410 The subtle elements link right there ending with collections as well. 52 00:04:17,410 --> 00:04:22,180 Let's take one more pause and figure out how we can add in some conditional styling based upon our current 53 00:04:22,240 --> 00:04:23,680 U.R.L. in the next video. 5914

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.