{"action":"created","issue":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/823","labels_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/823/comments","events_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/823/events","html_url":"https://github.com/bem/bem-forum-content-ru/issues/823","id":128318092,"number":823,"title":"Переопределение свойств блока select по модификатору","user":{"login":"Sergei-b84","id":6197968,"avatar_url":"https://avatars.githubusercontent.com/u/6197968?v=3","gravatar_id":"","url":"https://api.github.com/users/Sergei-b84","html_url":"https://github.com/Sergei-b84","followers_url":"https://api.github.com/users/Sergei-b84/followers","following_url":"https://api.github.com/users/Sergei-b84/following{/other_user}","gists_url":"https://api.github.com/users/Sergei-b84/gists{/gist_id}","starred_url":"https://api.github.com/users/Sergei-b84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sergei-b84/subscriptions","organizations_url":"https://api.github.com/users/Sergei-b84/orgs","repos_url":"https://api.github.com/users/Sergei-b84/repos","events_url":"https://api.github.com/users/Sergei-b84/events{/privacy}","received_events_url":"https://api.github.com/users/Sergei-b84/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/labels/bem-components","name":"bem-components","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-23T09:52:31Z","updated_at":"2016-01-25T08:45:29Z","closed_at":null,"body":"Всем привет. Подскажите, пожалуйста, как переопределить стили блока select через модификатор или киньте пример, в документации ничего не нашел, кроме общего описания, что это возможно https://ru.bem.info/method/key-concepts/#Переопределение-блока .\r\n\r\nмне нужно переопределить два свойства:\r\n Первое:\r\n    \r\n    .menu-item_theme_islands.menu-item_checked {\r\n    /* background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%…h d%3D%22M13.5.5l-8 12L1.7 8l-1 1.6L5.6    15l9.1-13.4z%22%2F%3E%3C%2Fsvg%3E\") 0 50% no-repeat; */\r\n    }\r\nзаменить на \r\n  \r\n     .menu-item_theme_islands.menu-item_checked {\r\n       background-color: #fc0;\r\n    }\r\n\r\nВторое:\r\n    \r\n    .menu_size_m .menu__group-title~.menu-item_theme_islands, .menu_size_m[class*=menu_mode] .menu-item_theme_islands {\r\n    padding: 0 30px;\r\n    }\r\n\r\n   заменить на \r\n\r\n    .menu_size_m .menu__group-title~.menu-item_theme_islands, .menu_size_m[class*=menu_mode] .menu-item_theme_islands {\r\n    padding: 0;\r\n    }\r\n\r\nВ итоге, вместо http://i.imgur.com/HYTWPsN.jpg  должно получиться так: http://i.imgur.com/hxGDcse.jpg\r\n\r\nЧто я сделал:\r\n\r\n1. Добавил модификатор к блоку select ( without : 'tick' )\r\n        \r\n      \r\n      mods : { mode : 'radio-check', theme : 'islands', size : 'm', without : 'tick' },\r\n    \r\n           \r\n2. В папке common.blocks/select/_without  создал файл select_without_tick.deps.js\r\n       ({\r\n              mustDeps : { block: 'menu-item', mods: { without: 'tick' } }\r\n       })\r\n3. В папке common.blocks/menu-item/_without создал файл menu-item_without_tick.styl\r\n\r\n        .menu-item_without_tick {\r\n            padding: 0;\t\r\n\t   &.menu-item_checked {\r\n                background: none;\r\n\t\tbackground-color: #fc0;\r\n\t    }\r\n        }\r\n\r\nГде у меня ошибка?"},"comment":{"url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/comments/174438920","html_url":"https://github.com/bem/bem-forum-content-ru/issues/823#issuecomment-174438920","issue_url":"https://api.github.com/repos/bem/bem-forum-content-ru/issues/823","id":174438920,"user":{"login":"voischev","id":1510217,"avatar_url":"https://avatars.githubusercontent.com/u/1510217?v=3","gravatar_id":"","url":"https://api.github.com/users/voischev","html_url":"https://github.com/voischev","followers_url":"https://api.github.com/users/voischev/followers","following_url":"https://api.github.com/users/voischev/following{/other_user}","gists_url":"https://api.github.com/users/voischev/gists{/gist_id}","starred_url":"https://api.github.com/users/voischev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voischev/subscriptions","organizations_url":"https://api.github.com/users/voischev/orgs","repos_url":"https://api.github.com/users/voischev/repos","events_url":"https://api.github.com/users/voischev/events{/privacy}","received_events_url":"https://api.github.com/users/voischev/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T08:45:29Z","updated_at":"2016-01-25T08:45:29Z","body":"@tadatuta поддерживаю, тут я тоже за каскад. В умах некоторых почему то если БЭМ то вообще никаких каскадов. ((( приходится с этим бороться, и кстати успешно сделются люди после убеждений (что надоело уже сильно) ))) Но хозяин — барин, да!"}}