-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCell.style.js
More file actions
77 lines (68 loc) · 1.53 KB
/
Cell.style.js
File metadata and controls
77 lines (68 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* eslint-disable import/prefer-default-export */
import styled from "styled-components";
export const CellContainer = styled.div`
display: flex;
align-items: center;
justify-content: flex-start;
margin-top: 20px;
width: 100%;
`;
export const RunContainer = styled.div`
width: 5%;
cursor: pointer;
margin-top: 5%;
`;
export const CellBodyContainer = styled.div`
width: 100%;
`;
export const AddCellButton = styled.button`
background: transparent;
border: 1px solid rgb(179, 179, 179);
color: rgb(179, 179, 179);
font-size: 14px;
width: 130px;
height: 3vh;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
`;
export const CellHead = styled.div`
display: flex;
justify-content: space-between;
`;
export const OtherCellButtonWrapper = styled.div`
display: flex;
align-items: flex-end;
margin-top: 37px;
`;
export const CellButton = styled.button`
background: transparent;
border: 1px solid #aeaeae;
color: #636363;
font-size: 16px;
max-width: 20px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 2px;
cursor: pointer;
`;
export const CellTextArea = styled.textarea`
width: 100%;
min-height: 7vh;
border: 1px solid #e5e1db;
border-radius: 5px;
resize: none;
&:focus {
outline: none;
}
`;
export const Output = styled.div`
padding: 10px;
background: ${(props) => props.type === "code" && "#2e2e2e"};
border: none;
margin-top: 10px;
color: ${(props) => props.type === "code" && "white"};
width: 93.6%;
`;