UNPKG

nightwatch-selector-playground

Version:

Nightwatch Selector Playground that allows you to tests command directly from the browser

224 lines (195 loc) 3.89 kB
.root { display: flex; flex-direction: column; background: #F9F9F9; gap: 12px; min-width: 400px; } body { margin: 0px; } header { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 20px; background: #1B1B1B; height: 32px; } .container { display: flex; flex-direction: column; gap: 4px; padding-left: 10px; padding-right: 10px; } .container1 { display: flex; flex-direction: row; gap: 8px; position: relative; } .heading { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-size: 24px; line-height: 36px; color: #FFFFFF; } .heading1 { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 600; font-size: 20px; line-height: 32px; color: #1B1B1B; } #selectorTable { display: flex; flex-direction: column; background: hsl(0,0%,98%); border: 1px solid hsl(0,0%,87%); width: 100%; border-collapse: collapse; table-layout: fixed; max-height: 200px; overflow: auto; } th { background: rgba(244, 237, 232, 0.4); } #selectorTable td, #selectorTable th{ border: 1px solid hsl(0,0%,87%); padding: 8px; font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 20px; color: #333333; } input[type="text"], textarea { box-sizing: border-box; display: flex; flex-direction: row; align-items: center; padding: 4px 0px 4px 8px; border: 1px solid #DDDDDD; border-radius: 4px; z-index: 3; background: #FFFFFF; font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 20px; background-color: transparent; } #nightwatchCommand, #commandResult { resize: none; height: 36px; overflow: auto; width: 100%; font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 20px; } #commandResult { height: 72px; } #commandTable { resize: none; height: 100px; overflow: auto; background: #FFFFFF; font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 20px; } thead, tr, tbody { width: 100%; } thead, tr, td, th { display: flex; } td, th { gap: 4px; } tbody { display: flex; flex-direction: column; } footer { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 20px 20px; gap: 40px; background: #1B1B1B; } .heading2 { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 20px; color: #1B1B1B; } footer .heading2 { color: #FFFFFF; font-size: 14px; } .button-default { box-sizing: border-box; justify-content: center; align-items: center; padding: 4px; height: 32px; background: hsla(0,55%,94%,0.5); border: 1px solid hsl(23,35%,55%); border-radius: 4px; color: #1B1B1B; cursor: pointer; } #tryNightwatchCommand { width: 92px; height: auto; } .exploreMode { box-sizing: border-box; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px; gap: 8px; width: 170px; height: 40px; background: hsla(0,55%,94%,0.5); border: 1px solid hsl(23,35%,55%); border-radius: 4px; color: #1B1B1B; } #suggestion { width: inherit; height: inherit; position: absolute; z-index: 2; top: 0; left: 0; display: flex; align-items: center; padding: 9px; color: #868686; font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; font-size: 16px; }