Commit 65d5093f authored by Simonas's avatar Simonas

Merge branch 'contacts-page' into dev

parents 904a650b 57ce376c
PROJECT=dev-biuro PROJECT=dev-biuro
IMAGE_NGINX=nginx:1.15.7 IMAGE_NGINX=nginx:1.15.7
# IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3 IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=wordpress:php7.2-fpm IMAGE_WORDPRESS=wordpress:php7.2-fpm
......
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
- check if dev.biuro.lt, dev.biuro.lv, dev.biuro.ee works - check if dev.biuro.lt, dev.biuro.lv, dev.biuro.ee works
### DB backup ### DB backup
- `C:\web\dev.biuro> docker exec -i dev-biuro-mysql mysqldump -udev_user -pY6V6bFkD6@GyD!wTShgFmWz! --default-character-set=utf8 dev_biuro > docker/mariadb/data-001.sql` - `C:\web\dev.biuro> docker exec -i dev-biuro-mysql mysqldump -udev_user -pY6V6bFkD6@GyD!wTShgFmWz! --default-character-set=utf8 dev_biuro > docker/mariadb/data-002.sql`
### DB restore ### DB restore
- `C:\web\dev.biuro> docker exec -i dev-biuro-mysql mysql -udev_user -pY6V6bFkD6@GyD!wTShgFmWz! --default-character-set=utf8 dev_biuro < docker/mariadb/data-000.sql` - `C:\web\dev.biuro> docker exec -i dev-biuro-mysql mysql -udev_user -pY6V6bFkD6@GyD!wTShgFmWz! --default-character-set=utf8 dev_biuro < docker/mariadb/data-001.sql`
## Development ## Development
- `C:\web\dev.biuro\ npm install` - `C:\web\dev.biuro\ npm install`
......
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIGGDCCBQCgAwIBAgISA2WmFmvfJcoDdgPycjmHERg8MA0GCSqGSIb3DQEBCwUA MIIFdTCCBF2gAwIBAgISAx3DpW3B2YYmavHTM+Jl9wTCMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0M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AurLB5TZlS7dMbOvICDc8rVtBYSoSipyGPkHSYG9/WODANBgkqhkiG Y5xJgN/w6CvVljtQms6RLTB4axGOK1Ef+V2onoTxFgHvP0TBaeYpPbh2R8zvATXL
9w0BAQsFAAOCAQEABWWYPmE6boetZOR7GfpcKRLwlynr5wYUTU3cFlEftZ8LyHBE oy5VzRxYZylLmQLZgXNQy2hjvkwmsSnahKhZn1iUAKDCwYbSstyBn2f15LrJdvOc
mxVlqVOooCZGFgYXpVufOuUikH+UgFe0ihn79BDm5Miflc+oxev5+8bSbRAmCCpO e+M/nbV7M/fEAOf+Y8oy1Bokt0Kww8wUGtFs8jmd4KZTsPsQfgY3tDpy+vLRSnHk
s+6q3PoulEXNGAJ0NUIzebFGVdSTIJ3uCbEzeX3j/7ECglBbKxexLoEgSqraptMJ 5Ql1KxbEETDZ
MoTRjWFC+o3L09PzPO/y0nub+x7IR+1w//c8FdheYSV7kyA0p28228vr2POdCGiR
aARruPALo2IR0XnHqkiYKp0bikgIeiJjmnDaAnZyMIHkPXHLzZncHkcdzmT1SPCw
bHd+bNDqHLPWXCLWspr2o+2i3+JX55le+TMT2Q==
-----END CERTIFICATE----- -----END CERTIFICATE-----
-----BEGIN PRIVATE KEY----- -----BEGIN PRIVATE KEY-----
MIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQDDPx80S8O32LHh MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCYjXllw5OLY2bc
RIdUFljmtGRoFBavnqn6NRA0uzH9Xf7sRJ3O+55WXSSsVu8ADoXWQ0AAyUeYRGxO vPUkdFP2PvjKl7hBhicbhrDPRiA5Tti8tkESI1cBgd5KsgnolWGqDO4UKE98neao
TUyB9M0Gh0/3utFloDtpS3Rd3F+b9xZ6vrs7IRfo2zq+NPDeTN+ROaZ3Gar0ivTP Ti50Iw/muoJPuoDvgZgbiyKyJ6+Lqy04HtJKFyx3tpMpca6PZGypCeFAQOmgdX7s
W2M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 1zzx1NviXp9Na0uHlgjY5w20DjiVGF7nWNo32XMhpIyeh+jDAcPZRxTYfQKBgE5r
GCjzW+ldPUBjqvMA/9KYNyC7a0oKbi6g6l/g8z9VyNwz8X2wfnzCG3PadJsUCWVw JMgBUW1UrQGlQ6DpWltrcEhbsiV7BPm+DBgJACFh/iDoJw5s0ZqjT600runwIfk+
3fXC+GleTrZjJZlh2b8/sm9y3MpFl2JN8auY6NERaz43rZgvb3MwQkYutHfcrDfd //vRlDC0TYGdLh8nMZ0wg/P2AM1bEllgwpPKyZxBI0D0caFfyKEry2jL9+51tt2F
JOD+eKc4Oa/l5g3LcOHt9/KyTlGWs70jsVNcPQKBgCyeV+b27zcITG6r8CosigIU 25JcyqRl894jDoltEJO9rkvJfSjOKGiO5NmVdktNAoGBAI7xH+xY9gv4FPwUN9+r
YkPhIsyYxXbVmnp2Tn/kamuoQzgX6n9/FqtncaWKvFJD2ZpQsKext97dXVZkgRua EqrvO0RfoQVxJqL56caKBm7QbRrq54zSFhjre4CVoquBghlwQ7Jck75o3F+oEsPK
wpmTiNjCGsglHbriPB9TQ2RmLQwkbpVoN6JegLgpoSUTJ2XlKiDOjb6+BPtOK0HU +9bH6BRFvJWRaiHFxP6d3ZGwY+ZI1hnMF+00RsmSCPUwJjqXbyuIO2WiALsa1KJu
h5kyqRSow2Pu+wKJxIm/ LswlHkO3Gj4ljmxnbUC8gb2T
-----END PRIVATE KEY----- -----END PRIVATE KEY-----
...@@ -15,8 +15,6 @@ services: ...@@ -15,8 +15,6 @@ services:
- ./certs:/etc/letsencrypt - ./certs:/etc/letsencrypt
- ./certs-data:/data/letsencrypt - ./certs-data:/data/letsencrypt
- ./wp-content/themes/biuro/:/var/www/html/wp-content/themes/biuro
- ./wp-content/plugins/cookies-warning:/var/www/html/wp-content/plugins/cookies-warning - ./wp-content/plugins/cookies-warning:/var/www/html/wp-content/plugins/cookies-warning
- ./wp-content/plugins/data-controller:/var/www/html/wp-content/plugins/data-controller - ./wp-content/plugins/data-controller:/var/www/html/wp-content/plugins/data-controller
- ./wp-content/plugins/jobs-importer:/var/www/html/wp-content/plugins/jobs-importer - ./wp-content/plugins/jobs-importer:/var/www/html/wp-content/plugins/jobs-importer
...@@ -26,6 +24,7 @@ services: ...@@ -26,6 +24,7 @@ services:
- ./wp-content/plugins/polylang:/var/www/html/wp-content/plugins/polylang - ./wp-content/plugins/polylang:/var/www/html/wp-content/plugins/polylang
- ./wp-content/plugins/wordpress-seo:/var/www/html/wp-content/plugins/wordpress-seo - ./wp-content/plugins/wordpress-seo:/var/www/html/wp-content/plugins/wordpress-seo
- ./wp-content/themes/biuro/:/var/www/html/wp-content/themes/biuro
- ./wp-content/uploads:/var/www/html/wp-content/uploads - ./wp-content/uploads:/var/www/html/wp-content/uploads
- ./wordpress:/var/www/html - ./wordpress:/var/www/html
......
This diff is collapsed.
...@@ -36,6 +36,13 @@ server { ...@@ -36,6 +36,13 @@ server {
ssl_certificate_key /etc/letsencrypt/biuro.lt/privkey.pem; ssl_certificate_key /etc/letsencrypt/biuro.lt/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/biuro.lt/ca-bundle.pem; ssl_trusted_certificate /etc/letsencrypt/biuro.lt/ca-bundle.pem;
# ssl_protocols TLSv1.2 TLSv1.3;
# ssl_ciphers EECDH+CHACHA20:EECDH+AES;
# # (1)
# ssl_ecdh_curve X25519;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
# ssl_prefer_server_ciphers on; # ssl_prefer_server_ciphers on;
# ssl_ciphers 'TLS-CHACHA20-POLY1305-SHA256:TLS-AES-256-GCM-SHA384:TLS-AES-128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256'; # ssl_ciphers 'TLS-CHACHA20-POLY1305-SHA256:TLS-AES-256-GCM-SHA384:TLS-AES-128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
...@@ -45,14 +52,72 @@ server { ...@@ -45,14 +52,72 @@ server {
access_log /var/log/nginx/access.log; access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;
#
gzip on; gzip on;
gzip_comp_level 5;
gzip_min_length 1024;
gzip_proxied any;
gzip_vary on; gzip_vary on;
gzip_min_length 10240; gzip_types
gzip_proxied expired no-cache no-store private auth; application/atom+xml
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; application/javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-javascript text/xml
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
application/xml+rss text/javascript
font/opentype
image/svg+xml
image/x-icon
text/css
text/plain
text/x-component;
gzip_disable "MSIE [1-6]\."; gzip_disable "MSIE [1-6]\.";
# brotli on;
# brotli_comp_level 6;
# brotli_types application/eot application/x-otf application/font application/x-perl application/font-sfnt application/x-ttf application/javascript
# font/eot application/json font/ttf application/opentype font/otf application/otf font/opentype application/pkcs7-mime image/svg+xml
# application/truetype text/css application/ttf text/csv application/vnd.ms-fontobject text/html application/xhtml+xml text/javascript
# application/xml text/js application/xml+rss text/plain application/x-font-opentype text/richtext application/x-font-truetype
# text/tab-separated-values application/x-font-ttf text/xml application/x-httpd-cgi text/x-script application/x-javascript
# text/x-component application/x-mpegurl text/x-java-source application/x-opentype
# ;
#
# Expire rules for static content
# https://serversforhackers.com/c/nginx-caching
# https://github.com/h5bp/server-configs-nginx
# cache.appcache, your document html and data
location ~* \.(?:manifest|appcache|html?|xml|json)$ {
expires -1;
# access_log logs/static.log; # I don't usually include a static log
}
# Feed
location ~* \.(?:rss|atom)$ {
expires 1h;
add_header Cache-Control "public";
}
# Media: images, icons, video, audio, HTC
location ~* \.(?:webp|jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
expires 6M;
access_log off;
add_header Cache-Control "public";
}
# CSS and Javascript
location ~* \.(?:css|js)$ {
expires 1y;
access_log off;
add_header Cache-Control "public";
}
location / { location / {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
......
...@@ -5847,6 +5847,16 @@ ...@@ -5847,6 +5847,16 @@
} }
} }
}, },
"gulp-cached": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/gulp-cached/-/gulp-cached-1.1.1.tgz",
"integrity": "sha1-/nzU+H83YB5gc8/t7lwr2vi2rM4=",
"dev": true,
"requires": {
"lodash.defaults": "^4.2.0",
"through2": "^2.0.1"
}
},
"gulp-html-tag-include": { "gulp-html-tag-include": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/gulp-html-tag-include/-/gulp-html-tag-include-1.0.1.tgz", "resolved": "https://registry.npmjs.org/gulp-html-tag-include/-/gulp-html-tag-include-1.0.1.tgz",
...@@ -7389,6 +7399,12 @@ ...@@ -7389,6 +7399,12 @@
"integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=",
"dev": true "dev": true
}, },
"lodash.defaults": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz",
"integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw=",
"dev": true
},
"lodash.escape": { "lodash.escape": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz", "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.2.0.tgz",
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"scripts": { "scripts": {
"pre": "shx rm -rf wp-content/themes/biuro && shx mkdir -p wp-content/themes/biuro/js && shx mkdir -p wp-content/themes/biuro/css && shx mkdir -p wp-content/themes/biuro/i && shx mkdir -p wp-content/themes/biuro/fonts", "pre": "shx rm -rf wp-content/themes/biuro && shx mkdir -p wp-content/themes/biuro/js && shx mkdir -p wp-content/themes/biuro/css && shx mkdir -p wp-content/themes/biuro/i && shx mkdir -p wp-content/themes/biuro/fonts",
"dev-old": "npm run pre & gulp --require @babel/register --gulpfile tasks", "dev-old": "npm run pre & gulp --require @babel/register --gulpfile tasks",
"dev": "gulp --require @babel/register --gulpfile tasks", "dev": "SET NAME=biuro & gulp --require @babel/register --gulpfile tasks",
"build-old": "npm run pre & SET NODE_ENV=production & gulp build --require @babel/register --gulpfile tasks" "build-old": "npm run pre & SET NAME=biuro & SET NODE_ENV=production & gulp build --require @babel/register --gulpfile tasks"
}, },
"author": "Simon", "author": "Simon",
"devDependencies": { "devDependencies": {
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
"eslint-plugin-promise": "^4.0.1", "eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0", "eslint-plugin-standard": "^4.0.0",
"gulp": "^4.0.0", "gulp": "^4.0.0",
"gulp-cached": "^1.1.1",
"gulp-html-tag-include": "^1.0.1", "gulp-html-tag-include": "^1.0.1",
"gulp-htmlmin": "^5.0.1", "gulp-htmlmin": "^5.0.1",
"gulp-inline-source": "^4.0.0", "gulp-inline-source": "^4.0.0",
......
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
/* critical:start */ /* critical:start */
:root { :root {
--color--light-orange: #ebe6de;
--color--dark-orange: #8f4a3f;
--color--gray: #4d4d4d; --color--gray: #4d4d4d;
--color--green: #006957;
} }
/* critical:end */ /* critical:end */
...@@ -5,9 +5,9 @@ Layout styles (e.g. container, header, main, footer, grid systems etc) ...@@ -5,9 +5,9 @@ Layout styles (e.g. container, header, main, footer, grid systems etc)
l-: layout classes l-: layout classes
========================================================================== */ ========================================================================== */
@import '_layout--container.css'; /*@import '_layout--container.css';*/
@import '_layout--header.css'; /*@import '_layout--header.css';*/
@import '_layout--main.css'; /*@import '_layout--main.css';*/
@import '_layout--nav.css'; /*@import '_layout--nav.css';*/
@import '_layout--aside.css'; /*@import '_layout--aside.css';*/
@import '_layout--footer.css'; @import '_layout--footer.css';
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
/* critical:start */ /* critical:start */
.l-footer { } .l-footer { clear: both; }
/* critical:end */ /* critical:end */
.l-footer { min-height: 160px; }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* critical:start */ /* critical:start */
/*.o-nav { margin: 0; padding: 0; list-style: none; }*/ .o-nav { margin: 0; padding: 0; list-style: none; }
/*.o-nav--item { display: block; }*/ /*.o-nav--item { display: block; }*/
......
...@@ -6,8 +6,10 @@ rich design UI styling. Class names here are more specific. This layer usually h ...@@ -6,8 +6,10 @@ rich design UI styling. Class names here are more specific. This layer usually h
c-: Signify that something is a Component. This is a concrete, implementation-specific piece of UI. All of the changes you make to its styles should be detectable in the context you’re currently looking at. Modifying these styles should be safe and have no side effects. c-: Signify that something is a Component. This is a concrete, implementation-specific piece of UI. All of the changes you make to its styles should be detectable in the context you’re currently looking at. Modifying these styles should be safe and have no side effects.
========================================================================== */ ========================================================================== */
@import '_component--agencies.css';
@import '_component--cookies-warning.css'; @import '_component--cookies-warning.css';
@import '_component--data-controller.css'; @import '_component--data-controller.css';
@import '_component--job.css';
/* /*
@import '_component--nav.css'; @import '_component--nav.css';
......
/* ------------- Component: agencies ------------- */
/* critical:start */
/* critical:end */
.c-agencies--list { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
.c-agencies--list-item { margin-right: 10px; padding: 0 12px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.is-agencies--list-item-active { background: #ccc; font-weight: 700; }
/* ------------- Component: job ------------- */
/* critical:start */
/* critical:end */
/*.c-job--title { } */
#custom {
.biuro-title { margin: 0 0 20px; padding: 10px; font-size: calc(1.125rem + ((1vw - 3.2px) * 0.8929)); border: 2px solid var(--color--green); border-radius: 12px;
@media (--min--small) {
border-width: 3px; margin: 0 0 30px; padding: 20px; font-size: 22px;
}
h1 { margin: 0; padding: 0; line-height: 1.2; color: var(--color--green); font-weight: 700; overflow: hidden; text-align: center; text-transform: uppercase }
}
}
/*
#custom .biuro-title{
padding: 20px 0;
font-size: 22px;
}
#custom .biuro-title h1 {
color:#006957;
font-weight:700;
overflow:hidden;
text-align:center;
text-transform:uppercase
}*/
/*
@media (min-width:768px){
#custom .biuro-title{
border: 4px solid #006957;
border-radius: 12px;
padding: 20px;
}
}
@media (min-width:768px){
#custom .biuro-title{
margin: 0 0 30px;
padding:20px;
}
#custom .biuro-title h1 { margin: 0; padding: 0; line-height: 1.2; }
}
*/
...@@ -61,6 +61,14 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test ...@@ -61,6 +61,14 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test
/* critical:end */ /* critical:end */
@import '01-settings/__settings.css';
@import '02-tools/__tools.css';
@import '05-layout/__layout.css';
@import '06-objects/__objects.css';
@import '07-components/__components.css'; @import '07-components/__components.css';
@import '10-trumps/__utils.css'; @import '10-trumps/__utils.css';
...@@ -84,12 +92,11 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test ...@@ -84,12 +92,11 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test
max-width:956px max-width:956px
} }
#custom .biuro-title{ /* #custom .biuro-title{
margin: 0 0 30px; margin: 0 0 30px;
padding:20px; padding:20px;
} }
#custom .biuro-title h1 { margin: 0; padding: 0; line-height: 1.2; } #custom .biuro-title h1 { margin: 0; padding: 0; line-height: 1.2; }*/
} }
@media (min-width:980px){ @media (min-width:980px){
#main{ #main{
...@@ -113,11 +120,11 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test ...@@ -113,11 +120,11 @@ qa-: Signify that a QA or Test Engineering team is running an automated UI test
} }
} }
.l-footer{ /*.l-footer{
clear:both; clear:both;
/*border-top:1px solid #ababab;*/ border-top:1px solid #ababab;
/*padding:10px 0 20px 17px*/ padding:10px 0 20px 17px
} }*/
/* critical:end */ /* critical:end */
...@@ -614,7 +621,8 @@ button,input,select,textarea{ ...@@ -614,7 +621,8 @@ button,input,select,textarea{
margin:0 22px 0 0; margin:0 22px 0 0;
border:1px solid #E1E1E1; border:1px solid #E1E1E1;
padding:7px; padding:7px;
cursor:pointer cursor:pointer;
text-decoration:none
} }
#content .search_box .filter-button:hover{ #content .search_box .filter-button:hover{
background:#eee background:#eee
...@@ -932,7 +940,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -932,7 +940,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
padding:0 6px; padding:0 6px;
float:left float:left
} }
#content ul a,#top .country li a:hover{ #content ul:not([class]) a,#top .country li a:hover{
text-decoration:underline text-decoration:underline
} }
#top .country li a.act{ #top .country li a.act{
...@@ -1022,16 +1030,22 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1022,16 +1030,22 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
#cv-success,#cv-success p{ #cv-success,#cv-success p{
color:#393 color:#393
} }
#content ul{ #content ul:not([class]){
padding:0 0 15px; padding:0 0 15px;
display:block display:block
} }
#content ul li,#content ul.table li{ #content ul:not([class]) li,
background:url(../_img/list_dot.gif) 0 9px no-repeat; #content ul.table li{
position: relative;
/*background:url(../_img/list_dot.gif) 0 9px no-repeat;*/
padding:0 0 5px 25px; padding:0 0 5px 25px;
display:block display:block
} }
#content ul a:hover,.advert_page .container a:hover{ #content ul:not([class]) li:before,
#content ul.table li:before { content: ''; position: absolute; top: 9px; left: 1px; width: 4px; height: 4px; border-radius: 50%; background: #4b4d4f; }
#content ul:not([class]) a:hover,.advert_page .container a:hover{
text-decoration:none text-decoration:none
} }
#content ol{ #content ol{
...@@ -1063,32 +1077,15 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1063,32 +1077,15 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
#sidebar #menu>li ul li a{ #sidebar #menu>li ul li a{
text-transform:none text-transform:none
} }
#custom .biuro-title h1,#topsearch #top-search-form label,.advert_page .container h2{ /*#custom .biuro-title h1,*/
#topsearch #top-search-form label,.advert_page .container h2{
text-align:center; text-align:center;
text-transform:uppercase text-transform:uppercase
} }
#content p{ #content p{
padding-bottom:16px padding-bottom:16px
} }
#content ul#city-list{
margin-bottom:10px
}
#content ul#city-list li{
background:0 0;
float:left;
padding:0;
margin-right:10px;
line-height:1.5;
font-weight:400;
cursor:pointer
}
#content ul#city-list li span{
padding:0 12px
}
#content ul#city-list li.act{
font-weight:700;
background:#ccc
}
.hidden-coords{ .hidden-coords{
display:none display:none
} }
...@@ -1365,7 +1362,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1365,7 +1362,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
display:block display:block
} }
.advert_page .container ol li,.advert_page .container ul li{ .advert_page .container ol li,.advert_page .container ul li{
background:url(../_img/list_dot.gif) 35px 8px no-repeat; /*background:url(../_img/list_dot.gif) 35px 8px no-repeat;*/
padding:0 0 0 70px; padding:0 0 0 70px;
display:block display:block
} }
...@@ -1409,7 +1406,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1409,7 +1406,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
width:133px; width:133px;
margin:0 auto 20px margin:0 auto 20px
} }
#custom .biuro-title{ /*#custom .biuro-title{
padding: 20px 0; padding: 20px 0;
font-size: 22px; font-size: 22px;
} }
...@@ -1417,7 +1414,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1417,7 +1414,7 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
color:#006957; color:#006957;
font-weight:700; font-weight:700;
overflow:hidden overflow:hidden
} }*/
#custom .biuro-ti-img{ #custom .biuro-ti-img{
display:none display:none
} }
...@@ -1573,17 +1570,14 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1573,17 +1570,14 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
#custom .biuro-header .logo{ #custom .biuro-header .logo{
margin:0 20px 24px 0 margin:0 20px 24px 0
} }
#custom .biuro-title{ /* #custom .biuro-title{
border: 4px solid #006957; border: 4px solid #006957;
border-radius: 12px; border-radius: 12px;
padding: 20px; padding: 20px;
/*margin: 0 0 30px;*/ }*/
/*padding:20px;*/
}
/*#custom .biuro-title h1 { margin: 0; padding: 0; line-height: 1.2; }*/
} }
@media (min-width:980px){ @media (min-width:980px){
#content h2,#content h3,#content ul{ #content h2,#content h3,#content ul:not([class]){
text-align:justify text-align:justify
} }
...@@ -1638,10 +1632,11 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]: ...@@ -1638,10 +1632,11 @@ button::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=button]:
margin:15px 50px; margin:15px 50px;
font-size:24px font-size:24px
} }
#content ul li{ #content ul:not([class]) li{
padding:0 0 5px 45px; padding:0 0 5px 45px;
background-position:20px 9px
} }
#content ul:not([class]) li:before { left: 21px; }
#topsearch{ #topsearch{
float:left; float:left;
margin:47px 0 10px 114px; margin:47px 0 10px 114px;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment